pageflow 15.1.0.beta2 → 15.1.0.beta3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pageflow might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +141 -1
- data/README.md +3 -6
- data/admins/pageflow/entry.rb +1 -1
- data/app/assets/javascripts/pageflow/dist/editor.js +1241 -1281
- data/app/assets/javascripts/pageflow/dist/react-client.js +3 -3
- data/app/assets/javascripts/pageflow/dist/react-server.js +2 -2
- data/app/assets/javascripts/pageflow/dist/ui.js +241 -57
- data/app/assets/javascripts/pageflow/editor/base.js +0 -20
- data/app/assets/javascripts/pageflow/editor/vendor.js +16 -0
- data/app/assets/stylesheets/pageflow/admin/embedded_index_table.scss +5 -1
- data/app/controllers/concerns/pageflow/controller_delegation.rb +31 -0
- data/app/controllers/concerns/pageflow/entry_password_protection.rb +4 -4
- data/app/controllers/pageflow/editor/entries_controller.rb +35 -0
- data/app/controllers/pageflow/editor/file_import_controller.rb +1 -1
- data/app/controllers/pageflow/editor/files_controller.rb +1 -1
- data/app/controllers/pageflow/entries_controller.rb +29 -71
- data/app/controllers/pageflow/revisions_controller.rb +16 -5
- data/app/helpers/pageflow/common_entry_seed_helper.rb +9 -24
- data/app/helpers/pageflow/config_helper.rb +25 -3
- data/app/helpers/pageflow/editor/config_helper.rb +12 -0
- data/app/helpers/pageflow/editor/entries_helper.rb +10 -0
- data/app/helpers/pageflow/editor/files_helper.rb +24 -0
- data/app/helpers/pageflow/entries_helper.rb +5 -4
- data/app/helpers/pageflow/entry_json_seed_helper.rb +1 -0
- data/app/helpers/pageflow/files_helper.rb +14 -13
- data/app/helpers/pageflow/page_types_helper.rb +4 -1
- data/app/helpers/pageflow/render_json_helper.rb +30 -5
- data/app/models/concerns/pageflow/auto_generated_perma_id.rb +16 -0
- data/app/models/concerns/pageflow/feature_target.rb +3 -3
- data/app/models/pageflow/draft_entry.rb +3 -0
- data/app/models/pageflow/home_button.rb +3 -1
- data/app/models/pageflow/page.rb +1 -6
- data/app/models/pageflow/published_entry.rb +1 -0
- data/app/models/pageflow/revision.rb +3 -0
- data/app/models/pageflow/storyline.rb +0 -2
- data/app/views/admin/entries/_links.html.arb +1 -1
- data/app/views/admin/features/_form.html.erb +1 -1
- data/app/views/components/pageflow/admin/add_membership_button.rb +13 -1
- data/app/views/layouts/pageflow/application.html.erb +3 -19
- data/app/views/layouts/pageflow/editor.html.erb +18 -0
- data/app/views/pageflow/admin/accounts/_cannot_add_account.html.erb +0 -0
- data/app/views/pageflow/admin/entries/_cannot_add_user.html.erb +5 -0
- data/app/views/pageflow/admin/users/_cannot_add.html.erb +8 -0
- data/app/views/pageflow/admin/users/_cannot_add_account.html.erb +0 -0
- data/app/views/pageflow/admin/users/_cannot_add_entry.html +0 -0
- data/app/views/pageflow/{config/_editor_seeds.json.jbuilder → editor/config/_seeds.json.jbuilder} +3 -2
- data/app/views/pageflow/editor/entries/seed.json.erb +5 -4
- data/app/views/pageflow/{entries/edit.html.erb → editor/entries/show.html.erb} +5 -9
- data/app/views/pageflow/{entries → editor/entries}/show.json.jbuilder +0 -0
- data/app/views/pageflow/entries/{show.css.erb → stylesheet.css.erb} +0 -0
- data/app/views/pageflow/entry_json_seed/_entry.json.jbuilder +2 -8
- data/config/initializers/entry_types.rb +4 -0
- data/config/initializers/features.rb +0 -10
- data/config/initializers/help_entries.rb +0 -8
- data/config/locales/de.yml +4 -0
- data/config/locales/en.yml +4 -0
- data/config/routes.rb +10 -5
- data/db/migrate/20191202145757_create_pageflow_scrolled_sections.rb +21 -0
- data/db/migrate/20191202150657_create_pageflow_scrolled_chapters.rb +11 -0
- data/db/migrate/20191202154723_create_pageflow_scrolled_content_elements.rb +21 -0
- data/db/migrate/20191219143450_add_position_to_content_elements.rb +5 -0
- data/db/migrate/20191220100946_create_pageflow_scrolled_storylines.rb +24 -0
- data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/editor.js +9805 -114
- data/entry_types/paged/app/assets/javascripts/pageflow_paged/editor.js +7 -0
- data/entry_types/paged/app/assets/stylesheets/pageflow_paged/editor.scss +1 -0
- data/entry_types/paged/app/controllers/concerns/pageflow_paged/without_controller_namespace_partial_path_prefix.rb +21 -0
- data/entry_types/paged/app/controllers/pageflow_paged/application_controller.rb +25 -0
- data/entry_types/paged/app/controllers/pageflow_paged/editor/entries_controller.rb +17 -0
- data/entry_types/paged/app/controllers/pageflow_paged/entries_controller.rb +25 -0
- data/{app/views/layouts/pageflow → entry_types/paged/app/views/layouts/pageflow_paged}/_ie_include_tags.html.erb +0 -0
- data/{app/views/layouts/pageflow → entry_types/paged/app/views/layouts/pageflow_paged}/_loading_spinner_inline_script.html.erb +0 -0
- data/entry_types/paged/app/views/layouts/pageflow_paged/application.html.erb +33 -0
- data/entry_types/paged/app/views/pageflow_paged/chapters/_chapter.html.erb +7 -0
- data/entry_types/paged/app/views/pageflow_paged/editor/entries/_body.html.erb +4 -0
- data/entry_types/paged/app/views/pageflow_paged/editor/entries/_head.html.erb +12 -0
- data/entry_types/paged/app/views/pageflow_paged/editor/entries/_indicators_seed.html.erb +3 -0
- data/entry_types/paged/app/views/pageflow_paged/editor/entries/_seed.json.jbuilder +0 -0
- data/entry_types/paged/app/views/pageflow_paged/editor/entries/partials.html.erb +3 -0
- data/{app/views/pageflow → entry_types/paged/app/views/pageflow_paged}/entries/_entry.html.erb +7 -5
- data/{app/views/pageflow → entry_types/paged/app/views/pageflow_paged}/entries/_header.html.erb +0 -0
- data/{app/views/pageflow → entry_types/paged/app/views/pageflow_paged}/entries/_ie8_hint.html.erb +0 -0
- data/{app/views/pageflow → entry_types/paged/app/views/pageflow_paged}/entries/_indicators.html.erb +0 -0
- data/{app/views/pageflow → entry_types/paged/app/views/pageflow_paged}/entries/_multimedia_alert.html.erb +0 -0
- data/{app/views/pageflow → entry_types/paged/app/views/pageflow_paged}/entries/_non_js_hint.html.erb +0 -0
- data/entry_types/paged/app/views/pageflow_paged/entries/_overview.html.erb +1 -0
- data/{app/views/pageflow → entry_types/paged/app/views/pageflow_paged}/entries/_skip_links.html.erb +0 -0
- data/{app/views/pageflow → entry_types/paged/app/views/pageflow_paged}/entries/overview/_chapter.html.erb +3 -1
- data/{app/views/pageflow → entry_types/paged/app/views/pageflow_paged}/entries/overview/_entry.html.erb +1 -1
- data/{app/views/pageflow → entry_types/paged/app/views/pageflow_paged}/entries/overview/_page.html.erb +0 -0
- data/{app/views/pageflow → entry_types/paged/app/views/pageflow_paged}/entries/show.html.erb +3 -3
- data/{app/views/pageflow → entry_types/paged/app/views/pageflow_paged}/pages/_page.html.erb +1 -1
- data/entry_types/paged/config/initializers/features.rb +16 -0
- data/entry_types/paged/config/initializers/page_types.rb +16 -0
- data/entry_types/paged/config/routes.rb +3 -0
- data/entry_types/paged/lib/pageflow_paged.rb +19 -0
- data/entry_types/paged/lib/pageflow_paged/configuration.rb +16 -0
- data/entry_types/paged/lib/pageflow_paged/engine.rb +7 -0
- data/entry_types/paged/lib/pageflow_paged/plugin.rb +8 -0
- data/entry_types/scrolled/app/assets/stylesheets/pageflow_scrolled/editor.scss +1 -0
- data/entry_types/scrolled/app/controllers/pageflow_scrolled/editor/chapters_controller.rb +56 -0
- data/entry_types/scrolled/app/controllers/pageflow_scrolled/editor/content_elements_controller.rb +61 -0
- data/entry_types/scrolled/app/controllers/pageflow_scrolled/editor/entries_controller.rb +8 -0
- data/entry_types/scrolled/app/controllers/pageflow_scrolled/editor/sections_controller.rb +59 -0
- data/entry_types/scrolled/app/controllers/pageflow_scrolled/entries_controller.rb +10 -0
- data/entry_types/scrolled/app/helpers/pageflow_scrolled/editor/seed_html_helper.rb +21 -0
- data/entry_types/scrolled/app/helpers/pageflow_scrolled/entry_json_seed_helper.rb +33 -0
- data/entry_types/scrolled/app/models/pageflow_scrolled/chapter.rb +40 -0
- data/entry_types/scrolled/app/models/pageflow_scrolled/content_element.rb +17 -0
- data/entry_types/scrolled/app/models/pageflow_scrolled/section.rb +26 -0
- data/entry_types/scrolled/app/models/pageflow_scrolled/storyline.rb +39 -0
- data/entry_types/scrolled/app/views/pageflow_scrolled/chapters/_chapter.json.jbuilder +8 -0
- data/entry_types/scrolled/app/views/pageflow_scrolled/content_elements/_content_element.json.jbuilder +9 -0
- data/entry_types/scrolled/app/views/pageflow_scrolled/editor/entries/_body.html.erb +1 -0
- data/entry_types/scrolled/app/views/pageflow_scrolled/editor/entries/_head.html.erb +12 -0
- data/entry_types/scrolled/app/views/pageflow_scrolled/editor/entries/_seed.json.jbuilder +1 -0
- data/entry_types/scrolled/app/views/pageflow_scrolled/entries/show.html.erb +22 -0
- data/entry_types/scrolled/app/views/pageflow_scrolled/entry_json_seed/_entry.json.jbuilder +35 -0
- data/entry_types/scrolled/app/views/pageflow_scrolled/sections/_section.json.jbuilder +8 -0
- data/entry_types/scrolled/config/routes.rb +23 -0
- data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/install_generator.rb +34 -0
- data/entry_types/scrolled/lib/pageflow_scrolled.rb +19 -0
- data/entry_types/scrolled/lib/pageflow_scrolled/configuration.rb +6 -0
- data/entry_types/scrolled/lib/pageflow_scrolled/plugin.rb +16 -0
- data/entry_types/scrolled/lib/pageflow_scrolled/seeds.rb +133 -0
- data/entry_types/scrolled/spec/factories/chapters.rb +12 -0
- data/entry_types/scrolled/spec/factories/content_elements.rb +36 -0
- data/entry_types/scrolled/spec/factories/sections.rb +26 -0
- data/entry_types/scrolled/spec/factories/storylines.rb +12 -0
- data/entry_types/scrolled/spec/fixtures/image.jpg +0 -0
- data/lib/generators/pageflow/active_admin_initializer/active_admin_initializer_generator.rb +1 -1
- data/lib/generators/pageflow/assets/assets_generator.rb +2 -2
- data/lib/pageflow/built_in_page_types_plugin.rb +5 -3
- data/lib/pageflow/built_in_widget_types_plugin.rb +38 -12
- data/lib/pageflow/configuration.rb +76 -15
- data/lib/pageflow/editor_controller.rb +44 -0
- data/lib/pageflow/engine.rb +2 -3
- data/lib/pageflow/entries_controller_env_helper.rb +44 -0
- data/lib/pageflow/entry_type.rb +19 -2
- data/lib/pageflow/entry_type_configuration.rb +44 -0
- data/lib/pageflow/entry_types.rb +22 -0
- data/lib/pageflow/feature.rb +11 -5
- data/lib/pageflow/file_importers.rb +2 -2
- data/lib/pageflow/file_type.rb +3 -2
- data/lib/pageflow/file_types.rb +23 -3
- data/lib/pageflow/global_config_api.rb +11 -4
- data/lib/pageflow/page_types.rb +30 -0
- data/lib/pageflow/partial_editor_fragment_renderer.rb +37 -0
- data/lib/pageflow/revision_component.rb +2 -5
- data/lib/pageflow/revision_components.rb +18 -0
- data/lib/pageflow/version.rb +1 -1
- data/lib/pageflow/widget_type.rb +3 -0
- data/lib/pageflow/widget_types.rb +1 -1
- data/spec/factories/draft_entries.rb +11 -0
- data/spec/factories/published_entries.rb +17 -0
- data/vendor/assets/javascripts/dash.all.min.js +0 -1
- metadata +146 -29
- data/app/views/pageflow/chapters/_chapter.html.erb +0 -5
- data/app/views/pageflow/editor/entries/_indicators_seed.html.erb +0 -3
- data/app/views/pageflow/entries/_overview.html.erb +0 -1
- data/app/views/pageflow/entries/partials.html.erb +0 -3
- data/config/initializers/page_type_helpers.rb +0 -8
@@ -3,12 +3,12 @@ pageflow="object"==typeof pageflow?pageflow:{},pageflow.react=function(t){var e=
|
|
3
3
|
Copyright (c) 2017 Jed Watson.
|
4
4
|
Licensed under the MIT License (MIT), see
|
5
5
|
http://jedwatson.github.io/classnames
|
6
|
-
*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"===i||"number"===i)t.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&t.push(a)}else if("object"===i)for(var s in r)n.call(r,s)&&r[s]&&t.push(s)}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0===(r=function(){return o}.apply(e,[]))||(t.exports=r)}()},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.utils=e.effects=e.CANCEL=e.delay=e.throttle=e.takeLatest=e.takeEvery=e.buffers=e.channel=e.eventChannel=e.END=e.runSaga=void 0;var r=n(394);Object.defineProperty(e,"runSaga",{enumerable:!0,get:function(){return r.runSaga}});var o=n(93);Object.defineProperty(e,"END",{enumerable:!0,get:function(){return o.END}}),Object.defineProperty(e,"eventChannel",{enumerable:!0,get:function(){return o.eventChannel}}),Object.defineProperty(e,"channel",{enumerable:!0,get:function(){return o.channel}});var i=n(94);Object.defineProperty(e,"buffers",{enumerable:!0,get:function(){return i.buffers}});var a=n(395);Object.defineProperty(e,"takeEvery",{enumerable:!0,get:function(){return a.takeEvery}}),Object.defineProperty(e,"takeLatest",{enumerable:!0,get:function(){return a.takeLatest}}),Object.defineProperty(e,"throttle",{enumerable:!0,get:function(){return a.throttle}});var s=n(41);Object.defineProperty(e,"delay",{enumerable:!0,get:function(){return s.delay}}),Object.defineProperty(e,"CANCEL",{enumerable:!0,get:function(){return s.CANCEL}});var u,c=n(396),l=(u=c)&&u.__esModule?u:{default:u},f=d(n(165)),p=d(n(397));function d(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}e.default=l.default,e.effects=f,e.utils=p},function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||Function("return this")()}).call(this,n(74))},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(9);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,n){"use strict";var r,o=n(12),i=n(8),a=n(9),s=n(18),u=n(71),c=n(21),l=n(20),f=n(15).f,p=n(37),d=n(56),h=n(13),v=n(62),g=i.DataView,y=g&&g.prototype,m=i.Int8Array,b=m&&m.prototype,w=i.Uint8ClampedArray,E=w&&w.prototype,O=m&&p(m),x=b&&p(b),P=Object.prototype,k=P.isPrototypeOf,_=h("toStringTag"),S=v("TYPED_ARRAY_TAG"),T=!(!i.ArrayBuffer||!g),A=T&&!!d&&"Opera"!==u(i.opera),C=!1,j={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},I=function(t){return a(t)&&s(j,u(t))};for(r in j)i[r]||(A=!1);if((!A||"function"!=typeof O||O===Function.prototype)&&(O=function(){throw TypeError("Incorrect invocation")},A))for(r in j)i[r]&&d(i[r],O);if((!A||!x||x===P)&&(x=O.prototype,A))for(r in j)i[r]&&d(i[r].prototype,x);if(A&&p(E)!==x&&d(E,x),o&&!s(x,_))for(r in C=!0,f(x,_,{get:function(){return a(this)?this[S]:void 0}}),j)i[r]&&c(i[r],S,r);T&&d&&p(y)!==P&&d(y,P),t.exports={NATIVE_ARRAY_BUFFER:T,NATIVE_ARRAY_BUFFER_VIEWS:A,TYPED_ARRAY_TAG:C&&S,aTypedArray:function(t){if(I(t))return t;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(t){if(d){if(k.call(O,t))return t}else for(var e in j)if(s(j,r)){var n=i[e];if(n&&(t===n||k.call(n,t)))return t}throw TypeError("Target is not a typed array constructor")},exportProto:function(t,e,n){if(o){if(n)for(var r in j){var a=i[r];a&&s(a.prototype,t)&&delete a.prototype[t]}x[t]&&!n||l(x,t,n?e:A&&b[t]||e)}},exportStatic:function(t,e,n){var r,a;if(o){if(d){if(n)for(r in j)(a=i[r])&&s(a,t)&&delete a[t];if(O[t]&&!n)return;try{return l(O,t,n?e:A&&m[t]||e)}catch(t){}}for(r in j)!(a=i[r])||a[t]&&!n||l(a,t,e)}},isView:function(t){var e=u(t);return"DataView"===e||s(j,e)},isTypedArray:I,TypedArray:O,TypedArrayPrototype:x}},function(t,e,n){var r=n(6);t.exports=!r((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(8),o=n(55),i=n(62),a=n(128),s=r.Symbol,u=o("wks");t.exports=function(t){return u[t]||(u[t]=a&&s[t]||(a?s:i)("Symbol."+t))}},function(t,e,n){var r=n(30),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(12),o=n(122),i=n(10),a=n(34),s=Object.defineProperty;e.f=r?s:function(t,e,n){if(i(t),e=a(e,!0),i(n),o)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(23);t.exports=function(t){return Object(r(t))}},function(t,e,n){"use strict";var r=n(171),o="object"==typeof self&&self&&self.Object===Object&&self,i=(r.a||o||Function("return this")()).Symbol,a=Object.prototype,s=a.hasOwnProperty,u=a.toString,c=i?i.toStringTag:void 0;var l=function(t){var e=s.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(t){}var o=u.call(t);return r&&(e?t[c]=n:delete t[c]),o},f=Object.prototype.toString;var p=function(t){return f.call(t)},d="[object Null]",h="[object Undefined]",v=i?i.toStringTag:void 0;var g=function(t){return null==t?void 0===t?h:d:v&&v in Object(t)?l(t):p(t)};var y=function(t,e){return function(n){return t(e(n))}}(Object.getPrototypeOf,Object);var m=function(t){return null!=t&&"object"==typeof t},b="[object Object]",w=Function.prototype,E=Object.prototype,O=w.toString,x=E.hasOwnProperty,P=O.call(Object);var k=function(t){if(!m(t)||g(t)!=b)return!1;var e=y(t);if(null===e)return!0;var n=x.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&O.call(n)==P},_=n(121),S={INIT:"@@redux/INIT"};function T(t,e,n){var r;if("function"==typeof e&&void 0===n&&(n=e,e=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(T)(t,e)}if("function"!=typeof t)throw new Error("Expected the reducer to be a function.");var o=t,i=e,a=[],s=a,u=!1;function c(){s===a&&(s=a.slice())}function l(){return i}function f(t){if("function"!=typeof t)throw new Error("Expected listener to be a function.");var e=!0;return c(),s.push(t),function(){if(e){e=!1,c();var n=s.indexOf(t);s.splice(n,1)}}}function p(t){if(!k(t))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===t.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(u)throw new Error("Reducers may not dispatch actions.");try{u=!0,i=o(i,t)}finally{u=!1}for(var e=a=s,n=0;n<e.length;n++){(0,e[n])()}return t}return p({type:S.INIT}),(r={dispatch:p,subscribe:f,getState:l,replaceReducer:function(t){if("function"!=typeof t)throw new Error("Expected the nextReducer to be a function.");o=t,p({type:S.INIT})}})[_.a]=function(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t)throw new TypeError("Expected the observer to be an object.");function n(){t.next&&t.next(l())}return n(),{unsubscribe:e(n)}}})[_.a]=function(){return this},t},r}function A(t,e){var n=e&&e.type;return"Given action "+(n&&'"'+n.toString()+'"'||"an action")+', reducer "'+t+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function C(t){for(var e=Object.keys(t),n={},r=0;r<e.length;r++){var o=e[r];0,"function"==typeof t[o]&&(n[o]=t[o])}var i=Object.keys(n);var a=void 0;try{!function(t){Object.keys(t).forEach((function(e){var n=t[e];if(void 0===n(void 0,{type:S.INIT}))throw new Error('Reducer "'+e+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:"@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".")}))throw new Error('Reducer "'+e+"\" returned undefined when probed with a random type. Don't try to handle "+S.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(t){a=t}return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments[1];if(a)throw a;for(var r=!1,o={},s=0;s<i.length;s++){var u=i[s],c=n[u],l=t[u],f=c(l,e);if(void 0===f){var p=A(u,e);throw new Error(p)}o[u]=f,r=r||f!==l}return r?o:t}}function j(t,e){return function(){return e(t.apply(void 0,arguments))}}function I(t,e){if("function"==typeof t)return j(t,e);if("object"!=typeof t||null===t)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===t?"null":typeof t)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var n=Object.keys(t),r={},o=0;o<n.length;o++){var i=n[o],a=t[i];"function"==typeof a&&(r[i]=j(a,e))}return r}function M(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}var R=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function D(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return function(n,r,o){var i,a=t(n,r,o),s=a.dispatch,u={getState:a.getState,dispatch:function(t){return s(t)}};return i=e.map((function(t){return t(u)})),s=M.apply(void 0,i)(a.dispatch),R({},a,{dispatch:s})}}}n.d(e,"d",(function(){return T})),n.d(e,"c",(function(){return C})),n.d(e,"b",(function(){return I})),n.d(e,"a",(function(){return D}))},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(46),o=n(61),i=n(16),a=n(14),s=n(67),u=[].push,c=function(t){var e=1==t,n=2==t,c=3==t,l=4==t,f=6==t,p=5==t||f;return function(d,h,v,g){for(var y,m,b=i(d),w=o(b),E=r(h,v,3),O=a(w.length),x=0,P=g||s,k=e?P(d,O):n?P(d,0):void 0;O>x;x++)if((p||x in w)&&(m=E(y=w[x],x,b),t))if(e)k[x]=m;else if(m)switch(t){case 3:return!0;case 5:return y;case 6:return x;case 2:u.call(k,y)}else if(l)return!1;return f?-1:c||l?l:k}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},function(t,e,n){var r=n(8),o=n(55),i=n(21),a=n(18),s=n(99),u=n(123),c=n(29),l=c.get,f=c.enforce,p=String(u).split("toString");o("inspectSource",(function(t){return u.call(t)})),(t.exports=function(t,e,n,o){var u=!!o&&!!o.unsafe,c=!!o&&!!o.enumerable,l=!!o&&!!o.noTargetGet;"function"==typeof n&&("string"!=typeof e||a(n,"name")||i(n,"name",e),f(n).source=p.join("string"==typeof e?e:"")),t!==r?(u?!l&&t[e]&&(c=!0):delete t[e],c?t[e]=n:i(t,e,n)):c?t[e]=n:s(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||u.call(this)}))},function(t,e,n){var r=n(12),o=n(15),i=n(43);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(12),o=n(75),i=n(43),a=n(24),s=n(34),u=n(18),c=n(122),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=a(t),e=s(e,!0),c)try{return l(t,e)}catch(t){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(61),o=n(23);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(126),o=n(18),i=n(131),a=n(15).f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},function(t,e,n){var r=n(23),o=/"/g;t.exports=function(t,e,n,i){var a=String(r(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(i).replace(o,""")+'"'),s+">"+a+"</"+e+">"}},function(t,e,n){var r=n(6);t.exports=function(t){return r((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},function(t,e,n){t.exports=n(398)()},function(t,e,n){var r,o,i,a=n(124),s=n(8),u=n(9),c=n(21),l=n(18),f=n(76),p=n(63),d=s.WeakMap;if(a){var h=new d,v=h.get,g=h.has,y=h.set;r=function(t,e){return y.call(h,t,e),e},o=function(t){return v.call(h,t)||{}},i=function(t){return g.call(h,t)}}else{var m=f("state");p[m]=!0,r=function(t,e){return c(t,m,e),e},o=function(t){return l(t,m)?t[m]:{}},i=function(t){return l(t,m)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,o=n(401),i=(r=o)&&r.__esModule?r:{default:r};e.default=i.default,t.exports=e.default},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(9);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(126),o=n(8),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][e]||o[t]&&o[t][e]}},function(t,e,n){var r=n(15).f,o=n(18),i=n(13)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(18),o=n(16),i=n(76),a=n(108),s=i("IE_PROTO"),u=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),r(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,n){var r=n(10),o=n(103),i=n(101),a=n(63),s=n(129),u=n(98),c=n(76)("IE_PROTO"),l=function(){},f=function(){var t,e=u("iframe"),n=i.length;for(e.style.display="none",s.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),f=t.F;n--;)delete f.prototype[i[n]];return f()};t.exports=Object.create||function(t,e){var n;return null!==t?(l.prototype=r(t),n=new l,l.prototype=null,n[c]=t):n=f(),void 0===e?n:o(n,e)},a[c]=!0},function(t,e,n){"use strict";var r=n(6);t.exports=function(t,e){var n=[][t];return!n||!r((function(){n.call(null,e||function(){throw 1},1)}))}},function(t,e,n){"use strict";var r=n(1),o=n(8),i=n(12),a=n(118),s=n(11),u=n(81),c=n(48),l=n(43),f=n(21),p=n(14),d=n(141),h=n(159),v=n(34),g=n(18),y=n(71),m=n(9),b=n(38),w=n(56),E=n(51).f,O=n(160),x=n(19).forEach,P=n(57),k=n(15),_=n(22),S=n(29),T=n(83),A=S.get,C=S.set,j=k.f,I=_.f,M=Math.round,R=o.RangeError,D=u.ArrayBuffer,N=u.DataView,L=s.NATIVE_ARRAY_BUFFER_VIEWS,B=s.TYPED_ARRAY_TAG,F=s.TypedArray,U=s.TypedArrayPrototype,W=s.aTypedArrayConstructor,H=s.isTypedArray,q=function(t,e){for(var n=0,r=e.length,o=new(W(t))(r);r>n;)o[n]=e[n++];return o},V=function(t,e){j(t,e,{get:function(){return A(this)[e]}})},G=function(t){var e;return t instanceof D||"ArrayBuffer"==(e=y(t))||"SharedArrayBuffer"==e},z=function(t,e){return H(t)&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},Y=function(t,e){return z(t,e=v(e,!0))?l(2,t[e]):I(t,e)},X=function(t,e,n){return!(z(t,e=v(e,!0))&&m(n)&&g(n,"value"))||g(n,"get")||g(n,"set")||n.configurable||g(n,"writable")&&!n.writable||g(n,"enumerable")&&!n.enumerable?j(t,e,n):(t[e]=n.value,t)};i?(L||(_.f=Y,k.f=X,V(U,"buffer"),V(U,"byteOffset"),V(U,"byteLength"),V(U,"length")),r({target:"Object",stat:!0,forced:!L},{getOwnPropertyDescriptor:Y,defineProperty:X}),t.exports=function(t,e,n,i){var s=t+(i?"Clamped":"")+"Array",u="get"+t,l="set"+t,v=o[s],g=v,y=g&&g.prototype,k={},_=function(t,n){j(t,n,{get:function(){return function(t,n){var r=A(t);return r.view[u](n*e+r.byteOffset,!0)}(this,n)},set:function(t){return function(t,n,r){var o=A(t);i&&(r=(r=M(r))<0?0:r>255?255:255&r),o.view[l](n*e+o.byteOffset,r,!0)}(this,n,t)},enumerable:!0})};L?a&&(g=n((function(t,n,r,o){return c(t,g,s),T(m(n)?G(n)?void 0!==o?new v(n,h(r,e),o):void 0!==r?new v(n,h(r,e)):new v(n):H(n)?q(g,n):O.call(g,n):new v(d(n)),t,g)})),w&&w(g,F),x(E(v),(function(t){t in g||f(g,t,v[t])})),g.prototype=y):(g=n((function(t,n,r,o){c(t,g,s);var i,a,u,l=0,f=0;if(m(n)){if(!G(n))return H(n)?q(g,n):O.call(g,n);i=n,f=h(r,e);var v=n.byteLength;if(void 0===o){if(v%e)throw R("Wrong length");if((a=v-f)<0)throw R("Wrong length")}else if((a=p(o)*e)+f>v)throw R("Wrong length");u=a/e}else u=d(n),i=new D(a=u*e);for(C(t,{buffer:i,byteOffset:f,byteLength:a,length:u,view:new N(i)});l<u;)_(t,l++)})),w&&w(g,F),y=g.prototype=b(U)),y.constructor!==g&&f(y,"constructor",g),B&&f(y,B,s),k[s]=g,r({global:!0,forced:g!=v,sham:!L},k),"BYTES_PER_ELEMENT"in g||f(g,"BYTES_PER_ELEMENT",e),"BYTES_PER_ELEMENT"in y||f(y,"BYTES_PER_ELEMENT",e),P(s)}):t.exports=function(){}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}e.check=function(t,e,n){if(!e(t))throw y("error","uncaught at check",n),new Error(n)},e.remove=function(t,e){var n=t.indexOf(e);n>=0&&t.splice(n,1)},e.deferred=d,e.arrayOfDeffered=function(t){for(var e=[],n=0;n<t;n++)e.push(d());return e},e.delay=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=void 0,r=new Promise((function(r){n=setTimeout((function(){return r(e)}),t)}));return r[c]=function(){return clearTimeout(n)},r},e.createMockTask=function(){var t,e=!0,n=void 0,r=void 0;return i(t={},s,!0),i(t,"isRunning",(function(){return e})),i(t,"result",(function(){return n})),i(t,"error",(function(){return r})),i(t,"setRunning",(function(t){return e=t})),i(t,"setResult",(function(t){return n=t})),i(t,"setError",(function(t){return r=t})),t},e.autoInc=h,e.makeIterator=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments[3],o={name:n,next:t,throw:e,return:g};r&&(o[u]=!0);"undefined"!=typeof Symbol&&(o[Symbol.iterator]=function(){return o});return o},e.log=y,e.wrapSagaDispatch=function(t){return function(e){var n=Object.defineProperty(e,l,{value:!0});return t(n)}};var a=e.sym=function(t){return"@@redux-saga/"+t},s=e.TASK=a("TASK"),u=e.HELPER=a("HELPER"),c=(e.MATCH=a("MATCH"),e.CANCEL=a("cancelPromise")),l=e.SAGA_ACTION=a("SAGA_ACTION"),f=e.konst=function(t){return function(){return t}};e.kTrue=f(!0),e.kFalse=f(!1),e.noop=function(){},e.ident=function(t){return t};var p=e.is={undef:function(t){return null==t},notUndef:function(t){return null!=t},func:function(t){return"function"==typeof t},number:function(t){return"number"==typeof t},array:Array.isArray,promise:function(t){return t&&p.func(t.then)},iterator:function(t){return t&&p.func(t.next)&&p.func(t.throw)},task:function(t){return t&&t[s]},observable:function(t){return t&&p.func(t.subscribe)},buffer:function(t){return t&&p.func(t.isEmpty)&&p.func(t.take)&&p.func(t.put)},pattern:function(t){return t&&("string"==typeof t||"symbol"===(void 0===t?"undefined":o(t))||p.func(t)||p.array(t))},channel:function(t){return t&&p.func(t.take)&&p.func(t.close)},helper:function(t){return t&&t[u]}};function d(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=r({},t),n=new Promise((function(t,n){e.resolve=t,e.reject=n}));return e.promise=n,e}function h(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return function(){return++t}}e.uid=h();var v=function(t){throw t},g=function(t){return{value:t,done:!0}};function y(t,e,n){"undefined"==typeof window?console.log("redux-saga "+t+": "+e+"\n"+(n&&n.stack||n)):console[t](e,n)}e.internalErr=function(t){return new Error("\n redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\n in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\n Error: "+t+"\n")}},function(t,e){t.exports=ReactDOM},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=!1},function(t,e,n){var r=n(30),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},function(t,e,n){var r=n(31);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(13),o=n(38),i=n(21),a=r("unscopables"),s=Array.prototype;null==s[a]&&i(s,a,o(null)),t.exports=function(t){s[a][t]=!0}},function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},function(t,e,n){var r=n(10),o=n(31),i=n(13)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[i])?e:o(n)}},function(t,e){t.exports=Backbone},function(t,e,n){var r=n(127),o=n(101).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(33);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){"use strict";var r=n(34),o=n(15),i=n(43);t.exports=function(t,e,n){var a=r(e);a in t?o.f(t,a,i(0,n)):t[a]=n}},function(t,e,n){var r=n(63),o=n(9),i=n(18),a=n(15).f,s=n(62),u=n(72),c=s("meta"),l=0,f=Object.isExtensible||function(){return!0},p=function(t){a(t,c,{value:{objectID:"O"+ ++l,weakData:{}}})},d=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,c)){if(!f(t))return"F";if(!e)return"E";p(t)}return t[c].objectID},getWeakData:function(t,e){if(!i(t,c)){if(!f(t))return!0;if(!e)return!1;p(t)}return t[c].weakData},onFreeze:function(t){return u&&d.REQUIRED&&f(t)&&!i(t,c)&&p(t),t}};r[c]=!0},function(t,e,n){var r=n(44),o=n(176);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.4.1",mode:r?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(10),o=n(139);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,i){return r(n),o(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},function(t,e,n){"use strict";var r=n(35),o=n(15),i=n(13),a=n(12),s=i("species");t.exports=function(t){var e=r(t),n=o.f;a&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,n){var r=n(20);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e,n){var r=n(23),o="["+n(85)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),s=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(i,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:s(1),end:s(2),trim:s(3)}},function(t,e,n){"use strict";function r(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.d(e,"a",(function(){return r}))},function(t,e,n){var r=n(6),o=n(33),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},function(t,e){t.exports={}},function(t,e,n){var r=n(24),o=n(14),i=n(45),a=function(t){return function(e,n,a){var s,u=r(e),c=o(u.length),l=i(a,c);if(t&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,e,n){var r=n(6),o=/#|\.prototype\./,i=function(t,e){var n=s[a(t)];return n==c||n!=u&&("function"==typeof e?r(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},s=i.data={},u=i.NATIVE="N",c=i.POLYFILL="P";t.exports=i},function(t,e,n){var r=n(127),o=n(101);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(9),o=n(52),i=n(13)("species");t.exports=function(t,e){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},function(t,e,n){var r=n(6),o=n(13),i=n(104),a=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e){t.exports={}},function(t,e,n){var r=n(71),o=n(69),i=n(13)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){var r=n(33),o=n(13)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){var r=n(6);t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(t,e,n){var r=n(10),o=n(106),i=n(14),a=n(46),s=n(70),u=n(136),c=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,n,l,f){var p,d,h,v,g,y,m,b=a(e,n,l?2:1);if(f)p=t;else{if("function"!=typeof(d=s(t)))throw TypeError("Target is not iterable");if(o(d)){for(h=0,v=i(t.length);v>h;h++)if((g=l?b(r(m=t[h])[0],m[1]):b(t[h]))&&g instanceof c)return g;return new c(!1)}p=d.call(t)}for(y=p.next;!(m=y.call(p)).done;)if("object"==typeof(g=u(p,b,m.value,l))&&g&&g instanceof c)return g;return new c(!1)}).stop=function(t){return new c(!0,t)}},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},function(t,e,n){var r=n(55),o=n(62),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e,n){var r=n(35);t.exports=r("navigator","userAgent")||""},function(t,e,n){var r=n(13)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(t){}return n}},function(t,e,n){"use strict";var r=n(24),o=n(47),i=n(69),a=n(29),s=n(107),u=a.set,c=a.getterFor("Array Iterator");t.exports=s(Array,"Array",(function(t,e){u(this,{type:"Array Iterator",target:r(t),index:0,kind:e})}),(function(){var t=c(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,e,n){var r=n(31),o=n(16),i=n(61),a=n(14),s=function(t){return function(e,n,s,u){r(n);var c=o(e),l=i(c),f=a(c.length),p=t?f-1:0,d=t?-1:1;if(s<2)for(;;){if(p in l){u=l[p],p+=d;break}if(p+=d,t?p<0:f<=p)throw TypeError("Reduce of empty array with no initial value")}for(;t?p>=0:f>p;p+=d)p in l&&(u=n(u,l[p],p,c));return u}};t.exports={left:s(!1),right:s(!0)}},function(t,e,n){"use strict";var r=n(8),o=n(12),i=n(11).NATIVE_ARRAY_BUFFER,a=n(21),s=n(58),u=n(6),c=n(48),l=n(30),f=n(14),p=n(141),d=n(51).f,h=n(15).f,v=n(105),g=n(36),y=n(29),m=y.get,b=y.set,w=r.ArrayBuffer,E=w,O=r.DataView,x=r.Math,P=r.RangeError,k=x.abs,_=x.pow,S=x.floor,T=x.log,A=x.LN2,C=function(t,e,n){var r,o,i,a=new Array(n),s=8*n-e-1,u=(1<<s)-1,c=u>>1,l=23===e?_(2,-24)-_(2,-77):0,f=t<0||0===t&&1/t<0?1:0,p=0;for((t=k(t))!=t||t===1/0?(o=t!=t?1:0,r=u):(r=S(T(t)/A),t*(i=_(2,-r))<1&&(r--,i*=2),(t+=r+c>=1?l/i:l*_(2,1-c))*i>=2&&(r++,i/=2),r+c>=u?(o=0,r=u):r+c>=1?(o=(t*i-1)*_(2,e),r+=c):(o=t*_(2,c-1)*_(2,e),r=0));e>=8;a[p++]=255&o,o/=256,e-=8);for(r=r<<e|o,s+=e;s>0;a[p++]=255&r,r/=256,s-=8);return a[--p]|=128*f,a},j=function(t,e){var n,r=t.length,o=8*r-e-1,i=(1<<o)-1,a=i>>1,s=o-7,u=r-1,c=t[u--],l=127&c;for(c>>=7;s>0;l=256*l+t[u],u--,s-=8);for(n=l&(1<<-s)-1,l>>=-s,s+=e;s>0;n=256*n+t[u],u--,s-=8);if(0===l)l=1-a;else{if(l===i)return n?NaN:c?-1/0:1/0;n+=_(2,e),l-=a}return(c?-1:1)*n*_(2,l-e)},I=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},M=function(t){return[255&t]},R=function(t){return[255&t,t>>8&255]},D=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},N=function(t){return C(t,23,4)},L=function(t){return C(t,52,8)},B=function(t,e){h(t.prototype,e,{get:function(){return m(this)[e]}})},F=function(t,e,n,r){var o=p(+n),i=m(t);if(o+e>i.byteLength)throw P("Wrong index");var a=m(i.buffer).bytes,s=o+i.byteOffset,u=a.slice(s,s+e);return r?u:u.reverse()},U=function(t,e,n,r,o,i){var a=p(+n),s=m(t);if(a+e>s.byteLength)throw P("Wrong index");for(var u=m(s.buffer).bytes,c=a+s.byteOffset,l=r(+o),f=0;f<e;f++)u[c+f]=l[i?f:e-f-1]};if(i){if(!u((function(){w(1)}))||!u((function(){new w(-1)}))||u((function(){return new w,new w(1.5),new w(NaN),"ArrayBuffer"!=w.name}))){for(var W,H=(E=function(t){return c(this,E),new w(p(t))}).prototype=w.prototype,q=d(w),V=0;q.length>V;)(W=q[V++])in E||a(E,W,w[W]);H.constructor=E}var G=new O(new E(2)),z=O.prototype.setInt8;G.setInt8(0,2147483648),G.setInt8(1,2147483649),!G.getInt8(0)&&G.getInt8(1)||s(O.prototype,{setInt8:function(t,e){z.call(this,t,e<<24>>24)},setUint8:function(t,e){z.call(this,t,e<<24>>24)}},{unsafe:!0})}else E=function(t){c(this,E,"ArrayBuffer");var e=p(t);b(this,{bytes:v.call(new Array(e),0),byteLength:e}),o||(this.byteLength=e)},O=function(t,e,n){c(this,O,"DataView"),c(t,E,"DataView");var r=m(t).byteLength,i=l(e);if(i<0||i>r)throw P("Wrong offset");if(i+(n=void 0===n?r-i:f(n))>r)throw P("Wrong length");b(this,{buffer:t,byteLength:n,byteOffset:i}),o||(this.buffer=t,this.byteLength=n,this.byteOffset=i)},o&&(B(E,"byteLength"),B(O,"buffer"),B(O,"byteLength"),B(O,"byteOffset")),s(O.prototype,{getInt8:function(t){return F(this,1,t)[0]<<24>>24},getUint8:function(t){return F(this,1,t)[0]},getInt16:function(t){var e=F(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=F(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return I(F(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return I(F(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return j(F(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return j(F(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){U(this,1,t,M,e)},setUint8:function(t,e){U(this,1,t,M,e)},setInt16:function(t,e){U(this,2,t,R,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){U(this,2,t,R,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){U(this,4,t,D,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){U(this,4,t,D,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){U(this,4,t,N,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){U(this,8,t,L,e,arguments.length>2?arguments[2]:void 0)}});g(E,"ArrayBuffer"),g(O,"DataView"),t.exports={ArrayBuffer:E,DataView:O}},function(t,e,n){"use strict";var r=n(1),o=n(8),i=n(65),a=n(20),s=n(54),u=n(73),c=n(48),l=n(9),f=n(6),p=n(78),d=n(36),h=n(83);t.exports=function(t,e,n,v,g){var y=o[t],m=y&&y.prototype,b=y,w=v?"set":"add",E={},O=function(t){var e=m[t];a(m,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!l(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(i(t,"function"!=typeof y||!(g||m.forEach&&!f((function(){(new y).entries().next()})))))b=n.getConstructor(e,t,v,w),s.REQUIRED=!0;else if(i(t,!0)){var x=new b,P=x[w](g?{}:-0,1)!=x,k=f((function(){x.has(1)})),_=p((function(t){new y(t)})),S=!g&&f((function(){for(var t=new y,e=5;e--;)t[w](e,e);return!t.has(-0)}));_||((b=e((function(e,n){c(e,b,t);var r=h(new y,e,b);return null!=n&&u(n,r[w],r,v),r}))).prototype=m,m.constructor=b),(k||S)&&(O("delete"),O("has"),v&&O("get")),(S||P)&&O(w),g&&m.clear&&delete m.clear}return E[t]=b,r({global:!0,forced:b!=y},E),d(b,t),g||n.setStrong(b,t,v),b}},function(t,e,n){var r=n(9),o=n(56);t.exports=function(t,e,n){var i,a;return o&&"function"==typeof(i=e.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(t,a),t}},function(t,e){var n=Math.expm1,r=Math.exp;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:r(t)-1}:n},function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,e,n){"use strict";var r=n(44),o=n(8),i=n(6);t.exports=r||!i((function(){var t=Math.random();__defineSetter__.call(null,t,(function(){})),delete o[t]}))},function(t,e,n){"use strict";var r=n(10);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){"use strict";var r,o,i=n(87),a=RegExp.prototype.exec,s=String.prototype.replace,u=a,c=(r=/a/,o=/b*/g,a.call(r,"a"),a.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),l=void 0!==/()??/.exec("")[1];(c||l)&&(u=function(t){var e,n,r,o,u=this;return l&&(n=new RegExp("^"+u.source+"$(?!\\s)",i.call(u))),c&&(e=u.lastIndex),r=a.call(u,t),c&&r&&(u.lastIndex=u.global?r.index+r[0].length:e),l&&r&&r.length>1&&s.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),t.exports=u},function(t,e,n){var r=n(30),o=n(23),i=function(t){return function(e,n){var i,a,s=String(o(e)),u=r(n),c=s.length;return u<0||u>=c?t?"":void 0:(i=s.charCodeAt(u))<55296||i>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):i:t?s.slice(u,u+2):a-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},function(t,e,n){"use strict";var r=n(21),o=n(20),i=n(6),a=n(13),s=n(88),u=a("species"),c=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),l=!i((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));t.exports=function(t,e,n,f){var p=a(t),d=!i((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),h=d&&!i((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return e=!0,null},n[p](""),!e}));if(!d||!h||"replace"===t&&!c||"split"===t&&!l){var v=/./[p],g=n(p,""[t],(function(t,e,n,r,o){return e.exec===s?d&&!o?{done:!0,value:v.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),y=g[0],m=g[1];o(String.prototype,t,y),o(RegExp.prototype,p,2==e?function(t,e){return m.call(t,this,e)}:function(t){return m.call(t,this)}),f&&r(RegExp.prototype[p],"sham",!0)}}},function(t,e,n){var r=n(33),o=n(88);t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.asEffect=void 0;var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};e.take=w,e.takem=function(){var t=w.apply(void 0,arguments);return t[s].maybe=!0,t},e.put=E,e.race=function(t){return b(c,t)},e.call=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return b(l,O("call",t,n))},e.apply=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return b(l,O("apply",{context:t,fn:e},n))},e.cps=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return b(f,O("cps",t,n))},e.fork=x,e.spawn=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=x.apply(void 0,[t].concat(n));return o[p].detached=!0,o},e.join=function(t){if((0,o.check)(t,o.is.notUndef,"join(task): argument task is undefined"),!P(t))throw new Error("join(task): argument "+t+" is not a valid Task object \n(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)");return b(d,t)},e.cancel=function(t){if((0,o.check)(t,o.is.notUndef,"cancel(task): argument task is undefined"),!P(t))throw new Error("cancel(task): argument "+t+" is not a valid Task object \n(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)");return b(h,t)},e.select=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];0===arguments.length?t=o.ident:((0,o.check)(t,o.is.notUndef,"select(selector,[...]): argument selector is undefined"),(0,o.check)(t,o.is.func,"select(selector,[...]): argument "+t+" is not a function"));return b(v,{selector:t,args:n})},e.actionChannel=function(t,e){(0,o.check)(t,o.is.notUndef,"actionChannel(pattern,...): argument pattern is undefined"),arguments.length>1&&((0,o.check)(e,o.is.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),(0,o.check)(e,o.is.notUndef,"actionChannel(pattern, buffer): argument "+e+" is not a valid buffer"));return b(g,{pattern:t,buffer:e})},e.cancelled=function(){return b(y,{})},e.flush=function(t){return(0,o.check)(t,o.is.channel,"flush(channel): argument "+t+" is not valid channel"),b(m,t)};var o=n(41);function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a=(0,o.sym)("IO"),s="TAKE",u="PUT",c="RACE",l="CALL",f="CPS",p="FORK",d="JOIN",h="CANCEL",v="SELECT",g="ACTION_CHANNEL",y="CANCELLED",m="FLUSH",b=function(t,e){var n;return i(n={},a,!0),i(n,t,e),n};function w(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"*";if(arguments.length&&(0,o.check)(arguments[0],o.is.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),o.is.pattern(t))return b(s,{pattern:t});if(o.is.channel(t))return b(s,{channel:t});throw new Error("take(patternOrChannel): argument "+String(t)+" is not valid channel or a valid pattern")}function E(t,e){return arguments.length>1?((0,o.check)(t,o.is.notUndef,"put(channel, action): argument channel is undefined"),(0,o.check)(t,o.is.channel,"put(channel, action): argument "+t+" is not a valid channel"),(0,o.check)(e,o.is.notUndef,"put(channel, action): argument action is undefined")):((0,o.check)(t,o.is.notUndef,"put(action): argument action is undefined"),e=t,t=null),b(u,{channel:t,action:e})}function O(t,e,n){(0,o.check)(e,o.is.notUndef,t+": argument fn is undefined");var i=null;if(o.is.array(e)){var a=r(e,2);i=a[0],e=a[1]}else if(e.fn){var s=e;i=s.context,e=s.fn}return(0,o.check)(e,o.is.func,t+": argument "+e+" is not a function"),{context:i,fn:e,args:n}}function x(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return b(p,O("fork",t,n))}E.sync=function(){var t=E.apply(void 0,arguments);return t[u].sync=!0,t};var P=function(t){return t[o.TASK]};e.asEffect={take:function(t){return t&&t[a]&&t[s]},put:function(t){return t&&t[a]&&t[u]},race:function(t){return t&&t[a]&&t[c]},call:function(t){return t&&t[a]&&t[l]},cps:function(t){return t&&t[a]&&t[f]},fork:function(t){return t&&t[a]&&t[p]},join:function(t){return t&&t[a]&&t[d]},cancel:function(t){return t&&t[a]&&t[h]},select:function(t){return t&&t[a]&&t[v]},actionChannel:function(t){return t&&t[a]&&t[g]},cancelled:function(t){return t&&t[a]&&t[y]},flush:function(t){return t&&t[a]&&t[m]}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UNDEFINED_INPUT_ERROR=e.INVALID_BUFFER=e.isEnd=e.END=void 0;var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};e.emitter=function(){var t=[];return{subscribe:function(e){return t.push(e),function(){return(0,o.remove)(t,e)}},emit:function(e){for(var n=t.slice(),r=0,o=n.length;r<o;r++)n[r](e)}}},e.channel=l,e.eventChannel=f,e.stdChannel=function(t){var e=f(t);return r({},e,{take:function(t,n){arguments.length>1&&((0,o.check)(n,o.is.func,"channel.take's matcher argument must be a function"),t[o.MATCH]=n),e.take(t)}})};var o=n(41),i=n(94),a=e.END={type:"@@redux-saga/CHANNEL_END"},s=e.isEnd=function(t){return t&&"@@redux-saga/CHANNEL_END"===t.type};var u=e.INVALID_BUFFER="invalid buffer passed to channel factory function",c=e.UNDEFINED_INPUT_ERROR="Saga was provided with an undefined action";function l(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.buffers.fixed(),e=!1,n=[];function r(){if(e&&n.length)throw(0,o.internalErr)("Cannot have a closed channel with pending takers");if(n.length&&!t.isEmpty())throw(0,o.internalErr)("Cannot have pending takers with non empty buffer")}return(0,o.check)(t,o.is.buffer,u),{take:function(i){r(),(0,o.check)(i,o.is.func,"channel.take's callback must be a function"),e&&t.isEmpty()?i(a):t.isEmpty()?(n.push(i),i.cancel=function(){return(0,o.remove)(n,i)}):i(t.take())},put:function(i){if(r(),(0,o.check)(i,o.is.notUndef,c),!e){if(!n.length)return t.put(i);for(var a=0;a<n.length;a++){var s=n[a];if(!s[o.MATCH]||s[o.MATCH](i))return n.splice(a,1),s(i)}}},flush:function(n){r(),(0,o.check)(n,o.is.func,"channel.flush' callback must be a function"),e&&t.isEmpty()?n(a):n(t.flush())},close:function(){if(r(),!e&&(e=!0,n.length)){var t=n;n=[];for(var o=0,i=t.length;o<i;o++)t[o](a)}},get __takers__(){return n},get __closed__(){return e}}}function f(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.buffers.none(),n=arguments[2];arguments.length>2&&(0,o.check)(n,o.is.func,"Invalid match function passed to eventChannel");var r=l(e),a=t((function(t){s(t)?r.close():n&&!n(t)||r.put(t)}));if(!o.is.func(a))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:r.take,flush:r.flush,close:function(){r.__closed__||(r.close(),a())}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.buffers=e.BUFFER_OVERFLOW=void 0;var r=n(41),o=e.BUFFER_OVERFLOW="Channel's Buffer overflow!",i=1,a=3,s=4,u={isEmpty:r.kTrue,put:r.noop,take:r.noop};function c(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,e=arguments[1],n=new Array(t),r=0,u=0,c=0,l=function(e){n[u]=e,u=(u+1)%t,r++},f=function(){if(0!=r){var e=n[c];return n[c]=null,r--,c=(c+1)%t,e}},p=function(){for(var t=[];r;)t.push(f());return t};return{isEmpty:function(){return 0==r},put:function(f){if(r<t)l(f);else{var d=void 0;switch(e){case i:throw new Error(o);case a:n[u]=f,c=u=(u+1)%t;break;case s:d=2*t,n=p(),r=n.length,u=n.length,c=0,n.length=d,t=d,l(f)}}},take:f,flush:p}}e.buffers={none:function(){return u},fixed:function(t){return c(t,i)},dropping:function(t){return c(t,2)},sliding:function(t){return c(t,a)},expanding:function(t){return c(t,s)}}},function(t,e,n){var r;r=function(t,e){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=t,n.c=e,n.p="",n(0)}([function(t,e,n){"use strict";t.exports=n(1).default,t.exports.DraggableCore=n(17).default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=v(n(2)),s=v(n(3)),u=v(n(11)),c=v(n(12)),l=n(13),f=n(16),p=n(14),d=v(n(17)),h=v(n(19));function v(t){return t&&t.__esModule?t:{default:t}}function g(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var y=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.onDragStart=function(t,e){if((0,h.default)("Draggable: onDragStart: %j",e),!1===n.props.onStart(t,(0,f.createDraggableData)(n,e)))return!1;n.setState({dragging:!0,dragged:!0})},n.onDrag=function(t,e){if(!n.state.dragging)return!1;(0,h.default)("Draggable: onDrag: %j",e);var r=(0,f.createDraggableData)(n,e),i={x:r.x,y:r.y};if(n.props.bounds){var a=i.x,s=i.y;i.x+=n.state.slackX,i.y+=n.state.slackY;var u=(0,f.getBoundPosition)(n,i.x,i.y),c=o(u,2);i.x=c[0],i.y=c[1],i.slackX=n.state.slackX+(a-i.x),i.slackY=n.state.slackY+(s-i.y),r.x=a,r.y=s,r.deltaX=i.x-n.state.x,r.deltaY=i.y-n.state.y}if(!1===n.props.onDrag(t,r))return!1;n.setState(i)},n.onDragStop=function(t,e){if(!n.state.dragging)return!1;if(!1===n.props.onStop(t,(0,f.createDraggableData)(n,e)))return!1;(0,h.default)("Draggable: onDragStop: %j",e);var r={dragging:!1,slackX:0,slackY:0};if(Boolean(n.props.position)){var o=n.props.position,i=o.x,a=o.y;r.x=i,r.y=a}n.setState(r)},n.state={dragging:!1,dragged:!1,x:t.position?t.position.x:t.defaultPosition.x,y:t.position?t.position.y:t.defaultPosition.y,slackX:0,slackY:0,isElementSVG:!1},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),i(e,[{key:"componentWillMount",value:function(){!this.props.position||this.props.onDrag||this.props.onStop||console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}},{key:"componentDidMount",value:function(){"undefined"!=typeof SVGElement&&u.default.findDOMNode(this)instanceof SVGElement&&this.setState({isElementSVG:!0})}},{key:"componentWillReceiveProps",value:function(t){!t.position||this.props.position&&t.position.x===this.props.position.x&&t.position.y===this.props.position.y||this.setState({x:t.position.x,y:t.position.y})}},{key:"componentWillUnmount",value:function(){this.setState({dragging:!1})}},{key:"render",value:function(){var t,e={},n=null,o=!Boolean(this.props.position)||this.state.dragging,i=this.props.position||this.props.defaultPosition,s={x:(0,f.canDragX)(this)&&o?this.state.x:i.x,y:(0,f.canDragY)(this)&&o?this.state.y:i.y};this.state.isElementSVG?n=(0,l.createSVGTransform)(s):e=(0,l.createCSSTransform)(s);var u=this.props,p=u.defaultClassName,h=u.defaultClassNameDragging,v=u.defaultClassNameDragged,y=(0,c.default)(this.props.children.props.className||"",p,(g(t={},h,this.state.dragging),g(t,v,this.state.dragged),t));return a.default.createElement(d.default,r({},this.props,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),a.default.cloneElement(a.default.Children.only(this.props.children),{className:y,style:r({},this.props.children.props.style,e),transform:n}))}}]),e}(a.default.Component);y.displayName="Draggable",y.propTypes=r({},d.default.propTypes,{axis:s.default.oneOf(["both","x","y","none"]),bounds:s.default.oneOfType([s.default.shape({left:s.default.number,right:s.default.number,top:s.default.number,bottom:s.default.number}),s.default.string,s.default.oneOf([!1])]),defaultClassName:s.default.string,defaultClassNameDragging:s.default.string,defaultClassNameDragged:s.default.string,defaultPosition:s.default.shape({x:s.default.number,y:s.default.number}),position:s.default.shape({x:s.default.number,y:s.default.number}),className:p.dontSetMe,style:p.dontSetMe,transform:p.dontSetMe}),y.defaultProps=r({},d.default.defaultProps,{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},position:null}),e.default=y},function(e,n){e.exports=t},function(t,e,n){if("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV){var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;t.exports=n(4)((function(t){return"object"==typeof t&&null!==t&&t.$$typeof===r}),!0)}else t.exports=n(10)()},function(t,e,n){"use strict";var r=n(5),o=n(6),i=n(7),a=n(8),s=n(9);t.exports=function(t,e){var n="function"==typeof Symbol&&Symbol.iterator,u="@@iterator",c="<<anonymous>>",l={array:d("array"),bool:d("boolean"),func:d("function"),number:d("number"),object:d("object"),string:d("string"),symbol:d("symbol"),any:p(r.thatReturnsNull),arrayOf:function(t){return p((function(e,n,r,o,i){if("function"!=typeof t)return new f("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=e[n];if(!Array.isArray(s))return new f("Invalid "+o+" `"+i+"` of type `"+v(s)+"` supplied to `"+r+"`, expected an array.");for(var u=0;u<s.length;u++){var c=t(s,u,r,o,i+"["+u+"]",a);if(c instanceof Error)return c}return null}))},element:p((function(e,n,r,o,i){var a=e[n];return t(a)?null:new f("Invalid "+o+" `"+i+"` of type `"+v(a)+"` supplied to `"+r+"`, expected a single ReactElement.")})),instanceOf:function(t){return p((function(e,n,r,o,i){if(!(e[n]instanceof t)){var a=t.name||c;return new f("Invalid "+o+" `"+i+"` of type `"+((s=e[n]).constructor&&s.constructor.name?s.constructor.name:c)+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}var s;return null}))},node:p((function(t,e,n,r,o){return h(t[e])?null:new f("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(t){return p((function(e,n,r,o,i){if("function"!=typeof t)return new f("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=e[n],u=v(s);if("object"!==u)return new f("Invalid "+o+" `"+i+"` of type `"+u+"` supplied to `"+r+"`, expected an object.");for(var c in s)if(s.hasOwnProperty(c)){var l=t(s,c,r,o,i+"."+c,a);if(l instanceof Error)return l}return null}))},oneOf:function(t){return Array.isArray(t)?p((function(e,n,r,o,i){for(var a=e[n],s=0;s<t.length;s++)if(u=a,c=t[s],u===c?0!==u||1/u==1/c:u!=u&&c!=c)return null;var u,c;return new f("Invalid "+o+" `"+i+"` of value `"+a+"` supplied to `"+r+"`, expected one of "+JSON.stringify(t)+".")})):("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV&&i(!1,"Invalid argument supplied to oneOf, expected an instance of array."),r.thatReturnsNull)},oneOfType:function(t){return Array.isArray(t)?p((function(e,n,r,o,i){for(var s=0;s<t.length;s++)if(null==(0,t[s])(e,n,r,o,i,a))return null;return new f("Invalid "+o+" `"+i+"` supplied to `"+r+"`.")})):("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV&&i(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),r.thatReturnsNull)},shape:function(t){return p((function(e,n,r,o,i){var s=e[n],u=v(s);if("object"!==u)return new f("Invalid "+o+" `"+i+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var c in t){var l=t[c];if(l){var p=l(s,c,r,o,i+"."+c,a);if(p)return p}}return null}))}};function f(t){this.message=t,this.stack=""}function p(t){if("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV)var n={},r=0;function s(s,u,l,p,d,h,v){if(p=p||c,h=h||l,v!==a)if(e)o(!1,"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");else if("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV&&"undefined"!=typeof console){var g=p+":"+l;!n[g]&&r<3&&(i(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. 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.",h,p),n[g]=!0,r++)}return null==u[l]?s?null===u[l]?new f("The "+d+" `"+h+"` is marked as required in `"+p+"`, but its value is `null`."):new f("The "+d+" `"+h+"` is marked as required in `"+p+"`, but its value is `undefined`."):null:t(u,l,p,d,h)}var u=s.bind(null,!1);return u.isRequired=s.bind(null,!0),u}function d(t){return p((function(e,n,r,o,i,a){var s=e[n];return v(s)!==t?new f("Invalid "+o+" `"+i+"` of type `"+function(t){var e=v(t);if("object"===e){if(t instanceof Date)return"date";if(t instanceof RegExp)return"regexp"}return e}(s)+"` supplied to `"+r+"`, expected `"+t+"`."):null}))}function h(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(h);if(null===e||t(e))return!0;var r=function(t){var e=t&&(n&&t[n]||t[u]);if("function"==typeof e)return e}(e);if(!r)return!1;var o,i=r.call(e);if(r!==e.entries){for(;!(o=i.next()).done;)if(!h(o.value))return!1}else for(;!(o=i.next()).done;){var a=o.value;if(a&&!h(a[1]))return!1}return!0;default:return!1}}function v(t){var e=typeof t;return Array.isArray(t)?"array":t instanceof RegExp?"object":function(t,e){return"symbol"===t||"Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol}(e,t)?"symbol":e}return f.prototype=Error.prototype,l.checkPropTypes=s,l.PropTypes=l,l}},function(t,e){"use strict";function n(t){return function(){return t}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(t){return t},t.exports=r},function(t,e,n){"use strict";var r=function(t){};"production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV&&(r=function(t){if(void 0===t)throw new Error("invariant requires an error message argument")}),t.exports=function(t,e,n,o,i,a,s,u){if(r(e),!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,o,i,a,s,u],f=0;(c=new Error(e.replace(/%s/g,(function(){return l[f++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(t,e,n){"use strict";var r,o=n(5);"production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV&&(r=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=0,i="Warning: "+t.replace(/%s/g,(function(){return n[o++]}));"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(t){}},o=function(t,e){if(void 0===e)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==e.indexOf("Failed Composite propType: ")&&!t){for(var n=arguments.length,o=Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];r.apply(void 0,[e].concat(o))}}),t.exports=o},function(t,e){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";if("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV)var r=n(6),o=n(7),i=n(8),a={};t.exports=function(t,e,n,s,u){if("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV)for(var c in t)if(t.hasOwnProperty(c)){var l;try{r("function"==typeof t[c],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",s||"React class",n,c),l=t[c](e,c,s,n,null,i)}catch(t){l=t}if(o(!l||l instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",s||"React class",n,c,typeof l),l instanceof Error&&!(l.message in a)){a[l.message]=!0;var f=u?u():"";o(!1,"Failed %s type: %s%s",n,l.message,null!=f?f:"")}}}},function(t,e,n){"use strict";var r=n(5),o=n(6);t.exports=function(){function t(){o(!1,"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")}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e};return n.checkPropTypes=r,n.PropTypes=n,n}},function(t,n){t.exports=e},function(t,e,n){var r;
|
6
|
+
*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"===i||"number"===i)t.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&t.push(a)}else if("object"===i)for(var s in r)n.call(r,s)&&r[s]&&t.push(s)}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0===(r=function(){return o}.apply(e,[]))||(t.exports=r)}()},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.utils=e.effects=e.CANCEL=e.delay=e.throttle=e.takeLatest=e.takeEvery=e.buffers=e.channel=e.eventChannel=e.END=e.runSaga=void 0;var r=n(394);Object.defineProperty(e,"runSaga",{enumerable:!0,get:function(){return r.runSaga}});var o=n(93);Object.defineProperty(e,"END",{enumerable:!0,get:function(){return o.END}}),Object.defineProperty(e,"eventChannel",{enumerable:!0,get:function(){return o.eventChannel}}),Object.defineProperty(e,"channel",{enumerable:!0,get:function(){return o.channel}});var i=n(94);Object.defineProperty(e,"buffers",{enumerable:!0,get:function(){return i.buffers}});var a=n(395);Object.defineProperty(e,"takeEvery",{enumerable:!0,get:function(){return a.takeEvery}}),Object.defineProperty(e,"takeLatest",{enumerable:!0,get:function(){return a.takeLatest}}),Object.defineProperty(e,"throttle",{enumerable:!0,get:function(){return a.throttle}});var s=n(41);Object.defineProperty(e,"delay",{enumerable:!0,get:function(){return s.delay}}),Object.defineProperty(e,"CANCEL",{enumerable:!0,get:function(){return s.CANCEL}});var u,c=n(396),l=(u=c)&&u.__esModule?u:{default:u},f=d(n(165)),p=d(n(397));function d(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}e.default=l.default,e.effects=f,e.utils=p},function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||Function("return this")()}).call(this,n(74))},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(9);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,n){"use strict";var r,o=n(12),i=n(8),a=n(9),s=n(18),u=n(71),c=n(21),l=n(20),f=n(15).f,p=n(37),d=n(56),h=n(13),v=n(62),g=i.DataView,y=g&&g.prototype,m=i.Int8Array,b=m&&m.prototype,w=i.Uint8ClampedArray,E=w&&w.prototype,O=m&&p(m),x=b&&p(b),P=Object.prototype,k=P.isPrototypeOf,_=h("toStringTag"),S=v("TYPED_ARRAY_TAG"),T=!(!i.ArrayBuffer||!g),j=T&&!!d&&"Opera"!==u(i.opera),A=!1,C={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},I=function(t){return a(t)&&s(C,u(t))};for(r in C)i[r]||(j=!1);if((!j||"function"!=typeof O||O===Function.prototype)&&(O=function(){throw TypeError("Incorrect invocation")},j))for(r in C)i[r]&&d(i[r],O);if((!j||!x||x===P)&&(x=O.prototype,j))for(r in C)i[r]&&d(i[r].prototype,x);if(j&&p(E)!==x&&d(E,x),o&&!s(x,_))for(r in A=!0,f(x,_,{get:function(){return a(this)?this[S]:void 0}}),C)i[r]&&c(i[r],S,r);T&&d&&p(y)!==P&&d(y,P),t.exports={NATIVE_ARRAY_BUFFER:T,NATIVE_ARRAY_BUFFER_VIEWS:j,TYPED_ARRAY_TAG:A&&S,aTypedArray:function(t){if(I(t))return t;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(t){if(d){if(k.call(O,t))return t}else for(var e in C)if(s(C,r)){var n=i[e];if(n&&(t===n||k.call(n,t)))return t}throw TypeError("Target is not a typed array constructor")},exportProto:function(t,e,n){if(o){if(n)for(var r in C){var a=i[r];a&&s(a.prototype,t)&&delete a.prototype[t]}x[t]&&!n||l(x,t,n?e:j&&b[t]||e)}},exportStatic:function(t,e,n){var r,a;if(o){if(d){if(n)for(r in C)(a=i[r])&&s(a,t)&&delete a[t];if(O[t]&&!n)return;try{return l(O,t,n?e:j&&m[t]||e)}catch(t){}}for(r in C)!(a=i[r])||a[t]&&!n||l(a,t,e)}},isView:function(t){var e=u(t);return"DataView"===e||s(C,e)},isTypedArray:I,TypedArray:O,TypedArrayPrototype:x}},function(t,e,n){var r=n(6);t.exports=!r((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(8),o=n(55),i=n(62),a=n(128),s=r.Symbol,u=o("wks");t.exports=function(t){return u[t]||(u[t]=a&&s[t]||(a?s:i)("Symbol."+t))}},function(t,e,n){var r=n(30),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(12),o=n(122),i=n(10),a=n(34),s=Object.defineProperty;e.f=r?s:function(t,e,n){if(i(t),e=a(e,!0),i(n),o)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(23);t.exports=function(t){return Object(r(t))}},function(t,e,n){"use strict";var r=n(171),o="object"==typeof self&&self&&self.Object===Object&&self,i=(r.a||o||Function("return this")()).Symbol,a=Object.prototype,s=a.hasOwnProperty,u=a.toString,c=i?i.toStringTag:void 0;var l=function(t){var e=s.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(t){}var o=u.call(t);return r&&(e?t[c]=n:delete t[c]),o},f=Object.prototype.toString;var p=function(t){return f.call(t)},d="[object Null]",h="[object Undefined]",v=i?i.toStringTag:void 0;var g=function(t){return null==t?void 0===t?h:d:v&&v in Object(t)?l(t):p(t)};var y=function(t,e){return function(n){return t(e(n))}}(Object.getPrototypeOf,Object);var m=function(t){return null!=t&&"object"==typeof t},b="[object Object]",w=Function.prototype,E=Object.prototype,O=w.toString,x=E.hasOwnProperty,P=O.call(Object);var k=function(t){if(!m(t)||g(t)!=b)return!1;var e=y(t);if(null===e)return!0;var n=x.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&O.call(n)==P},_=n(121),S={INIT:"@@redux/INIT"};function T(t,e,n){var r;if("function"==typeof e&&void 0===n&&(n=e,e=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(T)(t,e)}if("function"!=typeof t)throw new Error("Expected the reducer to be a function.");var o=t,i=e,a=[],s=a,u=!1;function c(){s===a&&(s=a.slice())}function l(){return i}function f(t){if("function"!=typeof t)throw new Error("Expected listener to be a function.");var e=!0;return c(),s.push(t),function(){if(e){e=!1,c();var n=s.indexOf(t);s.splice(n,1)}}}function p(t){if(!k(t))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===t.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(u)throw new Error("Reducers may not dispatch actions.");try{u=!0,i=o(i,t)}finally{u=!1}for(var e=a=s,n=0;n<e.length;n++){(0,e[n])()}return t}return p({type:S.INIT}),(r={dispatch:p,subscribe:f,getState:l,replaceReducer:function(t){if("function"!=typeof t)throw new Error("Expected the nextReducer to be a function.");o=t,p({type:S.INIT})}})[_.a]=function(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t)throw new TypeError("Expected the observer to be an object.");function n(){t.next&&t.next(l())}return n(),{unsubscribe:e(n)}}})[_.a]=function(){return this},t},r}function j(t,e){var n=e&&e.type;return"Given action "+(n&&'"'+n.toString()+'"'||"an action")+', reducer "'+t+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function A(t){for(var e=Object.keys(t),n={},r=0;r<e.length;r++){var o=e[r];0,"function"==typeof t[o]&&(n[o]=t[o])}var i=Object.keys(n);var a=void 0;try{!function(t){Object.keys(t).forEach((function(e){var n=t[e];if(void 0===n(void 0,{type:S.INIT}))throw new Error('Reducer "'+e+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:"@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".")}))throw new Error('Reducer "'+e+"\" returned undefined when probed with a random type. Don't try to handle "+S.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(t){a=t}return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments[1];if(a)throw a;for(var r=!1,o={},s=0;s<i.length;s++){var u=i[s],c=n[u],l=t[u],f=c(l,e);if(void 0===f){var p=j(u,e);throw new Error(p)}o[u]=f,r=r||f!==l}return r?o:t}}function C(t,e){return function(){return e(t.apply(void 0,arguments))}}function I(t,e){if("function"==typeof t)return C(t,e);if("object"!=typeof t||null===t)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===t?"null":typeof t)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var n=Object.keys(t),r={},o=0;o<n.length;o++){var i=n[o],a=t[i];"function"==typeof a&&(r[i]=C(a,e))}return r}function M(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}var R=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function D(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return function(n,r,o){var i,a=t(n,r,o),s=a.dispatch,u={getState:a.getState,dispatch:function(t){return s(t)}};return i=e.map((function(t){return t(u)})),s=M.apply(void 0,i)(a.dispatch),R({},a,{dispatch:s})}}}n.d(e,"d",(function(){return T})),n.d(e,"c",(function(){return A})),n.d(e,"b",(function(){return I})),n.d(e,"a",(function(){return D}))},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(46),o=n(61),i=n(16),a=n(14),s=n(67),u=[].push,c=function(t){var e=1==t,n=2==t,c=3==t,l=4==t,f=6==t,p=5==t||f;return function(d,h,v,g){for(var y,m,b=i(d),w=o(b),E=r(h,v,3),O=a(w.length),x=0,P=g||s,k=e?P(d,O):n?P(d,0):void 0;O>x;x++)if((p||x in w)&&(m=E(y=w[x],x,b),t))if(e)k[x]=m;else if(m)switch(t){case 3:return!0;case 5:return y;case 6:return x;case 2:u.call(k,y)}else if(l)return!1;return f?-1:c||l?l:k}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},function(t,e,n){var r=n(8),o=n(55),i=n(21),a=n(18),s=n(99),u=n(123),c=n(29),l=c.get,f=c.enforce,p=String(u).split("toString");o("inspectSource",(function(t){return u.call(t)})),(t.exports=function(t,e,n,o){var u=!!o&&!!o.unsafe,c=!!o&&!!o.enumerable,l=!!o&&!!o.noTargetGet;"function"==typeof n&&("string"!=typeof e||a(n,"name")||i(n,"name",e),f(n).source=p.join("string"==typeof e?e:"")),t!==r?(u?!l&&t[e]&&(c=!0):delete t[e],c?t[e]=n:i(t,e,n)):c?t[e]=n:s(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||u.call(this)}))},function(t,e,n){var r=n(12),o=n(15),i=n(43);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(12),o=n(75),i=n(43),a=n(24),s=n(34),u=n(18),c=n(122),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=a(t),e=s(e,!0),c)try{return l(t,e)}catch(t){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(61),o=n(23);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(126),o=n(18),i=n(131),a=n(15).f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},function(t,e,n){var r=n(23),o=/"/g;t.exports=function(t,e,n,i){var a=String(r(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(i).replace(o,""")+'"'),s+">"+a+"</"+e+">"}},function(t,e,n){var r=n(6);t.exports=function(t){return r((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},function(t,e,n){t.exports=n(398)()},function(t,e,n){var r,o,i,a=n(124),s=n(8),u=n(9),c=n(21),l=n(18),f=n(76),p=n(63),d=s.WeakMap;if(a){var h=new d,v=h.get,g=h.has,y=h.set;r=function(t,e){return y.call(h,t,e),e},o=function(t){return v.call(h,t)||{}},i=function(t){return g.call(h,t)}}else{var m=f("state");p[m]=!0,r=function(t,e){return c(t,m,e),e},o=function(t){return l(t,m)?t[m]:{}},i=function(t){return l(t,m)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,o=n(401),i=(r=o)&&r.__esModule?r:{default:r};e.default=i.default,t.exports=e.default},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(9);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(126),o=n(8),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][e]||o[t]&&o[t][e]}},function(t,e,n){var r=n(15).f,o=n(18),i=n(13)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(18),o=n(16),i=n(76),a=n(108),s=i("IE_PROTO"),u=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),r(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,n){var r=n(10),o=n(103),i=n(101),a=n(63),s=n(129),u=n(98),c=n(76)("IE_PROTO"),l=function(){},f=function(){var t,e=u("iframe"),n=i.length;for(e.style.display="none",s.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),f=t.F;n--;)delete f.prototype[i[n]];return f()};t.exports=Object.create||function(t,e){var n;return null!==t?(l.prototype=r(t),n=new l,l.prototype=null,n[c]=t):n=f(),void 0===e?n:o(n,e)},a[c]=!0},function(t,e,n){"use strict";var r=n(6);t.exports=function(t,e){var n=[][t];return!n||!r((function(){n.call(null,e||function(){throw 1},1)}))}},function(t,e,n){"use strict";var r=n(1),o=n(8),i=n(12),a=n(118),s=n(11),u=n(81),c=n(48),l=n(43),f=n(21),p=n(14),d=n(141),h=n(159),v=n(34),g=n(18),y=n(71),m=n(9),b=n(38),w=n(56),E=n(51).f,O=n(160),x=n(19).forEach,P=n(57),k=n(15),_=n(22),S=n(29),T=n(83),j=S.get,A=S.set,C=k.f,I=_.f,M=Math.round,R=o.RangeError,D=u.ArrayBuffer,N=u.DataView,L=s.NATIVE_ARRAY_BUFFER_VIEWS,B=s.TYPED_ARRAY_TAG,F=s.TypedArray,U=s.TypedArrayPrototype,W=s.aTypedArrayConstructor,H=s.isTypedArray,q=function(t,e){for(var n=0,r=e.length,o=new(W(t))(r);r>n;)o[n]=e[n++];return o},V=function(t,e){C(t,e,{get:function(){return j(this)[e]}})},G=function(t){var e;return t instanceof D||"ArrayBuffer"==(e=y(t))||"SharedArrayBuffer"==e},z=function(t,e){return H(t)&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},Y=function(t,e){return z(t,e=v(e,!0))?l(2,t[e]):I(t,e)},X=function(t,e,n){return!(z(t,e=v(e,!0))&&m(n)&&g(n,"value"))||g(n,"get")||g(n,"set")||n.configurable||g(n,"writable")&&!n.writable||g(n,"enumerable")&&!n.enumerable?C(t,e,n):(t[e]=n.value,t)};i?(L||(_.f=Y,k.f=X,V(U,"buffer"),V(U,"byteOffset"),V(U,"byteLength"),V(U,"length")),r({target:"Object",stat:!0,forced:!L},{getOwnPropertyDescriptor:Y,defineProperty:X}),t.exports=function(t,e,n,i){var s=t+(i?"Clamped":"")+"Array",u="get"+t,l="set"+t,v=o[s],g=v,y=g&&g.prototype,k={},_=function(t,n){C(t,n,{get:function(){return function(t,n){var r=j(t);return r.view[u](n*e+r.byteOffset,!0)}(this,n)},set:function(t){return function(t,n,r){var o=j(t);i&&(r=(r=M(r))<0?0:r>255?255:255&r),o.view[l](n*e+o.byteOffset,r,!0)}(this,n,t)},enumerable:!0})};L?a&&(g=n((function(t,n,r,o){return c(t,g,s),T(m(n)?G(n)?void 0!==o?new v(n,h(r,e),o):void 0!==r?new v(n,h(r,e)):new v(n):H(n)?q(g,n):O.call(g,n):new v(d(n)),t,g)})),w&&w(g,F),x(E(v),(function(t){t in g||f(g,t,v[t])})),g.prototype=y):(g=n((function(t,n,r,o){c(t,g,s);var i,a,u,l=0,f=0;if(m(n)){if(!G(n))return H(n)?q(g,n):O.call(g,n);i=n,f=h(r,e);var v=n.byteLength;if(void 0===o){if(v%e)throw R("Wrong length");if((a=v-f)<0)throw R("Wrong length")}else if((a=p(o)*e)+f>v)throw R("Wrong length");u=a/e}else u=d(n),i=new D(a=u*e);for(A(t,{buffer:i,byteOffset:f,byteLength:a,length:u,view:new N(i)});l<u;)_(t,l++)})),w&&w(g,F),y=g.prototype=b(U)),y.constructor!==g&&f(y,"constructor",g),B&&f(y,B,s),k[s]=g,r({global:!0,forced:g!=v,sham:!L},k),"BYTES_PER_ELEMENT"in g||f(g,"BYTES_PER_ELEMENT",e),"BYTES_PER_ELEMENT"in y||f(y,"BYTES_PER_ELEMENT",e),P(s)}):t.exports=function(){}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}e.check=function(t,e,n){if(!e(t))throw y("error","uncaught at check",n),new Error(n)},e.remove=function(t,e){var n=t.indexOf(e);n>=0&&t.splice(n,1)},e.deferred=d,e.arrayOfDeffered=function(t){for(var e=[],n=0;n<t;n++)e.push(d());return e},e.delay=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=void 0,r=new Promise((function(r){n=setTimeout((function(){return r(e)}),t)}));return r[c]=function(){return clearTimeout(n)},r},e.createMockTask=function(){var t,e=!0,n=void 0,r=void 0;return i(t={},s,!0),i(t,"isRunning",(function(){return e})),i(t,"result",(function(){return n})),i(t,"error",(function(){return r})),i(t,"setRunning",(function(t){return e=t})),i(t,"setResult",(function(t){return n=t})),i(t,"setError",(function(t){return r=t})),t},e.autoInc=h,e.makeIterator=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments[3],o={name:n,next:t,throw:e,return:g};r&&(o[u]=!0);"undefined"!=typeof Symbol&&(o[Symbol.iterator]=function(){return o});return o},e.log=y,e.wrapSagaDispatch=function(t){return function(e){var n=Object.defineProperty(e,l,{value:!0});return t(n)}};var a=e.sym=function(t){return"@@redux-saga/"+t},s=e.TASK=a("TASK"),u=e.HELPER=a("HELPER"),c=(e.MATCH=a("MATCH"),e.CANCEL=a("cancelPromise")),l=e.SAGA_ACTION=a("SAGA_ACTION"),f=e.konst=function(t){return function(){return t}};e.kTrue=f(!0),e.kFalse=f(!1),e.noop=function(){},e.ident=function(t){return t};var p=e.is={undef:function(t){return null==t},notUndef:function(t){return null!=t},func:function(t){return"function"==typeof t},number:function(t){return"number"==typeof t},array:Array.isArray,promise:function(t){return t&&p.func(t.then)},iterator:function(t){return t&&p.func(t.next)&&p.func(t.throw)},task:function(t){return t&&t[s]},observable:function(t){return t&&p.func(t.subscribe)},buffer:function(t){return t&&p.func(t.isEmpty)&&p.func(t.take)&&p.func(t.put)},pattern:function(t){return t&&("string"==typeof t||"symbol"===(void 0===t?"undefined":o(t))||p.func(t)||p.array(t))},channel:function(t){return t&&p.func(t.take)&&p.func(t.close)},helper:function(t){return t&&t[u]}};function d(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=r({},t),n=new Promise((function(t,n){e.resolve=t,e.reject=n}));return e.promise=n,e}function h(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return function(){return++t}}e.uid=h();var v=function(t){throw t},g=function(t){return{value:t,done:!0}};function y(t,e,n){"undefined"==typeof window?console.log("redux-saga "+t+": "+e+"\n"+(n&&n.stack||n)):console[t](e,n)}e.internalErr=function(t){return new Error("\n redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\n in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\n Error: "+t+"\n")}},function(t,e){t.exports=ReactDOM},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=!1},function(t,e,n){var r=n(30),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},function(t,e,n){var r=n(31);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(13),o=n(38),i=n(21),a=r("unscopables"),s=Array.prototype;null==s[a]&&i(s,a,o(null)),t.exports=function(t){s[a][t]=!0}},function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},function(t,e,n){var r=n(10),o=n(31),i=n(13)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[i])?e:o(n)}},function(t,e){t.exports=Backbone},function(t,e,n){var r=n(127),o=n(101).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(33);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){"use strict";var r=n(34),o=n(15),i=n(43);t.exports=function(t,e,n){var a=r(e);a in t?o.f(t,a,i(0,n)):t[a]=n}},function(t,e,n){var r=n(63),o=n(9),i=n(18),a=n(15).f,s=n(62),u=n(72),c=s("meta"),l=0,f=Object.isExtensible||function(){return!0},p=function(t){a(t,c,{value:{objectID:"O"+ ++l,weakData:{}}})},d=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,c)){if(!f(t))return"F";if(!e)return"E";p(t)}return t[c].objectID},getWeakData:function(t,e){if(!i(t,c)){if(!f(t))return!0;if(!e)return!1;p(t)}return t[c].weakData},onFreeze:function(t){return u&&d.REQUIRED&&f(t)&&!i(t,c)&&p(t),t}};r[c]=!0},function(t,e,n){var r=n(44),o=n(176);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.4.1",mode:r?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(10),o=n(139);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,i){return r(n),o(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},function(t,e,n){"use strict";var r=n(35),o=n(15),i=n(13),a=n(12),s=i("species");t.exports=function(t){var e=r(t),n=o.f;a&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,n){var r=n(20);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e,n){var r=n(23),o="["+n(85)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),s=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(i,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:s(1),end:s(2),trim:s(3)}},function(t,e,n){"use strict";function r(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.d(e,"a",(function(){return r}))},function(t,e,n){var r=n(6),o=n(33),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},function(t,e){t.exports={}},function(t,e,n){var r=n(24),o=n(14),i=n(45),a=function(t){return function(e,n,a){var s,u=r(e),c=o(u.length),l=i(a,c);if(t&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,e,n){var r=n(6),o=/#|\.prototype\./,i=function(t,e){var n=s[a(t)];return n==c||n!=u&&("function"==typeof e?r(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},s=i.data={},u=i.NATIVE="N",c=i.POLYFILL="P";t.exports=i},function(t,e,n){var r=n(127),o=n(101);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(9),o=n(52),i=n(13)("species");t.exports=function(t,e){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},function(t,e,n){var r=n(6),o=n(13),i=n(104),a=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e){t.exports={}},function(t,e,n){var r=n(71),o=n(69),i=n(13)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){var r=n(33),o=n(13)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){var r=n(6);t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(t,e,n){var r=n(10),o=n(106),i=n(14),a=n(46),s=n(70),u=n(136),c=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,n,l,f){var p,d,h,v,g,y,m,b=a(e,n,l?2:1);if(f)p=t;else{if("function"!=typeof(d=s(t)))throw TypeError("Target is not iterable");if(o(d)){for(h=0,v=i(t.length);v>h;h++)if((g=l?b(r(m=t[h])[0],m[1]):b(t[h]))&&g instanceof c)return g;return new c(!1)}p=d.call(t)}for(y=p.next;!(m=y.call(p)).done;)if("object"==typeof(g=u(p,b,m.value,l))&&g&&g instanceof c)return g;return new c(!1)}).stop=function(t){return new c(!0,t)}},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},function(t,e,n){var r=n(55),o=n(62),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e,n){var r=n(35);t.exports=r("navigator","userAgent")||""},function(t,e,n){var r=n(13)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(t){}return n}},function(t,e,n){"use strict";var r=n(24),o=n(47),i=n(69),a=n(29),s=n(107),u=a.set,c=a.getterFor("Array Iterator");t.exports=s(Array,"Array",(function(t,e){u(this,{type:"Array Iterator",target:r(t),index:0,kind:e})}),(function(){var t=c(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,e,n){var r=n(31),o=n(16),i=n(61),a=n(14),s=function(t){return function(e,n,s,u){r(n);var c=o(e),l=i(c),f=a(c.length),p=t?f-1:0,d=t?-1:1;if(s<2)for(;;){if(p in l){u=l[p],p+=d;break}if(p+=d,t?p<0:f<=p)throw TypeError("Reduce of empty array with no initial value")}for(;t?p>=0:f>p;p+=d)p in l&&(u=n(u,l[p],p,c));return u}};t.exports={left:s(!1),right:s(!0)}},function(t,e,n){"use strict";var r=n(8),o=n(12),i=n(11).NATIVE_ARRAY_BUFFER,a=n(21),s=n(58),u=n(6),c=n(48),l=n(30),f=n(14),p=n(141),d=n(51).f,h=n(15).f,v=n(105),g=n(36),y=n(29),m=y.get,b=y.set,w=r.ArrayBuffer,E=w,O=r.DataView,x=r.Math,P=r.RangeError,k=x.abs,_=x.pow,S=x.floor,T=x.log,j=x.LN2,A=function(t,e,n){var r,o,i,a=new Array(n),s=8*n-e-1,u=(1<<s)-1,c=u>>1,l=23===e?_(2,-24)-_(2,-77):0,f=t<0||0===t&&1/t<0?1:0,p=0;for((t=k(t))!=t||t===1/0?(o=t!=t?1:0,r=u):(r=S(T(t)/j),t*(i=_(2,-r))<1&&(r--,i*=2),(t+=r+c>=1?l/i:l*_(2,1-c))*i>=2&&(r++,i/=2),r+c>=u?(o=0,r=u):r+c>=1?(o=(t*i-1)*_(2,e),r+=c):(o=t*_(2,c-1)*_(2,e),r=0));e>=8;a[p++]=255&o,o/=256,e-=8);for(r=r<<e|o,s+=e;s>0;a[p++]=255&r,r/=256,s-=8);return a[--p]|=128*f,a},C=function(t,e){var n,r=t.length,o=8*r-e-1,i=(1<<o)-1,a=i>>1,s=o-7,u=r-1,c=t[u--],l=127&c;for(c>>=7;s>0;l=256*l+t[u],u--,s-=8);for(n=l&(1<<-s)-1,l>>=-s,s+=e;s>0;n=256*n+t[u],u--,s-=8);if(0===l)l=1-a;else{if(l===i)return n?NaN:c?-1/0:1/0;n+=_(2,e),l-=a}return(c?-1:1)*n*_(2,l-e)},I=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},M=function(t){return[255&t]},R=function(t){return[255&t,t>>8&255]},D=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},N=function(t){return A(t,23,4)},L=function(t){return A(t,52,8)},B=function(t,e){h(t.prototype,e,{get:function(){return m(this)[e]}})},F=function(t,e,n,r){var o=p(+n),i=m(t);if(o+e>i.byteLength)throw P("Wrong index");var a=m(i.buffer).bytes,s=o+i.byteOffset,u=a.slice(s,s+e);return r?u:u.reverse()},U=function(t,e,n,r,o,i){var a=p(+n),s=m(t);if(a+e>s.byteLength)throw P("Wrong index");for(var u=m(s.buffer).bytes,c=a+s.byteOffset,l=r(+o),f=0;f<e;f++)u[c+f]=l[i?f:e-f-1]};if(i){if(!u((function(){w(1)}))||!u((function(){new w(-1)}))||u((function(){return new w,new w(1.5),new w(NaN),"ArrayBuffer"!=w.name}))){for(var W,H=(E=function(t){return c(this,E),new w(p(t))}).prototype=w.prototype,q=d(w),V=0;q.length>V;)(W=q[V++])in E||a(E,W,w[W]);H.constructor=E}var G=new O(new E(2)),z=O.prototype.setInt8;G.setInt8(0,2147483648),G.setInt8(1,2147483649),!G.getInt8(0)&&G.getInt8(1)||s(O.prototype,{setInt8:function(t,e){z.call(this,t,e<<24>>24)},setUint8:function(t,e){z.call(this,t,e<<24>>24)}},{unsafe:!0})}else E=function(t){c(this,E,"ArrayBuffer");var e=p(t);b(this,{bytes:v.call(new Array(e),0),byteLength:e}),o||(this.byteLength=e)},O=function(t,e,n){c(this,O,"DataView"),c(t,E,"DataView");var r=m(t).byteLength,i=l(e);if(i<0||i>r)throw P("Wrong offset");if(i+(n=void 0===n?r-i:f(n))>r)throw P("Wrong length");b(this,{buffer:t,byteLength:n,byteOffset:i}),o||(this.buffer=t,this.byteLength=n,this.byteOffset=i)},o&&(B(E,"byteLength"),B(O,"buffer"),B(O,"byteLength"),B(O,"byteOffset")),s(O.prototype,{getInt8:function(t){return F(this,1,t)[0]<<24>>24},getUint8:function(t){return F(this,1,t)[0]},getInt16:function(t){var e=F(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=F(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return I(F(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return I(F(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return C(F(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return C(F(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){U(this,1,t,M,e)},setUint8:function(t,e){U(this,1,t,M,e)},setInt16:function(t,e){U(this,2,t,R,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){U(this,2,t,R,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){U(this,4,t,D,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){U(this,4,t,D,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){U(this,4,t,N,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){U(this,8,t,L,e,arguments.length>2?arguments[2]:void 0)}});g(E,"ArrayBuffer"),g(O,"DataView"),t.exports={ArrayBuffer:E,DataView:O}},function(t,e,n){"use strict";var r=n(1),o=n(8),i=n(65),a=n(20),s=n(54),u=n(73),c=n(48),l=n(9),f=n(6),p=n(78),d=n(36),h=n(83);t.exports=function(t,e,n,v,g){var y=o[t],m=y&&y.prototype,b=y,w=v?"set":"add",E={},O=function(t){var e=m[t];a(m,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!l(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(i(t,"function"!=typeof y||!(g||m.forEach&&!f((function(){(new y).entries().next()})))))b=n.getConstructor(e,t,v,w),s.REQUIRED=!0;else if(i(t,!0)){var x=new b,P=x[w](g?{}:-0,1)!=x,k=f((function(){x.has(1)})),_=p((function(t){new y(t)})),S=!g&&f((function(){for(var t=new y,e=5;e--;)t[w](e,e);return!t.has(-0)}));_||((b=e((function(e,n){c(e,b,t);var r=h(new y,e,b);return null!=n&&u(n,r[w],r,v),r}))).prototype=m,m.constructor=b),(k||S)&&(O("delete"),O("has"),v&&O("get")),(S||P)&&O(w),g&&m.clear&&delete m.clear}return E[t]=b,r({global:!0,forced:b!=y},E),d(b,t),g||n.setStrong(b,t,v),b}},function(t,e,n){var r=n(9),o=n(56);t.exports=function(t,e,n){var i,a;return o&&"function"==typeof(i=e.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(t,a),t}},function(t,e){var n=Math.expm1,r=Math.exp;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:r(t)-1}:n},function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,e,n){"use strict";var r=n(44),o=n(8),i=n(6);t.exports=r||!i((function(){var t=Math.random();__defineSetter__.call(null,t,(function(){})),delete o[t]}))},function(t,e,n){"use strict";var r=n(10);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){"use strict";var r,o,i=n(87),a=RegExp.prototype.exec,s=String.prototype.replace,u=a,c=(r=/a/,o=/b*/g,a.call(r,"a"),a.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),l=void 0!==/()??/.exec("")[1];(c||l)&&(u=function(t){var e,n,r,o,u=this;return l&&(n=new RegExp("^"+u.source+"$(?!\\s)",i.call(u))),c&&(e=u.lastIndex),r=a.call(u,t),c&&r&&(u.lastIndex=u.global?r.index+r[0].length:e),l&&r&&r.length>1&&s.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),t.exports=u},function(t,e,n){var r=n(30),o=n(23),i=function(t){return function(e,n){var i,a,s=String(o(e)),u=r(n),c=s.length;return u<0||u>=c?t?"":void 0:(i=s.charCodeAt(u))<55296||i>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):i:t?s.slice(u,u+2):a-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},function(t,e,n){"use strict";var r=n(21),o=n(20),i=n(6),a=n(13),s=n(88),u=a("species"),c=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),l=!i((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));t.exports=function(t,e,n,f){var p=a(t),d=!i((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),h=d&&!i((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return e=!0,null},n[p](""),!e}));if(!d||!h||"replace"===t&&!c||"split"===t&&!l){var v=/./[p],g=n(p,""[t],(function(t,e,n,r,o){return e.exec===s?d&&!o?{done:!0,value:v.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),y=g[0],m=g[1];o(String.prototype,t,y),o(RegExp.prototype,p,2==e?function(t,e){return m.call(t,this,e)}:function(t){return m.call(t,this)}),f&&r(RegExp.prototype[p],"sham",!0)}}},function(t,e,n){var r=n(33),o=n(88);t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.asEffect=void 0;var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};e.take=w,e.takem=function(){var t=w.apply(void 0,arguments);return t[s].maybe=!0,t},e.put=E,e.race=function(t){return b(c,t)},e.call=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return b(l,O("call",t,n))},e.apply=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return b(l,O("apply",{context:t,fn:e},n))},e.cps=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return b(f,O("cps",t,n))},e.fork=x,e.spawn=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=x.apply(void 0,[t].concat(n));return o[p].detached=!0,o},e.join=function(t){if((0,o.check)(t,o.is.notUndef,"join(task): argument task is undefined"),!P(t))throw new Error("join(task): argument "+t+" is not a valid Task object \n(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)");return b(d,t)},e.cancel=function(t){if((0,o.check)(t,o.is.notUndef,"cancel(task): argument task is undefined"),!P(t))throw new Error("cancel(task): argument "+t+" is not a valid Task object \n(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)");return b(h,t)},e.select=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];0===arguments.length?t=o.ident:((0,o.check)(t,o.is.notUndef,"select(selector,[...]): argument selector is undefined"),(0,o.check)(t,o.is.func,"select(selector,[...]): argument "+t+" is not a function"));return b(v,{selector:t,args:n})},e.actionChannel=function(t,e){(0,o.check)(t,o.is.notUndef,"actionChannel(pattern,...): argument pattern is undefined"),arguments.length>1&&((0,o.check)(e,o.is.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),(0,o.check)(e,o.is.notUndef,"actionChannel(pattern, buffer): argument "+e+" is not a valid buffer"));return b(g,{pattern:t,buffer:e})},e.cancelled=function(){return b(y,{})},e.flush=function(t){return(0,o.check)(t,o.is.channel,"flush(channel): argument "+t+" is not valid channel"),b(m,t)};var o=n(41);function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a=(0,o.sym)("IO"),s="TAKE",u="PUT",c="RACE",l="CALL",f="CPS",p="FORK",d="JOIN",h="CANCEL",v="SELECT",g="ACTION_CHANNEL",y="CANCELLED",m="FLUSH",b=function(t,e){var n;return i(n={},a,!0),i(n,t,e),n};function w(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"*";if(arguments.length&&(0,o.check)(arguments[0],o.is.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),o.is.pattern(t))return b(s,{pattern:t});if(o.is.channel(t))return b(s,{channel:t});throw new Error("take(patternOrChannel): argument "+String(t)+" is not valid channel or a valid pattern")}function E(t,e){return arguments.length>1?((0,o.check)(t,o.is.notUndef,"put(channel, action): argument channel is undefined"),(0,o.check)(t,o.is.channel,"put(channel, action): argument "+t+" is not a valid channel"),(0,o.check)(e,o.is.notUndef,"put(channel, action): argument action is undefined")):((0,o.check)(t,o.is.notUndef,"put(action): argument action is undefined"),e=t,t=null),b(u,{channel:t,action:e})}function O(t,e,n){(0,o.check)(e,o.is.notUndef,t+": argument fn is undefined");var i=null;if(o.is.array(e)){var a=r(e,2);i=a[0],e=a[1]}else if(e.fn){var s=e;i=s.context,e=s.fn}return(0,o.check)(e,o.is.func,t+": argument "+e+" is not a function"),{context:i,fn:e,args:n}}function x(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return b(p,O("fork",t,n))}E.sync=function(){var t=E.apply(void 0,arguments);return t[u].sync=!0,t};var P=function(t){return t[o.TASK]};e.asEffect={take:function(t){return t&&t[a]&&t[s]},put:function(t){return t&&t[a]&&t[u]},race:function(t){return t&&t[a]&&t[c]},call:function(t){return t&&t[a]&&t[l]},cps:function(t){return t&&t[a]&&t[f]},fork:function(t){return t&&t[a]&&t[p]},join:function(t){return t&&t[a]&&t[d]},cancel:function(t){return t&&t[a]&&t[h]},select:function(t){return t&&t[a]&&t[v]},actionChannel:function(t){return t&&t[a]&&t[g]},cancelled:function(t){return t&&t[a]&&t[y]},flush:function(t){return t&&t[a]&&t[m]}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UNDEFINED_INPUT_ERROR=e.INVALID_BUFFER=e.isEnd=e.END=void 0;var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};e.emitter=function(){var t=[];return{subscribe:function(e){return t.push(e),function(){return(0,o.remove)(t,e)}},emit:function(e){for(var n=t.slice(),r=0,o=n.length;r<o;r++)n[r](e)}}},e.channel=l,e.eventChannel=f,e.stdChannel=function(t){var e=f(t);return r({},e,{take:function(t,n){arguments.length>1&&((0,o.check)(n,o.is.func,"channel.take's matcher argument must be a function"),t[o.MATCH]=n),e.take(t)}})};var o=n(41),i=n(94),a=e.END={type:"@@redux-saga/CHANNEL_END"},s=e.isEnd=function(t){return t&&"@@redux-saga/CHANNEL_END"===t.type};var u=e.INVALID_BUFFER="invalid buffer passed to channel factory function",c=e.UNDEFINED_INPUT_ERROR="Saga was provided with an undefined action";function l(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.buffers.fixed(),e=!1,n=[];function r(){if(e&&n.length)throw(0,o.internalErr)("Cannot have a closed channel with pending takers");if(n.length&&!t.isEmpty())throw(0,o.internalErr)("Cannot have pending takers with non empty buffer")}return(0,o.check)(t,o.is.buffer,u),{take:function(i){r(),(0,o.check)(i,o.is.func,"channel.take's callback must be a function"),e&&t.isEmpty()?i(a):t.isEmpty()?(n.push(i),i.cancel=function(){return(0,o.remove)(n,i)}):i(t.take())},put:function(i){if(r(),(0,o.check)(i,o.is.notUndef,c),!e){if(!n.length)return t.put(i);for(var a=0;a<n.length;a++){var s=n[a];if(!s[o.MATCH]||s[o.MATCH](i))return n.splice(a,1),s(i)}}},flush:function(n){r(),(0,o.check)(n,o.is.func,"channel.flush' callback must be a function"),e&&t.isEmpty()?n(a):n(t.flush())},close:function(){if(r(),!e&&(e=!0,n.length)){var t=n;n=[];for(var o=0,i=t.length;o<i;o++)t[o](a)}},get __takers__(){return n},get __closed__(){return e}}}function f(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.buffers.none(),n=arguments[2];arguments.length>2&&(0,o.check)(n,o.is.func,"Invalid match function passed to eventChannel");var r=l(e),a=t((function(t){s(t)?r.close():n&&!n(t)||r.put(t)}));if(!o.is.func(a))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:r.take,flush:r.flush,close:function(){r.__closed__||(r.close(),a())}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.buffers=e.BUFFER_OVERFLOW=void 0;var r=n(41),o=e.BUFFER_OVERFLOW="Channel's Buffer overflow!",i=1,a=3,s=4,u={isEmpty:r.kTrue,put:r.noop,take:r.noop};function c(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,e=arguments[1],n=new Array(t),r=0,u=0,c=0,l=function(e){n[u]=e,u=(u+1)%t,r++},f=function(){if(0!=r){var e=n[c];return n[c]=null,r--,c=(c+1)%t,e}},p=function(){for(var t=[];r;)t.push(f());return t};return{isEmpty:function(){return 0==r},put:function(f){if(r<t)l(f);else{var d=void 0;switch(e){case i:throw new Error(o);case a:n[u]=f,c=u=(u+1)%t;break;case s:d=2*t,n=p(),r=n.length,u=n.length,c=0,n.length=d,t=d,l(f)}}},take:f,flush:p}}e.buffers={none:function(){return u},fixed:function(t){return c(t,i)},dropping:function(t){return c(t,2)},sliding:function(t){return c(t,a)},expanding:function(t){return c(t,s)}}},function(t,e,n){var r;r=function(t,e){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=t,n.c=e,n.p="",n(0)}([function(t,e,n){"use strict";t.exports=n(1).default,t.exports.DraggableCore=n(17).default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=v(n(2)),s=v(n(3)),u=v(n(11)),c=v(n(12)),l=n(13),f=n(16),p=n(14),d=v(n(17)),h=v(n(19));function v(t){return t&&t.__esModule?t:{default:t}}function g(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var y=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.onDragStart=function(t,e){if((0,h.default)("Draggable: onDragStart: %j",e),!1===n.props.onStart(t,(0,f.createDraggableData)(n,e)))return!1;n.setState({dragging:!0,dragged:!0})},n.onDrag=function(t,e){if(!n.state.dragging)return!1;(0,h.default)("Draggable: onDrag: %j",e);var r=(0,f.createDraggableData)(n,e),i={x:r.x,y:r.y};if(n.props.bounds){var a=i.x,s=i.y;i.x+=n.state.slackX,i.y+=n.state.slackY;var u=(0,f.getBoundPosition)(n,i.x,i.y),c=o(u,2);i.x=c[0],i.y=c[1],i.slackX=n.state.slackX+(a-i.x),i.slackY=n.state.slackY+(s-i.y),r.x=a,r.y=s,r.deltaX=i.x-n.state.x,r.deltaY=i.y-n.state.y}if(!1===n.props.onDrag(t,r))return!1;n.setState(i)},n.onDragStop=function(t,e){if(!n.state.dragging)return!1;if(!1===n.props.onStop(t,(0,f.createDraggableData)(n,e)))return!1;(0,h.default)("Draggable: onDragStop: %j",e);var r={dragging:!1,slackX:0,slackY:0};if(Boolean(n.props.position)){var o=n.props.position,i=o.x,a=o.y;r.x=i,r.y=a}n.setState(r)},n.state={dragging:!1,dragged:!1,x:t.position?t.position.x:t.defaultPosition.x,y:t.position?t.position.y:t.defaultPosition.y,slackX:0,slackY:0,isElementSVG:!1},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),i(e,[{key:"componentWillMount",value:function(){!this.props.position||this.props.onDrag||this.props.onStop||console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}},{key:"componentDidMount",value:function(){"undefined"!=typeof SVGElement&&u.default.findDOMNode(this)instanceof SVGElement&&this.setState({isElementSVG:!0})}},{key:"componentWillReceiveProps",value:function(t){!t.position||this.props.position&&t.position.x===this.props.position.x&&t.position.y===this.props.position.y||this.setState({x:t.position.x,y:t.position.y})}},{key:"componentWillUnmount",value:function(){this.setState({dragging:!1})}},{key:"render",value:function(){var t,e={},n=null,o=!Boolean(this.props.position)||this.state.dragging,i=this.props.position||this.props.defaultPosition,s={x:(0,f.canDragX)(this)&&o?this.state.x:i.x,y:(0,f.canDragY)(this)&&o?this.state.y:i.y};this.state.isElementSVG?n=(0,l.createSVGTransform)(s):e=(0,l.createCSSTransform)(s);var u=this.props,p=u.defaultClassName,h=u.defaultClassNameDragging,v=u.defaultClassNameDragged,y=(0,c.default)(this.props.children.props.className||"",p,(g(t={},h,this.state.dragging),g(t,v,this.state.dragged),t));return a.default.createElement(d.default,r({},this.props,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),a.default.cloneElement(a.default.Children.only(this.props.children),{className:y,style:r({},this.props.children.props.style,e),transform:n}))}}]),e}(a.default.Component);y.displayName="Draggable",y.propTypes=r({},d.default.propTypes,{axis:s.default.oneOf(["both","x","y","none"]),bounds:s.default.oneOfType([s.default.shape({left:s.default.number,right:s.default.number,top:s.default.number,bottom:s.default.number}),s.default.string,s.default.oneOf([!1])]),defaultClassName:s.default.string,defaultClassNameDragging:s.default.string,defaultClassNameDragged:s.default.string,defaultPosition:s.default.shape({x:s.default.number,y:s.default.number}),position:s.default.shape({x:s.default.number,y:s.default.number}),className:p.dontSetMe,style:p.dontSetMe,transform:p.dontSetMe}),y.defaultProps=r({},d.default.defaultProps,{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},position:null}),e.default=y},function(e,n){e.exports=t},function(t,e,n){if("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV){var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;t.exports=n(4)((function(t){return"object"==typeof t&&null!==t&&t.$$typeof===r}),!0)}else t.exports=n(10)()},function(t,e,n){"use strict";var r=n(5),o=n(6),i=n(7),a=n(8),s=n(9);t.exports=function(t,e){var n="function"==typeof Symbol&&Symbol.iterator,u="@@iterator",c="<<anonymous>>",l={array:d("array"),bool:d("boolean"),func:d("function"),number:d("number"),object:d("object"),string:d("string"),symbol:d("symbol"),any:p(r.thatReturnsNull),arrayOf:function(t){return p((function(e,n,r,o,i){if("function"!=typeof t)return new f("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=e[n];if(!Array.isArray(s))return new f("Invalid "+o+" `"+i+"` of type `"+v(s)+"` supplied to `"+r+"`, expected an array.");for(var u=0;u<s.length;u++){var c=t(s,u,r,o,i+"["+u+"]",a);if(c instanceof Error)return c}return null}))},element:p((function(e,n,r,o,i){var a=e[n];return t(a)?null:new f("Invalid "+o+" `"+i+"` of type `"+v(a)+"` supplied to `"+r+"`, expected a single ReactElement.")})),instanceOf:function(t){return p((function(e,n,r,o,i){if(!(e[n]instanceof t)){var a=t.name||c;return new f("Invalid "+o+" `"+i+"` of type `"+((s=e[n]).constructor&&s.constructor.name?s.constructor.name:c)+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}var s;return null}))},node:p((function(t,e,n,r,o){return h(t[e])?null:new f("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(t){return p((function(e,n,r,o,i){if("function"!=typeof t)return new f("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=e[n],u=v(s);if("object"!==u)return new f("Invalid "+o+" `"+i+"` of type `"+u+"` supplied to `"+r+"`, expected an object.");for(var c in s)if(s.hasOwnProperty(c)){var l=t(s,c,r,o,i+"."+c,a);if(l instanceof Error)return l}return null}))},oneOf:function(t){return Array.isArray(t)?p((function(e,n,r,o,i){for(var a=e[n],s=0;s<t.length;s++)if(u=a,c=t[s],u===c?0!==u||1/u==1/c:u!=u&&c!=c)return null;var u,c;return new f("Invalid "+o+" `"+i+"` of value `"+a+"` supplied to `"+r+"`, expected one of "+JSON.stringify(t)+".")})):("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV&&i(!1,"Invalid argument supplied to oneOf, expected an instance of array."),r.thatReturnsNull)},oneOfType:function(t){return Array.isArray(t)?p((function(e,n,r,o,i){for(var s=0;s<t.length;s++)if(null==(0,t[s])(e,n,r,o,i,a))return null;return new f("Invalid "+o+" `"+i+"` supplied to `"+r+"`.")})):("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV&&i(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),r.thatReturnsNull)},shape:function(t){return p((function(e,n,r,o,i){var s=e[n],u=v(s);if("object"!==u)return new f("Invalid "+o+" `"+i+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var c in t){var l=t[c];if(l){var p=l(s,c,r,o,i+"."+c,a);if(p)return p}}return null}))}};function f(t){this.message=t,this.stack=""}function p(t){if("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV)var n={},r=0;function s(s,u,l,p,d,h,v){if(p=p||c,h=h||l,v!==a)if(e)o(!1,"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");else if("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV&&"undefined"!=typeof console){var g=p+":"+l;!n[g]&&r<3&&(i(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. 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.",h,p),n[g]=!0,r++)}return null==u[l]?s?null===u[l]?new f("The "+d+" `"+h+"` is marked as required in `"+p+"`, but its value is `null`."):new f("The "+d+" `"+h+"` is marked as required in `"+p+"`, but its value is `undefined`."):null:t(u,l,p,d,h)}var u=s.bind(null,!1);return u.isRequired=s.bind(null,!0),u}function d(t){return p((function(e,n,r,o,i,a){var s=e[n];return v(s)!==t?new f("Invalid "+o+" `"+i+"` of type `"+function(t){var e=v(t);if("object"===e){if(t instanceof Date)return"date";if(t instanceof RegExp)return"regexp"}return e}(s)+"` supplied to `"+r+"`, expected `"+t+"`."):null}))}function h(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(h);if(null===e||t(e))return!0;var r=function(t){var e=t&&(n&&t[n]||t[u]);if("function"==typeof e)return e}(e);if(!r)return!1;var o,i=r.call(e);if(r!==e.entries){for(;!(o=i.next()).done;)if(!h(o.value))return!1}else for(;!(o=i.next()).done;){var a=o.value;if(a&&!h(a[1]))return!1}return!0;default:return!1}}function v(t){var e=typeof t;return Array.isArray(t)?"array":t instanceof RegExp?"object":function(t,e){return"symbol"===t||"Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol}(e,t)?"symbol":e}return f.prototype=Error.prototype,l.checkPropTypes=s,l.PropTypes=l,l}},function(t,e){"use strict";function n(t){return function(){return t}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(t){return t},t.exports=r},function(t,e,n){"use strict";var r=function(t){};"production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV&&(r=function(t){if(void 0===t)throw new Error("invariant requires an error message argument")}),t.exports=function(t,e,n,o,i,a,s,u){if(r(e),!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,o,i,a,s,u],f=0;(c=new Error(e.replace(/%s/g,(function(){return l[f++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(t,e,n){"use strict";var r,o=n(5);"production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV&&(r=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=0,i="Warning: "+t.replace(/%s/g,(function(){return n[o++]}));"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(t){}},o=function(t,e){if(void 0===e)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==e.indexOf("Failed Composite propType: ")&&!t){for(var n=arguments.length,o=Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];r.apply(void 0,[e].concat(o))}}),t.exports=o},function(t,e){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";if("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV)var r=n(6),o=n(7),i=n(8),a={};t.exports=function(t,e,n,s,u){if("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV)for(var c in t)if(t.hasOwnProperty(c)){var l;try{r("function"==typeof t[c],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",s||"React class",n,c),l=t[c](e,c,s,n,null,i)}catch(t){l=t}if(o(!l||l instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",s||"React class",n,c,typeof l),l instanceof Error&&!(l.message in a)){a[l.message]=!0;var f=u?u():"";o(!1,"Failed %s type: %s%s",n,l.message,null!=f?f:"")}}}},function(t,e,n){"use strict";var r=n(5),o=n(6);t.exports=function(){function t(){o(!1,"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")}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e};return n.checkPropTypes=r,n.PropTypes=n,n}},function(t,n){t.exports=e},function(t,e,n){var r;
|
7
7
|
/*!
|
8
8
|
Copyright (c) 2016 Jed Watson.
|
9
9
|
Licensed under the MIT License (MIT), see
|
10
10
|
http://jedwatson.github.io/classnames
|
11
|
-
*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"===i||"number"===i)t.push(r);else if(Array.isArray(r))t.push(o.apply(null,r));else if("object"===i)for(var a in r)n.call(r,a)&&r[a]&&t.push(a)}}return t.join(" ")}void 0!==t&&t.exports?t.exports=o:void 0===(r=function(){return o}.apply(e,[]))||(t.exports=r)}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};e.matchesSelector=c,e.matchesSelectorAndParentsTo=function(t,e,n){var r=t;do{if(c(r,e))return!0;if(r===n)return!1;r=r.parentNode}while(r);return!1},e.addEvent=function(t,e,n){t&&(t.attachEvent?t.attachEvent("on"+e,n):t.addEventListener?t.addEventListener(e,n,!0):t["on"+e]=n)},e.removeEvent=function(t,e,n){t&&(t.detachEvent?t.detachEvent("on"+e,n):t.removeEventListener?t.removeEventListener(e,n,!0):t["on"+e]=null)},e.outerHeight=function(t){var e=t.clientHeight,n=t.ownerDocument.defaultView.getComputedStyle(t);return e+=(0,i.int)(n.borderTopWidth),e+=(0,i.int)(n.borderBottomWidth)},e.outerWidth=function(t){var e=t.clientWidth,n=t.ownerDocument.defaultView.getComputedStyle(t);return e+=(0,i.int)(n.borderLeftWidth),e+=(0,i.int)(n.borderRightWidth)},e.innerHeight=function(t){var e=t.clientHeight,n=t.ownerDocument.defaultView.getComputedStyle(t);return e-=(0,i.int)(n.paddingTop),e-=(0,i.int)(n.paddingBottom)},e.innerWidth=function(t){var e=t.clientWidth,n=t.ownerDocument.defaultView.getComputedStyle(t);return e-=(0,i.int)(n.paddingLeft),e-=(0,i.int)(n.paddingRight)},e.offsetXYFromParent=function(t,e){var n=e===e.ownerDocument.body?{left:0,top:0}:e.getBoundingClientRect(),r=t.clientX+e.scrollLeft-n.left,o=t.clientY+e.scrollTop-n.top;return{x:r,y:o}},e.createCSSTransform=function(t){var e=t.x,n=t.y;return function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},(0,a.browserPrefixToKey)("transform",s.default),"translate("+e+"px,"+n+"px)")},e.createSVGTransform=function(t){var e=t.x,n=t.y;return"translate("+e+","+n+")"},e.getTouch=function(t,e){return t.targetTouches&&(0,i.findInArray)(t.targetTouches,(function(t){return e===t.identifier}))||t.changedTouches&&(0,i.findInArray)(t.changedTouches,(function(t){return e===t.identifier}))},e.getTouchIdentifier=function(t){return t.targetTouches&&t.targetTouches[0]?t.targetTouches[0].identifier:t.changedTouches&&t.changedTouches[0]?t.changedTouches[0].identifier:void 0},e.addUserSelectStyles=function(t){var e=t.getAttribute("style")||"";d.test(e)||t.setAttribute("style",e+p)},e.removeUserSelectStyles=function(t){var e=t.getAttribute("style")||"";t.setAttribute("style",e.replace(d,""))},e.styleHacks=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r({touchAction:"none"},t)};var o,i=n(14),a=n(15),s=(o=a)&&o.__esModule?o:{default:o},u="";function c(t,e){return u||(u=(0,i.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],(function(e){return(0,i.isFunction)(t[e])}))),t[u].call(t,e)}var l=(0,a.getPrefix)("user-select"),f=(0,a.browserPrefixToStyle)("user-select",l),p=";"+f+": none;",d=new RegExp(";?"+f+": none;")},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findInArray=function(t,e){for(var n=0,r=t.length;n<r;n++)if(e.apply(e,[t[n],n,t]))return t[n]},e.isFunction=function(t){return"function"==typeof t||"[object Function]"===Object.prototype.toString.call(t)},e.isNum=function(t){return"number"==typeof t&&!isNaN(t)},e.int=function(t){return parseInt(t,10)},e.dontSetMe=function(t,e,n){if(t[e])return new Error("Invalid prop "+e+" passed to "+n+" - do not set this, set it on the child.")}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getPrefix=r,e.browserPrefixToKey=o,e.browserPrefixToStyle=function(t,e){return e?"-"+e.toLowerCase()+"-"+t:t};var n=["Moz","Webkit","O","ms"];function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window||void 0===window.document)return"";var e=window.document.documentElement.style;if(t in e)return"";for(var r=0;r<n.length;r++)if(o(t,n[r])in e)return n[r];return""}function o(t,e){return e?""+e+function(t){for(var e="",n=!0,r=0;r<t.length;r++)n?(e+=t[r].toUpperCase(),n=!1):"-"===t[r]?n=!0:e+=t[r];return e}(t):t}e.default=r()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getBoundPosition=function(t,e,n){if(!t.props.bounds)return[e,n];var r=t.props.bounds;r="string"==typeof r?r:function(t){return{left:t.left,top:t.top,right:t.right,bottom:t.bottom}}(r);var i=a.default.findDOMNode(t);if("string"==typeof r){var u=i.ownerDocument,c=u.defaultView,l=void 0;if("parent"===r)l=i.parentNode;else if(!(l=u.querySelector(r)))throw new Error('Bounds selector "'+r+'" could not find an element.');var f=c.getComputedStyle(i),p=c.getComputedStyle(l);r={left:-i.offsetLeft+(0,o.int)(p.paddingLeft)+(0,o.int)(f.marginLeft),top:-i.offsetTop+(0,o.int)(p.paddingTop)+(0,o.int)(f.marginTop),right:(0,s.innerWidth)(l)-(0,s.outerWidth)(i)-i.offsetLeft+(0,o.int)(p.paddingRight)-(0,o.int)(f.marginRight),bottom:(0,s.innerHeight)(l)-(0,s.outerHeight)(i)-i.offsetTop+(0,o.int)(p.paddingBottom)-(0,o.int)(f.marginBottom)}}return(0,o.isNum)(r.right)&&(e=Math.min(e,r.right)),(0,o.isNum)(r.bottom)&&(n=Math.min(n,r.bottom)),(0,o.isNum)(r.left)&&(e=Math.max(e,r.left)),(0,o.isNum)(r.top)&&(n=Math.max(n,r.top)),[e,n]},e.snapToGrid=function(t,e,n){var r=Math.round(e/t[0])*t[0],o=Math.round(n/t[1])*t[1];return[r,o]},e.canDragX=function(t){return"both"===t.props.axis||"x"===t.props.axis},e.canDragY=function(t){return"both"===t.props.axis||"y"===t.props.axis},e.getControlPosition=function(t,e,n){var r="number"==typeof e?(0,s.getTouch)(t,e):null;if("number"==typeof e&&!r)return null;var o=a.default.findDOMNode(n),i=n.props.offsetParent||o.offsetParent||o.ownerDocument.body;return(0,s.offsetXYFromParent)(r||t,i)},e.createCoreData=function(t,e,n){var r=t.state;return(0,o.isNum)(r.lastX)?{node:a.default.findDOMNode(t),deltaX:e-r.lastX,deltaY:n-r.lastY,lastX:r.lastX,lastY:r.lastY,x:e,y:n}:{node:a.default.findDOMNode(t),deltaX:0,deltaY:0,lastX:e,lastY:n,x:e,y:n}},e.createDraggableData=function(t,e){return{node:e.node,x:t.state.x+e.deltaX,y:t.state.y+e.deltaY,deltaX:e.deltaX,deltaY:e.deltaY,lastX:t.state.x,lastY:t.state.y}};var r,o=n(14),i=n(11),a=(r=i)&&r.__esModule?r:{default:r},s=n(13)},function(t,e,n){(function(t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=p(n(2)),a=p(n(3)),s=p(n(11)),u=n(13),c=n(16),l=n(14),f=p(n(19));function p(t){return t&&t.__esModule?t:{default:t}}function d(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var h={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}},v=h.mouse,g=function(t){function e(){var t,n,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var i=arguments.length,a=Array(i),l=0;l<i;l++)a[l]=arguments[l];return n=o=d(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(a))),o.state={dragging:!1,lastX:NaN,lastY:NaN,touchIdentifier:null},o.handleDragStart=function(t){if(o.props.onMouseDown(t),!o.props.allowAnyClick&&"number"==typeof t.button&&0!==t.button)return!1;var e=s.default.findDOMNode(o),n=e.ownerDocument;if(!(o.props.disabled||!(t.target instanceof n.defaultView.Node)||o.props.handle&&!(0,u.matchesSelectorAndParentsTo)(t.target,o.props.handle,e)||o.props.cancel&&(0,u.matchesSelectorAndParentsTo)(t.target,o.props.cancel,e))){var r=(0,u.getTouchIdentifier)(t);o.setState({touchIdentifier:r});var i=(0,c.getControlPosition)(t,r,o);if(null!=i){var a=i.x,l=i.y,p=(0,c.createCoreData)(o,a,l);(0,f.default)("DraggableCore: handleDragStart: %j",p),(0,f.default)("calling",o.props.onStart),!1!==o.props.onStart(t,p)&&(o.props.enableUserSelectHack&&(0,u.addUserSelectStyles)(n.body),o.setState({dragging:!0,lastX:a,lastY:l}),(0,u.addEvent)(n,v.move,o.handleDrag),(0,u.addEvent)(n,v.stop,o.handleDragStop))}}},o.handleDrag=function(t){"touchmove"===t.type&&t.preventDefault();var e=(0,c.getControlPosition)(t,o.state.touchIdentifier,o);if(null!=e){var n=e.x,i=e.y;if(Array.isArray(o.props.grid)){var a=n-o.state.lastX,s=i-o.state.lastY,u=(0,c.snapToGrid)(o.props.grid,a,s),l=r(u,2);if(a=l[0],s=l[1],!a&&!s)return;n=o.state.lastX+a,i=o.state.lastY+s}var p=(0,c.createCoreData)(o,n,i);if((0,f.default)("DraggableCore: handleDrag: %j",p),!1!==o.props.onDrag(t,p))o.setState({lastX:n,lastY:i});else try{o.handleDragStop(new MouseEvent("mouseup"))}catch(t){var d=document.createEvent("MouseEvents");d.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),o.handleDragStop(d)}}},o.handleDragStop=function(t){if(o.state.dragging){var e=(0,c.getControlPosition)(t,o.state.touchIdentifier,o);if(null!=e){var n=e.x,r=e.y,i=(0,c.createCoreData)(o,n,r),a=s.default.findDOMNode(o).ownerDocument;o.props.enableUserSelectHack&&(0,u.removeUserSelectStyles)(a.body),(0,f.default)("DraggableCore: handleDragStop: %j",i),o.setState({dragging:!1,lastX:NaN,lastY:NaN}),o.props.onStop(t,i),(0,f.default)("DraggableCore: Removing handlers"),(0,u.removeEvent)(a,v.move,o.handleDrag),(0,u.removeEvent)(a,v.stop,o.handleDragStop)}}},o.onMouseDown=function(t){return v=h.mouse,o.handleDragStart(t)},o.onMouseUp=function(t){return v=h.mouse,o.handleDragStop(t)},o.onTouchStart=function(t){return v=h.touch,o.handleDragStart(t)},o.onTouchEnd=function(t){return v=h.touch,o.handleDragStop(t)},d(o,n)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"componentWillUnmount",value:function(){var t=s.default.findDOMNode(this).ownerDocument;(0,u.removeEvent)(t,h.mouse.move,this.handleDrag),(0,u.removeEvent)(t,h.touch.move,this.handleDrag),(0,u.removeEvent)(t,h.mouse.stop,this.handleDragStop),(0,u.removeEvent)(t,h.touch.stop,this.handleDragStop),this.props.enableUserSelectHack&&(0,u.removeUserSelectStyles)(t.body)}},{key:"render",value:function(){return i.default.cloneElement(i.default.Children.only(this.props.children),{style:(0,u.styleHacks)(this.props.children.props.style),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}]),e}(i.default.Component);g.displayName="DraggableCore",g.propTypes={allowAnyClick:a.default.bool,disabled:a.default.bool,enableUserSelectHack:a.default.bool,offsetParent:function(e,n){if(t.browser&&e[n]&&1!==e[n].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:a.default.arrayOf(a.default.number),handle:a.default.string,cancel:a.default.string,onStart:a.default.func,onDrag:a.default.func,onStop:a.default.func,onMouseDown:a.default.func,className:l.dontSetMe,style:l.dontSetMe,transform:l.dontSetMe},g.defaultProps={allowAnyClick:!1,cancel:null,disabled:!1,enableUserSelectHack:!0,offsetParent:null,handle:null,grid:null,transform:null,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){}},e.default=g}).call(e,n(18))},function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var u,c=[],l=!1,f=-1;function p(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&d())}function d(){if(!l){var t=s(p);l=!0;for(var e=c.length;e;){for(u=c,c=[];++f<e;)u&&u[f].run();f=-1,e=c.length}u=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function v(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new h(t,e)),1!==c.length||l||s(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){}}])},t.exports=r(n(0),n(42))},function(t,e,n){"use strict";t.exports=function(t,e,n,r,o,i,a,s){if(!t){var u;if(void 0===e)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;(u=new Error(e.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(t,e){t.exports=pageflow},function(t,e,n){var r=n(8),o=n(9),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},function(t,e,n){var r=n(8),o=n(21);t.exports=function(t,e){try{o(r,t,e)}catch(n){r[t]=e}return e}},function(t,e,n){var r=n(35),o=n(51),i=n(102),a=n(10);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(a(t)),n=i.f;return n?e.concat(n(t)):e}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(12),o=n(15),i=n(10),a=n(66);t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=a(e),s=r.length,u=0;s>u;)o.f(t,n=r[u++],e[n]);return t}},function(t,e,n){var r,o,i=n(8),a=n(77),s=i.process,u=s&&s.versions,c=u&&u.v8;c?o=(r=c.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},function(t,e,n){"use strict";var r=n(16),o=n(45),i=n(14);t.exports=function(t){for(var e=r(this),n=i(e.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,c=void 0===u?n:o(u,n);c>s;)e[s++]=t;return e}},function(t,e,n){var r=n(13),o=n(69),i=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},function(t,e,n){"use strict";var r=n(1),o=n(137),i=n(37),a=n(56),s=n(36),u=n(21),c=n(20),l=n(13),f=n(44),p=n(69),d=n(138),h=d.IteratorPrototype,v=d.BUGGY_SAFARI_ITERATORS,g=l("iterator"),y=function(){return this};t.exports=function(t,e,n,l,d,m,b){o(n,e,l);var w,E,O,x=function(t){if(t===d&&T)return T;if(!v&&t in _)return _[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},P=e+" Iterator",k=!1,_=t.prototype,S=_[g]||_["@@iterator"]||d&&_[d],T=!v&&S||x(d),A="Array"==e&&_.entries||S;if(A&&(w=i(A.call(new t)),h!==Object.prototype&&w.next&&(f||i(w)===h||(a?a(w,h):"function"!=typeof w[g]&&u(w,g,y)),s(w,P,!0,!0),f&&(p[P]=y))),"values"==d&&S&&"values"!==S.name&&(k=!0,T=function(){return S.call(this)}),f&&!b||_[g]===T||u(_,g,T),p[e]=T,d)if(E={values:x("values"),keys:m?T:x("keys"),entries:x("entries")},b)for(O in E)!v&&!k&&O in _||c(_,O,E[O]);else r({target:e,proto:!0,forced:v||k},E);return E}},function(t,e,n){var r=n(6);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,n){var r=n(14),o=n(110),i=n(23),a=Math.ceil,s=function(t){return function(e,n,s){var u,c,l=String(i(e)),f=l.length,p=void 0===s?" ":String(s),d=r(n);return d<=f||""==p?l:(u=d-f,(c=o.call(p,a(u/p.length))).length>u&&(c=c.slice(0,u)),t?l+c:c+l)}};t.exports={start:s(!1),end:s(!0)}},function(t,e,n){"use strict";var r=n(30),o=n(23);t.exports="".repeat||function(t){var e=String(o(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e,n){var r,o,i,a=n(8),s=n(6),u=n(33),c=n(46),l=n(129),f=n(98),p=n(153),d=a.location,h=a.setImmediate,v=a.clearImmediate,g=a.process,y=a.MessageChannel,m=a.Dispatch,b=0,w={},E=function(t){if(w.hasOwnProperty(t)){var e=w[t];delete w[t],e()}},O=function(t){return function(){E(t)}},x=function(t){E(t.data)},P=function(t){a.postMessage(t+"",d.protocol+"//"+d.host)};h&&v||(h=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return w[++b]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(b),b},v=function(t){delete w[t]},"process"==u(g)?r=function(t){g.nextTick(O(t))}:m&&m.now?r=function(t){m.now(O(t))}:y&&!p?(i=(o=new y).port2,o.port1.onmessage=x,r=c(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||s(P)?r="onreadystatechange"in f("script")?function(t){l.appendChild(f("script")).onreadystatechange=function(){l.removeChild(this),E(t)}}:function(t){setTimeout(O(t),0)}:(r=P,a.addEventListener("message",x,!1))),t.exports={set:h,clear:v}},function(t,e,n){var r=n(9),o=n(33),i=n(13)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},function(t,e,n){var r=n(113);t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}},function(t,e,n){var r=n(13)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(t){}}return!1}},function(t,e,n){"use strict";var r=n(89).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},function(t,e,n){var r=n(6),o=n(85);t.exports=function(t){return r((function(){return!!o[t]()||"
"!="
"[t]()||o[t].name!==t}))}},function(t,e,n){var r=n(8),o=n(6),i=n(78),a=n(11).NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,u=r.Int8Array;t.exports=!a||!o((function(){u(1)}))||!o((function(){new u(-1)}))||!i((function(t){new u,new u(null),new u(1.5),new u(t)}),!0)||o((function(){return 1!==new u(new s(2),1,void 0).length}))},function(t,e,n){"use strict";t.exports=n(400)},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function o(t,e){return t===e}function i(t){var e=arguments.length<=1||void 0===arguments[1]?o:arguments[1],n=null,r=null;return function(){for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return null!==n&&n.length===i.length&&i.every((function(t,r){return e(t,n[r])}))||(r=t.apply(void 0,i)),n=i,r}}function a(t){var e=Array.isArray(t[0])?t[0]:t;if(!e.every((function(t){return"function"==typeof t}))){var n=e.map((function(t){return typeof t})).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+n+"]")}return e}function s(t){for(var e=arguments.length,n=Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];return function(){for(var e=arguments.length,o=Array(e),i=0;i<e;i++)o[i]=arguments[i];var s=0,u=o.pop(),c=a(o),l=t.apply(void 0,[function(){return s++,u.apply(void 0,arguments)}].concat(n)),f=function(t,e){for(var n=arguments.length,o=Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];var a=c.map((function(n){return n.apply(void 0,[t,e].concat(o))}));return l.apply(void 0,r(a))};return f.resultFunc=u,f.recomputations=function(){return s},f.resetRecomputations=function(){return s=0},f}}e.__esModule=!0,e.defaultMemoize=i,e.createSelectorCreator=s,e.createStructuredSelector=function(t){var e=arguments.length<=1||void 0===arguments[1]?u:arguments[1];if("object"!=typeof t)throw new Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof t);var n=Object.keys(t);return e(n.map((function(e){return t[e]})),(function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.reduce((function(t,e,r){return t[n[r]]=e,t}),{})}))};var u=e.createSelector=s(i)},function(t,e,n){"use strict";(function(t,r){var o,i=n(170);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:r;var a=Object(i.a)(o);e.a=a}).call(this,n(74),n(392)(t))},function(t,e,n){var r=n(12),o=n(6),i=n(98);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(55);t.exports=r("native-function-to-string",Function.toString)},function(t,e,n){var r=n(8),o=n(123),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o.call(i))},function(t,e,n){var r=n(18),o=n(100),i=n(22),a=n(15);t.exports=function(t,e){for(var n=o(e),s=a.f,u=i.f,c=0;c<n.length;c++){var l=n[c];r(t,l)||s(t,l,u(e,l))}}},function(t,e,n){t.exports=n(8)},function(t,e,n){var r=n(18),o=n(24),i=n(64).indexOf,a=n(63);t.exports=function(t,e){var n,s=o(t),u=0,c=[];for(n in s)!r(a,n)&&r(s,n)&&c.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~i(c,n)||c.push(n));return c}},function(t,e,n){var r=n(6);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(t,e,n){var r=n(35);t.exports=r("document","documentElement")},function(t,e,n){var r=n(24),o=n(51).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return a.slice()}}(t):o(r(t))}},function(t,e,n){e.f=n(13)},function(t,e,n){"use strict";var r=n(16),o=n(45),i=n(14),a=Math.min;t.exports=[].copyWithin||function(t,e){var n=r(this),s=i(n.length),u=o(t,s),c=o(e,s),l=arguments.length>2?arguments[2]:void 0,f=a((void 0===l?s:o(l,s))-c,s-u),p=1;for(c<u&&u<c+f&&(p=-1,c+=f-1,u+=f-1);f-- >0;)c in n?n[u]=n[c]:delete n[u],u+=p,c+=p;return n}},function(t,e,n){"use strict";var r=n(52),o=n(14),i=n(46),a=function(t,e,n,s,u,c,l,f){for(var p,d=u,h=0,v=!!l&&i(l,f,3);h<s;){if(h in n){if(p=v?v(n[h],h,e):n[h],c>0&&r(p))d=a(t,e,p,o(p.length),d,c-1)-1;else{if(d>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[d]=p}d++}h++}return d};t.exports=a},function(t,e,n){"use strict";var r=n(19).forEach,o=n(39);t.exports=o("forEach")?function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}:[].forEach},function(t,e,n){"use strict";var r=n(46),o=n(16),i=n(136),a=n(106),s=n(14),u=n(53),c=n(70);t.exports=function(t){var e,n,l,f,p,d=o(t),h="function"==typeof this?this:Array,v=arguments.length,g=v>1?arguments[1]:void 0,y=void 0!==g,m=0,b=c(d);if(y&&(g=r(g,v>2?arguments[2]:void 0,2)),null==b||h==Array&&a(b))for(n=new h(e=s(d.length));e>m;m++)u(n,m,y?g(d[m],m):d[m]);else for(p=(f=b.call(d)).next,n=new h;!(l=p.call(f)).done;m++)u(n,m,y?i(f,g,[l.value,m],!0):l.value);return n.length=m,n}},function(t,e,n){var r=n(10);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){"use strict";var r=n(138).IteratorPrototype,o=n(38),i=n(43),a=n(36),s=n(69),u=function(){return this};t.exports=function(t,e,n){var c=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),a(t,c,!1,!0),s[c]=u,t}},function(t,e,n){"use strict";var r,o,i,a=n(37),s=n(21),u=n(18),c=n(13),l=n(44),f=c("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),l||u(r,f)||s(r,f,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},function(t,e,n){var r=n(9);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e,n){"use strict";var r=n(24),o=n(30),i=n(14),a=n(39),s=Math.min,u=[].lastIndexOf,c=!!u&&1/[1].lastIndexOf(1,-0)<0,l=a("lastIndexOf");t.exports=c||l?function(t){if(c)return u.apply(this,arguments)||0;var e=r(this),n=i(e.length),a=n-1;for(arguments.length>1&&(a=s(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in e&&e[a]===t)return a||0;return-1}:u},function(t,e,n){var r=n(30),o=n(14);t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=o(e);if(e!==n)throw RangeError("Wrong length or index");return n}},function(t,e,n){"use strict";var r=n(31),o=n(9),i=[].slice,a={},s=function(t,e,n){if(!(e in a)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";a[e]=Function("C,a","return new C("+r.join(",")+")")}return a[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?s(e,r.length,r):e.apply(t,r)};return o(e.prototype)&&(a.prototype=e.prototype),a}},function(t,e,n){"use strict";var r=n(15).f,o=n(38),i=n(58),a=n(46),s=n(48),u=n(73),c=n(107),l=n(57),f=n(12),p=n(54).fastKey,d=n(29),h=d.set,v=d.getterFor;t.exports={getConstructor:function(t,e,n,c){var l=t((function(t,r){s(t,l,e),h(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),f||(t.size=0),null!=r&&u(r,t[c],t,n)})),d=v(e),g=function(t,e,n){var r,o,i=d(t),a=y(t,e);return a?a.value=n:(i.last=a={index:o=p(e,!0),key:e,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),f?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},y=function(t,e){var n,r=d(t),o=p(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==e)return n};return i(l.prototype,{clear:function(){for(var t=d(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,f?t.size=0:this.size=0},delete:function(t){var e=d(this),n=y(this,t);if(n){var r=n.next,o=n.previous;delete e.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),e.first==n&&(e.first=r),e.last==n&&(e.last=o),f?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=d(this),r=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!y(this,t)}}),i(l.prototype,n?{get:function(t){var e=y(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),f&&r(l.prototype,"size",{get:function(){return d(this).size}}),l},setStrong:function(t,e,n){var r=e+" Iterator",o=v(e),i=v(r);c(t,e,(function(t,e){h(this,{type:r,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),l(e)}}},function(t,e){var n=Math.log;t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:n(1+t)}},function(t,e,n){var r=n(9),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},function(t,e,n){var r=n(8),o=n(59).trim,i=n(85),a=r.parseFloat,s=1/a(i+"-0")!=-1/0;t.exports=s?function(t){var e=o(String(t)),n=a(e);return 0===n&&"-"==e.charAt(0)?-0:n}:a},function(t,e,n){var r=n(8),o=n(59).trim,i=n(85),a=r.parseInt,s=/^[+-]?0[Xx]/,u=8!==a(i+"08")||22!==a(i+"0x16");t.exports=u?function(t,e){var n=o(String(t));return a(n,e>>>0||(s.test(n)?16:10))}:a},function(t,e,n){var r=n(33);t.exports=function(t){if("number"!=typeof t&&"Number"!=r(t))throw TypeError("Incorrect invocation");return+t}},function(t,e,n){"use strict";var r=n(12),o=n(6),i=n(66),a=n(102),s=n(75),u=n(16),c=n(61),l=Object.assign;t.exports=!l||o((function(){var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=l({},t)[n]||"abcdefghijklmnopqrst"!=i(l({},e)).join("")}))?function(t,e){for(var n=u(t),o=arguments.length,l=1,f=a.f,p=s.f;o>l;)for(var d,h=c(arguments[l++]),v=f?i(h).concat(f(h)):i(h),g=v.length,y=0;g>y;)d=v[y++],r&&!p.call(h,d)||(n[d]=h[d]);return n}:l},function(t,e,n){var r=n(12),o=n(66),i=n(24),a=n(75).f,s=function(t){return function(e){for(var n,s=i(e),u=o(s),c=u.length,l=0,f=[];c>l;)n=u[l++],r&&!a.call(s,n)||f.push(t?[n,s[n]]:s[n]);return f}};t.exports={entries:s(!0),values:s(!1)}},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){var r=n(8);t.exports=r.Promise},function(t,e,n){var r=n(77);t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(t,e,n){var r,o,i,a,s,u,c,l,f=n(8),p=n(22).f,d=n(33),h=n(112).set,v=n(153),g=f.MutationObserver||f.WebKitMutationObserver,y=f.process,m=f.Promise,b="process"==d(y),w=p(f,"queueMicrotask"),E=w&&w.value;E||(r=function(){var t,e;for(b&&(t=y.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(t){throw o?a():i=void 0,t}}i=void 0,t&&t.enter()},b?a=function(){y.nextTick(r)}:g&&!v?(s=!0,u=document.createTextNode(""),new g(r).observe(u,{characterData:!0}),a=function(){u.data=s=!s}):m&&m.resolve?(c=m.resolve(void 0),l=c.then,a=function(){l.call(c,r)}):a=function(){h.call(f,r)}),t.exports=E||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,a()),i=e}},function(t,e,n){var r=n(10),o=n(9),i=n(156);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var r=n(31),o=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new o(t)}},function(t,e,n){"use strict";var r=n(89).charAt,o=n(29),i=n(107),a=o.set,s=o.getterFor("String Iterator");i(String,"String",(function(t){a(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=s(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})}))},function(t,e,n){var r=n(77);t.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r)},function(t,e,n){var r=n(346);t.exports=function(t,e){var n=r(t);if(n%e)throw RangeError("Wrong offset");return n}},function(t,e,n){var r=n(16),o=n(14),i=n(70),a=n(106),s=n(46),u=n(11).aTypedArrayConstructor;t.exports=function(t){var e,n,c,l,f,p,d=r(t),h=arguments.length,v=h>1?arguments[1]:void 0,g=void 0!==v,y=i(d);if(null!=y&&!a(y))for(p=(f=y.call(d)).next,d=[];!(l=p.call(f)).done;)d.push(l.value);for(g&&h>2&&(v=s(v,arguments[2],2)),n=o(d.length),c=new(u(this))(n),e=0;n>e;e++)c[e]=g?v(d[e],e):d[e];return c}},function(t,e,n){"use strict";var r=n(58),o=n(54).getWeakData,i=n(10),a=n(9),s=n(48),u=n(73),c=n(19),l=n(18),f=n(29),p=f.set,d=f.getterFor,h=c.find,v=c.findIndex,g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return h(t.entries,(function(t){return t[0]===e}))};m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var n=b(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=v(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,c){var f=t((function(t,r){s(t,f,e),p(t,{type:e,id:g++,frozen:void 0}),null!=r&&u(r,t[c],t,n)})),h=d(e),v=function(t,e,n){var r=h(t),a=o(i(e),!0);return!0===a?y(r).set(e,n):a[r.id]=n,t};return r(f.prototype,{delete:function(t){var e=h(this);if(!a(t))return!1;var n=o(t);return!0===n?y(e).delete(t):n&&l(n,e.id)&&delete n[e.id]},has:function(t){var e=h(this);if(!a(t))return!1;var n=o(t);return!0===n?y(e).has(t):n&&l(n,e.id)}}),r(f.prototype,n?{get:function(t){var e=h(this);if(a(t)){var n=o(t);return!0===n?y(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return v(this,t,e)}}:{add:function(t){return v(this,t,!0)}}),f}}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,n){var r=n(6),o=n(13),i=n(44),a=o("iterator");t.exports=!r((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),n+=r+t})),i&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},function(t,e,n){"use strict";n(79);var r=n(1),o=n(35),i=n(163),a=n(20),s=n(58),u=n(36),c=n(137),l=n(29),f=n(48),p=n(18),d=n(46),h=n(71),v=n(10),g=n(9),y=n(38),m=n(43),b=n(389),w=n(70),E=n(13),O=o("fetch"),x=o("Headers"),P=E("iterator"),k=l.set,_=l.getterFor("URLSearchParams"),S=l.getterFor("URLSearchParamsIterator"),T=/\+/g,A=Array(4),C=function(t){return A[t-1]||(A[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},j=function(t){try{return decodeURIComponent(t)}catch(e){return t}},I=function(t){var e=t.replace(T," "),n=4;try{return decodeURIComponent(e)}catch(t){for(;n;)e=e.replace(C(n--),j);return e}},M=/[!'()~]|%20/g,R={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},D=function(t){return R[t]},N=function(t){return encodeURIComponent(t).replace(M,D)},L=function(t,e){if(e)for(var n,r,o=e.split("&"),i=0;i<o.length;)(n=o[i++]).length&&(r=n.split("="),t.push({key:I(r.shift()),value:I(r.join("="))}))},B=function(t){this.entries.length=0,L(this.entries,t)},F=function(t,e){if(t<e)throw TypeError("Not enough arguments")},U=c((function(t,e){k(this,{type:"URLSearchParamsIterator",iterator:b(_(t).entries),kind:e})}),"Iterator",(function(){var t=S(this),e=t.kind,n=t.iterator.next(),r=n.value;return n.done||(n.value="keys"===e?r.key:"values"===e?r.value:[r.key,r.value]),n})),W=function(){f(this,W,"URLSearchParams");var t,e,n,r,o,i,a,s,u,c=arguments.length>0?arguments[0]:void 0,l=this,d=[];if(k(l,{type:"URLSearchParams",entries:d,updateURL:function(){},updateSearchParams:B}),void 0!==c)if(g(c))if("function"==typeof(t=w(c)))for(n=(e=t.call(c)).next;!(r=n.call(e)).done;){if((a=(i=(o=b(v(r.value))).next).call(o)).done||(s=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");d.push({key:a.value+"",value:s.value+""})}else for(u in c)p(c,u)&&d.push({key:u,value:c[u]+""});else L(d,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},H=W.prototype;s(H,{append:function(t,e){F(arguments.length,2);var n=_(this);n.entries.push({key:t+"",value:e+""}),n.updateURL()},delete:function(t){F(arguments.length,1);for(var e=_(this),n=e.entries,r=t+"",o=0;o<n.length;)n[o].key===r?n.splice(o,1):o++;e.updateURL()},get:function(t){F(arguments.length,1);for(var e=_(this).entries,n=t+"",r=0;r<e.length;r++)if(e[r].key===n)return e[r].value;return null},getAll:function(t){F(arguments.length,1);for(var e=_(this).entries,n=t+"",r=[],o=0;o<e.length;o++)e[o].key===n&&r.push(e[o].value);return r},has:function(t){F(arguments.length,1);for(var e=_(this).entries,n=t+"",r=0;r<e.length;)if(e[r++].key===n)return!0;return!1},set:function(t,e){F(arguments.length,1);for(var n,r=_(this),o=r.entries,i=!1,a=t+"",s=e+"",u=0;u<o.length;u++)(n=o[u]).key===a&&(i?o.splice(u--,1):(i=!0,n.value=s));i||o.push({key:a,value:s}),r.updateURL()},sort:function(){var t,e,n,r=_(this),o=r.entries,i=o.slice();for(o.length=0,n=0;n<i.length;n++){for(t=i[n],e=0;e<n;e++)if(o[e].key>t.key){o.splice(e,0,t);break}e===n&&o.push(t)}r.updateURL()},forEach:function(t){for(var e,n=_(this).entries,r=d(t,arguments.length>1?arguments[1]:void 0,3),o=0;o<n.length;)r((e=n[o++]).value,e.key,this)},keys:function(){return new U(this,"keys")},values:function(){return new U(this,"values")},entries:function(){return new U(this,"entries")}},{enumerable:!0}),a(H,P,H.entries),a(H,"toString",(function(){for(var t,e=_(this).entries,n=[],r=0;r<e.length;)t=e[r++],n.push(N(t.key)+"="+N(t.value));return n.join("&")}),{enumerable:!0}),u(W,"URLSearchParams"),r({global:!0,forced:!i},{URLSearchParams:W}),i||"function"!=typeof O||"function"!=typeof x||r({global:!0,enumerable:!0,forced:!0},{fetch:function(t){var e,n,r,o=[t];return arguments.length>1&&(e=arguments[1],g(e)&&(n=e.body,"URLSearchParams"===h(n)&&((r=e.headers?new x(e.headers):new x).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),e=y(e,{body:m(0,String(n)),headers:m(0,r)}))),o.push(e)),O.apply(this,o)}}),t.exports={URLSearchParams:W,getState:_}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(92);Object.defineProperty(e,"take",{enumerable:!0,get:function(){return r.take}}),Object.defineProperty(e,"takem",{enumerable:!0,get:function(){return r.takem}}),Object.defineProperty(e,"put",{enumerable:!0,get:function(){return r.put}}),Object.defineProperty(e,"race",{enumerable:!0,get:function(){return r.race}}),Object.defineProperty(e,"call",{enumerable:!0,get:function(){return r.call}}),Object.defineProperty(e,"apply",{enumerable:!0,get:function(){return r.apply}}),Object.defineProperty(e,"cps",{enumerable:!0,get:function(){return r.cps}}),Object.defineProperty(e,"fork",{enumerable:!0,get:function(){return r.fork}}),Object.defineProperty(e,"spawn",{enumerable:!0,get:function(){return r.spawn}}),Object.defineProperty(e,"join",{enumerable:!0,get:function(){return r.join}}),Object.defineProperty(e,"cancel",{enumerable:!0,get:function(){return r.cancel}}),Object.defineProperty(e,"select",{enumerable:!0,get:function(){return r.select}}),Object.defineProperty(e,"actionChannel",{enumerable:!0,get:function(){return r.actionChannel}}),Object.defineProperty(e,"cancelled",{enumerable:!0,get:function(){return r.cancelled}}),Object.defineProperty(e,"flush",{enumerable:!0,get:function(){return r.flush}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TASK_CANCEL=e.CHANNEL_END=e.NOT_ITERATOR_ERROR=void 0,e.default=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return r.noop},d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.noop,v=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r.noop,g=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},y=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,m=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"anonymous",b=arguments[7];(0,r.check)(e,r.is.iterator,l);var w=g.sagaMonitor,E=g.logger,O=g.onError,x=E||r.log,P=(0,a.stdChannel)(n);A.cancel=r.noop;var k=function(t,e,n,o){var i,a;return n._deferredEnd=null,u(i={},r.TASK,!0),u(i,"id",t),u(i,"name",e),"done",(a={}).done=a.done||{},a.done.get=function(){if(n._deferredEnd)return n._deferredEnd.promise;var t=(0,r.deferred)();return n._deferredEnd=t,n._isRunning||(n._error?t.reject(n._error):t.resolve(n._result)),t.promise},u(i,"cont",o),u(i,"joiners",[]),u(i,"cancel",T),u(i,"isRunning",(function(){return n._isRunning})),u(i,"isCancelled",(function(){return n._isCancelled})),u(i,"isAborted",(function(){return n._isAborted})),u(i,"result",(function(){return n._result})),u(i,"error",(function(){return n._error})),function(t,e){for(var n in e){var r=e[n];r.configurable=r.enumerable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,n,r)}}(i,a),i}(y,m,e,b),_={name:m,cancel:function(){_.isRunning&&!_.isCancelled&&(_.isCancelled=!0,A(p))},isRunning:!0},S=function(t,e,n){var o=[],i=void 0,a=!1;function s(t){c(),n(t,!0)}function u(t){o.push(t),t.cont=function(u,c){a||((0,r.remove)(o,t),t.cont=r.noop,c?s(u):(t===e&&(i=u),o.length||(a=!0,n(i))))}}function c(){a||(a=!0,o.forEach((function(t){t.cont=r.noop,t.cancel()})),o=[])}return u(e),{addTask:u,cancelAll:c,abort:s,getTasks:function(){return o},taskNames:function(){return o.map((function(t){return t.name}))}}}(0,_,C);function T(){e._isRunning&&!e._isCancelled&&(e._isCancelled=!0,S.cancelAll(),C(p))}return b&&(b.cancel=T),e._isRunning=!0,A(),k;function A(t,n){if(!_.isRunning)throw new Error("Trying to resume an already finished generator");try{var o=void 0;n?o=e.throw(t):t===p?(_.isCancelled=!0,A.cancel(),o=r.is.func(e.return)?e.return(p):{done:!0,value:p}):o=t===f?r.is.func(e.return)?e.return():{done:!0}:e.next(t),o.done?(_.isMainRunning=!1,_.cont&&_.cont(o.value)):j(o.value,y,"",A)}catch(t){_.isCancelled&&x("error","uncaught at "+m,t.message),_.isMainRunning=!1,_.cont(t,!0)}}function C(t,n){e._isRunning=!1,P.close(),n?(t instanceof Error&&(t.sagaStack="at "+m+" \n "+(t.sagaStack||t.stack)),k.cont||(x("error","uncaught",t.sagaStack||t.stack),t instanceof Error&&O&&O(t)),e._error=t,e._isAborted=!0,e._deferredEnd&&e._deferredEnd.reject(t)):(t===p&&c&&x("info",m+" has been cancelled",""),e._result=t,e._deferredEnd&&e._deferredEnd.resolve(t)),k.cont&&k.cont(t,n),k.joiners.forEach((function(e){return e.cb(t,n)})),k.joiners=null}function j(t,e){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",l=arguments[3],g=(0,r.uid)();w&&w.effectTriggered({effectId:g,parentEffectId:e,label:c,effect:t});var y=void 0;function b(t,e){y||(y=!0,l.cancel=r.noop,w&&(e?w.effectRejected(g,t):w.effectResolved(g,t)),l(t,e))}b.cancel=r.noop,l.cancel=function(){if(!y){y=!0;try{b.cancel()}catch(t){x("error","uncaught at "+m,t.message)}b.cancel=r.noop,w&&w.effectCancelled(g)}};var E=void 0;return(r.is.promise(t)?I(t,b):r.is.helper(t)?R({fn:t},g,b):r.is.iterator(t)?M(t,g,m,b):r.is.array(t)?function(t,e,n){if(!t.length)return n([]);var o=0,i=void 0,s=Array(t.length);var u=t.map((function(t,e){var u=function(t,r){i||(r||(0,a.isEnd)(t)||t===f||t===p?(n.cancel(),n(t,r)):(s[e]=t,++o===s.length&&(i=!0,n(s))))};return u.cancel=r.noop,u}));n.cancel=function(){i||(i=!0,u.forEach((function(t){return t.cancel()})))},t.forEach((function(t,n){return j(t,e,n,u[n])}))}(t,g,b):r.is.notUndef(E=i.asEffect.take(t))?function(t,e){var n=t.channel,r=t.pattern,o=t.maybe;n=n||P;var i=function(t){return t instanceof Error?e(t,!0):(0,a.isEnd)(t)&&!o?e(f):e(t)};try{n.take(i,h(r))}catch(t){return e(t,!0)}e.cancel=i.cancel}(E,b):r.is.notUndef(E=i.asEffect.put(t))?function(t,e){var n=t.channel,i=t.action,a=t.sync;(0,o.asap)((function(){var t=void 0;try{t=(n?n.put:d)(i)}catch(t){if(n||a)return e(t,!0);x("error","uncaught at "+m,t.stack||t.message||t)}if(!a||!r.is.promise(t))return e(t);I(t,e)}))}(E,b):r.is.notUndef(E=i.asEffect.race(t))?function(t,e,n){var o=void 0,i=Object.keys(t),s={};i.forEach((function(t){var e=function(e,r){o||(r?(n.cancel(),n(e,!0)):(0,a.isEnd)(e)||e===f||e===p||(n.cancel(),o=!0,n(u({},t,e))))};e.cancel=r.noop,s[t]=e})),n.cancel=function(){o||(o=!0,i.forEach((function(t){return s[t].cancel()})))},i.forEach((function(n){o||j(t[n],e,n,s[n])}))}(E,g,b):r.is.notUndef(E=i.asEffect.call(t))?function(t,e,n){var o=t.context,i=t.fn,a=t.args,s=void 0;try{s=i.apply(o,a)}catch(t){return n(t,!0)}return r.is.promise(s)?I(s,n):r.is.iterator(s)?M(s,e,i.name,n):n(s)}(E,g,b):r.is.notUndef(E=i.asEffect.cps(t))?function(t,e){var n=t.context,o=t.fn,i=t.args;try{a=function(t,n){return r.is.undef(t)?e(n):e(t,!0)},o.apply(n,i.concat(a)),a.cancel&&(e.cancel=function(){return a.cancel()})}catch(t){return e(t,!0)}var a}(E,b):r.is.notUndef(E=i.asEffect.fork(t))?R(E,g,b):r.is.notUndef(E=i.asEffect.join(t))?function(t,e){t.isRunning()?(n={task:k,cb:e},e.cancel=function(){return(0,r.remove)(t.joiners,n)},t.joiners.push(n)):t.isAborted()?e(t.error(),!0):e(t.result());var n}(E,b):r.is.notUndef(E=i.asEffect.cancel(t))?function(t,e){t.isRunning()&&t.cancel();e()}(E,b):r.is.notUndef(E=i.asEffect.select(t))?function(t,e){var n=t.selector,r=t.args;try{var o=n.apply(void 0,[v()].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(r)));e(o)}catch(t){e(t,!0)}}(E,b):r.is.notUndef(E=i.asEffect.actionChannel(t))?function(t,e){var r=t.pattern,o=t.buffer,i=h(r);i.pattern=r,e((0,a.eventChannel)(n,o||s.buffers.fixed(),i))}(E,b):r.is.notUndef(E=i.asEffect.flush(t))?function(t,e){t.flush(e)}(E,b):r.is.notUndef(E=i.asEffect.cancelled(t))?function(t,e){e(!!_.isCancelled)}(0,b):b(t))}function I(t,e){var n=t[r.CANCEL];"function"==typeof n&&(e.cancel=n),t.then(e,(function(t){return e(t,!0)}))}function M(e,r,o,i){t(e,n,d,v,g,r,o,i)}function R(e,i,a){var s=e.context,u=e.fn,c=e.args,l=e.detached,f=function(t){var e=t.context,n=t.fn,o=t.args;if(r.is.iterator(n))return n;var i=void 0,a=void 0;try{i=n.apply(e,o)}catch(t){a=t}if(r.is.iterator(i))return i;return a?(0,r.makeIterator)((function(){throw a})):(0,r.makeIterator)((s=void 0,u={done:!1,value:i},function(t){return s?{done:!0,value:t}:(s=!0,u)}));var s,u}({context:s,fn:u,args:c});try{(0,o.suspend)();var p=t(f,n,d,v,g,i,u.name,l?null:r.noop);l?a(p):f._isRunning?(S.addTask(p),a(p)):f._error?S.abort(f._error):a(p)}finally{(0,o.flush)()}}};var r=n(41),o=n(167),i=n(92),a=n(93),s=n(94);function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=!1,l=e.NOT_ITERATOR_ERROR="proc first argument (Saga function result) must be an iterator",f=e.CHANNEL_END={toString:function(){return"@@redux-saga/CHANNEL_END"}},p=e.TASK_CANCEL={toString:function(){return"@@redux-saga/TASK_CANCEL"}},d={wildcard:function(){return r.kTrue},default:function(t){return function(e){return e.type===t}},array:function(t){return function(e){return t.some((function(t){return t===e.type}))}},predicate:function(t){return function(e){return t(e)}}};function h(t){return("*"===t?d.wildcard:r.is.array(t)?d.array:r.is.func(t)?d.predicate:d.default)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.asap=function(t){o?r.push(t):i(t)},e.suspend=a,e.flush=s;var r=[],o=0;function i(t){try{a(),t()}finally{s()}}function a(){o++}function s(){!--o&&r.length&&i(r.shift())}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return{top:t?r(t.marginTop):0,right:t?r(t.marginRight):0,bottom:t?r(t.marginBottom):0,left:t?r(t.marginLeft):0}};var r=function(t){return parseInt(t)||0};t.exports=e.default},function(t,e,n){"use strict";var r,o,i;o=[],void 0===(i="function"==typeof(r=function(){var t=0,e=1,n=2,r=3,o=/\s/,i=/<(\w*)>/g;return function(a,s,u){a=a||"";var c,l,f,p=t,d=0,h="",v="",g=!1;for("string"==typeof s?s=function(t){for(var e,n=[];null!==(e=i.exec(t));)n.push(e[1]);return 0!==n.length?n:null}(s):Array.isArray(s)||(s=null),c=0,l=a.length;c<l;c++)switch(f=a[c]){case"<":if(g)break;if(" "==a[c+1]){y(f);break}if(p==t){p=e,y(f);break}if(p==e){d++;break}y(f);break;case">":if(d){d--;break}if(g)break;if(p==e){g=p=0,s&&(v+=">",m());break}if(p==n){g=p=0,v="";break}if(p==r&&"-"==a[c-1]&&"-"==a[c-2]){g=p=0,v="";break}y(f);break;case'"':case"'":p==e&&(g==f?g=!1:g||(g=f)),y(f);break;case"!":if(p==e&&"<"==a[c-1]){p=n;break}y(f);break;case"-":if(p==n&&"-"==a[c-1]&&"!"==a[c-2]){p=r;break}y(f);break;case"E":case"e":if(p==n&&"doctype"==a.substr(c-6,7).toLowerCase()){p=e;break}y(f);break;default:y(f)}function y(n){p==t?h+=n:s&&p==e&&(v+=n)}function m(){var t,e,n,r="",i=!1;t:for(t=0,e=v.length;t<e;t++)switch(n=v[t].toLowerCase()){case"<":break;case">":break t;case"/":i=!0;break;default:if(n.match(o)){if(i)break t}else i=!0,r+=n}-1!==s.indexOf(r)?h+=v:u&&(h+=u),v=""}return h}})?r.apply(e,o):r)||(t.exports=i)},function(t,e,n){"use strict";function r(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.a=n}).call(this,n(74))},function(t,e,n){"use strict";var r=n(119),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(t){return r.isMemo(t)?a:s[t.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;t.exports=function t(e,n,r){if("string"!=typeof n){if(h){var o=d(n);o&&o!==h&&t(e,o,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var s=u(e),v=u(n),g=0;g<a.length;++g){var y=a[g];if(!(i[y]||r&&r[y]||v&&v[y]||s&&s[y])){var m=p(n,y);try{c(e,y,m)}catch(t){}}}}return e}},function(t,e,n){var r,o,i;t.exports=(r=n(32),o=n(0),i=n(405),function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n){var r=t[e];return void 0!==r&&("number"!=typeof r||r!==parseInt(r,10)||r<0)?new Error("Invalid "+e+" supplied to "+n+",\n expected a positive integer"):null}Object.defineProperty(e,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=n(4),u=r(s),c=r(n(1)),l=n(5),f=n(3),p=["audioprocess","error","finish","loading","mouseup","pause","play","ready","scroll","seek","zoom"],d=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));if(n.state={isReady:!1},void 0===(void 0===l?"undefined":i(l)))throw new Error("WaveSurfer is undefined!");return n._wavesurfer=Object.create(l),n._loadMediaElt=n._loadMediaElt.bind(n),n._loadAudio=n._loadAudio.bind(n),n._seekTo=n._seekTo.bind(n),n._handleResize=function(){n.state.isReady&&n._wavesurfer.refresh()},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"componentDidMount",value:function(){var t=this,e=(0,c.default)({},this.props.options,{container:this.wavesurferEl});this.props.mediaElt&&(e.backend="MediaElement"),this._wavesurfer.init(e),this._wavesurfer.on("ready",(function(){t.setState({isReady:!0,pos:t.props.pos}),t.props.pos&&t._seekTo(t.props.pos),null!=t.props.volume&&t._wavesurfer.setVolume(t.props.volume),t.props.playing&&t.wavesurfer.play(),t.props.zoom&&t._wavesurfer.zoom(t.props.zoom)})),this._wavesurfer.on("audioprocess",(function(e){t.setState({pos:e}),t.props.onPosChange({wavesurfer:t._wavesurfer,originalArgs:[e]})})),this._wavesurfer.on("seek",(function(e){var n=t._posToSec(e);t.setState({formattedPos:n}),t.props.onPosChange({wavesurfer:t._wavesurfer,originalArgs:[n]})})),p.forEach((function(e){var n=t.props["on"+function(t){return t.split("-").map((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})).join("")}(e)],r=t._wavesurfer;n&&t._wavesurfer.on(e,(function(){for(var t=arguments.length,e=Array(t),o=0;o<t;o++)e[o]=arguments[o];n({wavesurfer:r,originalArgs:e})}))})),this.props.audioFile&&this._loadAudio(this.props.audioFile,this.props.audioPeaks),this.props.mediaElt&&this._loadMediaElt(this.props.mediaElt,this.props.audioPeaks)}},{key:"componentWillReceiveProps",value:function(t){this.props.audioFile!==t.audioFile&&this._loadAudio(t.audioFile,t.audioPeaks),this.props.mediaElt!==t.mediaElt&&this._loadMediaElt(t.mediaElt,t.audioPeaks),this.props.audioPeaks!==t.audioPeaks&&(t.mediaElt?this._loadMediaElt(t.mediaElt,t.audioPeaks):this._loadAudio(t.audioFile,t.audioPeaks)),t.pos&&this.state.isReady&&t.pos!==this.props.pos&&t.pos!==this.state.pos&&this._seekTo(t.pos),this.props.playing!==t.playing&&(t.playing?this._wavesurfer.play():this._wavesurfer.pause()),this.props.volume!==t.volume&&this._wavesurfer.setVolume(t.volume),this.props.zoom!==t.zoom&&this._wavesurfer.zoom(t.zoom),this.props.options.audioRate!==t.options.audioRate&&this._wavesurfer.setPlaybackRate(t.options.audioRate),t.options.waveColor!==this.props.options.waveColor&&this._wavesurfer.setWaveColor(t.options.waveColor),t.options.progressColor!==this.props.options.progressColor&&this._wavesurfer.setProgressColor(t.options.progressColor),t.options.cursorColor!==this.props.options.cursorColor&&this._wavesurfer.setCursorColor(t.options.cursorColor),t.options.height!==this.props.options.height&&this._wavesurfer.setHeight(t.options.height)}},{key:"shouldComponentUpdate",value:function(){return!1}},{key:"componentWillUnmount",value:function(){var t=this;p.forEach((function(e){t._wavesurfer.un(e)})),this._wavesurfer.destroy()}},{key:"_secToPos",value:function(t){return 1/this._wavesurfer.getDuration()*t}},{key:"_posToSec",value:function(t){return t*this._wavesurfer.getDuration()}},{key:"_seekTo",value:function(t){var e=this._secToPos(t);this.props.options.autoCenter?this._wavesurfer.seekAndCenter(e):this._wavesurfer.seekTo(e)}},{key:"_loadMediaElt",value:function(t,e){if(t instanceof window.HTMLElement)this._loadAudio(t,e);else{if(!window.document.querySelector(t))throw new Error("Media Element not found!");this._loadAudio(window.document.querySelector(t),e)}}},{key:"_loadAudio",value:function(t,e){if(t instanceof window.HTMLElement)this._wavesurfer.loadMediaElement(t,e);else if("string"==typeof t)this._wavesurfer.load(t,e);else{if(!(t instanceof window.Blob||t instanceof window.File))throw new Error("Wavesurfer._loadAudio expects prop audioFile\n to be either HTMLElement, string or file/blob");this._wavesurfer.loadBlob(t,e)}}},{key:"_measureIfResponsive",value:function(t){return this.props.responsive?u.default.createElement(f,{whitelist:["width","height"],onMeasure:this._handleResize},t):t}},{key:"render",value:function(){var t=this,e=!!this.props.children&&u.default.Children.map(this.props.children,(function(e){return u.default.cloneElement(e,{wavesurfer:t._wavesurfer,isReady:t.state.isReady})}));return this._measureIfResponsive(u.default.createElement("div",null,u.default.createElement("div",{ref:function(e){t.wavesurferEl=e}}),e))}}]),e}(s.Component);d.propTypes={playing:s.PropTypes.bool,pos:s.PropTypes.number,audioFile:function(t,e,n){var r=t[e];return!r||"string"==typeof r||r instanceof window.Blob||r instanceof window.File?null:new Error("Invalid "+e+" supplied to "+n+"\n expected either string or file/blob")},mediaElt:s.PropTypes.oneOfType([s.PropTypes.string,s.PropTypes.instanceOf(window.HTMLElement)]),audioPeaks:s.PropTypes.array,volume:s.PropTypes.number,zoom:s.PropTypes.number,responsive:s.PropTypes.bool,onPosChange:s.PropTypes.func,children:s.PropTypes.oneOfType([s.PropTypes.element,s.PropTypes.array]),options:s.PropTypes.shape({audioRate:s.PropTypes.number,backend:s.PropTypes.oneOf(["WebAudio","MediaElement"]),barWidth:function(t,e,n){var r=t[e];return void 0!==r&&"number"!=typeof r?new Error("Invalid "+e+" supplied to "+n+"\n expected either undefined or number"):null},cursorColor:s.PropTypes.string,cursorWidth:o,dragSelection:s.PropTypes.bool,fillParent:s.PropTypes.bool,height:o,hideScrollbar:s.PropTypes.bool,interact:s.PropTypes.bool,loopSelection:s.PropTypes.bool,mediaControls:s.PropTypes.bool,minPxPerSec:o,normalize:s.PropTypes.bool,pixelRatio:s.PropTypes.number,progressColor:s.PropTypes.string,scrollParent:s.PropTypes.bool,skipLength:s.PropTypes.number,waveColor:s.PropTypes.string,autoCenter:s.PropTypes.bool})},d.defaultProps={playing:!1,pos:0,options:l.defaultParams,responsive:!0,onPosChange:function(){}},e.default=d},function(t,e,n){"use strict";function r(t){if(null==t)throw new TypeError("Sources cannot be null or undefined");return Object(t)}function o(t,e,n){var r=e[n];if(null!=r){if(s.call(t,n)&&(void 0===t[n]||null===t[n]))throw new TypeError("Cannot convert undefined or null to object ("+n+")");s.call(t,n)&&a(r)?t[n]=i(Object(t[n]),e[n]):t[n]=r}}function i(t,e){if(t===e)return t;for(var n in e=Object(e))s.call(e,n)&&o(t,e,n);if(Object.getOwnPropertySymbols)for(var r=Object.getOwnPropertySymbols(e),i=0;i<r.length;i++)u.call(e,r[i])&&o(t,e,r[i]);return t}var a=n(2),s=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;t.exports=function(t){t=r(t);for(var e=1;e<arguments.length;e++)i(t,arguments[e]);return t}},function(t,e){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};t.exports=function(t){var e=void 0===t?"undefined":n(t);return null!==t&&("object"===e||"function"===e)}},function(t,e){t.exports=r},function(t,e){t.exports=o},function(t,e){t.exports=i}]))},function(t,e,n){"use strict";(function(t){var r=n(4),o=n(2),i=n.n(o),a=n(60),s=n(17),u=n(7),c=n.n(u),l=n(3);function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(n,!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}e.a=function(e,n){var r=c()(),o=[],u=[];if(!n.isServerSide){var f=function(t,e){var n=[],r=[];return t.forEach((function(t){var o;t.createMiddleware&&(o=t.createMiddleware(e),r.push(o)),t.createSaga&&n.push(Object(l.call)(t.createSaga(p({},e,{middleware:o}))))})),{sagas:n,middlewares:r}}(e,n);o=f.sagas,u=f.middlewares}var d,h=Object(s.d)(function(t,e){var n=t.reduce((function(t,n){return n.createReducers?p({},t,{},n.createReducers(e)):t}),{});return Object.keys(n).length?Object(s.c)(n):function(t,e){return t}}(e,n),{},(d=s.a.apply(void 0,[r].concat(Object(a.a)(u))),void 0===t&&"undefined"!=typeof __REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__(d):d));return r.run(i.a.mark((function t(){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,o;case 2:case"end":return t.stop()}}),t)}))),function(t,e){t.forEach((function(t){t.init&&t.init(e)}))}(e,p({},n,{dispatch:h.dispatch,getState:h.getState})),h}}).call(this,n(406))},function(t,e,n){"use strict";var r=n(1),o=n(8),i=n(35),a=n(44),s=n(12),u=n(128),c=n(6),l=n(18),f=n(52),p=n(9),d=n(10),h=n(16),v=n(24),g=n(34),y=n(43),m=n(38),b=n(66),w=n(51),E=n(130),O=n(102),x=n(22),P=n(15),k=n(75),_=n(21),S=n(20),T=n(55),A=n(76),C=n(63),j=n(62),I=n(13),M=n(131),R=n(25),D=n(36),N=n(29),L=n(19).forEach,B=A("hidden"),F=I("toPrimitive"),U=N.set,W=N.getterFor("Symbol"),H=Object.prototype,q=o.Symbol,V=i("JSON","stringify"),G=x.f,z=P.f,Y=E.f,X=k.f,$=T("symbols"),K=T("op-symbols"),Q=T("string-to-symbol-registry"),J=T("symbol-to-string-registry"),Z=T("wks"),tt=o.QObject,et=!tt||!tt.prototype||!tt.prototype.findChild,nt=s&&c((function(){return 7!=m(z({},"a",{get:function(){return z(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=G(H,e);r&&delete H[e],z(t,e,n),r&&t!==H&&z(H,e,r)}:z,rt=function(t,e){var n=$[t]=m(q.prototype);return U(n,{type:"Symbol",tag:t,description:e}),s||(n.description=e),n},ot=u&&"symbol"==typeof q.iterator?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof q},it=function(t,e,n){t===H&&it(K,e,n),d(t);var r=g(e,!0);return d(n),l($,r)?(n.enumerable?(l(t,B)&&t[B][r]&&(t[B][r]=!1),n=m(n,{enumerable:y(0,!1)})):(l(t,B)||z(t,B,y(1,{})),t[B][r]=!0),nt(t,r,n)):z(t,r,n)},at=function(t,e){d(t);var n=v(e),r=b(n).concat(lt(n));return L(r,(function(e){s&&!st.call(n,e)||it(t,e,n[e])})),t},st=function(t){var e=g(t,!0),n=X.call(this,e);return!(this===H&&l($,e)&&!l(K,e))&&(!(n||!l(this,e)||!l($,e)||l(this,B)&&this[B][e])||n)},ut=function(t,e){var n=v(t),r=g(e,!0);if(n!==H||!l($,r)||l(K,r)){var o=G(n,r);return!o||!l($,r)||l(n,B)&&n[B][r]||(o.enumerable=!0),o}},ct=function(t){var e=Y(v(t)),n=[];return L(e,(function(t){l($,t)||l(C,t)||n.push(t)})),n},lt=function(t){var e=t===H,n=Y(e?K:v(t)),r=[];return L(n,(function(t){!l($,t)||e&&!l(H,t)||r.push($[t])})),r};(u||(S((q=function(){if(this instanceof q)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=j(t),n=function(t){this===H&&n.call(K,t),l(this,B)&&l(this[B],e)&&(this[B][e]=!1),nt(this,e,y(1,t))};return s&&et&&nt(H,e,{configurable:!0,set:n}),rt(e,t)}).prototype,"toString",(function(){return W(this).tag})),k.f=st,P.f=it,x.f=ut,w.f=E.f=ct,O.f=lt,s&&(z(q.prototype,"description",{configurable:!0,get:function(){return W(this).description}}),a||S(H,"propertyIsEnumerable",st,{unsafe:!0})),M.f=function(t){return rt(I(t),t)}),r({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:q}),L(b(Z),(function(t){R(t)})),r({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=String(t);if(l(Q,e))return Q[e];var n=q(e);return Q[e]=n,J[n]=e,n},keyFor:function(t){if(!ot(t))throw TypeError(t+" is not a symbol");if(l(J,t))return J[t]},useSetter:function(){et=!0},useSimple:function(){et=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!s},{create:function(t,e){return void 0===e?m(t):at(m(t),e)},defineProperty:it,defineProperties:at,getOwnPropertyDescriptor:ut}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:ct,getOwnPropertySymbols:lt}),r({target:"Object",stat:!0,forced:c((function(){O.f(1)}))},{getOwnPropertySymbols:function(t){return O.f(h(t))}}),V)&&r({target:"JSON",stat:!0,forced:!u||c((function(){var t=q();return"[null]"!=V([t])||"{}"!=V({a:t})||"{}"!=V(Object(t))}))},{stringify:function(t,e,n){for(var r,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=e,(p(e)||void 0!==t)&&!ot(t))return f(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!ot(e))return e}),o[1]=e,V.apply(null,o)}});q.prototype[F]||_(q.prototype,F,q.prototype.valueOf),D(q,"Symbol"),C[B]=!0},function(t,e,n){var r=n(8),o=n(99),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,e,n){"use strict";var r=n(1),o=n(12),i=n(8),a=n(18),s=n(9),u=n(15).f,c=n(125),l=i.Symbol;if(o&&"function"==typeof l&&(!("description"in l.prototype)||void 0!==l().description)){var f={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof p?new l(t):void 0===t?l():l(t);return""===t&&(f[e]=!0),e};c(p,l);var d=p.prototype=l.prototype;d.constructor=p;var h=d.toString,v="Symbol(test)"==String(l("test")),g=/^Symbol\((.*)\)[^)]+$/;u(d,"description",{configurable:!0,get:function(){var t=s(this)?this.valueOf():this,e=h.call(t);if(a(f,t))return"";var n=v?e.slice(7,-1):e.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:p})}},function(t,e,n){n(25)("asyncIterator")},function(t,e,n){n(25)("hasInstance")},function(t,e,n){n(25)("isConcatSpreadable")},function(t,e,n){n(25)("iterator")},function(t,e,n){n(25)("match")},function(t,e,n){n(25)("replace")},function(t,e,n){n(25)("search")},function(t,e,n){n(25)("species")},function(t,e,n){n(25)("split")},function(t,e,n){n(25)("toPrimitive")},function(t,e,n){n(25)("toStringTag")},function(t,e,n){n(25)("unscopables")},function(t,e,n){"use strict";var r=n(1),o=n(6),i=n(52),a=n(9),s=n(16),u=n(14),c=n(53),l=n(67),f=n(68),p=n(13),d=n(104),h=p("isConcatSpreadable"),v=d>=51||!o((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),g=f("concat"),y=function(t){if(!a(t))return!1;var e=t[h];return void 0!==e?!!e:i(t)};r({target:"Array",proto:!0,forced:!v||!g},{concat:function(t){var e,n,r,o,i,a=s(this),f=l(a,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(i=-1===e?a:arguments[e],y(i)){if(p+(o=u(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&c(f,p,i[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");c(f,p++,i)}return f.length=p,f}})},function(t,e,n){var r=n(1),o=n(132),i=n(47);r({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},function(t,e,n){"use strict";var r=n(1),o=n(19).every;r({target:"Array",proto:!0,forced:n(39)("every")},{every:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(1),o=n(105),i=n(47);r({target:"Array",proto:!0},{fill:o}),i("fill")},function(t,e,n){"use strict";var r=n(1),o=n(19).filter;r({target:"Array",proto:!0,forced:!n(68)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(1),o=n(19).find,i=n(47),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("find")},function(t,e,n){"use strict";var r=n(1),o=n(19).findIndex,i=n(47),a=!0;"findIndex"in[]&&Array(1).findIndex((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("findIndex")},function(t,e,n){"use strict";var r=n(1),o=n(133),i=n(16),a=n(14),s=n(30),u=n(67);r({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=i(this),n=a(e.length),r=u(e,0);return r.length=o(r,e,e,n,0,void 0===t?1:s(t)),r}})},function(t,e,n){"use strict";var r=n(1),o=n(133),i=n(16),a=n(14),s=n(31),u=n(67);r({target:"Array",proto:!0},{flatMap:function(t){var e,n=i(this),r=a(n.length);return s(t),(e=u(n,0)).length=o(e,n,n,r,0,1,t,arguments.length>1?arguments[1]:void 0),e}})},function(t,e,n){"use strict";var r=n(1),o=n(134);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,e,n){var r=n(1),o=n(135);r({target:"Array",stat:!0,forced:!n(78)((function(t){Array.from(t)}))},{from:o})},function(t,e,n){"use strict";var r=n(1),o=n(64).includes,i=n(47);r({target:"Array",proto:!0},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(t,e,n){"use strict";var r=n(1),o=n(64).indexOf,i=n(39),a=[].indexOf,s=!!a&&1/[1].indexOf(1,-0)<0,u=i("indexOf");r({target:"Array",proto:!0,forced:s||u},{indexOf:function(t){return s?a.apply(this,arguments)||0:o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){n(1)({target:"Array",stat:!0},{isArray:n(52)})},function(t,e,n){"use strict";var r=n(1),o=n(61),i=n(24),a=n(39),s=[].join,u=o!=Object,c=a("join",",");r({target:"Array",proto:!0,forced:u||c},{join:function(t){return s.call(i(this),void 0===t?",":t)}})},function(t,e,n){var r=n(1),o=n(140);r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},function(t,e,n){"use strict";var r=n(1),o=n(19).map;r({target:"Array",proto:!0,forced:!n(68)("map")},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(1),o=n(6),i=n(53);r({target:"Array",stat:!0,forced:o((function(){function t(){}return!(Array.of.call(t)instanceof t)}))},{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)i(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){"use strict";var r=n(1),o=n(80).left;r({target:"Array",proto:!0,forced:n(39)("reduce")},{reduce:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(1),o=n(80).right;r({target:"Array",proto:!0,forced:n(39)("reduceRight")},{reduceRight:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(1),o=n(52),i=[].reverse,a=[1,2];r({target:"Array",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),i.call(this)}})},function(t,e,n){"use strict";var r=n(1),o=n(9),i=n(52),a=n(45),s=n(14),u=n(24),c=n(53),l=n(68),f=n(13)("species"),p=[].slice,d=Math.max;r({target:"Array",proto:!0,forced:!l("slice")},{slice:function(t,e){var n,r,l,h=u(this),v=s(h.length),g=a(t,v),y=a(void 0===e?v:e,v);if(i(h)&&("function"!=typeof(n=h.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[f])&&(n=void 0):n=void 0,n===Array||void 0===n))return p.call(h,g,y);for(r=new(void 0===n?Array:n)(d(y-g,0)),l=0;g<y;g++,l++)g in h&&c(r,l,h[g]);return r.length=l,r}})},function(t,e,n){"use strict";var r=n(1),o=n(19).some;r({target:"Array",proto:!0,forced:n(39)("some")},{some:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(1),o=n(31),i=n(16),a=n(6),s=n(39),u=[],c=u.sort,l=a((function(){u.sort(void 0)})),f=a((function(){u.sort(null)})),p=s("sort");r({target:"Array",proto:!0,forced:l||!f||p},{sort:function(t){return void 0===t?c.call(i(this)):c.call(i(this),o(t))}})},function(t,e,n){n(57)("Array")},function(t,e,n){"use strict";var r=n(1),o=n(45),i=n(30),a=n(14),s=n(16),u=n(67),c=n(53),l=n(68),f=Math.max,p=Math.min;r({target:"Array",proto:!0,forced:!l("splice")},{splice:function(t,e){var n,r,l,d,h,v,g=s(this),y=a(g.length),m=o(t,y),b=arguments.length;if(0===b?n=r=0:1===b?(n=0,r=y-m):(n=b-2,r=p(f(i(e),0),y-m)),y+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(l=u(g,r),d=0;d<r;d++)(h=m+d)in g&&c(l,d,g[h]);if(l.length=r,n<r){for(d=m;d<y-r;d++)v=d+n,(h=d+r)in g?g[v]=g[h]:delete g[v];for(d=y;d>y-r+n;d--)delete g[d-1]}else if(n>r)for(d=y-r;d>m;d--)v=d+n-1,(h=d+r-1)in g?g[v]=g[h]:delete g[v];for(d=0;d<n;d++)g[d+m]=arguments[d+2];return g.length=y-r+n,l}})},function(t,e,n){n(47)("flat")},function(t,e,n){n(47)("flatMap")},function(t,e,n){"use strict";var r=n(1),o=n(8),i=n(81),a=n(57),s=i.ArrayBuffer;r({global:!0,forced:o.ArrayBuffer!==s},{ArrayBuffer:s}),a("ArrayBuffer")},function(t,e,n){var r=n(1),o=n(11);r({target:"ArrayBuffer",stat:!0,forced:!o.NATIVE_ARRAY_BUFFER_VIEWS},{isView:o.isView})},function(t,e,n){"use strict";var r=n(1),o=n(6),i=n(81),a=n(10),s=n(45),u=n(14),c=n(49),l=i.ArrayBuffer,f=i.DataView,p=l.prototype.slice;r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:o((function(){return!new l(2).slice(1,void 0).byteLength}))},{slice:function(t,e){if(void 0!==p&&void 0===e)return p.call(a(this),t);for(var n=a(this).byteLength,r=s(t,n),o=s(void 0===e?n:e,n),i=new(c(this,l))(u(o-r)),d=new f(this),h=new f(i),v=0;r<o;)h.setUint8(v++,d.getUint8(r++));return i}})},function(t,e,n){var r=n(1),o=n(81);r({global:!0,forced:!n(11).NATIVE_ARRAY_BUFFER},{DataView:o.DataView})},function(t,e,n){n(1)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},function(t,e,n){var r=n(1),o=n(224);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==o},{toISOString:o})},function(t,e,n){"use strict";var r=n(6),o=n(109).start,i=Math.abs,a=Date.prototype,s=a.getTime,u=a.toISOString;t.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=u.call(new Date(-5e13-1))}))||!r((function(){u.call(new Date(NaN))}))?function(){if(!isFinite(s.call(this)))throw RangeError("Invalid time value");var t=this.getUTCFullYear(),e=this.getUTCMilliseconds(),n=t<0?"-":t>9999?"+":"";return n+o(i(t),n?6:4,0)+"-"+o(this.getUTCMonth()+1,2,0)+"-"+o(this.getUTCDate(),2,0)+"T"+o(this.getUTCHours(),2,0)+":"+o(this.getUTCMinutes(),2,0)+":"+o(this.getUTCSeconds(),2,0)+"."+o(e,3,0)+"Z"}:u},function(t,e,n){"use strict";var r=n(1),o=n(6),i=n(16),a=n(34);r({target:"Date",proto:!0,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(t){var e=i(this),n=a(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){var r=n(21),o=n(227),i=n(13)("toPrimitive"),a=Date.prototype;i in a||r(a,i,o)},function(t,e,n){"use strict";var r=n(10),o=n(34);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!==t)}},function(t,e,n){var r=n(20),o=Date.prototype,i=o.toString,a=o.getTime;new Date(NaN)+""!="Invalid Date"&&r(o,"toString",(function(){var t=a.call(this);return t==t?i.call(this):"Invalid Date"}))},function(t,e,n){n(1)({target:"Function",proto:!0},{bind:n(142)})},function(t,e,n){"use strict";var r=n(9),o=n(15),i=n(37),a=n(13)("hasInstance"),s=Function.prototype;a in s||o.f(s,a,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){var r=n(12),o=n(15).f,i=Function.prototype,a=i.toString,s=/^\s*function ([^ (]*)/;!r||"name"in i||o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(t){return""}}})},function(t,e,n){var r=n(8);n(36)(r.JSON,"JSON",!0)},function(t,e,n){"use strict";var r=n(82),o=n(143);t.exports=r("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o,!0)},function(t,e,n){var r=n(1),o=n(144),i=Math.acosh,a=Math.log,s=Math.sqrt,u=Math.LN2;r({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?a(t)+u:o(t-1+s(t-1)*s(t+1))}})},function(t,e,n){var r=n(1),o=Math.asinh,i=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):i(e+a(e*e+1)):e}})},function(t,e,n){var r=n(1),o=Math.atanh,i=Math.log;r({target:"Math",stat:!0,forced:!(o&&1/o(-0)<0)},{atanh:function(t){return 0==(t=+t)?t:i((1+t)/(1-t))/2}})},function(t,e,n){var r=n(1),o=n(111),i=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(t){return o(t=+t)*a(i(t),1/3)}})},function(t,e,n){var r=n(1),o=Math.floor,i=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(t){return(t>>>=0)?31-o(i(t+.5)*a):32}})},function(t,e,n){var r=n(1),o=n(84),i=Math.cosh,a=Math.abs,s=Math.E;r({target:"Math",stat:!0,forced:!i||i(710)===1/0},{cosh:function(t){var e=o(a(t)-1)+1;return(e+1/(e*s*s))*(s/2)}})},function(t,e,n){var r=n(1),o=n(84);r({target:"Math",stat:!0,forced:o!=Math.expm1},{expm1:o})},function(t,e,n){n(1)({target:"Math",stat:!0},{fround:n(242)})},function(t,e,n){var r=n(111),o=Math.abs,i=Math.pow,a=i(2,-52),s=i(2,-23),u=i(2,127)*(2-s),c=i(2,-126);t.exports=Math.fround||function(t){var e,n,i=o(t),l=r(t);return i<c?l*(i/c/s+1/a-1/a)*c*s:(n=(e=(1+s/a)*i)-(e-i))>u||n!=n?l*(1/0):l*n}},function(t,e,n){var r=n(1),o=Math.hypot,i=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(t,e){for(var n,r,o=0,s=0,u=arguments.length,c=0;s<u;)c<(n=i(arguments[s++]))?(o=o*(r=c/n)*r+1,c=n):o+=n>0?(r=n/c)*r:n;return c===1/0?1/0:c*a(o)}})},function(t,e,n){var r=n(1),o=n(6),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!=i(4294967295,5)||2!=i.length}))},{imul:function(t,e){var n=+t,r=+e,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},function(t,e,n){var r=n(1),o=Math.log,i=Math.LOG10E;r({target:"Math",stat:!0},{log10:function(t){return o(t)*i}})},function(t,e,n){n(1)({target:"Math",stat:!0},{log1p:n(144)})},function(t,e,n){var r=n(1),o=Math.log,i=Math.LN2;r({target:"Math",stat:!0},{log2:function(t){return o(t)/i}})},function(t,e,n){n(1)({target:"Math",stat:!0},{sign:n(111)})},function(t,e,n){var r=n(1),o=n(6),i=n(84),a=Math.abs,s=Math.exp,u=Math.E;r({target:"Math",stat:!0,forced:o((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(t){return a(t=+t)<1?(i(t)-i(-t))/2:(s(t-1)-s(-t-1))*(u/2)}})},function(t,e,n){var r=n(1),o=n(84),i=Math.exp;r({target:"Math",stat:!0},{tanh:function(t){var e=o(t=+t),n=o(-t);return e==1/0?1:n==1/0?-1:(e-n)/(i(t)+i(-t))}})},function(t,e,n){n(36)(Math,"Math",!0)},function(t,e,n){var r=n(1),o=Math.ceil,i=Math.floor;r({target:"Math",stat:!0},{trunc:function(t){return(t>0?i:o)(t)}})},function(t,e,n){"use strict";var r=n(12),o=n(8),i=n(65),a=n(20),s=n(18),u=n(33),c=n(83),l=n(34),f=n(6),p=n(38),d=n(51).f,h=n(22).f,v=n(15).f,g=n(59).trim,y=o.Number,m=y.prototype,b="Number"==u(p(m)),w=function(t){var e,n,r,o,i,a,s,u,c=l(t,!1);if("string"==typeof c&&c.length>2)if(43===(e=(c=g(c)).charCodeAt(0))||45===e){if(88===(n=c.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(c.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+c}for(a=(i=c.slice(2)).length,s=0;s<a;s++)if((u=i.charCodeAt(s))<48||u>o)return NaN;return parseInt(i,r)}return+c};if(i("Number",!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var E,O=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof O&&(b?f((function(){m.valueOf.call(n)})):"Number"!=u(n))?c(new y(w(e)),n,O):w(e)},x=r?d(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),P=0;x.length>P;P++)s(y,E=x[P])&&!s(O,E)&&v(O,E,h(y,E));O.prototype=m,m.constructor=O,a(o,"Number",O)}},function(t,e,n){n(1)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},function(t,e,n){n(1)({target:"Number",stat:!0},{isFinite:n(256)})},function(t,e,n){var r=n(8).isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&r(t)}},function(t,e,n){n(1)({target:"Number",stat:!0},{isInteger:n(145)})},function(t,e,n){n(1)({target:"Number",stat:!0},{isNaN:function(t){return t!=t}})},function(t,e,n){var r=n(1),o=n(145),i=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},function(t,e,n){n(1)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){n(1)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var r=n(1),o=n(146);r({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},function(t,e,n){var r=n(1),o=n(147);r({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},function(t,e,n){"use strict";var r=n(1),o=n(30),i=n(148),a=n(110),s=n(6),u=1..toFixed,c=Math.floor,l=function(t,e,n){return 0===e?n:e%2==1?l(t,e-1,n*t):l(t*t,e/2,n)};r({target:"Number",proto:!0,forced:u&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){u.call({})}))},{toFixed:function(t){var e,n,r,s,u=i(this),f=o(t),p=[0,0,0,0,0,0],d="",h="0",v=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*p[n],p[n]=r%1e7,r=c(r/1e7)},g=function(t){for(var e=6,n=0;--e>=0;)n+=p[e],p[e]=c(n/t),n=n%t*1e7},y=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==p[t]){var n=String(p[t]);e=""===e?n:e+a.call("0",7-n.length)+n}return e};if(f<0||f>20)throw RangeError("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(d="-",u=-u),u>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(u*l(2,69,1))-69)<0?u*l(2,-e,1):u/l(2,e,1),n*=4503599627370496,(e=52-e)>0){for(v(0,n),r=f;r>=7;)v(1e7,0),r-=7;for(v(l(10,r,1),0),r=e-1;r>=23;)g(1<<23),r-=23;g(1<<r),v(1,1),g(2),h=y()}else v(0,n),v(1<<-e,0),h=y()+a.call("0",f);return h=f>0?d+((s=h.length)<=f?"0."+a.call("0",f-s)+h:h.slice(0,s-f)+"."+h.slice(s-f)):d+h}})},function(t,e,n){"use strict";var r=n(1),o=n(6),i=n(148),a=1..toPrecision;r({target:"Number",proto:!0,forced:o((function(){return"1"!==a.call(1,void 0)}))||!o((function(){a.call({})}))},{toPrecision:function(t){return void 0===t?a.call(i(this)):a.call(i(this),t)}})},function(t,e,n){var r=n(1),o=n(149);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(t,e,n){n(1)({target:"Object",stat:!0,sham:!n(12)},{create:n(38)})},function(t,e,n){"use strict";var r=n(1),o=n(12),i=n(86),a=n(16),s=n(31),u=n(15);o&&r({target:"Object",proto:!0,forced:i},{__defineGetter__:function(t,e){u.f(a(this),t,{get:s(e),enumerable:!0,configurable:!0})}})},function(t,e,n){var r=n(1),o=n(12);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n(103)})},function(t,e,n){var r=n(1),o=n(12);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(15).f})},function(t,e,n){"use strict";var r=n(1),o=n(12),i=n(86),a=n(16),s=n(31),u=n(15);o&&r({target:"Object",proto:!0,forced:i},{__defineSetter__:function(t,e){u.f(a(this),t,{set:s(e),enumerable:!0,configurable:!0})}})},function(t,e,n){var r=n(1),o=n(150).entries;r({target:"Object",stat:!0},{entries:function(t){return o(t)}})},function(t,e,n){var r=n(1),o=n(72),i=n(6),a=n(9),s=n(54).onFreeze,u=Object.freeze;r({target:"Object",stat:!0,forced:i((function(){u(1)})),sham:!o},{freeze:function(t){return u&&a(t)?u(s(t)):t}})},function(t,e,n){var r=n(1),o=n(73),i=n(53);r({target:"Object",stat:!0},{fromEntries:function(t){var e={};return o(t,(function(t,n){i(e,t,n)}),void 0,!0),e}})},function(t,e,n){var r=n(1),o=n(6),i=n(24),a=n(22).f,s=n(12),u=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!s||u,sham:!s},{getOwnPropertyDescriptor:function(t,e){return a(i(t),e)}})},function(t,e,n){var r=n(1),o=n(12),i=n(100),a=n(24),s=n(22),u=n(53);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var e,n,r=a(t),o=s.f,c=i(r),l={},f=0;c.length>f;)void 0!==(n=o(r,e=c[f++]))&&u(l,e,n);return l}})},function(t,e,n){var r=n(1),o=n(6),i=n(130).f;r({target:"Object",stat:!0,forced:o((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},function(t,e,n){var r=n(1),o=n(6),i=n(16),a=n(37),s=n(108);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!s},{getPrototypeOf:function(t){return a(i(t))}})},function(t,e,n){n(1)({target:"Object",stat:!0},{is:n(151)})},function(t,e,n){var r=n(1),o=n(6),i=n(9),a=Object.isExtensible;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isExtensible:function(t){return!!i(t)&&(!a||a(t))}})},function(t,e,n){var r=n(1),o=n(6),i=n(9),a=Object.isFrozen;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isFrozen:function(t){return!i(t)||!!a&&a(t)}})},function(t,e,n){var r=n(1),o=n(6),i=n(9),a=Object.isSealed;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isSealed:function(t){return!i(t)||!!a&&a(t)}})},function(t,e,n){var r=n(1),o=n(16),i=n(66);r({target:"Object",stat:!0,forced:n(6)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},function(t,e,n){"use strict";var r=n(1),o=n(12),i=n(86),a=n(16),s=n(34),u=n(37),c=n(22).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupGetter__:function(t){var e,n=a(this),r=s(t,!0);do{if(e=c(n,r))return e.get}while(n=u(n))}})},function(t,e,n){"use strict";var r=n(1),o=n(12),i=n(86),a=n(16),s=n(34),u=n(37),c=n(22).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupSetter__:function(t){var e,n=a(this),r=s(t,!0);do{if(e=c(n,r))return e.set}while(n=u(n))}})},function(t,e,n){var r=n(1),o=n(9),i=n(54).onFreeze,a=n(72),s=n(6),u=Object.preventExtensions;r({target:"Object",stat:!0,forced:s((function(){u(1)})),sham:!a},{preventExtensions:function(t){return u&&o(t)?u(i(t)):t}})},function(t,e,n){var r=n(1),o=n(9),i=n(54).onFreeze,a=n(72),s=n(6),u=Object.seal;r({target:"Object",stat:!0,forced:s((function(){u(1)})),sham:!a},{seal:function(t){return u&&o(t)?u(i(t)):t}})},function(t,e,n){n(1)({target:"Object",stat:!0},{setPrototypeOf:n(56)})},function(t,e,n){var r=n(20),o=n(290),i=Object.prototype;o!==i.toString&&r(i,"toString",o,{unsafe:!0})},function(t,e,n){"use strict";var r=n(71),o={};o[n(13)("toStringTag")]="z",t.exports="[object z]"!==String(o)?function(){return"[object "+r(this)+"]"}:o.toString},function(t,e,n){var r=n(1),o=n(150).values;r({target:"Object",stat:!0},{values:function(t){return o(t)}})},function(t,e,n){var r=n(1),o=n(146);r({global:!0,forced:parseFloat!=o},{parseFloat:o})},function(t,e,n){var r=n(1),o=n(147);r({global:!0,forced:parseInt!=o},{parseInt:o})},function(t,e,n){"use strict";var r,o,i,a,s=n(1),u=n(44),c=n(8),l=n(35),f=n(152),p=n(20),d=n(58),h=n(55),v=n(36),g=n(57),y=n(9),m=n(31),b=n(48),w=n(33),E=n(73),O=n(78),x=n(49),P=n(112).set,k=n(154),_=n(155),S=n(295),T=n(156),A=n(296),C=n(29),j=n(65),I=n(13),M=n(104),R=I("species"),D="Promise",N=C.get,L=C.set,B=C.getterFor(D),F=f,U=c.TypeError,W=c.document,H=c.process,q=h("inspectSource"),V=l("fetch"),G=T.f,z=G,Y="process"==w(H),X=!!(W&&W.createEvent&&c.dispatchEvent),$=j(D,(function(){var t=q(F)!==String(F);if(66===M)return!0;if(!t&&!Y&&"function"!=typeof PromiseRejectionEvent)return!0;if(u&&!F.prototype.finally)return!0;if(M>=51&&/native code/.test(F))return!1;var e=F.resolve(1),n=function(t){t((function(){}),(function(){}))};return(e.constructor={})[R]=n,!(e.then((function(){}))instanceof n)})),K=$||!O((function(t){F.all(t).catch((function(){}))})),Q=function(t){var e;return!(!y(t)||"function"!=typeof(e=t.then))&&e},J=function(t,e,n){if(!e.notified){e.notified=!0;var r=e.reactions;k((function(){for(var o=e.value,i=1==e.state,a=0;r.length>a;){var s,u,c,l=r[a++],f=i?l.ok:l.fail,p=l.resolve,d=l.reject,h=l.domain;try{f?(i||(2===e.rejection&&nt(t,e),e.rejection=1),!0===f?s=o:(h&&h.enter(),s=f(o),h&&(h.exit(),c=!0)),s===l.promise?d(U("Promise-chain cycle")):(u=Q(s))?u.call(s,p,d):p(s)):d(o)}catch(t){h&&!c&&h.exit(),d(t)}}e.reactions=[],e.notified=!1,n&&!e.rejection&&tt(t,e)}))}},Z=function(t,e,n){var r,o;X?((r=W.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),c.dispatchEvent(r)):r={promise:e,reason:n},(o=c["on"+t])?o(r):"unhandledrejection"===t&&S("Unhandled promise rejection",n)},tt=function(t,e){P.call(c,(function(){var n,r=e.value;if(et(e)&&(n=A((function(){Y?H.emit("unhandledRejection",r,t):Z("unhandledrejection",t,r)})),e.rejection=Y||et(e)?2:1,n.error))throw n.value}))},et=function(t){return 1!==t.rejection&&!t.parent},nt=function(t,e){P.call(c,(function(){Y?H.emit("rejectionHandled",t):Z("rejectionhandled",t,e.value)}))},rt=function(t,e,n,r){return function(o){t(e,n,o,r)}},ot=function(t,e,n,r){e.done||(e.done=!0,r&&(e=r),e.value=n,e.state=2,J(t,e,!0))},it=function(t,e,n,r){if(!e.done){e.done=!0,r&&(e=r);try{if(t===n)throw U("Promise can't be resolved itself");var o=Q(n);o?k((function(){var r={done:!1};try{o.call(n,rt(it,t,r,e),rt(ot,t,r,e))}catch(n){ot(t,r,n,e)}})):(e.value=n,e.state=1,J(t,e,!1))}catch(n){ot(t,{done:!1},n,e)}}};$&&(F=function(t){b(this,F,D),m(t),r.call(this);var e=N(this);try{t(rt(it,this,e),rt(ot,this,e))}catch(t){ot(this,e,t)}},(r=function(t){L(this,{type:D,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(F.prototype,{then:function(t,e){var n=B(this),r=G(x(this,F));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=Y?H.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&J(this,n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,e=N(t);this.promise=t,this.resolve=rt(it,t,e),this.reject=rt(ot,t,e)},T.f=G=function(t){return t===F||t===i?new o(t):z(t)},u||"function"!=typeof f||(a=f.prototype.then,p(f.prototype,"then",(function(t,e){var n=this;return new F((function(t,e){a.call(n,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof V&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return _(F,V.apply(c,arguments))}}))),s({global:!0,wrap:!0,forced:$},{Promise:F}),v(F,D,!1,!0),g(D),i=l(D),s({target:D,stat:!0,forced:$},{reject:function(t){var e=G(this);return e.reject.call(void 0,t),e.promise}}),s({target:D,stat:!0,forced:u||$},{resolve:function(t){return _(u&&this===i?F:this,t)}}),s({target:D,stat:!0,forced:K},{all:function(t){var e=this,n=G(e),r=n.resolve,o=n.reject,i=A((function(){var n=m(e.resolve),i=[],a=0,s=1;E(t,(function(t){var u=a++,c=!1;i.push(void 0),s++,n.call(e,t).then((function(t){c||(c=!0,i[u]=t,--s||r(i))}),o)})),--s||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=G(e),r=n.reject,o=A((function(){var o=m(e.resolve);E(t,(function(t){o.call(e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},function(t,e,n){var r=n(8);t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,e,n){"use strict";var r=n(1),o=n(44),i=n(152),a=n(35),s=n(49),u=n(155),c=n(20);r({target:"Promise",proto:!0,real:!0},{finally:function(t){var e=s(this,a("Promise")),n="function"==typeof t;return this.then(n?function(n){return u(e,t()).then((function(){return n}))}:t,n?function(n){return u(e,t()).then((function(){throw n}))}:t)}}),o||"function"!=typeof i||i.prototype.finally||c(i.prototype,"finally",a("Promise").prototype.finally)},function(t,e,n){var r=n(1),o=n(35),i=n(31),a=n(10),s=n(6),u=o("Reflect","apply"),c=Function.apply;r({target:"Reflect",stat:!0,forced:!s((function(){u((function(){}))}))},{apply:function(t,e,n){return i(t),a(n),u?u(t,e,n):c.call(t,e,n)}})},function(t,e,n){var r=n(1),o=n(35),i=n(31),a=n(10),s=n(9),u=n(38),c=n(142),l=n(6),f=o("Reflect","construct"),p=l((function(){function t(){}return!(f((function(){}),[],t)instanceof t)})),d=!l((function(){f((function(){}))})),h=p||d;r({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(t,e){i(t),a(e);var n=arguments.length<3?t:i(arguments[2]);if(d&&!p)return f(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(c.apply(t,r))}var o=n.prototype,l=u(s(o)?o:Object.prototype),h=Function.apply.call(t,l,e);return s(h)?h:l}})},function(t,e,n){var r=n(1),o=n(12),i=n(10),a=n(34),s=n(15);r({target:"Reflect",stat:!0,forced:n(6)((function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})})),sham:!o},{defineProperty:function(t,e,n){i(t);var r=a(e,!0);i(n);try{return s.f(t,r,n),!0}catch(t){return!1}}})},function(t,e,n){var r=n(1),o=n(10),i=n(22).f;r({target:"Reflect",stat:!0},{deleteProperty:function(t,e){var n=i(o(t),e);return!(n&&!n.configurable)&&delete t[e]}})},function(t,e,n){var r=n(1),o=n(9),i=n(10),a=n(18),s=n(22),u=n(37);r({target:"Reflect",stat:!0},{get:function t(e,n){var r,c,l=arguments.length<3?e:arguments[2];return i(e)===l?e[n]:(r=s.f(e,n))?a(r,"value")?r.value:void 0===r.get?void 0:r.get.call(l):o(c=u(e))?t(c,n,l):void 0}})},function(t,e,n){var r=n(1),o=n(12),i=n(10),a=n(22);r({target:"Reflect",stat:!0,sham:!o},{getOwnPropertyDescriptor:function(t,e){return a.f(i(t),e)}})},function(t,e,n){var r=n(1),o=n(10),i=n(37);r({target:"Reflect",stat:!0,sham:!n(108)},{getPrototypeOf:function(t){return i(o(t))}})},function(t,e,n){n(1)({target:"Reflect",stat:!0},{has:function(t,e){return e in t}})},function(t,e,n){var r=n(1),o=n(10),i=Object.isExtensible;r({target:"Reflect",stat:!0},{isExtensible:function(t){return o(t),!i||i(t)}})},function(t,e,n){n(1)({target:"Reflect",stat:!0},{ownKeys:n(100)})},function(t,e,n){var r=n(1),o=n(35),i=n(10);r({target:"Reflect",stat:!0,sham:!n(72)},{preventExtensions:function(t){i(t);try{var e=o("Object","preventExtensions");return e&&e(t),!0}catch(t){return!1}}})},function(t,e,n){var r=n(1),o=n(10),i=n(9),a=n(18),s=n(15),u=n(22),c=n(37),l=n(43);r({target:"Reflect",stat:!0},{set:function t(e,n,r){var f,p,d=arguments.length<4?e:arguments[3],h=u.f(o(e),n);if(!h){if(i(p=c(e)))return t(p,n,r,d);h=l(0)}if(a(h,"value")){if(!1===h.writable||!i(d))return!1;if(f=u.f(d,n)){if(f.get||f.set||!1===f.writable)return!1;f.value=r,s.f(d,n,f)}else s.f(d,n,l(0,r));return!0}return void 0!==h.set&&(h.set.call(d,r),!0)}})},function(t,e,n){var r=n(1),o=n(10),i=n(139),a=n(56);a&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(t,e){o(t),i(e);try{return a(t,e),!0}catch(t){return!1}}})},function(t,e,n){var r=n(12),o=n(8),i=n(65),a=n(83),s=n(15).f,u=n(51).f,c=n(113),l=n(87),f=n(20),p=n(6),d=n(57),h=n(13)("match"),v=o.RegExp,g=v.prototype,y=/a/g,m=/a/g,b=new v(y)!==y;if(r&&i("RegExp",!b||p((function(){return m[h]=!1,v(y)!=y||v(m)==m||"/a/i"!=v(y,"i")})))){for(var w=function(t,e){var n=this instanceof w,r=c(t),o=void 0===e;return!n&&r&&t.constructor===w&&o?t:a(b?new v(r&&!o?t.source:t,e):v((r=t instanceof w)?t.source:t,r&&o?l.call(t):e),n?this:g,w)},E=function(t){t in w||s(w,t,{configurable:!0,get:function(){return v[t]},set:function(e){v[t]=e}})},O=u(v),x=0;O.length>x;)E(O[x++]);g.constructor=w,w.prototype=g,f(o,"RegExp",w)}d("RegExp")},function(t,e,n){"use strict";var r=n(1),o=n(88);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(t,e,n){var r=n(12),o=n(15),i=n(87);r&&"g"!=/./g.flags&&o.f(RegExp.prototype,"flags",{configurable:!0,get:i})},function(t,e,n){"use strict";var r=n(20),o=n(10),i=n(6),a=n(87),s=RegExp.prototype,u=s.toString,c=i((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),l="toString"!=u.name;(c||l)&&r(RegExp.prototype,"toString",(function(){var t=o(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in s)?a.call(t):n)}),{unsafe:!0})},function(t,e,n){"use strict";var r=n(82),o=n(143);t.exports=r("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},function(t,e,n){"use strict";var r=n(1),o=n(89).codeAt;r({target:"String",proto:!0},{codePointAt:function(t){return o(this,t)}})},function(t,e,n){"use strict";var r=n(1),o=n(14),i=n(114),a=n(23),s=n(115),u="".endsWith,c=Math.min;r({target:"String",proto:!0,forced:!s("endsWith")},{endsWith:function(t){var e=String(a(this));i(t);var n=arguments.length>1?arguments[1]:void 0,r=o(e.length),s=void 0===n?r:c(o(n),r),l=String(t);return u?u.call(e,l,s):e.slice(s-l.length,s)===l}})},function(t,e,n){var r=n(1),o=n(45),i=String.fromCharCode,a=String.fromCodePoint;r({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?i(e):i(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},function(t,e,n){"use strict";var r=n(1),o=n(114),i=n(23);r({target:"String",proto:!0,forced:!n(115)("includes")},{includes:function(t){return!!~String(i(this)).indexOf(o(t),arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(90),o=n(10),i=n(14),a=n(23),s=n(116),u=n(91);r("match",1,(function(t,e,n){return[function(e){var n=a(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var a=o(t),c=String(this);if(!a.global)return u(a,c);var l=a.unicode;a.lastIndex=0;for(var f,p=[],d=0;null!==(f=u(a,c));){var h=String(f[0]);p[d]=h,""===h&&(a.lastIndex=s(c,i(a.lastIndex),l)),d++}return 0===d?null:p}]}))},function(t,e,n){"use strict";var r=n(1),o=n(109).end;r({target:"String",proto:!0,forced:n(158)},{padEnd:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(1),o=n(109).start;r({target:"String",proto:!0,forced:n(158)},{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(1),o=n(24),i=n(14);r({target:"String",stat:!0},{raw:function(t){for(var e=o(t.raw),n=i(e.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(e[s++])),s<r&&a.push(String(arguments[s]));return a.join("")}})},function(t,e,n){n(1)({target:"String",proto:!0},{repeat:n(110)})},function(t,e,n){"use strict";var r=n(90),o=n(10),i=n(16),a=n(14),s=n(30),u=n(23),c=n(116),l=n(91),f=Math.max,p=Math.min,d=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,v=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(t,e,n){return[function(n,r){var o=u(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):e.call(String(o),n,r)},function(t,i){var u=n(e,t,this,i);if(u.done)return u.value;var d=o(t),h=String(this),v="function"==typeof i;v||(i=String(i));var g=d.global;if(g){var y=d.unicode;d.lastIndex=0}for(var m=[];;){var b=l(d,h);if(null===b)break;if(m.push(b),!g)break;""===String(b[0])&&(d.lastIndex=c(h,a(d.lastIndex),y))}for(var w,E="",O=0,x=0;x<m.length;x++){b=m[x];for(var P=String(b[0]),k=f(p(s(b.index),h.length),0),_=[],S=1;S<b.length;S++)_.push(void 0===(w=b[S])?w:String(w));var T=b.groups;if(v){var A=[P].concat(_,k,h);void 0!==T&&A.push(T);var C=String(i.apply(void 0,A))}else C=r(P,h,k,_,T,i);k>=O&&(E+=h.slice(O,k)+C,O=k+P.length)}return E+h.slice(O)}];function r(t,n,r,o,a,s){var u=r+t.length,c=o.length,l=v;return void 0!==a&&(a=i(a),l=h),e.call(s,l,(function(e,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":s=a[i.slice(1,-1)];break;default:var l=+i;if(0===l)return e;if(l>c){var f=d(l/10);return 0===f?e:f<=c?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):e}s=o[l-1]}return void 0===s?"":s}))}}))},function(t,e,n){"use strict";var r=n(90),o=n(10),i=n(23),a=n(151),s=n(91);r("search",1,(function(t,e,n){return[function(e){var n=i(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var i=o(t),u=String(this),c=i.lastIndex;a(c,0)||(i.lastIndex=0);var l=s(i,u);return a(i.lastIndex,c)||(i.lastIndex=c),null===l?-1:l.index}]}))},function(t,e,n){"use strict";var r=n(90),o=n(113),i=n(10),a=n(23),s=n(49),u=n(116),c=n(14),l=n(91),f=n(88),p=n(6),d=[].push,h=Math.min,v=!p((function(){return!RegExp(4294967295,"y")}));r("split",2,(function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===t)return[r];if(!o(t))return e.call(r,t,i);for(var s,u,c,l=[],p=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),h=0,v=new RegExp(t.source,p+"g");(s=f.call(v,r))&&!((u=v.lastIndex)>h&&(l.push(r.slice(h,s.index)),s.length>1&&s.index<r.length&&d.apply(l,s.slice(1)),c=s[0].length,h=u,l.length>=i));)v.lastIndex===s.index&&v.lastIndex++;return h===r.length?!c&&v.test("")||l.push(""):l.push(r.slice(h)),l.length>i?l.slice(0,i):l}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var o=a(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,n):r.call(String(o),e,n)},function(t,o){var a=n(r,t,this,o,r!==e);if(a.done)return a.value;var f=i(t),p=String(this),d=s(f,RegExp),g=f.unicode,y=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(v?"y":"g"),m=new d(v?f:"^(?:"+f.source+")",y),b=void 0===o?4294967295:o>>>0;if(0===b)return[];if(0===p.length)return null===l(m,p)?[p]:[];for(var w=0,E=0,O=[];E<p.length;){m.lastIndex=v?E:0;var x,P=l(m,v?p:p.slice(E));if(null===P||(x=h(c(m.lastIndex+(v?0:E)),p.length))===w)E=u(p,E,g);else{if(O.push(p.slice(w,E)),O.length===b)return O;for(var k=1;k<=P.length-1;k++)if(O.push(P[k]),O.length===b)return O;E=w=x}}return O.push(p.slice(w)),O}]}),!v)},function(t,e,n){"use strict";var r=n(1),o=n(14),i=n(114),a=n(23),s=n(115),u="".startsWith,c=Math.min;r({target:"String",proto:!0,forced:!s("startsWith")},{startsWith:function(t){var e=String(a(this));i(t);var n=o(c(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return u?u.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e,n){"use strict";var r=n(1),o=n(59).trim;r({target:"String",proto:!0,forced:n(117)("trim")},{trim:function(){return o(this)}})},function(t,e,n){"use strict";var r=n(1),o=n(59).end,i=n(117)("trimEnd"),a=i?function(){return o(this)}:"".trimEnd;r({target:"String",proto:!0,forced:i},{trimEnd:a,trimRight:a})},function(t,e,n){"use strict";var r=n(1),o=n(59).start,i=n(117)("trimStart"),a=i?function(){return o(this)}:"".trimStart;r({target:"String",proto:!0,forced:i},{trimStart:a,trimLeft:a})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("anchor")},{anchor:function(t){return o(this,"a","name",t)}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("big")},{big:function(){return o(this,"big","","")}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("blink")},{blink:function(){return o(this,"blink","","")}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("bold")},{bold:function(){return o(this,"b","","")}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("fixed")},{fixed:function(){return o(this,"tt","","")}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("fontcolor")},{fontcolor:function(t){return o(this,"font","color",t)}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("fontsize")},{fontsize:function(t){return o(this,"font","size",t)}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("italics")},{italics:function(){return o(this,"i","","")}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("link")},{link:function(t){return o(this,"a","href",t)}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("small")},{small:function(){return o(this,"small","","")}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("strike")},{strike:function(){return o(this,"strike","","")}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("sub")},{sub:function(){return o(this,"sub","","")}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("sup")},{sup:function(){return o(this,"sup","","")}})},function(t,e,n){n(40)("Float32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){var r=n(30);t.exports=function(t){var e=r(t);if(e<0)throw RangeError("The argument can't be less than 0");return e}},function(t,e,n){n(40)("Float64",8,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(40)("Int8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(40)("Int16",2,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(40)("Int32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(40)("Uint8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(40)("Uint8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}),!0)},function(t,e,n){n(40)("Uint16",2,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(40)("Uint32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){"use strict";var r=n(11),o=n(132),i=r.aTypedArray;r.exportProto("copyWithin",(function(t,e){return o.call(i(this),t,e,arguments.length>2?arguments[2]:void 0)}))},function(t,e,n){"use strict";var r=n(11),o=n(19).every,i=r.aTypedArray;r.exportProto("every",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(11),o=n(105),i=r.aTypedArray;r.exportProto("fill",(function(t){return o.apply(i(this),arguments)}))},function(t,e,n){"use strict";var r=n(11),o=n(19).filter,i=n(49),a=r.aTypedArray,s=r.aTypedArrayConstructor;r.exportProto("filter",(function(t){for(var e=o(a(this),t,arguments.length>1?arguments[1]:void 0),n=i(this,this.constructor),r=0,u=e.length,c=new(s(n))(u);u>r;)c[r]=e[r++];return c}))},function(t,e,n){"use strict";var r=n(11),o=n(19).find,i=r.aTypedArray;r.exportProto("find",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(11),o=n(19).findIndex,i=r.aTypedArray;r.exportProto("findIndex",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(11),o=n(19).forEach,i=r.aTypedArray;r.exportProto("forEach",(function(t){o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(118),o=n(11),i=n(160);o.exportStatic("from",i,r)},function(t,e,n){"use strict";var r=n(11),o=n(64).includes,i=r.aTypedArray;r.exportProto("includes",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(11),o=n(64).indexOf,i=r.aTypedArray;r.exportProto("indexOf",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(8),o=n(11),i=n(79),a=n(13)("iterator"),s=r.Uint8Array,u=i.values,c=i.keys,l=i.entries,f=o.aTypedArray,p=o.exportProto,d=s&&s.prototype[a],h=!!d&&("values"==d.name||null==d.name),v=function(){return u.call(f(this))};p("entries",(function(){return l.call(f(this))})),p("keys",(function(){return c.call(f(this))})),p("values",v,!h),p(a,v,!h)},function(t,e,n){"use strict";var r=n(11),o=r.aTypedArray,i=[].join;r.exportProto("join",(function(t){return i.apply(o(this),arguments)}))},function(t,e,n){"use strict";var r=n(11),o=n(140),i=r.aTypedArray;r.exportProto("lastIndexOf",(function(t){return o.apply(i(this),arguments)}))},function(t,e,n){"use strict";var r=n(11),o=n(19).map,i=n(49),a=r.aTypedArray,s=r.aTypedArrayConstructor;r.exportProto("map",(function(t){return o(a(this),t,arguments.length>1?arguments[1]:void 0,(function(t,e){return new(s(i(t,t.constructor)))(e)}))}))},function(t,e,n){"use strict";var r=n(11),o=n(118),i=r.aTypedArrayConstructor;r.exportStatic("of",(function(){for(var t=0,e=arguments.length,n=new(i(this))(e);e>t;)n[t]=arguments[t++];return n}),o)},function(t,e,n){"use strict";var r=n(11),o=n(80).left,i=r.aTypedArray;r.exportProto("reduce",(function(t){return o(i(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(11),o=n(80).right,i=r.aTypedArray;r.exportProto("reduceRight",(function(t){return o(i(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(11),o=r.aTypedArray,i=Math.floor;r.exportProto("reverse",(function(){for(var t,e=o(this).length,n=i(e/2),r=0;r<n;)t=this[r],this[r++]=this[--e],this[e]=t;return this}))},function(t,e,n){"use strict";var r=n(11),o=n(14),i=n(159),a=n(16),s=n(6),u=r.aTypedArray,c=s((function(){new Int8Array(1).set({})}));r.exportProto("set",(function(t){u(this);var e=i(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=a(t),s=o(r.length),c=0;if(s+e>n)throw RangeError("Wrong length");for(;c<s;)this[e+c]=r[c++]}),c)},function(t,e,n){"use strict";var r=n(11),o=n(49),i=n(6),a=r.aTypedArray,s=r.aTypedArrayConstructor,u=[].slice,c=i((function(){new Int8Array(1).slice()}));r.exportProto("slice",(function(t,e){for(var n=u.call(a(this),t,e),r=o(this,this.constructor),i=0,c=n.length,l=new(s(r))(c);c>i;)l[i]=n[i++];return l}),c)},function(t,e,n){"use strict";var r=n(11),o=n(19).some,i=r.aTypedArray;r.exportProto("some",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(11),o=r.aTypedArray,i=[].sort;r.exportProto("sort",(function(t){return i.call(o(this),t)}))},function(t,e,n){"use strict";var r=n(11),o=n(14),i=n(45),a=n(49),s=r.aTypedArray;r.exportProto("subarray",(function(t,e){var n=s(this),r=n.length,u=i(t,r);return new(a(n,n.constructor))(n.buffer,n.byteOffset+u*n.BYTES_PER_ELEMENT,o((void 0===e?r:i(e,r))-u))}))},function(t,e,n){"use strict";var r=n(8),o=n(11),i=n(6),a=r.Int8Array,s=o.aTypedArray,u=[].toLocaleString,c=[].slice,l=!!a&&i((function(){u.call(new a(1))})),f=i((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!i((function(){a.prototype.toLocaleString.call([1,2])}));o.exportProto("toLocaleString",(function(){return u.apply(l?c.call(s(this)):s(this),arguments)}),f)},function(t,e,n){"use strict";var r=n(8),o=n(11),i=n(6),a=r.Uint8Array,s=a&&a.prototype,u=[].toString,c=[].join;i((function(){u.call({})}))&&(u=function(){return c.call(this)}),o.exportProto("toString",u,(s||{}).toString!=u)},function(t,e,n){"use strict";var r,o=n(8),i=n(58),a=n(54),s=n(82),u=n(161),c=n(9),l=n(29).enforce,f=n(124),p=!o.ActiveXObject&&"ActiveXObject"in o,d=Object.isExtensible,h=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},v=t.exports=s("WeakMap",h,u,!0,!0);if(f&&p){r=u.getConstructor(h,"WeakMap",!0),a.REQUIRED=!0;var g=v.prototype,y=g.delete,m=g.has,b=g.get,w=g.set;i(g,{delete:function(t){if(c(t)&&!d(t)){var e=l(this);return e.frozen||(e.frozen=new r),y.call(this,t)||e.frozen.delete(t)}return y.call(this,t)},has:function(t){if(c(t)&&!d(t)){var e=l(this);return e.frozen||(e.frozen=new r),m.call(this,t)||e.frozen.has(t)}return m.call(this,t)},get:function(t){if(c(t)&&!d(t)){var e=l(this);return e.frozen||(e.frozen=new r),m.call(this,t)?b.call(this,t):e.frozen.get(t)}return b.call(this,t)},set:function(t,e){if(c(t)&&!d(t)){var n=l(this);n.frozen||(n.frozen=new r),m.call(this,t)?w.call(this,t,e):n.frozen.set(t,e)}else w.call(this,t,e);return this}})}},function(t,e,n){"use strict";n(82)("WeakSet",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),n(161),!1,!0)},function(t,e,n){var r=n(8),o=n(162),i=n(134),a=n(21);for(var s in o){var u=r[s],c=u&&u.prototype;if(c&&c.forEach!==i)try{a(c,"forEach",i)}catch(t){c.forEach=i}}},function(t,e,n){var r=n(8),o=n(162),i=n(79),a=n(21),s=n(13),u=s("iterator"),c=s("toStringTag"),l=i.values;for(var f in o){var p=r[f],d=p&&p.prototype;if(d){if(d[u]!==l)try{a(d,u,l)}catch(t){d[u]=l}if(d[c]||a(d,c,f),o[f])for(var h in i)if(d[h]!==i[h])try{a(d,h,i[h])}catch(t){d[h]=i[h]}}}},function(t,e,n){var r=n(8),o=n(112),i=!r.setImmediate||!r.clearImmediate;n(1)({global:!0,bind:!0,enumerable:!0,forced:i},{setImmediate:o.set,clearImmediate:o.clear})},function(t,e,n){var r=n(1),o=n(8),i=n(154),a=n(33),s=o.process,u="process"==a(s);r({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(t){var e=u&&s.domain;i(e?e.bind(t):t)}})},function(t,e,n){var r=n(1),o=n(8),i=n(77),a=[].slice,s=function(t){return function(e,n){var r=arguments.length>2,o=r?a.call(arguments,2):void 0;return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,o)}:e,n)}};r({global:!0,bind:!0,forced:/MSIE .\./.test(i)},{setTimeout:s(o.setTimeout),setInterval:s(o.setInterval)})},function(t,e,n){"use strict";n(157);var r,o=n(1),i=n(12),a=n(163),s=n(8),u=n(103),c=n(20),l=n(48),f=n(18),p=n(149),d=n(135),h=n(89).codeAt,v=n(388),g=n(36),y=n(164),m=n(29),b=s.URL,w=y.URLSearchParams,E=y.getState,O=m.set,x=m.getterFor("URL"),P=Math.floor,k=Math.pow,_=/[A-Za-z]/,S=/[\d+\-.A-Za-z]/,T=/\d/,A=/^(0x|0X)/,C=/^[0-7]+$/,j=/^\d+$/,I=/^[\dA-Fa-f]+$/,M=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,R=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,D=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,N=/[\u0009\u000A\u000D]/g,L=function(t,e){var n,r,o;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return"Invalid host";if(!(n=F(e.slice(1,-1))))return"Invalid host";t.host=n}else if(Y(t)){if(e=v(e),M.test(e))return"Invalid host";if(null===(n=B(e)))return"Invalid host";t.host=n}else{if(R.test(e))return"Invalid host";for(n="",r=d(e),o=0;o<r.length;o++)n+=G(r[o],W);t.host=n}},B=function(t){var e,n,r,o,i,a,s,u=t.split(".");if(u.length&&""==u[u.length-1]&&u.pop(),(e=u.length)>4)return t;for(n=[],r=0;r<e;r++){if(""==(o=u[r]))return t;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=A.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?j:8==i?C:I).test(o))return t;a=parseInt(o,i)}n.push(a)}for(r=0;r<e;r++)if(a=n[r],r==e-1){if(a>=k(256,5-e))return null}else if(a>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*k(256,3-r);return s},F=function(t){var e,n,r,o,i,a,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,f=0,p=function(){return t.charAt(f)};if(":"==p()){if(":"!=t.charAt(1))return;f+=2,l=++c}for(;p();){if(8==c)return;if(":"!=p()){for(e=n=0;n<4&&I.test(p());)e=16*e+parseInt(p(),16),f++,n++;if("."==p()){if(0==n)return;if(f-=n,c>6)return;for(r=0;p();){if(o=null,r>0){if(!("."==p()&&r<4))return;f++}if(!T.test(p()))return;for(;T.test(p());){if(i=parseInt(p(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;f++}u[c]=256*u[c]+o,2!=++r&&4!=r||c++}if(4!=r)return;break}if(":"==p()){if(f++,!p())return}else if(p())return;u[c++]=e}else{if(null!==l)return;f++,l=++c}}if(null!==l)for(a=c-l,c=7;0!=c&&a>0;)s=u[c],u[c--]=u[l+a-1],u[l+--a]=s;else if(8!=c)return;return u},U=function(t){var e,n,r,o;if("number"==typeof t){for(e=[],n=0;n<4;n++)e.unshift(t%256),t=P(t/256);return e.join(".")}if("object"==typeof t){for(e="",r=function(t){for(var e=null,n=1,r=null,o=0,i=0;i<8;i++)0!==t[i]?(o>n&&(e=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(e=r,n=o),e}(t),n=0;n<8;n++)o&&0===t[n]||(o&&(o=!1),r===n?(e+=n?":":"::",o=!0):(e+=t[n].toString(16),n<7&&(e+=":")));return"["+e+"]"}return t},W={},H=p({},W,{" ":1,'"':1,"<":1,">":1,"`":1}),q=p({},H,{"#":1,"?":1,"{":1,"}":1}),V=p({},q,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),G=function(t,e){var n=h(t,0);return n>32&&n<127&&!f(e,t)?t:encodeURIComponent(t)},z={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Y=function(t){return f(z,t.scheme)},X=function(t){return""!=t.username||""!=t.password},$=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},K=function(t,e){var n;return 2==t.length&&_.test(t.charAt(0))&&(":"==(n=t.charAt(1))||!e&&"|"==n)},Q=function(t){var e;return t.length>1&&K(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},J=function(t){var e=t.path,n=e.length;!n||"file"==t.scheme&&1==n&&K(e[0],!0)||e.pop()},Z=function(t){return"."===t||"%2e"===t.toLowerCase()},tt={},et={},nt={},rt={},ot={},it={},at={},st={},ut={},ct={},lt={},ft={},pt={},dt={},ht={},vt={},gt={},yt={},mt={},bt={},wt={},Et=function(t,e,n,o){var i,a,s,u,c,l=n||tt,p=0,h="",v=!1,g=!1,y=!1;for(n||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(D,"")),e=e.replace(N,""),i=d(e);p<=i.length;){switch(a=i[p],l){case tt:if(!a||!_.test(a)){if(n)return"Invalid scheme";l=nt;continue}h+=a.toLowerCase(),l=et;break;case et:if(a&&(S.test(a)||"+"==a||"-"==a||"."==a))h+=a.toLowerCase();else{if(":"!=a){if(n)return"Invalid scheme";h="",l=nt,p=0;continue}if(n&&(Y(t)!=f(z,h)||"file"==h&&(X(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=h,n)return void(Y(t)&&z[t.scheme]==t.port&&(t.port=null));h="","file"==t.scheme?l=dt:Y(t)&&o&&o.scheme==t.scheme?l=rt:Y(t)?l=st:"/"==i[p+1]?(l=ot,p++):(t.cannotBeABaseURL=!0,t.path.push(""),l=mt)}break;case nt:if(!o||o.cannotBeABaseURL&&"#"!=a)return"Invalid scheme";if(o.cannotBeABaseURL&&"#"==a){t.scheme=o.scheme,t.path=o.path.slice(),t.query=o.query,t.fragment="",t.cannotBeABaseURL=!0,l=wt;break}l="file"==o.scheme?dt:it;continue;case rt:if("/"!=a||"/"!=i[p+1]){l=it;continue}l=ut,p++;break;case ot:if("/"==a){l=ct;break}l=yt;continue;case it:if(t.scheme=o.scheme,a==r)t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query=o.query;else if("/"==a||"\\"==a&&Y(t))l=at;else if("?"==a)t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query="",l=bt;else{if("#"!=a){t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.path.pop(),l=yt;continue}t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query=o.query,t.fragment="",l=wt}break;case at:if(!Y(t)||"/"!=a&&"\\"!=a){if("/"!=a){t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,l=yt;continue}l=ct}else l=ut;break;case st:if(l=ut,"/"!=a||"/"!=h.charAt(p+1))continue;p++;break;case ut:if("/"!=a&&"\\"!=a){l=ct;continue}break;case ct:if("@"==a){v&&(h="%40"+h),v=!0,s=d(h);for(var m=0;m<s.length;m++){var b=s[m];if(":"!=b||y){var w=G(b,V);y?t.password+=w:t.username+=w}else y=!0}h=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(t)){if(v&&""==h)return"Invalid authority";p-=d(h).length+1,h="",l=lt}else h+=a;break;case lt:case ft:if(n&&"file"==t.scheme){l=vt;continue}if(":"!=a||g){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(t)){if(Y(t)&&""==h)return"Invalid host";if(n&&""==h&&(X(t)||null!==t.port))return;if(u=L(t,h))return u;if(h="",l=gt,n)return;continue}"["==a?g=!0:"]"==a&&(g=!1),h+=a}else{if(""==h)return"Invalid host";if(u=L(t,h))return u;if(h="",l=pt,n==ft)return}break;case pt:if(!T.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(t)||n){if(""!=h){var E=parseInt(h,10);if(E>65535)return"Invalid port";t.port=Y(t)&&E===z[t.scheme]?null:E,h=""}if(n)return;l=gt;continue}return"Invalid port"}h+=a;break;case dt:if(t.scheme="file","/"==a||"\\"==a)l=ht;else{if(!o||"file"!=o.scheme){l=yt;continue}if(a==r)t.host=o.host,t.path=o.path.slice(),t.query=o.query;else if("?"==a)t.host=o.host,t.path=o.path.slice(),t.query="",l=bt;else{if("#"!=a){Q(i.slice(p).join(""))||(t.host=o.host,t.path=o.path.slice(),J(t)),l=yt;continue}t.host=o.host,t.path=o.path.slice(),t.query=o.query,t.fragment="",l=wt}}break;case ht:if("/"==a||"\\"==a){l=vt;break}o&&"file"==o.scheme&&!Q(i.slice(p).join(""))&&(K(o.path[0],!0)?t.path.push(o.path[0]):t.host=o.host),l=yt;continue;case vt:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&K(h))l=yt;else if(""==h){if(t.host="",n)return;l=gt}else{if(u=L(t,h))return u;if("localhost"==t.host&&(t.host=""),n)return;h="",l=gt}continue}h+=a;break;case gt:if(Y(t)){if(l=yt,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(l=yt,"/"!=a))continue}else t.fragment="",l=wt;else t.query="",l=bt;break;case yt:if(a==r||"/"==a||"\\"==a&&Y(t)||!n&&("?"==a||"#"==a)){if(".."===(c=(c=h).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(J(t),"/"==a||"\\"==a&&Y(t)||t.path.push("")):Z(h)?"/"==a||"\\"==a&&Y(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&K(h)&&(t.host&&(t.host=""),h=h.charAt(0)+":"),t.path.push(h)),h="","file"==t.scheme&&(a==r||"?"==a||"#"==a))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==a?(t.query="",l=bt):"#"==a&&(t.fragment="",l=wt)}else h+=G(a,q);break;case mt:"?"==a?(t.query="",l=bt):"#"==a?(t.fragment="",l=wt):a!=r&&(t.path[0]+=G(a,W));break;case bt:n||"#"!=a?a!=r&&("'"==a&&Y(t)?t.query+="%27":t.query+="#"==a?"%23":G(a,W)):(t.fragment="",l=wt);break;case wt:a!=r&&(t.fragment+=G(a,H))}p++}},Ot=function(t){var e,n,r=l(this,Ot,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(t),s=O(r,{type:"URL"});if(void 0!==o)if(o instanceof Ot)e=x(o);else if(n=Et(e={},String(o)))throw TypeError(n);if(n=Et(s,a,null,e))throw TypeError(n);var u=s.searchParams=new w,c=E(u);c.updateSearchParams(s.query),c.updateURL=function(){s.query=String(u)||null},i||(r.href=Pt.call(r),r.origin=kt.call(r),r.protocol=_t.call(r),r.username=St.call(r),r.password=Tt.call(r),r.host=At.call(r),r.hostname=Ct.call(r),r.port=jt.call(r),r.pathname=It.call(r),r.search=Mt.call(r),r.searchParams=Rt.call(r),r.hash=Dt.call(r))},xt=Ot.prototype,Pt=function(){var t=x(this),e=t.scheme,n=t.username,r=t.password,o=t.host,i=t.port,a=t.path,s=t.query,u=t.fragment,c=e+":";return null!==o?(c+="//",X(t)&&(c+=n+(r?":"+r:"")+"@"),c+=U(o),null!==i&&(c+=":"+i)):"file"==e&&(c+="//"),c+=t.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},kt=function(){var t=x(this),e=t.scheme,n=t.port;if("blob"==e)try{return new URL(e.path[0]).origin}catch(t){return"null"}return"file"!=e&&Y(t)?e+"://"+U(t.host)+(null!==n?":"+n:""):"null"},_t=function(){return x(this).scheme+":"},St=function(){return x(this).username},Tt=function(){return x(this).password},At=function(){var t=x(this),e=t.host,n=t.port;return null===e?"":null===n?U(e):U(e)+":"+n},Ct=function(){var t=x(this).host;return null===t?"":U(t)},jt=function(){var t=x(this).port;return null===t?"":String(t)},It=function(){var t=x(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},Mt=function(){var t=x(this).query;return t?"?"+t:""},Rt=function(){return x(this).searchParams},Dt=function(){var t=x(this).fragment;return t?"#"+t:""},Nt=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(i&&u(xt,{href:Nt(Pt,(function(t){var e=x(this),n=String(t),r=Et(e,n);if(r)throw TypeError(r);E(e.searchParams).updateSearchParams(e.query)})),origin:Nt(kt),protocol:Nt(_t,(function(t){var e=x(this);Et(e,String(t)+":",tt)})),username:Nt(St,(function(t){var e=x(this),n=d(String(t));if(!$(e)){e.username="";for(var r=0;r<n.length;r++)e.username+=G(n[r],V)}})),password:Nt(Tt,(function(t){var e=x(this),n=d(String(t));if(!$(e)){e.password="";for(var r=0;r<n.length;r++)e.password+=G(n[r],V)}})),host:Nt(At,(function(t){var e=x(this);e.cannotBeABaseURL||Et(e,String(t),lt)})),hostname:Nt(Ct,(function(t){var e=x(this);e.cannotBeABaseURL||Et(e,String(t),ft)})),port:Nt(jt,(function(t){var e=x(this);$(e)||(""==(t=String(t))?e.port=null:Et(e,t,pt))})),pathname:Nt(It,(function(t){var e=x(this);e.cannotBeABaseURL||(e.path=[],Et(e,t+"",gt))})),search:Nt(Mt,(function(t){var e=x(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",Et(e,t,bt)),E(e.searchParams).updateSearchParams(e.query)})),searchParams:Nt(Rt),hash:Nt(Dt,(function(t){var e=x(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",Et(e,t,wt)):e.fragment=null}))}),c(xt,"toJSON",(function(){return Pt.call(this)}),{enumerable:!0}),c(xt,"toString",(function(){return Pt.call(this)}),{enumerable:!0}),b){var Lt=b.createObjectURL,Bt=b.revokeObjectURL;Lt&&c(Ot,"createObjectURL",(function(t){return Lt.apply(b,arguments)})),Bt&&c(Ot,"revokeObjectURL",(function(t){return Bt.apply(b,arguments)}))}g(Ot,"URL"),o({global:!0,forced:!a,sham:!i},{URL:Ot})},function(t,e,n){"use strict";var r=/[^\0-\u007E]/,o=/[.\u3002\uFF0E\uFF61]/g,i="Overflow: input needs wider integers to process",a=Math.floor,s=String.fromCharCode,u=function(t){return t+22+75*(t<26)},c=function(t,e,n){var r=0;for(t=n?a(t/700):t>>1,t+=a(t/e);t>455;r+=36)t=a(t/35);return a(r+36*t/(t+38))},l=function(t){var e,n,r=[],o=(t=function(t){for(var e=[],n=0,r=t.length;n<r;){var o=t.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=t.charCodeAt(n++);56320==(64512&i)?e.push(((1023&o)<<10)+(1023&i)+65536):(e.push(o),n--)}else e.push(o)}return e}(t)).length,l=128,f=0,p=72;for(e=0;e<t.length;e++)(n=t[e])<128&&r.push(s(n));var d=r.length,h=d;for(d&&r.push("-");h<o;){var v=2147483647;for(e=0;e<t.length;e++)(n=t[e])>=l&&n<v&&(v=n);var g=h+1;if(v-l>a((2147483647-f)/g))throw RangeError(i);for(f+=(v-l)*g,l=v,e=0;e<t.length;e++){if((n=t[e])<l&&++f>2147483647)throw RangeError(i);if(n==l){for(var y=f,m=36;;m+=36){var b=m<=p?1:m>=p+26?26:m-p;if(y<b)break;var w=y-b,E=36-b;r.push(s(u(b+w%E))),y=a(w/E)}r.push(s(u(y))),p=c(f,g,h==d),f=0,++h}}++f,++l}return r.join("")};t.exports=function(t){var e,n,i=[],a=t.toLowerCase().replace(o,".").split(".");for(e=0;e<a.length;e++)n=a[e],i.push(r.test(n)?"xn--"+l(n):n);return i.join(".")}},function(t,e,n){var r=n(10),o=n(70);t.exports=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return r(e.call(t))}},function(t,e,n){"use strict";n(1)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},function(t,e){!function(){if(function(){function t(){var t=[0,1];return t.reverse(),0===t[0]}return t()||t()}()){Array.prototype._reverse=Array.prototype.reverse,Array.prototype.reverse=function(){return Array.isArray(this)&&(this.length=this.length),Array.prototype._reverse.call(this)};var t={enumerable:!1};Object.defineProperties(Array.prototype,{_reverse:t,reverse:t})}}()},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t,e,n){var r=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function u(t,e,n,r){var o=e&&e.prototype instanceof v?e:v,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(t,e,n){var r=l;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===o)throw i;return A()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=P(a,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=c(t,e,n);if("normal"===u.type){if(r=n.done?d:f,u.arg===h)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}(t,n,a),i}function c(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var l="suspendedStart",f="suspendedYield",p="executing",d="completed",h={};function v(){}function g(){}function y(){}var m={};m[i]=function(){return this};var b=Object.getPrototypeOf,w=b&&b(b(T([])));w&&w!==n&&r.call(w,i)&&(m=w);var E=y.prototype=v.prototype=Object.create(m);function O(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function x(t){var e;this._invoke=function(n,o){function i(){return new Promise((function(e,i){!function e(n,o,i,a){var s=c(t[n],t,o);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&r.call(l,"__await")?Promise.resolve(l.__await).then((function(t){e("next",t,i,a)}),(function(t){e("throw",t,i,a)})):Promise.resolve(l).then((function(t){u.value=t,i(u)}),(function(t){return e("throw",t,i,a)}))}a(s.arg)}(n,o,e,i)}))}return e=e?e.then(i,i):i()}}function P(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,P(t,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=c(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,h;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,h):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(t){if(t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}return{next:A}}function A(){return{value:e,done:!0}}return g.prototype=E.constructor=y,y.constructor=g,y[s]=g.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,s in t||(t[s]="GeneratorFunction")),t.prototype=Object.create(E),t},t.awrap=function(t){return{__await:t}},O(x.prototype),x.prototype[a]=function(){return this},t.AsyncIterator=x,t.async=function(e,n,r,o){var i=new x(u(e,n,r,o));return t.isGeneratorFunction(n)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},O(E),E[s]="Generator",E[i]=function(){return this},E.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=T,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(_),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return s.type="throw",s.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),_(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;_(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),h}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.runSaga=function(t,e){var n=e.subscribe,r=e.dispatch,i=e.getState,s=e.sagaMonitor,u=e.logger;(0,o.check)(t,o.is.iterator,"runSaga must be called on an iterator");var c=(0,o.uid)();s&&(r=(0,o.wrapSagaDispatch)(r),s.effectTriggered({effectId:c,root:!0,parentEffectId:0,effect:{root:!0,saga:t,args:[]}}));var l=(0,a.default)(t,n,r,i,{sagaMonitor:s,logger:u},c,t.name);s&&s.effectResolved(c,l);return l};var r,o=n(41),i=n(166),a=(r=i)&&r.__esModule?r:{default:r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};e.takeEvery=function(t,e){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var s={done:!1,value:(0,a.take)(t)},u=void 0,p=function(t){return u=t};return l({q1:function(){return["q2",s,p]},q2:function(){return u===o.END?[c]:["q1",(t=u,{done:!1,value:a.fork.apply(void 0,[e].concat(r,[t]))})];var t}},"q1","takeEvery("+f(t)+", "+e.name+")")},e.takeLatest=function(t,e){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var s={done:!1,value:(0,a.take)(t)},u=function(t){return{done:!1,value:a.fork.apply(void 0,[e].concat(r,[t]))}},p=function(t){return{done:!1,value:(0,a.cancel)(t)}},d=void 0,h=void 0,v=function(t){return d=t},g=function(t){return h=t};return l({q1:function(){return["q2",s,g]},q2:function(){return h===o.END?[c]:d?["q3",p(d)]:["q1",u(h),v]},q3:function(){return["q1",u(h),v]}},"q1","takeLatest("+f(t)+", "+e.name+")")},e.throttle=function(t,e,n){for(var r=arguments.length,u=Array(r>3?r-3:0),p=3;p<r;p++)u[p-3]=arguments[p];var d=void 0,h=void 0,v={done:!1,value:(0,a.actionChannel)(e,s.buffers.sliding(1))},g={done:!1,value:(0,a.call)(i.delay,t)},y=function(t){return d=t},m=function(t){return h=t};return l({q1:function(){return["q2",v,m]},q2:function(){return["q3",{done:!1,value:(0,a.take)(h,e)},y]},q3:function(){return d===o.END?[c]:["q4",(t=d,{done:!1,value:a.fork.apply(void 0,[n].concat(u,[t]))})];var t},q4:function(){return["q2",g]}},"q1","throttle("+f(e)+", "+n.name+")")};var o=n(93),i=n(41),a=n(92),s=n(94),u={done:!0,value:void 0},c={};function l(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"iterator",o=void 0,a=e;function s(e,n){if(a===c)return u;if(n)throw a=c,n;o&&o(e);var i=t[a](),s=r(i,3),l=s[0],f=s[1],p=s[2];return o=p,(a=l)===c?u:f}return(0,i.makeIterator)(s,(function(t){return s(null,t)}),n,!0)}function f(t){return Array.isArray(t)?String(t.map((function(t){return String(t)}))):String(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=void 0,n=t.sagaMonitor;if(o.is.func(t))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(t.logger&&!o.is.func(t.logger))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(t.onerror&&!o.is.func(t.onerror))throw new Error("`options.onerror` passed to the Saga middleware is not a function!");function r(r){var i=r.getState,c=r.dispatch;e=function(e,n,r){return(0,a.default)(e.apply(void 0,function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(n)),l.subscribe,f,i,t,r,e.name)};var l=(0,u.emitter)(),f=(0,o.wrapSagaDispatch)(c);return function(t){return function(e){n&&n.actionDispatched(e);var r=t(e);return e[o.SAGA_ACTION]?l.emit(e):(0,s.asap)((function(){return l.emit(e)})),r}}}return r.run=function(t){for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];(0,o.check)(e,o.is.notUndef,"Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware"),(0,o.check)(t,o.is.func,"sagaMiddleware.run(saga, ...args): saga argument must be a Generator function!");var s=(0,o.uid)();n&&n.effectTriggered({effectId:s,root:!0,parentEffectId:0,effect:{root:!0,saga:t,args:i}});var u=e(t,i,s);return n&&n.effectResolved(s,u),u},r};var r,o=n(41),i=n(166),a=(r=i)&&r.__esModule?r:{default:r},s=n(167),u=n(93)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(41);Object.defineProperty(e,"TASK",{enumerable:!0,get:function(){return r.TASK}}),Object.defineProperty(e,"SAGA_ACTION",{enumerable:!0,get:function(){return r.SAGA_ACTION}}),Object.defineProperty(e,"noop",{enumerable:!0,get:function(){return r.noop}}),Object.defineProperty(e,"is",{enumerable:!0,get:function(){return r.is}}),Object.defineProperty(e,"deferred",{enumerable:!0,get:function(){return r.deferred}}),Object.defineProperty(e,"arrayOfDeffered",{enumerable:!0,get:function(){return r.arrayOfDeffered}}),Object.defineProperty(e,"createMockTask",{enumerable:!0,get:function(){return r.createMockTask}});var o=n(92);Object.defineProperty(e,"CHANNEL_END",{enumerable:!0,get:function(){return o.CHANNEL_END}}),Object.defineProperty(e,"asEffect",{enumerable:!0,get:function(){return o.asEffect}})},function(t,e,n){"use strict";var r=n(399);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var s=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 s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";
|
11
|
+
*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"===i||"number"===i)t.push(r);else if(Array.isArray(r))t.push(o.apply(null,r));else if("object"===i)for(var a in r)n.call(r,a)&&r[a]&&t.push(a)}}return t.join(" ")}void 0!==t&&t.exports?t.exports=o:void 0===(r=function(){return o}.apply(e,[]))||(t.exports=r)}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};e.matchesSelector=c,e.matchesSelectorAndParentsTo=function(t,e,n){var r=t;do{if(c(r,e))return!0;if(r===n)return!1;r=r.parentNode}while(r);return!1},e.addEvent=function(t,e,n){t&&(t.attachEvent?t.attachEvent("on"+e,n):t.addEventListener?t.addEventListener(e,n,!0):t["on"+e]=n)},e.removeEvent=function(t,e,n){t&&(t.detachEvent?t.detachEvent("on"+e,n):t.removeEventListener?t.removeEventListener(e,n,!0):t["on"+e]=null)},e.outerHeight=function(t){var e=t.clientHeight,n=t.ownerDocument.defaultView.getComputedStyle(t);return e+=(0,i.int)(n.borderTopWidth),e+=(0,i.int)(n.borderBottomWidth)},e.outerWidth=function(t){var e=t.clientWidth,n=t.ownerDocument.defaultView.getComputedStyle(t);return e+=(0,i.int)(n.borderLeftWidth),e+=(0,i.int)(n.borderRightWidth)},e.innerHeight=function(t){var e=t.clientHeight,n=t.ownerDocument.defaultView.getComputedStyle(t);return e-=(0,i.int)(n.paddingTop),e-=(0,i.int)(n.paddingBottom)},e.innerWidth=function(t){var e=t.clientWidth,n=t.ownerDocument.defaultView.getComputedStyle(t);return e-=(0,i.int)(n.paddingLeft),e-=(0,i.int)(n.paddingRight)},e.offsetXYFromParent=function(t,e){var n=e===e.ownerDocument.body?{left:0,top:0}:e.getBoundingClientRect(),r=t.clientX+e.scrollLeft-n.left,o=t.clientY+e.scrollTop-n.top;return{x:r,y:o}},e.createCSSTransform=function(t){var e=t.x,n=t.y;return function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},(0,a.browserPrefixToKey)("transform",s.default),"translate("+e+"px,"+n+"px)")},e.createSVGTransform=function(t){var e=t.x,n=t.y;return"translate("+e+","+n+")"},e.getTouch=function(t,e){return t.targetTouches&&(0,i.findInArray)(t.targetTouches,(function(t){return e===t.identifier}))||t.changedTouches&&(0,i.findInArray)(t.changedTouches,(function(t){return e===t.identifier}))},e.getTouchIdentifier=function(t){return t.targetTouches&&t.targetTouches[0]?t.targetTouches[0].identifier:t.changedTouches&&t.changedTouches[0]?t.changedTouches[0].identifier:void 0},e.addUserSelectStyles=function(t){var e=t.getAttribute("style")||"";d.test(e)||t.setAttribute("style",e+p)},e.removeUserSelectStyles=function(t){var e=t.getAttribute("style")||"";t.setAttribute("style",e.replace(d,""))},e.styleHacks=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r({touchAction:"none"},t)};var o,i=n(14),a=n(15),s=(o=a)&&o.__esModule?o:{default:o},u="";function c(t,e){return u||(u=(0,i.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],(function(e){return(0,i.isFunction)(t[e])}))),t[u].call(t,e)}var l=(0,a.getPrefix)("user-select"),f=(0,a.browserPrefixToStyle)("user-select",l),p=";"+f+": none;",d=new RegExp(";?"+f+": none;")},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findInArray=function(t,e){for(var n=0,r=t.length;n<r;n++)if(e.apply(e,[t[n],n,t]))return t[n]},e.isFunction=function(t){return"function"==typeof t||"[object Function]"===Object.prototype.toString.call(t)},e.isNum=function(t){return"number"==typeof t&&!isNaN(t)},e.int=function(t){return parseInt(t,10)},e.dontSetMe=function(t,e,n){if(t[e])return new Error("Invalid prop "+e+" passed to "+n+" - do not set this, set it on the child.")}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getPrefix=r,e.browserPrefixToKey=o,e.browserPrefixToStyle=function(t,e){return e?"-"+e.toLowerCase()+"-"+t:t};var n=["Moz","Webkit","O","ms"];function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window||void 0===window.document)return"";var e=window.document.documentElement.style;if(t in e)return"";for(var r=0;r<n.length;r++)if(o(t,n[r])in e)return n[r];return""}function o(t,e){return e?""+e+function(t){for(var e="",n=!0,r=0;r<t.length;r++)n?(e+=t[r].toUpperCase(),n=!1):"-"===t[r]?n=!0:e+=t[r];return e}(t):t}e.default=r()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getBoundPosition=function(t,e,n){if(!t.props.bounds)return[e,n];var r=t.props.bounds;r="string"==typeof r?r:function(t){return{left:t.left,top:t.top,right:t.right,bottom:t.bottom}}(r);var i=a.default.findDOMNode(t);if("string"==typeof r){var u=i.ownerDocument,c=u.defaultView,l=void 0;if("parent"===r)l=i.parentNode;else if(!(l=u.querySelector(r)))throw new Error('Bounds selector "'+r+'" could not find an element.');var f=c.getComputedStyle(i),p=c.getComputedStyle(l);r={left:-i.offsetLeft+(0,o.int)(p.paddingLeft)+(0,o.int)(f.marginLeft),top:-i.offsetTop+(0,o.int)(p.paddingTop)+(0,o.int)(f.marginTop),right:(0,s.innerWidth)(l)-(0,s.outerWidth)(i)-i.offsetLeft+(0,o.int)(p.paddingRight)-(0,o.int)(f.marginRight),bottom:(0,s.innerHeight)(l)-(0,s.outerHeight)(i)-i.offsetTop+(0,o.int)(p.paddingBottom)-(0,o.int)(f.marginBottom)}}return(0,o.isNum)(r.right)&&(e=Math.min(e,r.right)),(0,o.isNum)(r.bottom)&&(n=Math.min(n,r.bottom)),(0,o.isNum)(r.left)&&(e=Math.max(e,r.left)),(0,o.isNum)(r.top)&&(n=Math.max(n,r.top)),[e,n]},e.snapToGrid=function(t,e,n){var r=Math.round(e/t[0])*t[0],o=Math.round(n/t[1])*t[1];return[r,o]},e.canDragX=function(t){return"both"===t.props.axis||"x"===t.props.axis},e.canDragY=function(t){return"both"===t.props.axis||"y"===t.props.axis},e.getControlPosition=function(t,e,n){var r="number"==typeof e?(0,s.getTouch)(t,e):null;if("number"==typeof e&&!r)return null;var o=a.default.findDOMNode(n),i=n.props.offsetParent||o.offsetParent||o.ownerDocument.body;return(0,s.offsetXYFromParent)(r||t,i)},e.createCoreData=function(t,e,n){var r=t.state;return(0,o.isNum)(r.lastX)?{node:a.default.findDOMNode(t),deltaX:e-r.lastX,deltaY:n-r.lastY,lastX:r.lastX,lastY:r.lastY,x:e,y:n}:{node:a.default.findDOMNode(t),deltaX:0,deltaY:0,lastX:e,lastY:n,x:e,y:n}},e.createDraggableData=function(t,e){return{node:e.node,x:t.state.x+e.deltaX,y:t.state.y+e.deltaY,deltaX:e.deltaX,deltaY:e.deltaY,lastX:t.state.x,lastY:t.state.y}};var r,o=n(14),i=n(11),a=(r=i)&&r.__esModule?r:{default:r},s=n(13)},function(t,e,n){(function(t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=p(n(2)),a=p(n(3)),s=p(n(11)),u=n(13),c=n(16),l=n(14),f=p(n(19));function p(t){return t&&t.__esModule?t:{default:t}}function d(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var h={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}},v=h.mouse,g=function(t){function e(){var t,n,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var i=arguments.length,a=Array(i),l=0;l<i;l++)a[l]=arguments[l];return n=o=d(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(a))),o.state={dragging:!1,lastX:NaN,lastY:NaN,touchIdentifier:null},o.handleDragStart=function(t){if(o.props.onMouseDown(t),!o.props.allowAnyClick&&"number"==typeof t.button&&0!==t.button)return!1;var e=s.default.findDOMNode(o),n=e.ownerDocument;if(!(o.props.disabled||!(t.target instanceof n.defaultView.Node)||o.props.handle&&!(0,u.matchesSelectorAndParentsTo)(t.target,o.props.handle,e)||o.props.cancel&&(0,u.matchesSelectorAndParentsTo)(t.target,o.props.cancel,e))){var r=(0,u.getTouchIdentifier)(t);o.setState({touchIdentifier:r});var i=(0,c.getControlPosition)(t,r,o);if(null!=i){var a=i.x,l=i.y,p=(0,c.createCoreData)(o,a,l);(0,f.default)("DraggableCore: handleDragStart: %j",p),(0,f.default)("calling",o.props.onStart),!1!==o.props.onStart(t,p)&&(o.props.enableUserSelectHack&&(0,u.addUserSelectStyles)(n.body),o.setState({dragging:!0,lastX:a,lastY:l}),(0,u.addEvent)(n,v.move,o.handleDrag),(0,u.addEvent)(n,v.stop,o.handleDragStop))}}},o.handleDrag=function(t){"touchmove"===t.type&&t.preventDefault();var e=(0,c.getControlPosition)(t,o.state.touchIdentifier,o);if(null!=e){var n=e.x,i=e.y;if(Array.isArray(o.props.grid)){var a=n-o.state.lastX,s=i-o.state.lastY,u=(0,c.snapToGrid)(o.props.grid,a,s),l=r(u,2);if(a=l[0],s=l[1],!a&&!s)return;n=o.state.lastX+a,i=o.state.lastY+s}var p=(0,c.createCoreData)(o,n,i);if((0,f.default)("DraggableCore: handleDrag: %j",p),!1!==o.props.onDrag(t,p))o.setState({lastX:n,lastY:i});else try{o.handleDragStop(new MouseEvent("mouseup"))}catch(t){var d=document.createEvent("MouseEvents");d.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),o.handleDragStop(d)}}},o.handleDragStop=function(t){if(o.state.dragging){var e=(0,c.getControlPosition)(t,o.state.touchIdentifier,o);if(null!=e){var n=e.x,r=e.y,i=(0,c.createCoreData)(o,n,r),a=s.default.findDOMNode(o).ownerDocument;o.props.enableUserSelectHack&&(0,u.removeUserSelectStyles)(a.body),(0,f.default)("DraggableCore: handleDragStop: %j",i),o.setState({dragging:!1,lastX:NaN,lastY:NaN}),o.props.onStop(t,i),(0,f.default)("DraggableCore: Removing handlers"),(0,u.removeEvent)(a,v.move,o.handleDrag),(0,u.removeEvent)(a,v.stop,o.handleDragStop)}}},o.onMouseDown=function(t){return v=h.mouse,o.handleDragStart(t)},o.onMouseUp=function(t){return v=h.mouse,o.handleDragStop(t)},o.onTouchStart=function(t){return v=h.touch,o.handleDragStart(t)},o.onTouchEnd=function(t){return v=h.touch,o.handleDragStop(t)},d(o,n)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"componentWillUnmount",value:function(){var t=s.default.findDOMNode(this).ownerDocument;(0,u.removeEvent)(t,h.mouse.move,this.handleDrag),(0,u.removeEvent)(t,h.touch.move,this.handleDrag),(0,u.removeEvent)(t,h.mouse.stop,this.handleDragStop),(0,u.removeEvent)(t,h.touch.stop,this.handleDragStop),this.props.enableUserSelectHack&&(0,u.removeUserSelectStyles)(t.body)}},{key:"render",value:function(){return i.default.cloneElement(i.default.Children.only(this.props.children),{style:(0,u.styleHacks)(this.props.children.props.style),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}]),e}(i.default.Component);g.displayName="DraggableCore",g.propTypes={allowAnyClick:a.default.bool,disabled:a.default.bool,enableUserSelectHack:a.default.bool,offsetParent:function(e,n){if(t.browser&&e[n]&&1!==e[n].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:a.default.arrayOf(a.default.number),handle:a.default.string,cancel:a.default.string,onStart:a.default.func,onDrag:a.default.func,onStop:a.default.func,onMouseDown:a.default.func,className:l.dontSetMe,style:l.dontSetMe,transform:l.dontSetMe},g.defaultProps={allowAnyClick:!1,cancel:null,disabled:!1,enableUserSelectHack:!0,offsetParent:null,handle:null,grid:null,transform:null,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){}},e.default=g}).call(e,n(18))},function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var u,c=[],l=!1,f=-1;function p(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&d())}function d(){if(!l){var t=s(p);l=!0;for(var e=c.length;e;){for(u=c,c=[];++f<e;)u&&u[f].run();f=-1,e=c.length}u=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function v(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new h(t,e)),1!==c.length||l||s(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){}}])},t.exports=r(n(0),n(42))},function(t,e,n){"use strict";t.exports=function(t,e,n,r,o,i,a,s){if(!t){var u;if(void 0===e)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;(u=new Error(e.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(t,e){t.exports=pageflow},function(t,e,n){var r=n(8),o=n(9),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},function(t,e,n){var r=n(8),o=n(21);t.exports=function(t,e){try{o(r,t,e)}catch(n){r[t]=e}return e}},function(t,e,n){var r=n(35),o=n(51),i=n(102),a=n(10);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(a(t)),n=i.f;return n?e.concat(n(t)):e}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(12),o=n(15),i=n(10),a=n(66);t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=a(e),s=r.length,u=0;s>u;)o.f(t,n=r[u++],e[n]);return t}},function(t,e,n){var r,o,i=n(8),a=n(77),s=i.process,u=s&&s.versions,c=u&&u.v8;c?o=(r=c.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},function(t,e,n){"use strict";var r=n(16),o=n(45),i=n(14);t.exports=function(t){for(var e=r(this),n=i(e.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,c=void 0===u?n:o(u,n);c>s;)e[s++]=t;return e}},function(t,e,n){var r=n(13),o=n(69),i=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},function(t,e,n){"use strict";var r=n(1),o=n(137),i=n(37),a=n(56),s=n(36),u=n(21),c=n(20),l=n(13),f=n(44),p=n(69),d=n(138),h=d.IteratorPrototype,v=d.BUGGY_SAFARI_ITERATORS,g=l("iterator"),y=function(){return this};t.exports=function(t,e,n,l,d,m,b){o(n,e,l);var w,E,O,x=function(t){if(t===d&&T)return T;if(!v&&t in _)return _[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},P=e+" Iterator",k=!1,_=t.prototype,S=_[g]||_["@@iterator"]||d&&_[d],T=!v&&S||x(d),j="Array"==e&&_.entries||S;if(j&&(w=i(j.call(new t)),h!==Object.prototype&&w.next&&(f||i(w)===h||(a?a(w,h):"function"!=typeof w[g]&&u(w,g,y)),s(w,P,!0,!0),f&&(p[P]=y))),"values"==d&&S&&"values"!==S.name&&(k=!0,T=function(){return S.call(this)}),f&&!b||_[g]===T||u(_,g,T),p[e]=T,d)if(E={values:x("values"),keys:m?T:x("keys"),entries:x("entries")},b)for(O in E)!v&&!k&&O in _||c(_,O,E[O]);else r({target:e,proto:!0,forced:v||k},E);return E}},function(t,e,n){var r=n(6);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,n){var r=n(14),o=n(110),i=n(23),a=Math.ceil,s=function(t){return function(e,n,s){var u,c,l=String(i(e)),f=l.length,p=void 0===s?" ":String(s),d=r(n);return d<=f||""==p?l:(u=d-f,(c=o.call(p,a(u/p.length))).length>u&&(c=c.slice(0,u)),t?l+c:c+l)}};t.exports={start:s(!1),end:s(!0)}},function(t,e,n){"use strict";var r=n(30),o=n(23);t.exports="".repeat||function(t){var e=String(o(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e,n){var r,o,i,a=n(8),s=n(6),u=n(33),c=n(46),l=n(129),f=n(98),p=n(153),d=a.location,h=a.setImmediate,v=a.clearImmediate,g=a.process,y=a.MessageChannel,m=a.Dispatch,b=0,w={},E=function(t){if(w.hasOwnProperty(t)){var e=w[t];delete w[t],e()}},O=function(t){return function(){E(t)}},x=function(t){E(t.data)},P=function(t){a.postMessage(t+"",d.protocol+"//"+d.host)};h&&v||(h=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return w[++b]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(b),b},v=function(t){delete w[t]},"process"==u(g)?r=function(t){g.nextTick(O(t))}:m&&m.now?r=function(t){m.now(O(t))}:y&&!p?(i=(o=new y).port2,o.port1.onmessage=x,r=c(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||s(P)?r="onreadystatechange"in f("script")?function(t){l.appendChild(f("script")).onreadystatechange=function(){l.removeChild(this),E(t)}}:function(t){setTimeout(O(t),0)}:(r=P,a.addEventListener("message",x,!1))),t.exports={set:h,clear:v}},function(t,e,n){var r=n(9),o=n(33),i=n(13)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},function(t,e,n){var r=n(113);t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}},function(t,e,n){var r=n(13)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(t){}}return!1}},function(t,e,n){"use strict";var r=n(89).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},function(t,e,n){var r=n(6),o=n(85);t.exports=function(t){return r((function(){return!!o[t]()||"
"!="
"[t]()||o[t].name!==t}))}},function(t,e,n){var r=n(8),o=n(6),i=n(78),a=n(11).NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,u=r.Int8Array;t.exports=!a||!o((function(){u(1)}))||!o((function(){new u(-1)}))||!i((function(t){new u,new u(null),new u(1.5),new u(t)}),!0)||o((function(){return 1!==new u(new s(2),1,void 0).length}))},function(t,e,n){"use strict";t.exports=n(400)},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function o(t,e){return t===e}function i(t){var e=arguments.length<=1||void 0===arguments[1]?o:arguments[1],n=null,r=null;return function(){for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return null!==n&&n.length===i.length&&i.every((function(t,r){return e(t,n[r])}))||(r=t.apply(void 0,i)),n=i,r}}function a(t){var e=Array.isArray(t[0])?t[0]:t;if(!e.every((function(t){return"function"==typeof t}))){var n=e.map((function(t){return typeof t})).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+n+"]")}return e}function s(t){for(var e=arguments.length,n=Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];return function(){for(var e=arguments.length,o=Array(e),i=0;i<e;i++)o[i]=arguments[i];var s=0,u=o.pop(),c=a(o),l=t.apply(void 0,[function(){return s++,u.apply(void 0,arguments)}].concat(n)),f=function(t,e){for(var n=arguments.length,o=Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];var a=c.map((function(n){return n.apply(void 0,[t,e].concat(o))}));return l.apply(void 0,r(a))};return f.resultFunc=u,f.recomputations=function(){return s},f.resetRecomputations=function(){return s=0},f}}e.__esModule=!0,e.defaultMemoize=i,e.createSelectorCreator=s,e.createStructuredSelector=function(t){var e=arguments.length<=1||void 0===arguments[1]?u:arguments[1];if("object"!=typeof t)throw new Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof t);var n=Object.keys(t);return e(n.map((function(e){return t[e]})),(function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.reduce((function(t,e,r){return t[n[r]]=e,t}),{})}))};var u=e.createSelector=s(i)},function(t,e,n){"use strict";(function(t,r){var o,i=n(170);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:r;var a=Object(i.a)(o);e.a=a}).call(this,n(74),n(392)(t))},function(t,e,n){var r=n(12),o=n(6),i=n(98);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(55);t.exports=r("native-function-to-string",Function.toString)},function(t,e,n){var r=n(8),o=n(123),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o.call(i))},function(t,e,n){var r=n(18),o=n(100),i=n(22),a=n(15);t.exports=function(t,e){for(var n=o(e),s=a.f,u=i.f,c=0;c<n.length;c++){var l=n[c];r(t,l)||s(t,l,u(e,l))}}},function(t,e,n){t.exports=n(8)},function(t,e,n){var r=n(18),o=n(24),i=n(64).indexOf,a=n(63);t.exports=function(t,e){var n,s=o(t),u=0,c=[];for(n in s)!r(a,n)&&r(s,n)&&c.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~i(c,n)||c.push(n));return c}},function(t,e,n){var r=n(6);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(t,e,n){var r=n(35);t.exports=r("document","documentElement")},function(t,e,n){var r=n(24),o=n(51).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return a.slice()}}(t):o(r(t))}},function(t,e,n){e.f=n(13)},function(t,e,n){"use strict";var r=n(16),o=n(45),i=n(14),a=Math.min;t.exports=[].copyWithin||function(t,e){var n=r(this),s=i(n.length),u=o(t,s),c=o(e,s),l=arguments.length>2?arguments[2]:void 0,f=a((void 0===l?s:o(l,s))-c,s-u),p=1;for(c<u&&u<c+f&&(p=-1,c+=f-1,u+=f-1);f-- >0;)c in n?n[u]=n[c]:delete n[u],u+=p,c+=p;return n}},function(t,e,n){"use strict";var r=n(52),o=n(14),i=n(46),a=function(t,e,n,s,u,c,l,f){for(var p,d=u,h=0,v=!!l&&i(l,f,3);h<s;){if(h in n){if(p=v?v(n[h],h,e):n[h],c>0&&r(p))d=a(t,e,p,o(p.length),d,c-1)-1;else{if(d>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[d]=p}d++}h++}return d};t.exports=a},function(t,e,n){"use strict";var r=n(19).forEach,o=n(39);t.exports=o("forEach")?function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}:[].forEach},function(t,e,n){"use strict";var r=n(46),o=n(16),i=n(136),a=n(106),s=n(14),u=n(53),c=n(70);t.exports=function(t){var e,n,l,f,p,d=o(t),h="function"==typeof this?this:Array,v=arguments.length,g=v>1?arguments[1]:void 0,y=void 0!==g,m=0,b=c(d);if(y&&(g=r(g,v>2?arguments[2]:void 0,2)),null==b||h==Array&&a(b))for(n=new h(e=s(d.length));e>m;m++)u(n,m,y?g(d[m],m):d[m]);else for(p=(f=b.call(d)).next,n=new h;!(l=p.call(f)).done;m++)u(n,m,y?i(f,g,[l.value,m],!0):l.value);return n.length=m,n}},function(t,e,n){var r=n(10);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){"use strict";var r=n(138).IteratorPrototype,o=n(38),i=n(43),a=n(36),s=n(69),u=function(){return this};t.exports=function(t,e,n){var c=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),a(t,c,!1,!0),s[c]=u,t}},function(t,e,n){"use strict";var r,o,i,a=n(37),s=n(21),u=n(18),c=n(13),l=n(44),f=c("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),l||u(r,f)||s(r,f,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},function(t,e,n){var r=n(9);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e,n){"use strict";var r=n(24),o=n(30),i=n(14),a=n(39),s=Math.min,u=[].lastIndexOf,c=!!u&&1/[1].lastIndexOf(1,-0)<0,l=a("lastIndexOf");t.exports=c||l?function(t){if(c)return u.apply(this,arguments)||0;var e=r(this),n=i(e.length),a=n-1;for(arguments.length>1&&(a=s(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in e&&e[a]===t)return a||0;return-1}:u},function(t,e,n){var r=n(30),o=n(14);t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=o(e);if(e!==n)throw RangeError("Wrong length or index");return n}},function(t,e,n){"use strict";var r=n(31),o=n(9),i=[].slice,a={},s=function(t,e,n){if(!(e in a)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";a[e]=Function("C,a","return new C("+r.join(",")+")")}return a[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?s(e,r.length,r):e.apply(t,r)};return o(e.prototype)&&(a.prototype=e.prototype),a}},function(t,e,n){"use strict";var r=n(15).f,o=n(38),i=n(58),a=n(46),s=n(48),u=n(73),c=n(107),l=n(57),f=n(12),p=n(54).fastKey,d=n(29),h=d.set,v=d.getterFor;t.exports={getConstructor:function(t,e,n,c){var l=t((function(t,r){s(t,l,e),h(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),f||(t.size=0),null!=r&&u(r,t[c],t,n)})),d=v(e),g=function(t,e,n){var r,o,i=d(t),a=y(t,e);return a?a.value=n:(i.last=a={index:o=p(e,!0),key:e,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),f?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},y=function(t,e){var n,r=d(t),o=p(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==e)return n};return i(l.prototype,{clear:function(){for(var t=d(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,f?t.size=0:this.size=0},delete:function(t){var e=d(this),n=y(this,t);if(n){var r=n.next,o=n.previous;delete e.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),e.first==n&&(e.first=r),e.last==n&&(e.last=o),f?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=d(this),r=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!y(this,t)}}),i(l.prototype,n?{get:function(t){var e=y(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),f&&r(l.prototype,"size",{get:function(){return d(this).size}}),l},setStrong:function(t,e,n){var r=e+" Iterator",o=v(e),i=v(r);c(t,e,(function(t,e){h(this,{type:r,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),l(e)}}},function(t,e){var n=Math.log;t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:n(1+t)}},function(t,e,n){var r=n(9),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},function(t,e,n){var r=n(8),o=n(59).trim,i=n(85),a=r.parseFloat,s=1/a(i+"-0")!=-1/0;t.exports=s?function(t){var e=o(String(t)),n=a(e);return 0===n&&"-"==e.charAt(0)?-0:n}:a},function(t,e,n){var r=n(8),o=n(59).trim,i=n(85),a=r.parseInt,s=/^[+-]?0[Xx]/,u=8!==a(i+"08")||22!==a(i+"0x16");t.exports=u?function(t,e){var n=o(String(t));return a(n,e>>>0||(s.test(n)?16:10))}:a},function(t,e,n){var r=n(33);t.exports=function(t){if("number"!=typeof t&&"Number"!=r(t))throw TypeError("Incorrect invocation");return+t}},function(t,e,n){"use strict";var r=n(12),o=n(6),i=n(66),a=n(102),s=n(75),u=n(16),c=n(61),l=Object.assign;t.exports=!l||o((function(){var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=l({},t)[n]||"abcdefghijklmnopqrst"!=i(l({},e)).join("")}))?function(t,e){for(var n=u(t),o=arguments.length,l=1,f=a.f,p=s.f;o>l;)for(var d,h=c(arguments[l++]),v=f?i(h).concat(f(h)):i(h),g=v.length,y=0;g>y;)d=v[y++],r&&!p.call(h,d)||(n[d]=h[d]);return n}:l},function(t,e,n){var r=n(12),o=n(66),i=n(24),a=n(75).f,s=function(t){return function(e){for(var n,s=i(e),u=o(s),c=u.length,l=0,f=[];c>l;)n=u[l++],r&&!a.call(s,n)||f.push(t?[n,s[n]]:s[n]);return f}};t.exports={entries:s(!0),values:s(!1)}},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){var r=n(8);t.exports=r.Promise},function(t,e,n){var r=n(77);t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(t,e,n){var r,o,i,a,s,u,c,l,f=n(8),p=n(22).f,d=n(33),h=n(112).set,v=n(153),g=f.MutationObserver||f.WebKitMutationObserver,y=f.process,m=f.Promise,b="process"==d(y),w=p(f,"queueMicrotask"),E=w&&w.value;E||(r=function(){var t,e;for(b&&(t=y.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(t){throw o?a():i=void 0,t}}i=void 0,t&&t.enter()},b?a=function(){y.nextTick(r)}:g&&!v?(s=!0,u=document.createTextNode(""),new g(r).observe(u,{characterData:!0}),a=function(){u.data=s=!s}):m&&m.resolve?(c=m.resolve(void 0),l=c.then,a=function(){l.call(c,r)}):a=function(){h.call(f,r)}),t.exports=E||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,a()),i=e}},function(t,e,n){var r=n(10),o=n(9),i=n(156);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var r=n(31),o=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new o(t)}},function(t,e,n){"use strict";var r=n(89).charAt,o=n(29),i=n(107),a=o.set,s=o.getterFor("String Iterator");i(String,"String",(function(t){a(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=s(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})}))},function(t,e,n){var r=n(77);t.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r)},function(t,e,n){var r=n(346);t.exports=function(t,e){var n=r(t);if(n%e)throw RangeError("Wrong offset");return n}},function(t,e,n){var r=n(16),o=n(14),i=n(70),a=n(106),s=n(46),u=n(11).aTypedArrayConstructor;t.exports=function(t){var e,n,c,l,f,p,d=r(t),h=arguments.length,v=h>1?arguments[1]:void 0,g=void 0!==v,y=i(d);if(null!=y&&!a(y))for(p=(f=y.call(d)).next,d=[];!(l=p.call(f)).done;)d.push(l.value);for(g&&h>2&&(v=s(v,arguments[2],2)),n=o(d.length),c=new(u(this))(n),e=0;n>e;e++)c[e]=g?v(d[e],e):d[e];return c}},function(t,e,n){"use strict";var r=n(58),o=n(54).getWeakData,i=n(10),a=n(9),s=n(48),u=n(73),c=n(19),l=n(18),f=n(29),p=f.set,d=f.getterFor,h=c.find,v=c.findIndex,g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return h(t.entries,(function(t){return t[0]===e}))};m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var n=b(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=v(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,c){var f=t((function(t,r){s(t,f,e),p(t,{type:e,id:g++,frozen:void 0}),null!=r&&u(r,t[c],t,n)})),h=d(e),v=function(t,e,n){var r=h(t),a=o(i(e),!0);return!0===a?y(r).set(e,n):a[r.id]=n,t};return r(f.prototype,{delete:function(t){var e=h(this);if(!a(t))return!1;var n=o(t);return!0===n?y(e).delete(t):n&&l(n,e.id)&&delete n[e.id]},has:function(t){var e=h(this);if(!a(t))return!1;var n=o(t);return!0===n?y(e).has(t):n&&l(n,e.id)}}),r(f.prototype,n?{get:function(t){var e=h(this);if(a(t)){var n=o(t);return!0===n?y(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return v(this,t,e)}}:{add:function(t){return v(this,t,!0)}}),f}}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,n){var r=n(6),o=n(13),i=n(44),a=o("iterator");t.exports=!r((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),n+=r+t})),i&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},function(t,e,n){"use strict";n(79);var r=n(1),o=n(35),i=n(163),a=n(20),s=n(58),u=n(36),c=n(137),l=n(29),f=n(48),p=n(18),d=n(46),h=n(71),v=n(10),g=n(9),y=n(38),m=n(43),b=n(389),w=n(70),E=n(13),O=o("fetch"),x=o("Headers"),P=E("iterator"),k=l.set,_=l.getterFor("URLSearchParams"),S=l.getterFor("URLSearchParamsIterator"),T=/\+/g,j=Array(4),A=function(t){return j[t-1]||(j[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},C=function(t){try{return decodeURIComponent(t)}catch(e){return t}},I=function(t){var e=t.replace(T," "),n=4;try{return decodeURIComponent(e)}catch(t){for(;n;)e=e.replace(A(n--),C);return e}},M=/[!'()~]|%20/g,R={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},D=function(t){return R[t]},N=function(t){return encodeURIComponent(t).replace(M,D)},L=function(t,e){if(e)for(var n,r,o=e.split("&"),i=0;i<o.length;)(n=o[i++]).length&&(r=n.split("="),t.push({key:I(r.shift()),value:I(r.join("="))}))},B=function(t){this.entries.length=0,L(this.entries,t)},F=function(t,e){if(t<e)throw TypeError("Not enough arguments")},U=c((function(t,e){k(this,{type:"URLSearchParamsIterator",iterator:b(_(t).entries),kind:e})}),"Iterator",(function(){var t=S(this),e=t.kind,n=t.iterator.next(),r=n.value;return n.done||(n.value="keys"===e?r.key:"values"===e?r.value:[r.key,r.value]),n})),W=function(){f(this,W,"URLSearchParams");var t,e,n,r,o,i,a,s,u,c=arguments.length>0?arguments[0]:void 0,l=this,d=[];if(k(l,{type:"URLSearchParams",entries:d,updateURL:function(){},updateSearchParams:B}),void 0!==c)if(g(c))if("function"==typeof(t=w(c)))for(n=(e=t.call(c)).next;!(r=n.call(e)).done;){if((a=(i=(o=b(v(r.value))).next).call(o)).done||(s=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");d.push({key:a.value+"",value:s.value+""})}else for(u in c)p(c,u)&&d.push({key:u,value:c[u]+""});else L(d,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},H=W.prototype;s(H,{append:function(t,e){F(arguments.length,2);var n=_(this);n.entries.push({key:t+"",value:e+""}),n.updateURL()},delete:function(t){F(arguments.length,1);for(var e=_(this),n=e.entries,r=t+"",o=0;o<n.length;)n[o].key===r?n.splice(o,1):o++;e.updateURL()},get:function(t){F(arguments.length,1);for(var e=_(this).entries,n=t+"",r=0;r<e.length;r++)if(e[r].key===n)return e[r].value;return null},getAll:function(t){F(arguments.length,1);for(var e=_(this).entries,n=t+"",r=[],o=0;o<e.length;o++)e[o].key===n&&r.push(e[o].value);return r},has:function(t){F(arguments.length,1);for(var e=_(this).entries,n=t+"",r=0;r<e.length;)if(e[r++].key===n)return!0;return!1},set:function(t,e){F(arguments.length,1);for(var n,r=_(this),o=r.entries,i=!1,a=t+"",s=e+"",u=0;u<o.length;u++)(n=o[u]).key===a&&(i?o.splice(u--,1):(i=!0,n.value=s));i||o.push({key:a,value:s}),r.updateURL()},sort:function(){var t,e,n,r=_(this),o=r.entries,i=o.slice();for(o.length=0,n=0;n<i.length;n++){for(t=i[n],e=0;e<n;e++)if(o[e].key>t.key){o.splice(e,0,t);break}e===n&&o.push(t)}r.updateURL()},forEach:function(t){for(var e,n=_(this).entries,r=d(t,arguments.length>1?arguments[1]:void 0,3),o=0;o<n.length;)r((e=n[o++]).value,e.key,this)},keys:function(){return new U(this,"keys")},values:function(){return new U(this,"values")},entries:function(){return new U(this,"entries")}},{enumerable:!0}),a(H,P,H.entries),a(H,"toString",(function(){for(var t,e=_(this).entries,n=[],r=0;r<e.length;)t=e[r++],n.push(N(t.key)+"="+N(t.value));return n.join("&")}),{enumerable:!0}),u(W,"URLSearchParams"),r({global:!0,forced:!i},{URLSearchParams:W}),i||"function"!=typeof O||"function"!=typeof x||r({global:!0,enumerable:!0,forced:!0},{fetch:function(t){var e,n,r,o=[t];return arguments.length>1&&(e=arguments[1],g(e)&&(n=e.body,"URLSearchParams"===h(n)&&((r=e.headers?new x(e.headers):new x).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),e=y(e,{body:m(0,String(n)),headers:m(0,r)}))),o.push(e)),O.apply(this,o)}}),t.exports={URLSearchParams:W,getState:_}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(92);Object.defineProperty(e,"take",{enumerable:!0,get:function(){return r.take}}),Object.defineProperty(e,"takem",{enumerable:!0,get:function(){return r.takem}}),Object.defineProperty(e,"put",{enumerable:!0,get:function(){return r.put}}),Object.defineProperty(e,"race",{enumerable:!0,get:function(){return r.race}}),Object.defineProperty(e,"call",{enumerable:!0,get:function(){return r.call}}),Object.defineProperty(e,"apply",{enumerable:!0,get:function(){return r.apply}}),Object.defineProperty(e,"cps",{enumerable:!0,get:function(){return r.cps}}),Object.defineProperty(e,"fork",{enumerable:!0,get:function(){return r.fork}}),Object.defineProperty(e,"spawn",{enumerable:!0,get:function(){return r.spawn}}),Object.defineProperty(e,"join",{enumerable:!0,get:function(){return r.join}}),Object.defineProperty(e,"cancel",{enumerable:!0,get:function(){return r.cancel}}),Object.defineProperty(e,"select",{enumerable:!0,get:function(){return r.select}}),Object.defineProperty(e,"actionChannel",{enumerable:!0,get:function(){return r.actionChannel}}),Object.defineProperty(e,"cancelled",{enumerable:!0,get:function(){return r.cancelled}}),Object.defineProperty(e,"flush",{enumerable:!0,get:function(){return r.flush}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TASK_CANCEL=e.CHANNEL_END=e.NOT_ITERATOR_ERROR=void 0,e.default=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return r.noop},d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.noop,v=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r.noop,g=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},y=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,m=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"anonymous",b=arguments[7];(0,r.check)(e,r.is.iterator,l);var w=g.sagaMonitor,E=g.logger,O=g.onError,x=E||r.log,P=(0,a.stdChannel)(n);j.cancel=r.noop;var k=function(t,e,n,o){var i,a;return n._deferredEnd=null,u(i={},r.TASK,!0),u(i,"id",t),u(i,"name",e),"done",(a={}).done=a.done||{},a.done.get=function(){if(n._deferredEnd)return n._deferredEnd.promise;var t=(0,r.deferred)();return n._deferredEnd=t,n._isRunning||(n._error?t.reject(n._error):t.resolve(n._result)),t.promise},u(i,"cont",o),u(i,"joiners",[]),u(i,"cancel",T),u(i,"isRunning",(function(){return n._isRunning})),u(i,"isCancelled",(function(){return n._isCancelled})),u(i,"isAborted",(function(){return n._isAborted})),u(i,"result",(function(){return n._result})),u(i,"error",(function(){return n._error})),function(t,e){for(var n in e){var r=e[n];r.configurable=r.enumerable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,n,r)}}(i,a),i}(y,m,e,b),_={name:m,cancel:function(){_.isRunning&&!_.isCancelled&&(_.isCancelled=!0,j(p))},isRunning:!0},S=function(t,e,n){var o=[],i=void 0,a=!1;function s(t){c(),n(t,!0)}function u(t){o.push(t),t.cont=function(u,c){a||((0,r.remove)(o,t),t.cont=r.noop,c?s(u):(t===e&&(i=u),o.length||(a=!0,n(i))))}}function c(){a||(a=!0,o.forEach((function(t){t.cont=r.noop,t.cancel()})),o=[])}return u(e),{addTask:u,cancelAll:c,abort:s,getTasks:function(){return o},taskNames:function(){return o.map((function(t){return t.name}))}}}(0,_,A);function T(){e._isRunning&&!e._isCancelled&&(e._isCancelled=!0,S.cancelAll(),A(p))}return b&&(b.cancel=T),e._isRunning=!0,j(),k;function j(t,n){if(!_.isRunning)throw new Error("Trying to resume an already finished generator");try{var o=void 0;n?o=e.throw(t):t===p?(_.isCancelled=!0,j.cancel(),o=r.is.func(e.return)?e.return(p):{done:!0,value:p}):o=t===f?r.is.func(e.return)?e.return():{done:!0}:e.next(t),o.done?(_.isMainRunning=!1,_.cont&&_.cont(o.value)):C(o.value,y,"",j)}catch(t){_.isCancelled&&x("error","uncaught at "+m,t.message),_.isMainRunning=!1,_.cont(t,!0)}}function A(t,n){e._isRunning=!1,P.close(),n?(t instanceof Error&&(t.sagaStack="at "+m+" \n "+(t.sagaStack||t.stack)),k.cont||(x("error","uncaught",t.sagaStack||t.stack),t instanceof Error&&O&&O(t)),e._error=t,e._isAborted=!0,e._deferredEnd&&e._deferredEnd.reject(t)):(t===p&&c&&x("info",m+" has been cancelled",""),e._result=t,e._deferredEnd&&e._deferredEnd.resolve(t)),k.cont&&k.cont(t,n),k.joiners.forEach((function(e){return e.cb(t,n)})),k.joiners=null}function C(t,e){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",l=arguments[3],g=(0,r.uid)();w&&w.effectTriggered({effectId:g,parentEffectId:e,label:c,effect:t});var y=void 0;function b(t,e){y||(y=!0,l.cancel=r.noop,w&&(e?w.effectRejected(g,t):w.effectResolved(g,t)),l(t,e))}b.cancel=r.noop,l.cancel=function(){if(!y){y=!0;try{b.cancel()}catch(t){x("error","uncaught at "+m,t.message)}b.cancel=r.noop,w&&w.effectCancelled(g)}};var E=void 0;return(r.is.promise(t)?I(t,b):r.is.helper(t)?R({fn:t},g,b):r.is.iterator(t)?M(t,g,m,b):r.is.array(t)?function(t,e,n){if(!t.length)return n([]);var o=0,i=void 0,s=Array(t.length);var u=t.map((function(t,e){var u=function(t,r){i||(r||(0,a.isEnd)(t)||t===f||t===p?(n.cancel(),n(t,r)):(s[e]=t,++o===s.length&&(i=!0,n(s))))};return u.cancel=r.noop,u}));n.cancel=function(){i||(i=!0,u.forEach((function(t){return t.cancel()})))},t.forEach((function(t,n){return C(t,e,n,u[n])}))}(t,g,b):r.is.notUndef(E=i.asEffect.take(t))?function(t,e){var n=t.channel,r=t.pattern,o=t.maybe;n=n||P;var i=function(t){return t instanceof Error?e(t,!0):(0,a.isEnd)(t)&&!o?e(f):e(t)};try{n.take(i,h(r))}catch(t){return e(t,!0)}e.cancel=i.cancel}(E,b):r.is.notUndef(E=i.asEffect.put(t))?function(t,e){var n=t.channel,i=t.action,a=t.sync;(0,o.asap)((function(){var t=void 0;try{t=(n?n.put:d)(i)}catch(t){if(n||a)return e(t,!0);x("error","uncaught at "+m,t.stack||t.message||t)}if(!a||!r.is.promise(t))return e(t);I(t,e)}))}(E,b):r.is.notUndef(E=i.asEffect.race(t))?function(t,e,n){var o=void 0,i=Object.keys(t),s={};i.forEach((function(t){var e=function(e,r){o||(r?(n.cancel(),n(e,!0)):(0,a.isEnd)(e)||e===f||e===p||(n.cancel(),o=!0,n(u({},t,e))))};e.cancel=r.noop,s[t]=e})),n.cancel=function(){o||(o=!0,i.forEach((function(t){return s[t].cancel()})))},i.forEach((function(n){o||C(t[n],e,n,s[n])}))}(E,g,b):r.is.notUndef(E=i.asEffect.call(t))?function(t,e,n){var o=t.context,i=t.fn,a=t.args,s=void 0;try{s=i.apply(o,a)}catch(t){return n(t,!0)}return r.is.promise(s)?I(s,n):r.is.iterator(s)?M(s,e,i.name,n):n(s)}(E,g,b):r.is.notUndef(E=i.asEffect.cps(t))?function(t,e){var n=t.context,o=t.fn,i=t.args;try{a=function(t,n){return r.is.undef(t)?e(n):e(t,!0)},o.apply(n,i.concat(a)),a.cancel&&(e.cancel=function(){return a.cancel()})}catch(t){return e(t,!0)}var a}(E,b):r.is.notUndef(E=i.asEffect.fork(t))?R(E,g,b):r.is.notUndef(E=i.asEffect.join(t))?function(t,e){t.isRunning()?(n={task:k,cb:e},e.cancel=function(){return(0,r.remove)(t.joiners,n)},t.joiners.push(n)):t.isAborted()?e(t.error(),!0):e(t.result());var n}(E,b):r.is.notUndef(E=i.asEffect.cancel(t))?function(t,e){t.isRunning()&&t.cancel();e()}(E,b):r.is.notUndef(E=i.asEffect.select(t))?function(t,e){var n=t.selector,r=t.args;try{var o=n.apply(void 0,[v()].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(r)));e(o)}catch(t){e(t,!0)}}(E,b):r.is.notUndef(E=i.asEffect.actionChannel(t))?function(t,e){var r=t.pattern,o=t.buffer,i=h(r);i.pattern=r,e((0,a.eventChannel)(n,o||s.buffers.fixed(),i))}(E,b):r.is.notUndef(E=i.asEffect.flush(t))?function(t,e){t.flush(e)}(E,b):r.is.notUndef(E=i.asEffect.cancelled(t))?function(t,e){e(!!_.isCancelled)}(0,b):b(t))}function I(t,e){var n=t[r.CANCEL];"function"==typeof n&&(e.cancel=n),t.then(e,(function(t){return e(t,!0)}))}function M(e,r,o,i){t(e,n,d,v,g,r,o,i)}function R(e,i,a){var s=e.context,u=e.fn,c=e.args,l=e.detached,f=function(t){var e=t.context,n=t.fn,o=t.args;if(r.is.iterator(n))return n;var i=void 0,a=void 0;try{i=n.apply(e,o)}catch(t){a=t}if(r.is.iterator(i))return i;return a?(0,r.makeIterator)((function(){throw a})):(0,r.makeIterator)((s=void 0,u={done:!1,value:i},function(t){return s?{done:!0,value:t}:(s=!0,u)}));var s,u}({context:s,fn:u,args:c});try{(0,o.suspend)();var p=t(f,n,d,v,g,i,u.name,l?null:r.noop);l?a(p):f._isRunning?(S.addTask(p),a(p)):f._error?S.abort(f._error):a(p)}finally{(0,o.flush)()}}};var r=n(41),o=n(167),i=n(92),a=n(93),s=n(94);function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=!1,l=e.NOT_ITERATOR_ERROR="proc first argument (Saga function result) must be an iterator",f=e.CHANNEL_END={toString:function(){return"@@redux-saga/CHANNEL_END"}},p=e.TASK_CANCEL={toString:function(){return"@@redux-saga/TASK_CANCEL"}},d={wildcard:function(){return r.kTrue},default:function(t){return function(e){return e.type===t}},array:function(t){return function(e){return t.some((function(t){return t===e.type}))}},predicate:function(t){return function(e){return t(e)}}};function h(t){return("*"===t?d.wildcard:r.is.array(t)?d.array:r.is.func(t)?d.predicate:d.default)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.asap=function(t){o?r.push(t):i(t)},e.suspend=a,e.flush=s;var r=[],o=0;function i(t){try{a(),t()}finally{s()}}function a(){o++}function s(){!--o&&r.length&&i(r.shift())}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return{top:t?r(t.marginTop):0,right:t?r(t.marginRight):0,bottom:t?r(t.marginBottom):0,left:t?r(t.marginLeft):0}};var r=function(t){return parseInt(t)||0};t.exports=e.default},function(t,e,n){"use strict";var r,o,i;o=[],void 0===(i="function"==typeof(r=function(){var t=0,e=1,n=2,r=3,o=/\s/,i=/<(\w*)>/g;return function(a,s,u){a=a||"";var c,l,f,p=t,d=0,h="",v="",g=!1;for("string"==typeof s?s=function(t){for(var e,n=[];null!==(e=i.exec(t));)n.push(e[1]);return 0!==n.length?n:null}(s):Array.isArray(s)||(s=null),c=0,l=a.length;c<l;c++)switch(f=a[c]){case"<":if(g)break;if(" "==a[c+1]){y(f);break}if(p==t){p=e,y(f);break}if(p==e){d++;break}y(f);break;case">":if(d){d--;break}if(g)break;if(p==e){g=p=0,s&&(v+=">",m());break}if(p==n){g=p=0,v="";break}if(p==r&&"-"==a[c-1]&&"-"==a[c-2]){g=p=0,v="";break}y(f);break;case'"':case"'":p==e&&(g==f?g=!1:g||(g=f)),y(f);break;case"!":if(p==e&&"<"==a[c-1]){p=n;break}y(f);break;case"-":if(p==n&&"-"==a[c-1]&&"!"==a[c-2]){p=r;break}y(f);break;case"E":case"e":if(p==n&&"doctype"==a.substr(c-6,7).toLowerCase()){p=e;break}y(f);break;default:y(f)}function y(n){p==t?h+=n:s&&p==e&&(v+=n)}function m(){var t,e,n,r="",i=!1;t:for(t=0,e=v.length;t<e;t++)switch(n=v[t].toLowerCase()){case"<":break;case">":break t;case"/":i=!0;break;default:if(n.match(o)){if(i)break t}else i=!0,r+=n}-1!==s.indexOf(r)?h+=v:u&&(h+=u),v=""}return h}})?r.apply(e,o):r)||(t.exports=i)},function(t,e,n){"use strict";function r(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.a=n}).call(this,n(74))},function(t,e,n){"use strict";var r=n(119),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(t){return r.isMemo(t)?a:s[t.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;t.exports=function t(e,n,r){if("string"!=typeof n){if(h){var o=d(n);o&&o!==h&&t(e,o,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var s=u(e),v=u(n),g=0;g<a.length;++g){var y=a[g];if(!(i[y]||r&&r[y]||v&&v[y]||s&&s[y])){var m=p(n,y);try{c(e,y,m)}catch(t){}}}}return e}},function(t,e,n){var r,o,i;t.exports=(r=n(32),o=n(0),i=n(405),function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n){var r=t[e];return void 0!==r&&("number"!=typeof r||r!==parseInt(r,10)||r<0)?new Error("Invalid "+e+" supplied to "+n+",\n expected a positive integer"):null}Object.defineProperty(e,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=n(4),u=r(s),c=r(n(1)),l=n(5),f=n(3),p=["audioprocess","error","finish","loading","mouseup","pause","play","ready","scroll","seek","zoom"],d=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));if(n.state={isReady:!1},void 0===(void 0===l?"undefined":i(l)))throw new Error("WaveSurfer is undefined!");return n._wavesurfer=Object.create(l),n._loadMediaElt=n._loadMediaElt.bind(n),n._loadAudio=n._loadAudio.bind(n),n._seekTo=n._seekTo.bind(n),n._handleResize=function(){n.state.isReady&&n._wavesurfer.refresh()},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"componentDidMount",value:function(){var t=this,e=(0,c.default)({},this.props.options,{container:this.wavesurferEl});this.props.mediaElt&&(e.backend="MediaElement"),this._wavesurfer.init(e),this._wavesurfer.on("ready",(function(){t.setState({isReady:!0,pos:t.props.pos}),t.props.pos&&t._seekTo(t.props.pos),null!=t.props.volume&&t._wavesurfer.setVolume(t.props.volume),t.props.playing&&t.wavesurfer.play(),t.props.zoom&&t._wavesurfer.zoom(t.props.zoom)})),this._wavesurfer.on("audioprocess",(function(e){t.setState({pos:e}),t.props.onPosChange({wavesurfer:t._wavesurfer,originalArgs:[e]})})),this._wavesurfer.on("seek",(function(e){var n=t._posToSec(e);t.setState({formattedPos:n}),t.props.onPosChange({wavesurfer:t._wavesurfer,originalArgs:[n]})})),p.forEach((function(e){var n=t.props["on"+function(t){return t.split("-").map((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})).join("")}(e)],r=t._wavesurfer;n&&t._wavesurfer.on(e,(function(){for(var t=arguments.length,e=Array(t),o=0;o<t;o++)e[o]=arguments[o];n({wavesurfer:r,originalArgs:e})}))})),this.props.audioFile&&this._loadAudio(this.props.audioFile,this.props.audioPeaks),this.props.mediaElt&&this._loadMediaElt(this.props.mediaElt,this.props.audioPeaks)}},{key:"componentWillReceiveProps",value:function(t){this.props.audioFile!==t.audioFile&&this._loadAudio(t.audioFile,t.audioPeaks),this.props.mediaElt!==t.mediaElt&&this._loadMediaElt(t.mediaElt,t.audioPeaks),this.props.audioPeaks!==t.audioPeaks&&(t.mediaElt?this._loadMediaElt(t.mediaElt,t.audioPeaks):this._loadAudio(t.audioFile,t.audioPeaks)),t.pos&&this.state.isReady&&t.pos!==this.props.pos&&t.pos!==this.state.pos&&this._seekTo(t.pos),this.props.playing!==t.playing&&(t.playing?this._wavesurfer.play():this._wavesurfer.pause()),this.props.volume!==t.volume&&this._wavesurfer.setVolume(t.volume),this.props.zoom!==t.zoom&&this._wavesurfer.zoom(t.zoom),this.props.options.audioRate!==t.options.audioRate&&this._wavesurfer.setPlaybackRate(t.options.audioRate),t.options.waveColor!==this.props.options.waveColor&&this._wavesurfer.setWaveColor(t.options.waveColor),t.options.progressColor!==this.props.options.progressColor&&this._wavesurfer.setProgressColor(t.options.progressColor),t.options.cursorColor!==this.props.options.cursorColor&&this._wavesurfer.setCursorColor(t.options.cursorColor),t.options.height!==this.props.options.height&&this._wavesurfer.setHeight(t.options.height)}},{key:"shouldComponentUpdate",value:function(){return!1}},{key:"componentWillUnmount",value:function(){var t=this;p.forEach((function(e){t._wavesurfer.un(e)})),this._wavesurfer.destroy()}},{key:"_secToPos",value:function(t){return 1/this._wavesurfer.getDuration()*t}},{key:"_posToSec",value:function(t){return t*this._wavesurfer.getDuration()}},{key:"_seekTo",value:function(t){var e=this._secToPos(t);this.props.options.autoCenter?this._wavesurfer.seekAndCenter(e):this._wavesurfer.seekTo(e)}},{key:"_loadMediaElt",value:function(t,e){if(t instanceof window.HTMLElement)this._loadAudio(t,e);else{if(!window.document.querySelector(t))throw new Error("Media Element not found!");this._loadAudio(window.document.querySelector(t),e)}}},{key:"_loadAudio",value:function(t,e){if(t instanceof window.HTMLElement)this._wavesurfer.loadMediaElement(t,e);else if("string"==typeof t)this._wavesurfer.load(t,e);else{if(!(t instanceof window.Blob||t instanceof window.File))throw new Error("Wavesurfer._loadAudio expects prop audioFile\n to be either HTMLElement, string or file/blob");this._wavesurfer.loadBlob(t,e)}}},{key:"_measureIfResponsive",value:function(t){return this.props.responsive?u.default.createElement(f,{whitelist:["width","height"],onMeasure:this._handleResize},t):t}},{key:"render",value:function(){var t=this,e=!!this.props.children&&u.default.Children.map(this.props.children,(function(e){return u.default.cloneElement(e,{wavesurfer:t._wavesurfer,isReady:t.state.isReady})}));return this._measureIfResponsive(u.default.createElement("div",null,u.default.createElement("div",{ref:function(e){t.wavesurferEl=e}}),e))}}]),e}(s.Component);d.propTypes={playing:s.PropTypes.bool,pos:s.PropTypes.number,audioFile:function(t,e,n){var r=t[e];return!r||"string"==typeof r||r instanceof window.Blob||r instanceof window.File?null:new Error("Invalid "+e+" supplied to "+n+"\n expected either string or file/blob")},mediaElt:s.PropTypes.oneOfType([s.PropTypes.string,s.PropTypes.instanceOf(window.HTMLElement)]),audioPeaks:s.PropTypes.array,volume:s.PropTypes.number,zoom:s.PropTypes.number,responsive:s.PropTypes.bool,onPosChange:s.PropTypes.func,children:s.PropTypes.oneOfType([s.PropTypes.element,s.PropTypes.array]),options:s.PropTypes.shape({audioRate:s.PropTypes.number,backend:s.PropTypes.oneOf(["WebAudio","MediaElement"]),barWidth:function(t,e,n){var r=t[e];return void 0!==r&&"number"!=typeof r?new Error("Invalid "+e+" supplied to "+n+"\n expected either undefined or number"):null},cursorColor:s.PropTypes.string,cursorWidth:o,dragSelection:s.PropTypes.bool,fillParent:s.PropTypes.bool,height:o,hideScrollbar:s.PropTypes.bool,interact:s.PropTypes.bool,loopSelection:s.PropTypes.bool,mediaControls:s.PropTypes.bool,minPxPerSec:o,normalize:s.PropTypes.bool,pixelRatio:s.PropTypes.number,progressColor:s.PropTypes.string,scrollParent:s.PropTypes.bool,skipLength:s.PropTypes.number,waveColor:s.PropTypes.string,autoCenter:s.PropTypes.bool})},d.defaultProps={playing:!1,pos:0,options:l.defaultParams,responsive:!0,onPosChange:function(){}},e.default=d},function(t,e,n){"use strict";function r(t){if(null==t)throw new TypeError("Sources cannot be null or undefined");return Object(t)}function o(t,e,n){var r=e[n];if(null!=r){if(s.call(t,n)&&(void 0===t[n]||null===t[n]))throw new TypeError("Cannot convert undefined or null to object ("+n+")");s.call(t,n)&&a(r)?t[n]=i(Object(t[n]),e[n]):t[n]=r}}function i(t,e){if(t===e)return t;for(var n in e=Object(e))s.call(e,n)&&o(t,e,n);if(Object.getOwnPropertySymbols)for(var r=Object.getOwnPropertySymbols(e),i=0;i<r.length;i++)u.call(e,r[i])&&o(t,e,r[i]);return t}var a=n(2),s=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;t.exports=function(t){t=r(t);for(var e=1;e<arguments.length;e++)i(t,arguments[e]);return t}},function(t,e){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};t.exports=function(t){var e=void 0===t?"undefined":n(t);return null!==t&&("object"===e||"function"===e)}},function(t,e){t.exports=r},function(t,e){t.exports=o},function(t,e){t.exports=i}]))},function(t,e,n){"use strict";(function(t){var r=n(4),o=n(2),i=n.n(o),a=n(60),s=n(17),u=n(7),c=n.n(u),l=n(3);function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}e.a=function(e,n){var r=c()(),o=[],u=[];if(!n.isServerSide){var f=function(t,e){var n=[],r=[];return t.forEach((function(t){var o;t.createMiddleware&&(o=t.createMiddleware(e),r.push(o)),t.createSaga&&n.push(Object(l.call)(t.createSaga(p({},e,{middleware:o}))))})),{sagas:n,middlewares:r}}(e,n);o=f.sagas,u=f.middlewares}var d,h=Object(s.d)(function(t,e){var n=t.reduce((function(t,n){return n.createReducers?p({},t,{},n.createReducers(e)):t}),{});return Object.keys(n).length?Object(s.c)(n):function(t,e){return t}}(e,n),{},(d=s.a.apply(void 0,[r].concat(Object(a.a)(u))),void 0===t&&"undefined"!=typeof __REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__(d):d));return r.run(i.a.mark((function t(){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,o;case 2:case"end":return t.stop()}}),t)}))),function(t,e){t.forEach((function(t){t.init&&t.init(e)}))}(e,p({},n,{dispatch:h.dispatch,getState:h.getState})),h}}).call(this,n(406))},function(t,e,n){"use strict";var r=n(1),o=n(8),i=n(35),a=n(44),s=n(12),u=n(128),c=n(6),l=n(18),f=n(52),p=n(9),d=n(10),h=n(16),v=n(24),g=n(34),y=n(43),m=n(38),b=n(66),w=n(51),E=n(130),O=n(102),x=n(22),P=n(15),k=n(75),_=n(21),S=n(20),T=n(55),j=n(76),A=n(63),C=n(62),I=n(13),M=n(131),R=n(25),D=n(36),N=n(29),L=n(19).forEach,B=j("hidden"),F=I("toPrimitive"),U=N.set,W=N.getterFor("Symbol"),H=Object.prototype,q=o.Symbol,V=i("JSON","stringify"),G=x.f,z=P.f,Y=E.f,X=k.f,$=T("symbols"),K=T("op-symbols"),Q=T("string-to-symbol-registry"),J=T("symbol-to-string-registry"),Z=T("wks"),tt=o.QObject,et=!tt||!tt.prototype||!tt.prototype.findChild,nt=s&&c((function(){return 7!=m(z({},"a",{get:function(){return z(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=G(H,e);r&&delete H[e],z(t,e,n),r&&t!==H&&z(H,e,r)}:z,rt=function(t,e){var n=$[t]=m(q.prototype);return U(n,{type:"Symbol",tag:t,description:e}),s||(n.description=e),n},ot=u&&"symbol"==typeof q.iterator?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof q},it=function(t,e,n){t===H&&it(K,e,n),d(t);var r=g(e,!0);return d(n),l($,r)?(n.enumerable?(l(t,B)&&t[B][r]&&(t[B][r]=!1),n=m(n,{enumerable:y(0,!1)})):(l(t,B)||z(t,B,y(1,{})),t[B][r]=!0),nt(t,r,n)):z(t,r,n)},at=function(t,e){d(t);var n=v(e),r=b(n).concat(lt(n));return L(r,(function(e){s&&!st.call(n,e)||it(t,e,n[e])})),t},st=function(t){var e=g(t,!0),n=X.call(this,e);return!(this===H&&l($,e)&&!l(K,e))&&(!(n||!l(this,e)||!l($,e)||l(this,B)&&this[B][e])||n)},ut=function(t,e){var n=v(t),r=g(e,!0);if(n!==H||!l($,r)||l(K,r)){var o=G(n,r);return!o||!l($,r)||l(n,B)&&n[B][r]||(o.enumerable=!0),o}},ct=function(t){var e=Y(v(t)),n=[];return L(e,(function(t){l($,t)||l(A,t)||n.push(t)})),n},lt=function(t){var e=t===H,n=Y(e?K:v(t)),r=[];return L(n,(function(t){!l($,t)||e&&!l(H,t)||r.push($[t])})),r};(u||(S((q=function(){if(this instanceof q)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=C(t),n=function(t){this===H&&n.call(K,t),l(this,B)&&l(this[B],e)&&(this[B][e]=!1),nt(this,e,y(1,t))};return s&&et&&nt(H,e,{configurable:!0,set:n}),rt(e,t)}).prototype,"toString",(function(){return W(this).tag})),k.f=st,P.f=it,x.f=ut,w.f=E.f=ct,O.f=lt,s&&(z(q.prototype,"description",{configurable:!0,get:function(){return W(this).description}}),a||S(H,"propertyIsEnumerable",st,{unsafe:!0})),M.f=function(t){return rt(I(t),t)}),r({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:q}),L(b(Z),(function(t){R(t)})),r({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=String(t);if(l(Q,e))return Q[e];var n=q(e);return Q[e]=n,J[n]=e,n},keyFor:function(t){if(!ot(t))throw TypeError(t+" is not a symbol");if(l(J,t))return J[t]},useSetter:function(){et=!0},useSimple:function(){et=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!s},{create:function(t,e){return void 0===e?m(t):at(m(t),e)},defineProperty:it,defineProperties:at,getOwnPropertyDescriptor:ut}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:ct,getOwnPropertySymbols:lt}),r({target:"Object",stat:!0,forced:c((function(){O.f(1)}))},{getOwnPropertySymbols:function(t){return O.f(h(t))}}),V)&&r({target:"JSON",stat:!0,forced:!u||c((function(){var t=q();return"[null]"!=V([t])||"{}"!=V({a:t})||"{}"!=V(Object(t))}))},{stringify:function(t,e,n){for(var r,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=e,(p(e)||void 0!==t)&&!ot(t))return f(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!ot(e))return e}),o[1]=e,V.apply(null,o)}});q.prototype[F]||_(q.prototype,F,q.prototype.valueOf),D(q,"Symbol"),A[B]=!0},function(t,e,n){var r=n(8),o=n(99),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,e,n){"use strict";var r=n(1),o=n(12),i=n(8),a=n(18),s=n(9),u=n(15).f,c=n(125),l=i.Symbol;if(o&&"function"==typeof l&&(!("description"in l.prototype)||void 0!==l().description)){var f={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof p?new l(t):void 0===t?l():l(t);return""===t&&(f[e]=!0),e};c(p,l);var d=p.prototype=l.prototype;d.constructor=p;var h=d.toString,v="Symbol(test)"==String(l("test")),g=/^Symbol\((.*)\)[^)]+$/;u(d,"description",{configurable:!0,get:function(){var t=s(this)?this.valueOf():this,e=h.call(t);if(a(f,t))return"";var n=v?e.slice(7,-1):e.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:p})}},function(t,e,n){n(25)("asyncIterator")},function(t,e,n){n(25)("hasInstance")},function(t,e,n){n(25)("isConcatSpreadable")},function(t,e,n){n(25)("iterator")},function(t,e,n){n(25)("match")},function(t,e,n){n(25)("replace")},function(t,e,n){n(25)("search")},function(t,e,n){n(25)("species")},function(t,e,n){n(25)("split")},function(t,e,n){n(25)("toPrimitive")},function(t,e,n){n(25)("toStringTag")},function(t,e,n){n(25)("unscopables")},function(t,e,n){"use strict";var r=n(1),o=n(6),i=n(52),a=n(9),s=n(16),u=n(14),c=n(53),l=n(67),f=n(68),p=n(13),d=n(104),h=p("isConcatSpreadable"),v=d>=51||!o((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),g=f("concat"),y=function(t){if(!a(t))return!1;var e=t[h];return void 0!==e?!!e:i(t)};r({target:"Array",proto:!0,forced:!v||!g},{concat:function(t){var e,n,r,o,i,a=s(this),f=l(a,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(i=-1===e?a:arguments[e],y(i)){if(p+(o=u(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&c(f,p,i[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");c(f,p++,i)}return f.length=p,f}})},function(t,e,n){var r=n(1),o=n(132),i=n(47);r({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},function(t,e,n){"use strict";var r=n(1),o=n(19).every;r({target:"Array",proto:!0,forced:n(39)("every")},{every:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(1),o=n(105),i=n(47);r({target:"Array",proto:!0},{fill:o}),i("fill")},function(t,e,n){"use strict";var r=n(1),o=n(19).filter;r({target:"Array",proto:!0,forced:!n(68)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(1),o=n(19).find,i=n(47),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("find")},function(t,e,n){"use strict";var r=n(1),o=n(19).findIndex,i=n(47),a=!0;"findIndex"in[]&&Array(1).findIndex((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("findIndex")},function(t,e,n){"use strict";var r=n(1),o=n(133),i=n(16),a=n(14),s=n(30),u=n(67);r({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=i(this),n=a(e.length),r=u(e,0);return r.length=o(r,e,e,n,0,void 0===t?1:s(t)),r}})},function(t,e,n){"use strict";var r=n(1),o=n(133),i=n(16),a=n(14),s=n(31),u=n(67);r({target:"Array",proto:!0},{flatMap:function(t){var e,n=i(this),r=a(n.length);return s(t),(e=u(n,0)).length=o(e,n,n,r,0,1,t,arguments.length>1?arguments[1]:void 0),e}})},function(t,e,n){"use strict";var r=n(1),o=n(134);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,e,n){var r=n(1),o=n(135);r({target:"Array",stat:!0,forced:!n(78)((function(t){Array.from(t)}))},{from:o})},function(t,e,n){"use strict";var r=n(1),o=n(64).includes,i=n(47);r({target:"Array",proto:!0},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(t,e,n){"use strict";var r=n(1),o=n(64).indexOf,i=n(39),a=[].indexOf,s=!!a&&1/[1].indexOf(1,-0)<0,u=i("indexOf");r({target:"Array",proto:!0,forced:s||u},{indexOf:function(t){return s?a.apply(this,arguments)||0:o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){n(1)({target:"Array",stat:!0},{isArray:n(52)})},function(t,e,n){"use strict";var r=n(1),o=n(61),i=n(24),a=n(39),s=[].join,u=o!=Object,c=a("join",",");r({target:"Array",proto:!0,forced:u||c},{join:function(t){return s.call(i(this),void 0===t?",":t)}})},function(t,e,n){var r=n(1),o=n(140);r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},function(t,e,n){"use strict";var r=n(1),o=n(19).map;r({target:"Array",proto:!0,forced:!n(68)("map")},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(1),o=n(6),i=n(53);r({target:"Array",stat:!0,forced:o((function(){function t(){}return!(Array.of.call(t)instanceof t)}))},{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)i(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){"use strict";var r=n(1),o=n(80).left;r({target:"Array",proto:!0,forced:n(39)("reduce")},{reduce:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(1),o=n(80).right;r({target:"Array",proto:!0,forced:n(39)("reduceRight")},{reduceRight:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(1),o=n(52),i=[].reverse,a=[1,2];r({target:"Array",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),i.call(this)}})},function(t,e,n){"use strict";var r=n(1),o=n(9),i=n(52),a=n(45),s=n(14),u=n(24),c=n(53),l=n(68),f=n(13)("species"),p=[].slice,d=Math.max;r({target:"Array",proto:!0,forced:!l("slice")},{slice:function(t,e){var n,r,l,h=u(this),v=s(h.length),g=a(t,v),y=a(void 0===e?v:e,v);if(i(h)&&("function"!=typeof(n=h.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[f])&&(n=void 0):n=void 0,n===Array||void 0===n))return p.call(h,g,y);for(r=new(void 0===n?Array:n)(d(y-g,0)),l=0;g<y;g++,l++)g in h&&c(r,l,h[g]);return r.length=l,r}})},function(t,e,n){"use strict";var r=n(1),o=n(19).some;r({target:"Array",proto:!0,forced:n(39)("some")},{some:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(1),o=n(31),i=n(16),a=n(6),s=n(39),u=[],c=u.sort,l=a((function(){u.sort(void 0)})),f=a((function(){u.sort(null)})),p=s("sort");r({target:"Array",proto:!0,forced:l||!f||p},{sort:function(t){return void 0===t?c.call(i(this)):c.call(i(this),o(t))}})},function(t,e,n){n(57)("Array")},function(t,e,n){"use strict";var r=n(1),o=n(45),i=n(30),a=n(14),s=n(16),u=n(67),c=n(53),l=n(68),f=Math.max,p=Math.min;r({target:"Array",proto:!0,forced:!l("splice")},{splice:function(t,e){var n,r,l,d,h,v,g=s(this),y=a(g.length),m=o(t,y),b=arguments.length;if(0===b?n=r=0:1===b?(n=0,r=y-m):(n=b-2,r=p(f(i(e),0),y-m)),y+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(l=u(g,r),d=0;d<r;d++)(h=m+d)in g&&c(l,d,g[h]);if(l.length=r,n<r){for(d=m;d<y-r;d++)v=d+n,(h=d+r)in g?g[v]=g[h]:delete g[v];for(d=y;d>y-r+n;d--)delete g[d-1]}else if(n>r)for(d=y-r;d>m;d--)v=d+n-1,(h=d+r-1)in g?g[v]=g[h]:delete g[v];for(d=0;d<n;d++)g[d+m]=arguments[d+2];return g.length=y-r+n,l}})},function(t,e,n){n(47)("flat")},function(t,e,n){n(47)("flatMap")},function(t,e,n){"use strict";var r=n(1),o=n(8),i=n(81),a=n(57),s=i.ArrayBuffer;r({global:!0,forced:o.ArrayBuffer!==s},{ArrayBuffer:s}),a("ArrayBuffer")},function(t,e,n){var r=n(1),o=n(11);r({target:"ArrayBuffer",stat:!0,forced:!o.NATIVE_ARRAY_BUFFER_VIEWS},{isView:o.isView})},function(t,e,n){"use strict";var r=n(1),o=n(6),i=n(81),a=n(10),s=n(45),u=n(14),c=n(49),l=i.ArrayBuffer,f=i.DataView,p=l.prototype.slice;r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:o((function(){return!new l(2).slice(1,void 0).byteLength}))},{slice:function(t,e){if(void 0!==p&&void 0===e)return p.call(a(this),t);for(var n=a(this).byteLength,r=s(t,n),o=s(void 0===e?n:e,n),i=new(c(this,l))(u(o-r)),d=new f(this),h=new f(i),v=0;r<o;)h.setUint8(v++,d.getUint8(r++));return i}})},function(t,e,n){var r=n(1),o=n(81);r({global:!0,forced:!n(11).NATIVE_ARRAY_BUFFER},{DataView:o.DataView})},function(t,e,n){n(1)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},function(t,e,n){var r=n(1),o=n(224);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==o},{toISOString:o})},function(t,e,n){"use strict";var r=n(6),o=n(109).start,i=Math.abs,a=Date.prototype,s=a.getTime,u=a.toISOString;t.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=u.call(new Date(-5e13-1))}))||!r((function(){u.call(new Date(NaN))}))?function(){if(!isFinite(s.call(this)))throw RangeError("Invalid time value");var t=this.getUTCFullYear(),e=this.getUTCMilliseconds(),n=t<0?"-":t>9999?"+":"";return n+o(i(t),n?6:4,0)+"-"+o(this.getUTCMonth()+1,2,0)+"-"+o(this.getUTCDate(),2,0)+"T"+o(this.getUTCHours(),2,0)+":"+o(this.getUTCMinutes(),2,0)+":"+o(this.getUTCSeconds(),2,0)+"."+o(e,3,0)+"Z"}:u},function(t,e,n){"use strict";var r=n(1),o=n(6),i=n(16),a=n(34);r({target:"Date",proto:!0,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(t){var e=i(this),n=a(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){var r=n(21),o=n(227),i=n(13)("toPrimitive"),a=Date.prototype;i in a||r(a,i,o)},function(t,e,n){"use strict";var r=n(10),o=n(34);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!==t)}},function(t,e,n){var r=n(20),o=Date.prototype,i=o.toString,a=o.getTime;new Date(NaN)+""!="Invalid Date"&&r(o,"toString",(function(){var t=a.call(this);return t==t?i.call(this):"Invalid Date"}))},function(t,e,n){n(1)({target:"Function",proto:!0},{bind:n(142)})},function(t,e,n){"use strict";var r=n(9),o=n(15),i=n(37),a=n(13)("hasInstance"),s=Function.prototype;a in s||o.f(s,a,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){var r=n(12),o=n(15).f,i=Function.prototype,a=i.toString,s=/^\s*function ([^ (]*)/;!r||"name"in i||o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(t){return""}}})},function(t,e,n){var r=n(8);n(36)(r.JSON,"JSON",!0)},function(t,e,n){"use strict";var r=n(82),o=n(143);t.exports=r("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o,!0)},function(t,e,n){var r=n(1),o=n(144),i=Math.acosh,a=Math.log,s=Math.sqrt,u=Math.LN2;r({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?a(t)+u:o(t-1+s(t-1)*s(t+1))}})},function(t,e,n){var r=n(1),o=Math.asinh,i=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):i(e+a(e*e+1)):e}})},function(t,e,n){var r=n(1),o=Math.atanh,i=Math.log;r({target:"Math",stat:!0,forced:!(o&&1/o(-0)<0)},{atanh:function(t){return 0==(t=+t)?t:i((1+t)/(1-t))/2}})},function(t,e,n){var r=n(1),o=n(111),i=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(t){return o(t=+t)*a(i(t),1/3)}})},function(t,e,n){var r=n(1),o=Math.floor,i=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(t){return(t>>>=0)?31-o(i(t+.5)*a):32}})},function(t,e,n){var r=n(1),o=n(84),i=Math.cosh,a=Math.abs,s=Math.E;r({target:"Math",stat:!0,forced:!i||i(710)===1/0},{cosh:function(t){var e=o(a(t)-1)+1;return(e+1/(e*s*s))*(s/2)}})},function(t,e,n){var r=n(1),o=n(84);r({target:"Math",stat:!0,forced:o!=Math.expm1},{expm1:o})},function(t,e,n){n(1)({target:"Math",stat:!0},{fround:n(242)})},function(t,e,n){var r=n(111),o=Math.abs,i=Math.pow,a=i(2,-52),s=i(2,-23),u=i(2,127)*(2-s),c=i(2,-126);t.exports=Math.fround||function(t){var e,n,i=o(t),l=r(t);return i<c?l*(i/c/s+1/a-1/a)*c*s:(n=(e=(1+s/a)*i)-(e-i))>u||n!=n?l*(1/0):l*n}},function(t,e,n){var r=n(1),o=Math.hypot,i=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(t,e){for(var n,r,o=0,s=0,u=arguments.length,c=0;s<u;)c<(n=i(arguments[s++]))?(o=o*(r=c/n)*r+1,c=n):o+=n>0?(r=n/c)*r:n;return c===1/0?1/0:c*a(o)}})},function(t,e,n){var r=n(1),o=n(6),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!=i(4294967295,5)||2!=i.length}))},{imul:function(t,e){var n=+t,r=+e,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},function(t,e,n){var r=n(1),o=Math.log,i=Math.LOG10E;r({target:"Math",stat:!0},{log10:function(t){return o(t)*i}})},function(t,e,n){n(1)({target:"Math",stat:!0},{log1p:n(144)})},function(t,e,n){var r=n(1),o=Math.log,i=Math.LN2;r({target:"Math",stat:!0},{log2:function(t){return o(t)/i}})},function(t,e,n){n(1)({target:"Math",stat:!0},{sign:n(111)})},function(t,e,n){var r=n(1),o=n(6),i=n(84),a=Math.abs,s=Math.exp,u=Math.E;r({target:"Math",stat:!0,forced:o((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(t){return a(t=+t)<1?(i(t)-i(-t))/2:(s(t-1)-s(-t-1))*(u/2)}})},function(t,e,n){var r=n(1),o=n(84),i=Math.exp;r({target:"Math",stat:!0},{tanh:function(t){var e=o(t=+t),n=o(-t);return e==1/0?1:n==1/0?-1:(e-n)/(i(t)+i(-t))}})},function(t,e,n){n(36)(Math,"Math",!0)},function(t,e,n){var r=n(1),o=Math.ceil,i=Math.floor;r({target:"Math",stat:!0},{trunc:function(t){return(t>0?i:o)(t)}})},function(t,e,n){"use strict";var r=n(12),o=n(8),i=n(65),a=n(20),s=n(18),u=n(33),c=n(83),l=n(34),f=n(6),p=n(38),d=n(51).f,h=n(22).f,v=n(15).f,g=n(59).trim,y=o.Number,m=y.prototype,b="Number"==u(p(m)),w=function(t){var e,n,r,o,i,a,s,u,c=l(t,!1);if("string"==typeof c&&c.length>2)if(43===(e=(c=g(c)).charCodeAt(0))||45===e){if(88===(n=c.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(c.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+c}for(a=(i=c.slice(2)).length,s=0;s<a;s++)if((u=i.charCodeAt(s))<48||u>o)return NaN;return parseInt(i,r)}return+c};if(i("Number",!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var E,O=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof O&&(b?f((function(){m.valueOf.call(n)})):"Number"!=u(n))?c(new y(w(e)),n,O):w(e)},x=r?d(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),P=0;x.length>P;P++)s(y,E=x[P])&&!s(O,E)&&v(O,E,h(y,E));O.prototype=m,m.constructor=O,a(o,"Number",O)}},function(t,e,n){n(1)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},function(t,e,n){n(1)({target:"Number",stat:!0},{isFinite:n(256)})},function(t,e,n){var r=n(8).isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&r(t)}},function(t,e,n){n(1)({target:"Number",stat:!0},{isInteger:n(145)})},function(t,e,n){n(1)({target:"Number",stat:!0},{isNaN:function(t){return t!=t}})},function(t,e,n){var r=n(1),o=n(145),i=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},function(t,e,n){n(1)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){n(1)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var r=n(1),o=n(146);r({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},function(t,e,n){var r=n(1),o=n(147);r({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},function(t,e,n){"use strict";var r=n(1),o=n(30),i=n(148),a=n(110),s=n(6),u=1..toFixed,c=Math.floor,l=function(t,e,n){return 0===e?n:e%2==1?l(t,e-1,n*t):l(t*t,e/2,n)};r({target:"Number",proto:!0,forced:u&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){u.call({})}))},{toFixed:function(t){var e,n,r,s,u=i(this),f=o(t),p=[0,0,0,0,0,0],d="",h="0",v=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*p[n],p[n]=r%1e7,r=c(r/1e7)},g=function(t){for(var e=6,n=0;--e>=0;)n+=p[e],p[e]=c(n/t),n=n%t*1e7},y=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==p[t]){var n=String(p[t]);e=""===e?n:e+a.call("0",7-n.length)+n}return e};if(f<0||f>20)throw RangeError("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(d="-",u=-u),u>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(u*l(2,69,1))-69)<0?u*l(2,-e,1):u/l(2,e,1),n*=4503599627370496,(e=52-e)>0){for(v(0,n),r=f;r>=7;)v(1e7,0),r-=7;for(v(l(10,r,1),0),r=e-1;r>=23;)g(1<<23),r-=23;g(1<<r),v(1,1),g(2),h=y()}else v(0,n),v(1<<-e,0),h=y()+a.call("0",f);return h=f>0?d+((s=h.length)<=f?"0."+a.call("0",f-s)+h:h.slice(0,s-f)+"."+h.slice(s-f)):d+h}})},function(t,e,n){"use strict";var r=n(1),o=n(6),i=n(148),a=1..toPrecision;r({target:"Number",proto:!0,forced:o((function(){return"1"!==a.call(1,void 0)}))||!o((function(){a.call({})}))},{toPrecision:function(t){return void 0===t?a.call(i(this)):a.call(i(this),t)}})},function(t,e,n){var r=n(1),o=n(149);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(t,e,n){n(1)({target:"Object",stat:!0,sham:!n(12)},{create:n(38)})},function(t,e,n){"use strict";var r=n(1),o=n(12),i=n(86),a=n(16),s=n(31),u=n(15);o&&r({target:"Object",proto:!0,forced:i},{__defineGetter__:function(t,e){u.f(a(this),t,{get:s(e),enumerable:!0,configurable:!0})}})},function(t,e,n){var r=n(1),o=n(12);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n(103)})},function(t,e,n){var r=n(1),o=n(12);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(15).f})},function(t,e,n){"use strict";var r=n(1),o=n(12),i=n(86),a=n(16),s=n(31),u=n(15);o&&r({target:"Object",proto:!0,forced:i},{__defineSetter__:function(t,e){u.f(a(this),t,{set:s(e),enumerable:!0,configurable:!0})}})},function(t,e,n){var r=n(1),o=n(150).entries;r({target:"Object",stat:!0},{entries:function(t){return o(t)}})},function(t,e,n){var r=n(1),o=n(72),i=n(6),a=n(9),s=n(54).onFreeze,u=Object.freeze;r({target:"Object",stat:!0,forced:i((function(){u(1)})),sham:!o},{freeze:function(t){return u&&a(t)?u(s(t)):t}})},function(t,e,n){var r=n(1),o=n(73),i=n(53);r({target:"Object",stat:!0},{fromEntries:function(t){var e={};return o(t,(function(t,n){i(e,t,n)}),void 0,!0),e}})},function(t,e,n){var r=n(1),o=n(6),i=n(24),a=n(22).f,s=n(12),u=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!s||u,sham:!s},{getOwnPropertyDescriptor:function(t,e){return a(i(t),e)}})},function(t,e,n){var r=n(1),o=n(12),i=n(100),a=n(24),s=n(22),u=n(53);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var e,n,r=a(t),o=s.f,c=i(r),l={},f=0;c.length>f;)void 0!==(n=o(r,e=c[f++]))&&u(l,e,n);return l}})},function(t,e,n){var r=n(1),o=n(6),i=n(130).f;r({target:"Object",stat:!0,forced:o((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},function(t,e,n){var r=n(1),o=n(6),i=n(16),a=n(37),s=n(108);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!s},{getPrototypeOf:function(t){return a(i(t))}})},function(t,e,n){n(1)({target:"Object",stat:!0},{is:n(151)})},function(t,e,n){var r=n(1),o=n(6),i=n(9),a=Object.isExtensible;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isExtensible:function(t){return!!i(t)&&(!a||a(t))}})},function(t,e,n){var r=n(1),o=n(6),i=n(9),a=Object.isFrozen;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isFrozen:function(t){return!i(t)||!!a&&a(t)}})},function(t,e,n){var r=n(1),o=n(6),i=n(9),a=Object.isSealed;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isSealed:function(t){return!i(t)||!!a&&a(t)}})},function(t,e,n){var r=n(1),o=n(16),i=n(66);r({target:"Object",stat:!0,forced:n(6)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},function(t,e,n){"use strict";var r=n(1),o=n(12),i=n(86),a=n(16),s=n(34),u=n(37),c=n(22).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupGetter__:function(t){var e,n=a(this),r=s(t,!0);do{if(e=c(n,r))return e.get}while(n=u(n))}})},function(t,e,n){"use strict";var r=n(1),o=n(12),i=n(86),a=n(16),s=n(34),u=n(37),c=n(22).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupSetter__:function(t){var e,n=a(this),r=s(t,!0);do{if(e=c(n,r))return e.set}while(n=u(n))}})},function(t,e,n){var r=n(1),o=n(9),i=n(54).onFreeze,a=n(72),s=n(6),u=Object.preventExtensions;r({target:"Object",stat:!0,forced:s((function(){u(1)})),sham:!a},{preventExtensions:function(t){return u&&o(t)?u(i(t)):t}})},function(t,e,n){var r=n(1),o=n(9),i=n(54).onFreeze,a=n(72),s=n(6),u=Object.seal;r({target:"Object",stat:!0,forced:s((function(){u(1)})),sham:!a},{seal:function(t){return u&&o(t)?u(i(t)):t}})},function(t,e,n){n(1)({target:"Object",stat:!0},{setPrototypeOf:n(56)})},function(t,e,n){var r=n(20),o=n(290),i=Object.prototype;o!==i.toString&&r(i,"toString",o,{unsafe:!0})},function(t,e,n){"use strict";var r=n(71),o={};o[n(13)("toStringTag")]="z",t.exports="[object z]"!==String(o)?function(){return"[object "+r(this)+"]"}:o.toString},function(t,e,n){var r=n(1),o=n(150).values;r({target:"Object",stat:!0},{values:function(t){return o(t)}})},function(t,e,n){var r=n(1),o=n(146);r({global:!0,forced:parseFloat!=o},{parseFloat:o})},function(t,e,n){var r=n(1),o=n(147);r({global:!0,forced:parseInt!=o},{parseInt:o})},function(t,e,n){"use strict";var r,o,i,a,s=n(1),u=n(44),c=n(8),l=n(35),f=n(152),p=n(20),d=n(58),h=n(55),v=n(36),g=n(57),y=n(9),m=n(31),b=n(48),w=n(33),E=n(73),O=n(78),x=n(49),P=n(112).set,k=n(154),_=n(155),S=n(295),T=n(156),j=n(296),A=n(29),C=n(65),I=n(13),M=n(104),R=I("species"),D="Promise",N=A.get,L=A.set,B=A.getterFor(D),F=f,U=c.TypeError,W=c.document,H=c.process,q=h("inspectSource"),V=l("fetch"),G=T.f,z=G,Y="process"==w(H),X=!!(W&&W.createEvent&&c.dispatchEvent),$=C(D,(function(){var t=q(F)!==String(F);if(66===M)return!0;if(!t&&!Y&&"function"!=typeof PromiseRejectionEvent)return!0;if(u&&!F.prototype.finally)return!0;if(M>=51&&/native code/.test(F))return!1;var e=F.resolve(1),n=function(t){t((function(){}),(function(){}))};return(e.constructor={})[R]=n,!(e.then((function(){}))instanceof n)})),K=$||!O((function(t){F.all(t).catch((function(){}))})),Q=function(t){var e;return!(!y(t)||"function"!=typeof(e=t.then))&&e},J=function(t,e,n){if(!e.notified){e.notified=!0;var r=e.reactions;k((function(){for(var o=e.value,i=1==e.state,a=0;r.length>a;){var s,u,c,l=r[a++],f=i?l.ok:l.fail,p=l.resolve,d=l.reject,h=l.domain;try{f?(i||(2===e.rejection&&nt(t,e),e.rejection=1),!0===f?s=o:(h&&h.enter(),s=f(o),h&&(h.exit(),c=!0)),s===l.promise?d(U("Promise-chain cycle")):(u=Q(s))?u.call(s,p,d):p(s)):d(o)}catch(t){h&&!c&&h.exit(),d(t)}}e.reactions=[],e.notified=!1,n&&!e.rejection&&tt(t,e)}))}},Z=function(t,e,n){var r,o;X?((r=W.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),c.dispatchEvent(r)):r={promise:e,reason:n},(o=c["on"+t])?o(r):"unhandledrejection"===t&&S("Unhandled promise rejection",n)},tt=function(t,e){P.call(c,(function(){var n,r=e.value;if(et(e)&&(n=j((function(){Y?H.emit("unhandledRejection",r,t):Z("unhandledrejection",t,r)})),e.rejection=Y||et(e)?2:1,n.error))throw n.value}))},et=function(t){return 1!==t.rejection&&!t.parent},nt=function(t,e){P.call(c,(function(){Y?H.emit("rejectionHandled",t):Z("rejectionhandled",t,e.value)}))},rt=function(t,e,n,r){return function(o){t(e,n,o,r)}},ot=function(t,e,n,r){e.done||(e.done=!0,r&&(e=r),e.value=n,e.state=2,J(t,e,!0))},it=function(t,e,n,r){if(!e.done){e.done=!0,r&&(e=r);try{if(t===n)throw U("Promise can't be resolved itself");var o=Q(n);o?k((function(){var r={done:!1};try{o.call(n,rt(it,t,r,e),rt(ot,t,r,e))}catch(n){ot(t,r,n,e)}})):(e.value=n,e.state=1,J(t,e,!1))}catch(n){ot(t,{done:!1},n,e)}}};$&&(F=function(t){b(this,F,D),m(t),r.call(this);var e=N(this);try{t(rt(it,this,e),rt(ot,this,e))}catch(t){ot(this,e,t)}},(r=function(t){L(this,{type:D,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(F.prototype,{then:function(t,e){var n=B(this),r=G(x(this,F));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=Y?H.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&J(this,n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,e=N(t);this.promise=t,this.resolve=rt(it,t,e),this.reject=rt(ot,t,e)},T.f=G=function(t){return t===F||t===i?new o(t):z(t)},u||"function"!=typeof f||(a=f.prototype.then,p(f.prototype,"then",(function(t,e){var n=this;return new F((function(t,e){a.call(n,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof V&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return _(F,V.apply(c,arguments))}}))),s({global:!0,wrap:!0,forced:$},{Promise:F}),v(F,D,!1,!0),g(D),i=l(D),s({target:D,stat:!0,forced:$},{reject:function(t){var e=G(this);return e.reject.call(void 0,t),e.promise}}),s({target:D,stat:!0,forced:u||$},{resolve:function(t){return _(u&&this===i?F:this,t)}}),s({target:D,stat:!0,forced:K},{all:function(t){var e=this,n=G(e),r=n.resolve,o=n.reject,i=j((function(){var n=m(e.resolve),i=[],a=0,s=1;E(t,(function(t){var u=a++,c=!1;i.push(void 0),s++,n.call(e,t).then((function(t){c||(c=!0,i[u]=t,--s||r(i))}),o)})),--s||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=G(e),r=n.reject,o=j((function(){var o=m(e.resolve);E(t,(function(t){o.call(e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},function(t,e,n){var r=n(8);t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,e,n){"use strict";var r=n(1),o=n(44),i=n(152),a=n(35),s=n(49),u=n(155),c=n(20);r({target:"Promise",proto:!0,real:!0},{finally:function(t){var e=s(this,a("Promise")),n="function"==typeof t;return this.then(n?function(n){return u(e,t()).then((function(){return n}))}:t,n?function(n){return u(e,t()).then((function(){throw n}))}:t)}}),o||"function"!=typeof i||i.prototype.finally||c(i.prototype,"finally",a("Promise").prototype.finally)},function(t,e,n){var r=n(1),o=n(35),i=n(31),a=n(10),s=n(6),u=o("Reflect","apply"),c=Function.apply;r({target:"Reflect",stat:!0,forced:!s((function(){u((function(){}))}))},{apply:function(t,e,n){return i(t),a(n),u?u(t,e,n):c.call(t,e,n)}})},function(t,e,n){var r=n(1),o=n(35),i=n(31),a=n(10),s=n(9),u=n(38),c=n(142),l=n(6),f=o("Reflect","construct"),p=l((function(){function t(){}return!(f((function(){}),[],t)instanceof t)})),d=!l((function(){f((function(){}))})),h=p||d;r({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(t,e){i(t),a(e);var n=arguments.length<3?t:i(arguments[2]);if(d&&!p)return f(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(c.apply(t,r))}var o=n.prototype,l=u(s(o)?o:Object.prototype),h=Function.apply.call(t,l,e);return s(h)?h:l}})},function(t,e,n){var r=n(1),o=n(12),i=n(10),a=n(34),s=n(15);r({target:"Reflect",stat:!0,forced:n(6)((function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})})),sham:!o},{defineProperty:function(t,e,n){i(t);var r=a(e,!0);i(n);try{return s.f(t,r,n),!0}catch(t){return!1}}})},function(t,e,n){var r=n(1),o=n(10),i=n(22).f;r({target:"Reflect",stat:!0},{deleteProperty:function(t,e){var n=i(o(t),e);return!(n&&!n.configurable)&&delete t[e]}})},function(t,e,n){var r=n(1),o=n(9),i=n(10),a=n(18),s=n(22),u=n(37);r({target:"Reflect",stat:!0},{get:function t(e,n){var r,c,l=arguments.length<3?e:arguments[2];return i(e)===l?e[n]:(r=s.f(e,n))?a(r,"value")?r.value:void 0===r.get?void 0:r.get.call(l):o(c=u(e))?t(c,n,l):void 0}})},function(t,e,n){var r=n(1),o=n(12),i=n(10),a=n(22);r({target:"Reflect",stat:!0,sham:!o},{getOwnPropertyDescriptor:function(t,e){return a.f(i(t),e)}})},function(t,e,n){var r=n(1),o=n(10),i=n(37);r({target:"Reflect",stat:!0,sham:!n(108)},{getPrototypeOf:function(t){return i(o(t))}})},function(t,e,n){n(1)({target:"Reflect",stat:!0},{has:function(t,e){return e in t}})},function(t,e,n){var r=n(1),o=n(10),i=Object.isExtensible;r({target:"Reflect",stat:!0},{isExtensible:function(t){return o(t),!i||i(t)}})},function(t,e,n){n(1)({target:"Reflect",stat:!0},{ownKeys:n(100)})},function(t,e,n){var r=n(1),o=n(35),i=n(10);r({target:"Reflect",stat:!0,sham:!n(72)},{preventExtensions:function(t){i(t);try{var e=o("Object","preventExtensions");return e&&e(t),!0}catch(t){return!1}}})},function(t,e,n){var r=n(1),o=n(10),i=n(9),a=n(18),s=n(15),u=n(22),c=n(37),l=n(43);r({target:"Reflect",stat:!0},{set:function t(e,n,r){var f,p,d=arguments.length<4?e:arguments[3],h=u.f(o(e),n);if(!h){if(i(p=c(e)))return t(p,n,r,d);h=l(0)}if(a(h,"value")){if(!1===h.writable||!i(d))return!1;if(f=u.f(d,n)){if(f.get||f.set||!1===f.writable)return!1;f.value=r,s.f(d,n,f)}else s.f(d,n,l(0,r));return!0}return void 0!==h.set&&(h.set.call(d,r),!0)}})},function(t,e,n){var r=n(1),o=n(10),i=n(139),a=n(56);a&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(t,e){o(t),i(e);try{return a(t,e),!0}catch(t){return!1}}})},function(t,e,n){var r=n(12),o=n(8),i=n(65),a=n(83),s=n(15).f,u=n(51).f,c=n(113),l=n(87),f=n(20),p=n(6),d=n(57),h=n(13)("match"),v=o.RegExp,g=v.prototype,y=/a/g,m=/a/g,b=new v(y)!==y;if(r&&i("RegExp",!b||p((function(){return m[h]=!1,v(y)!=y||v(m)==m||"/a/i"!=v(y,"i")})))){for(var w=function(t,e){var n=this instanceof w,r=c(t),o=void 0===e;return!n&&r&&t.constructor===w&&o?t:a(b?new v(r&&!o?t.source:t,e):v((r=t instanceof w)?t.source:t,r&&o?l.call(t):e),n?this:g,w)},E=function(t){t in w||s(w,t,{configurable:!0,get:function(){return v[t]},set:function(e){v[t]=e}})},O=u(v),x=0;O.length>x;)E(O[x++]);g.constructor=w,w.prototype=g,f(o,"RegExp",w)}d("RegExp")},function(t,e,n){"use strict";var r=n(1),o=n(88);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(t,e,n){var r=n(12),o=n(15),i=n(87);r&&"g"!=/./g.flags&&o.f(RegExp.prototype,"flags",{configurable:!0,get:i})},function(t,e,n){"use strict";var r=n(20),o=n(10),i=n(6),a=n(87),s=RegExp.prototype,u=s.toString,c=i((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),l="toString"!=u.name;(c||l)&&r(RegExp.prototype,"toString",(function(){var t=o(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in s)?a.call(t):n)}),{unsafe:!0})},function(t,e,n){"use strict";var r=n(82),o=n(143);t.exports=r("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},function(t,e,n){"use strict";var r=n(1),o=n(89).codeAt;r({target:"String",proto:!0},{codePointAt:function(t){return o(this,t)}})},function(t,e,n){"use strict";var r=n(1),o=n(14),i=n(114),a=n(23),s=n(115),u="".endsWith,c=Math.min;r({target:"String",proto:!0,forced:!s("endsWith")},{endsWith:function(t){var e=String(a(this));i(t);var n=arguments.length>1?arguments[1]:void 0,r=o(e.length),s=void 0===n?r:c(o(n),r),l=String(t);return u?u.call(e,l,s):e.slice(s-l.length,s)===l}})},function(t,e,n){var r=n(1),o=n(45),i=String.fromCharCode,a=String.fromCodePoint;r({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?i(e):i(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},function(t,e,n){"use strict";var r=n(1),o=n(114),i=n(23);r({target:"String",proto:!0,forced:!n(115)("includes")},{includes:function(t){return!!~String(i(this)).indexOf(o(t),arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(90),o=n(10),i=n(14),a=n(23),s=n(116),u=n(91);r("match",1,(function(t,e,n){return[function(e){var n=a(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var a=o(t),c=String(this);if(!a.global)return u(a,c);var l=a.unicode;a.lastIndex=0;for(var f,p=[],d=0;null!==(f=u(a,c));){var h=String(f[0]);p[d]=h,""===h&&(a.lastIndex=s(c,i(a.lastIndex),l)),d++}return 0===d?null:p}]}))},function(t,e,n){"use strict";var r=n(1),o=n(109).end;r({target:"String",proto:!0,forced:n(158)},{padEnd:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(1),o=n(109).start;r({target:"String",proto:!0,forced:n(158)},{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(1),o=n(24),i=n(14);r({target:"String",stat:!0},{raw:function(t){for(var e=o(t.raw),n=i(e.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(e[s++])),s<r&&a.push(String(arguments[s]));return a.join("")}})},function(t,e,n){n(1)({target:"String",proto:!0},{repeat:n(110)})},function(t,e,n){"use strict";var r=n(90),o=n(10),i=n(16),a=n(14),s=n(30),u=n(23),c=n(116),l=n(91),f=Math.max,p=Math.min,d=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,v=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(t,e,n){return[function(n,r){var o=u(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):e.call(String(o),n,r)},function(t,i){var u=n(e,t,this,i);if(u.done)return u.value;var d=o(t),h=String(this),v="function"==typeof i;v||(i=String(i));var g=d.global;if(g){var y=d.unicode;d.lastIndex=0}for(var m=[];;){var b=l(d,h);if(null===b)break;if(m.push(b),!g)break;""===String(b[0])&&(d.lastIndex=c(h,a(d.lastIndex),y))}for(var w,E="",O=0,x=0;x<m.length;x++){b=m[x];for(var P=String(b[0]),k=f(p(s(b.index),h.length),0),_=[],S=1;S<b.length;S++)_.push(void 0===(w=b[S])?w:String(w));var T=b.groups;if(v){var j=[P].concat(_,k,h);void 0!==T&&j.push(T);var A=String(i.apply(void 0,j))}else A=r(P,h,k,_,T,i);k>=O&&(E+=h.slice(O,k)+A,O=k+P.length)}return E+h.slice(O)}];function r(t,n,r,o,a,s){var u=r+t.length,c=o.length,l=v;return void 0!==a&&(a=i(a),l=h),e.call(s,l,(function(e,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":s=a[i.slice(1,-1)];break;default:var l=+i;if(0===l)return e;if(l>c){var f=d(l/10);return 0===f?e:f<=c?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):e}s=o[l-1]}return void 0===s?"":s}))}}))},function(t,e,n){"use strict";var r=n(90),o=n(10),i=n(23),a=n(151),s=n(91);r("search",1,(function(t,e,n){return[function(e){var n=i(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var i=o(t),u=String(this),c=i.lastIndex;a(c,0)||(i.lastIndex=0);var l=s(i,u);return a(i.lastIndex,c)||(i.lastIndex=c),null===l?-1:l.index}]}))},function(t,e,n){"use strict";var r=n(90),o=n(113),i=n(10),a=n(23),s=n(49),u=n(116),c=n(14),l=n(91),f=n(88),p=n(6),d=[].push,h=Math.min,v=!p((function(){return!RegExp(4294967295,"y")}));r("split",2,(function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===t)return[r];if(!o(t))return e.call(r,t,i);for(var s,u,c,l=[],p=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),h=0,v=new RegExp(t.source,p+"g");(s=f.call(v,r))&&!((u=v.lastIndex)>h&&(l.push(r.slice(h,s.index)),s.length>1&&s.index<r.length&&d.apply(l,s.slice(1)),c=s[0].length,h=u,l.length>=i));)v.lastIndex===s.index&&v.lastIndex++;return h===r.length?!c&&v.test("")||l.push(""):l.push(r.slice(h)),l.length>i?l.slice(0,i):l}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var o=a(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,n):r.call(String(o),e,n)},function(t,o){var a=n(r,t,this,o,r!==e);if(a.done)return a.value;var f=i(t),p=String(this),d=s(f,RegExp),g=f.unicode,y=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(v?"y":"g"),m=new d(v?f:"^(?:"+f.source+")",y),b=void 0===o?4294967295:o>>>0;if(0===b)return[];if(0===p.length)return null===l(m,p)?[p]:[];for(var w=0,E=0,O=[];E<p.length;){m.lastIndex=v?E:0;var x,P=l(m,v?p:p.slice(E));if(null===P||(x=h(c(m.lastIndex+(v?0:E)),p.length))===w)E=u(p,E,g);else{if(O.push(p.slice(w,E)),O.length===b)return O;for(var k=1;k<=P.length-1;k++)if(O.push(P[k]),O.length===b)return O;E=w=x}}return O.push(p.slice(w)),O}]}),!v)},function(t,e,n){"use strict";var r=n(1),o=n(14),i=n(114),a=n(23),s=n(115),u="".startsWith,c=Math.min;r({target:"String",proto:!0,forced:!s("startsWith")},{startsWith:function(t){var e=String(a(this));i(t);var n=o(c(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return u?u.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e,n){"use strict";var r=n(1),o=n(59).trim;r({target:"String",proto:!0,forced:n(117)("trim")},{trim:function(){return o(this)}})},function(t,e,n){"use strict";var r=n(1),o=n(59).end,i=n(117)("trimEnd"),a=i?function(){return o(this)}:"".trimEnd;r({target:"String",proto:!0,forced:i},{trimEnd:a,trimRight:a})},function(t,e,n){"use strict";var r=n(1),o=n(59).start,i=n(117)("trimStart"),a=i?function(){return o(this)}:"".trimStart;r({target:"String",proto:!0,forced:i},{trimStart:a,trimLeft:a})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("anchor")},{anchor:function(t){return o(this,"a","name",t)}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("big")},{big:function(){return o(this,"big","","")}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("blink")},{blink:function(){return o(this,"blink","","")}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("bold")},{bold:function(){return o(this,"b","","")}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("fixed")},{fixed:function(){return o(this,"tt","","")}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("fontcolor")},{fontcolor:function(t){return o(this,"font","color",t)}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("fontsize")},{fontsize:function(t){return o(this,"font","size",t)}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("italics")},{italics:function(){return o(this,"i","","")}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("link")},{link:function(t){return o(this,"a","href",t)}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("small")},{small:function(){return o(this,"small","","")}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("strike")},{strike:function(){return o(this,"strike","","")}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("sub")},{sub:function(){return o(this,"sub","","")}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("sup")},{sup:function(){return o(this,"sup","","")}})},function(t,e,n){n(40)("Float32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){var r=n(30);t.exports=function(t){var e=r(t);if(e<0)throw RangeError("The argument can't be less than 0");return e}},function(t,e,n){n(40)("Float64",8,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(40)("Int8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(40)("Int16",2,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(40)("Int32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(40)("Uint8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(40)("Uint8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}),!0)},function(t,e,n){n(40)("Uint16",2,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(40)("Uint32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){"use strict";var r=n(11),o=n(132),i=r.aTypedArray;r.exportProto("copyWithin",(function(t,e){return o.call(i(this),t,e,arguments.length>2?arguments[2]:void 0)}))},function(t,e,n){"use strict";var r=n(11),o=n(19).every,i=r.aTypedArray;r.exportProto("every",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(11),o=n(105),i=r.aTypedArray;r.exportProto("fill",(function(t){return o.apply(i(this),arguments)}))},function(t,e,n){"use strict";var r=n(11),o=n(19).filter,i=n(49),a=r.aTypedArray,s=r.aTypedArrayConstructor;r.exportProto("filter",(function(t){for(var e=o(a(this),t,arguments.length>1?arguments[1]:void 0),n=i(this,this.constructor),r=0,u=e.length,c=new(s(n))(u);u>r;)c[r]=e[r++];return c}))},function(t,e,n){"use strict";var r=n(11),o=n(19).find,i=r.aTypedArray;r.exportProto("find",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(11),o=n(19).findIndex,i=r.aTypedArray;r.exportProto("findIndex",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(11),o=n(19).forEach,i=r.aTypedArray;r.exportProto("forEach",(function(t){o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(118),o=n(11),i=n(160);o.exportStatic("from",i,r)},function(t,e,n){"use strict";var r=n(11),o=n(64).includes,i=r.aTypedArray;r.exportProto("includes",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(11),o=n(64).indexOf,i=r.aTypedArray;r.exportProto("indexOf",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(8),o=n(11),i=n(79),a=n(13)("iterator"),s=r.Uint8Array,u=i.values,c=i.keys,l=i.entries,f=o.aTypedArray,p=o.exportProto,d=s&&s.prototype[a],h=!!d&&("values"==d.name||null==d.name),v=function(){return u.call(f(this))};p("entries",(function(){return l.call(f(this))})),p("keys",(function(){return c.call(f(this))})),p("values",v,!h),p(a,v,!h)},function(t,e,n){"use strict";var r=n(11),o=r.aTypedArray,i=[].join;r.exportProto("join",(function(t){return i.apply(o(this),arguments)}))},function(t,e,n){"use strict";var r=n(11),o=n(140),i=r.aTypedArray;r.exportProto("lastIndexOf",(function(t){return o.apply(i(this),arguments)}))},function(t,e,n){"use strict";var r=n(11),o=n(19).map,i=n(49),a=r.aTypedArray,s=r.aTypedArrayConstructor;r.exportProto("map",(function(t){return o(a(this),t,arguments.length>1?arguments[1]:void 0,(function(t,e){return new(s(i(t,t.constructor)))(e)}))}))},function(t,e,n){"use strict";var r=n(11),o=n(118),i=r.aTypedArrayConstructor;r.exportStatic("of",(function(){for(var t=0,e=arguments.length,n=new(i(this))(e);e>t;)n[t]=arguments[t++];return n}),o)},function(t,e,n){"use strict";var r=n(11),o=n(80).left,i=r.aTypedArray;r.exportProto("reduce",(function(t){return o(i(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(11),o=n(80).right,i=r.aTypedArray;r.exportProto("reduceRight",(function(t){return o(i(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(11),o=r.aTypedArray,i=Math.floor;r.exportProto("reverse",(function(){for(var t,e=o(this).length,n=i(e/2),r=0;r<n;)t=this[r],this[r++]=this[--e],this[e]=t;return this}))},function(t,e,n){"use strict";var r=n(11),o=n(14),i=n(159),a=n(16),s=n(6),u=r.aTypedArray,c=s((function(){new Int8Array(1).set({})}));r.exportProto("set",(function(t){u(this);var e=i(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=a(t),s=o(r.length),c=0;if(s+e>n)throw RangeError("Wrong length");for(;c<s;)this[e+c]=r[c++]}),c)},function(t,e,n){"use strict";var r=n(11),o=n(49),i=n(6),a=r.aTypedArray,s=r.aTypedArrayConstructor,u=[].slice,c=i((function(){new Int8Array(1).slice()}));r.exportProto("slice",(function(t,e){for(var n=u.call(a(this),t,e),r=o(this,this.constructor),i=0,c=n.length,l=new(s(r))(c);c>i;)l[i]=n[i++];return l}),c)},function(t,e,n){"use strict";var r=n(11),o=n(19).some,i=r.aTypedArray;r.exportProto("some",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(11),o=r.aTypedArray,i=[].sort;r.exportProto("sort",(function(t){return i.call(o(this),t)}))},function(t,e,n){"use strict";var r=n(11),o=n(14),i=n(45),a=n(49),s=r.aTypedArray;r.exportProto("subarray",(function(t,e){var n=s(this),r=n.length,u=i(t,r);return new(a(n,n.constructor))(n.buffer,n.byteOffset+u*n.BYTES_PER_ELEMENT,o((void 0===e?r:i(e,r))-u))}))},function(t,e,n){"use strict";var r=n(8),o=n(11),i=n(6),a=r.Int8Array,s=o.aTypedArray,u=[].toLocaleString,c=[].slice,l=!!a&&i((function(){u.call(new a(1))})),f=i((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!i((function(){a.prototype.toLocaleString.call([1,2])}));o.exportProto("toLocaleString",(function(){return u.apply(l?c.call(s(this)):s(this),arguments)}),f)},function(t,e,n){"use strict";var r=n(8),o=n(11),i=n(6),a=r.Uint8Array,s=a&&a.prototype,u=[].toString,c=[].join;i((function(){u.call({})}))&&(u=function(){return c.call(this)}),o.exportProto("toString",u,(s||{}).toString!=u)},function(t,e,n){"use strict";var r,o=n(8),i=n(58),a=n(54),s=n(82),u=n(161),c=n(9),l=n(29).enforce,f=n(124),p=!o.ActiveXObject&&"ActiveXObject"in o,d=Object.isExtensible,h=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},v=t.exports=s("WeakMap",h,u,!0,!0);if(f&&p){r=u.getConstructor(h,"WeakMap",!0),a.REQUIRED=!0;var g=v.prototype,y=g.delete,m=g.has,b=g.get,w=g.set;i(g,{delete:function(t){if(c(t)&&!d(t)){var e=l(this);return e.frozen||(e.frozen=new r),y.call(this,t)||e.frozen.delete(t)}return y.call(this,t)},has:function(t){if(c(t)&&!d(t)){var e=l(this);return e.frozen||(e.frozen=new r),m.call(this,t)||e.frozen.has(t)}return m.call(this,t)},get:function(t){if(c(t)&&!d(t)){var e=l(this);return e.frozen||(e.frozen=new r),m.call(this,t)?b.call(this,t):e.frozen.get(t)}return b.call(this,t)},set:function(t,e){if(c(t)&&!d(t)){var n=l(this);n.frozen||(n.frozen=new r),m.call(this,t)?w.call(this,t,e):n.frozen.set(t,e)}else w.call(this,t,e);return this}})}},function(t,e,n){"use strict";n(82)("WeakSet",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),n(161),!1,!0)},function(t,e,n){var r=n(8),o=n(162),i=n(134),a=n(21);for(var s in o){var u=r[s],c=u&&u.prototype;if(c&&c.forEach!==i)try{a(c,"forEach",i)}catch(t){c.forEach=i}}},function(t,e,n){var r=n(8),o=n(162),i=n(79),a=n(21),s=n(13),u=s("iterator"),c=s("toStringTag"),l=i.values;for(var f in o){var p=r[f],d=p&&p.prototype;if(d){if(d[u]!==l)try{a(d,u,l)}catch(t){d[u]=l}if(d[c]||a(d,c,f),o[f])for(var h in i)if(d[h]!==i[h])try{a(d,h,i[h])}catch(t){d[h]=i[h]}}}},function(t,e,n){var r=n(8),o=n(112),i=!r.setImmediate||!r.clearImmediate;n(1)({global:!0,bind:!0,enumerable:!0,forced:i},{setImmediate:o.set,clearImmediate:o.clear})},function(t,e,n){var r=n(1),o=n(8),i=n(154),a=n(33),s=o.process,u="process"==a(s);r({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(t){var e=u&&s.domain;i(e?e.bind(t):t)}})},function(t,e,n){var r=n(1),o=n(8),i=n(77),a=[].slice,s=function(t){return function(e,n){var r=arguments.length>2,o=r?a.call(arguments,2):void 0;return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,o)}:e,n)}};r({global:!0,bind:!0,forced:/MSIE .\./.test(i)},{setTimeout:s(o.setTimeout),setInterval:s(o.setInterval)})},function(t,e,n){"use strict";n(157);var r,o=n(1),i=n(12),a=n(163),s=n(8),u=n(103),c=n(20),l=n(48),f=n(18),p=n(149),d=n(135),h=n(89).codeAt,v=n(388),g=n(36),y=n(164),m=n(29),b=s.URL,w=y.URLSearchParams,E=y.getState,O=m.set,x=m.getterFor("URL"),P=Math.floor,k=Math.pow,_=/[A-Za-z]/,S=/[\d+\-.A-Za-z]/,T=/\d/,j=/^(0x|0X)/,A=/^[0-7]+$/,C=/^\d+$/,I=/^[\dA-Fa-f]+$/,M=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,R=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,D=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,N=/[\u0009\u000A\u000D]/g,L=function(t,e){var n,r,o;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return"Invalid host";if(!(n=F(e.slice(1,-1))))return"Invalid host";t.host=n}else if(Y(t)){if(e=v(e),M.test(e))return"Invalid host";if(null===(n=B(e)))return"Invalid host";t.host=n}else{if(R.test(e))return"Invalid host";for(n="",r=d(e),o=0;o<r.length;o++)n+=G(r[o],W);t.host=n}},B=function(t){var e,n,r,o,i,a,s,u=t.split(".");if(u.length&&""==u[u.length-1]&&u.pop(),(e=u.length)>4)return t;for(n=[],r=0;r<e;r++){if(""==(o=u[r]))return t;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=j.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?C:8==i?A:I).test(o))return t;a=parseInt(o,i)}n.push(a)}for(r=0;r<e;r++)if(a=n[r],r==e-1){if(a>=k(256,5-e))return null}else if(a>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*k(256,3-r);return s},F=function(t){var e,n,r,o,i,a,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,f=0,p=function(){return t.charAt(f)};if(":"==p()){if(":"!=t.charAt(1))return;f+=2,l=++c}for(;p();){if(8==c)return;if(":"!=p()){for(e=n=0;n<4&&I.test(p());)e=16*e+parseInt(p(),16),f++,n++;if("."==p()){if(0==n)return;if(f-=n,c>6)return;for(r=0;p();){if(o=null,r>0){if(!("."==p()&&r<4))return;f++}if(!T.test(p()))return;for(;T.test(p());){if(i=parseInt(p(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;f++}u[c]=256*u[c]+o,2!=++r&&4!=r||c++}if(4!=r)return;break}if(":"==p()){if(f++,!p())return}else if(p())return;u[c++]=e}else{if(null!==l)return;f++,l=++c}}if(null!==l)for(a=c-l,c=7;0!=c&&a>0;)s=u[c],u[c--]=u[l+a-1],u[l+--a]=s;else if(8!=c)return;return u},U=function(t){var e,n,r,o;if("number"==typeof t){for(e=[],n=0;n<4;n++)e.unshift(t%256),t=P(t/256);return e.join(".")}if("object"==typeof t){for(e="",r=function(t){for(var e=null,n=1,r=null,o=0,i=0;i<8;i++)0!==t[i]?(o>n&&(e=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(e=r,n=o),e}(t),n=0;n<8;n++)o&&0===t[n]||(o&&(o=!1),r===n?(e+=n?":":"::",o=!0):(e+=t[n].toString(16),n<7&&(e+=":")));return"["+e+"]"}return t},W={},H=p({},W,{" ":1,'"':1,"<":1,">":1,"`":1}),q=p({},H,{"#":1,"?":1,"{":1,"}":1}),V=p({},q,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),G=function(t,e){var n=h(t,0);return n>32&&n<127&&!f(e,t)?t:encodeURIComponent(t)},z={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Y=function(t){return f(z,t.scheme)},X=function(t){return""!=t.username||""!=t.password},$=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},K=function(t,e){var n;return 2==t.length&&_.test(t.charAt(0))&&(":"==(n=t.charAt(1))||!e&&"|"==n)},Q=function(t){var e;return t.length>1&&K(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},J=function(t){var e=t.path,n=e.length;!n||"file"==t.scheme&&1==n&&K(e[0],!0)||e.pop()},Z=function(t){return"."===t||"%2e"===t.toLowerCase()},tt={},et={},nt={},rt={},ot={},it={},at={},st={},ut={},ct={},lt={},ft={},pt={},dt={},ht={},vt={},gt={},yt={},mt={},bt={},wt={},Et=function(t,e,n,o){var i,a,s,u,c,l=n||tt,p=0,h="",v=!1,g=!1,y=!1;for(n||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(D,"")),e=e.replace(N,""),i=d(e);p<=i.length;){switch(a=i[p],l){case tt:if(!a||!_.test(a)){if(n)return"Invalid scheme";l=nt;continue}h+=a.toLowerCase(),l=et;break;case et:if(a&&(S.test(a)||"+"==a||"-"==a||"."==a))h+=a.toLowerCase();else{if(":"!=a){if(n)return"Invalid scheme";h="",l=nt,p=0;continue}if(n&&(Y(t)!=f(z,h)||"file"==h&&(X(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=h,n)return void(Y(t)&&z[t.scheme]==t.port&&(t.port=null));h="","file"==t.scheme?l=dt:Y(t)&&o&&o.scheme==t.scheme?l=rt:Y(t)?l=st:"/"==i[p+1]?(l=ot,p++):(t.cannotBeABaseURL=!0,t.path.push(""),l=mt)}break;case nt:if(!o||o.cannotBeABaseURL&&"#"!=a)return"Invalid scheme";if(o.cannotBeABaseURL&&"#"==a){t.scheme=o.scheme,t.path=o.path.slice(),t.query=o.query,t.fragment="",t.cannotBeABaseURL=!0,l=wt;break}l="file"==o.scheme?dt:it;continue;case rt:if("/"!=a||"/"!=i[p+1]){l=it;continue}l=ut,p++;break;case ot:if("/"==a){l=ct;break}l=yt;continue;case it:if(t.scheme=o.scheme,a==r)t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query=o.query;else if("/"==a||"\\"==a&&Y(t))l=at;else if("?"==a)t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query="",l=bt;else{if("#"!=a){t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.path.pop(),l=yt;continue}t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query=o.query,t.fragment="",l=wt}break;case at:if(!Y(t)||"/"!=a&&"\\"!=a){if("/"!=a){t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,l=yt;continue}l=ct}else l=ut;break;case st:if(l=ut,"/"!=a||"/"!=h.charAt(p+1))continue;p++;break;case ut:if("/"!=a&&"\\"!=a){l=ct;continue}break;case ct:if("@"==a){v&&(h="%40"+h),v=!0,s=d(h);for(var m=0;m<s.length;m++){var b=s[m];if(":"!=b||y){var w=G(b,V);y?t.password+=w:t.username+=w}else y=!0}h=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(t)){if(v&&""==h)return"Invalid authority";p-=d(h).length+1,h="",l=lt}else h+=a;break;case lt:case ft:if(n&&"file"==t.scheme){l=vt;continue}if(":"!=a||g){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(t)){if(Y(t)&&""==h)return"Invalid host";if(n&&""==h&&(X(t)||null!==t.port))return;if(u=L(t,h))return u;if(h="",l=gt,n)return;continue}"["==a?g=!0:"]"==a&&(g=!1),h+=a}else{if(""==h)return"Invalid host";if(u=L(t,h))return u;if(h="",l=pt,n==ft)return}break;case pt:if(!T.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(t)||n){if(""!=h){var E=parseInt(h,10);if(E>65535)return"Invalid port";t.port=Y(t)&&E===z[t.scheme]?null:E,h=""}if(n)return;l=gt;continue}return"Invalid port"}h+=a;break;case dt:if(t.scheme="file","/"==a||"\\"==a)l=ht;else{if(!o||"file"!=o.scheme){l=yt;continue}if(a==r)t.host=o.host,t.path=o.path.slice(),t.query=o.query;else if("?"==a)t.host=o.host,t.path=o.path.slice(),t.query="",l=bt;else{if("#"!=a){Q(i.slice(p).join(""))||(t.host=o.host,t.path=o.path.slice(),J(t)),l=yt;continue}t.host=o.host,t.path=o.path.slice(),t.query=o.query,t.fragment="",l=wt}}break;case ht:if("/"==a||"\\"==a){l=vt;break}o&&"file"==o.scheme&&!Q(i.slice(p).join(""))&&(K(o.path[0],!0)?t.path.push(o.path[0]):t.host=o.host),l=yt;continue;case vt:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&K(h))l=yt;else if(""==h){if(t.host="",n)return;l=gt}else{if(u=L(t,h))return u;if("localhost"==t.host&&(t.host=""),n)return;h="",l=gt}continue}h+=a;break;case gt:if(Y(t)){if(l=yt,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(l=yt,"/"!=a))continue}else t.fragment="",l=wt;else t.query="",l=bt;break;case yt:if(a==r||"/"==a||"\\"==a&&Y(t)||!n&&("?"==a||"#"==a)){if(".."===(c=(c=h).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(J(t),"/"==a||"\\"==a&&Y(t)||t.path.push("")):Z(h)?"/"==a||"\\"==a&&Y(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&K(h)&&(t.host&&(t.host=""),h=h.charAt(0)+":"),t.path.push(h)),h="","file"==t.scheme&&(a==r||"?"==a||"#"==a))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==a?(t.query="",l=bt):"#"==a&&(t.fragment="",l=wt)}else h+=G(a,q);break;case mt:"?"==a?(t.query="",l=bt):"#"==a?(t.fragment="",l=wt):a!=r&&(t.path[0]+=G(a,W));break;case bt:n||"#"!=a?a!=r&&("'"==a&&Y(t)?t.query+="%27":t.query+="#"==a?"%23":G(a,W)):(t.fragment="",l=wt);break;case wt:a!=r&&(t.fragment+=G(a,H))}p++}},Ot=function(t){var e,n,r=l(this,Ot,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(t),s=O(r,{type:"URL"});if(void 0!==o)if(o instanceof Ot)e=x(o);else if(n=Et(e={},String(o)))throw TypeError(n);if(n=Et(s,a,null,e))throw TypeError(n);var u=s.searchParams=new w,c=E(u);c.updateSearchParams(s.query),c.updateURL=function(){s.query=String(u)||null},i||(r.href=Pt.call(r),r.origin=kt.call(r),r.protocol=_t.call(r),r.username=St.call(r),r.password=Tt.call(r),r.host=jt.call(r),r.hostname=At.call(r),r.port=Ct.call(r),r.pathname=It.call(r),r.search=Mt.call(r),r.searchParams=Rt.call(r),r.hash=Dt.call(r))},xt=Ot.prototype,Pt=function(){var t=x(this),e=t.scheme,n=t.username,r=t.password,o=t.host,i=t.port,a=t.path,s=t.query,u=t.fragment,c=e+":";return null!==o?(c+="//",X(t)&&(c+=n+(r?":"+r:"")+"@"),c+=U(o),null!==i&&(c+=":"+i)):"file"==e&&(c+="//"),c+=t.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},kt=function(){var t=x(this),e=t.scheme,n=t.port;if("blob"==e)try{return new URL(e.path[0]).origin}catch(t){return"null"}return"file"!=e&&Y(t)?e+"://"+U(t.host)+(null!==n?":"+n:""):"null"},_t=function(){return x(this).scheme+":"},St=function(){return x(this).username},Tt=function(){return x(this).password},jt=function(){var t=x(this),e=t.host,n=t.port;return null===e?"":null===n?U(e):U(e)+":"+n},At=function(){var t=x(this).host;return null===t?"":U(t)},Ct=function(){var t=x(this).port;return null===t?"":String(t)},It=function(){var t=x(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},Mt=function(){var t=x(this).query;return t?"?"+t:""},Rt=function(){return x(this).searchParams},Dt=function(){var t=x(this).fragment;return t?"#"+t:""},Nt=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(i&&u(xt,{href:Nt(Pt,(function(t){var e=x(this),n=String(t),r=Et(e,n);if(r)throw TypeError(r);E(e.searchParams).updateSearchParams(e.query)})),origin:Nt(kt),protocol:Nt(_t,(function(t){var e=x(this);Et(e,String(t)+":",tt)})),username:Nt(St,(function(t){var e=x(this),n=d(String(t));if(!$(e)){e.username="";for(var r=0;r<n.length;r++)e.username+=G(n[r],V)}})),password:Nt(Tt,(function(t){var e=x(this),n=d(String(t));if(!$(e)){e.password="";for(var r=0;r<n.length;r++)e.password+=G(n[r],V)}})),host:Nt(jt,(function(t){var e=x(this);e.cannotBeABaseURL||Et(e,String(t),lt)})),hostname:Nt(At,(function(t){var e=x(this);e.cannotBeABaseURL||Et(e,String(t),ft)})),port:Nt(Ct,(function(t){var e=x(this);$(e)||(""==(t=String(t))?e.port=null:Et(e,t,pt))})),pathname:Nt(It,(function(t){var e=x(this);e.cannotBeABaseURL||(e.path=[],Et(e,t+"",gt))})),search:Nt(Mt,(function(t){var e=x(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",Et(e,t,bt)),E(e.searchParams).updateSearchParams(e.query)})),searchParams:Nt(Rt),hash:Nt(Dt,(function(t){var e=x(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",Et(e,t,wt)):e.fragment=null}))}),c(xt,"toJSON",(function(){return Pt.call(this)}),{enumerable:!0}),c(xt,"toString",(function(){return Pt.call(this)}),{enumerable:!0}),b){var Lt=b.createObjectURL,Bt=b.revokeObjectURL;Lt&&c(Ot,"createObjectURL",(function(t){return Lt.apply(b,arguments)})),Bt&&c(Ot,"revokeObjectURL",(function(t){return Bt.apply(b,arguments)}))}g(Ot,"URL"),o({global:!0,forced:!a,sham:!i},{URL:Ot})},function(t,e,n){"use strict";var r=/[^\0-\u007E]/,o=/[.\u3002\uFF0E\uFF61]/g,i="Overflow: input needs wider integers to process",a=Math.floor,s=String.fromCharCode,u=function(t){return t+22+75*(t<26)},c=function(t,e,n){var r=0;for(t=n?a(t/700):t>>1,t+=a(t/e);t>455;r+=36)t=a(t/35);return a(r+36*t/(t+38))},l=function(t){var e,n,r=[],o=(t=function(t){for(var e=[],n=0,r=t.length;n<r;){var o=t.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=t.charCodeAt(n++);56320==(64512&i)?e.push(((1023&o)<<10)+(1023&i)+65536):(e.push(o),n--)}else e.push(o)}return e}(t)).length,l=128,f=0,p=72;for(e=0;e<t.length;e++)(n=t[e])<128&&r.push(s(n));var d=r.length,h=d;for(d&&r.push("-");h<o;){var v=2147483647;for(e=0;e<t.length;e++)(n=t[e])>=l&&n<v&&(v=n);var g=h+1;if(v-l>a((2147483647-f)/g))throw RangeError(i);for(f+=(v-l)*g,l=v,e=0;e<t.length;e++){if((n=t[e])<l&&++f>2147483647)throw RangeError(i);if(n==l){for(var y=f,m=36;;m+=36){var b=m<=p?1:m>=p+26?26:m-p;if(y<b)break;var w=y-b,E=36-b;r.push(s(u(b+w%E))),y=a(w/E)}r.push(s(u(y))),p=c(f,g,h==d),f=0,++h}}++f,++l}return r.join("")};t.exports=function(t){var e,n,i=[],a=t.toLowerCase().replace(o,".").split(".");for(e=0;e<a.length;e++)n=a[e],i.push(r.test(n)?"xn--"+l(n):n);return i.join(".")}},function(t,e,n){var r=n(10),o=n(70);t.exports=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return r(e.call(t))}},function(t,e,n){"use strict";n(1)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},function(t,e){!function(){if(function(){function t(){var t=[0,1];return t.reverse(),0===t[0]}return t()||t()}()){Array.prototype._reverse=Array.prototype.reverse,Array.prototype.reverse=function(){return Array.isArray(this)&&(this.length=this.length),Array.prototype._reverse.call(this)};var t={enumerable:!1};Object.defineProperties(Array.prototype,{_reverse:t,reverse:t})}}()},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t,e,n){var r=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function u(t,e,n,r){var o=e&&e.prototype instanceof v?e:v,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(t,e,n){var r=l;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===o)throw i;return j()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=P(a,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=c(t,e,n);if("normal"===u.type){if(r=n.done?d:f,u.arg===h)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}(t,n,a),i}function c(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var l="suspendedStart",f="suspendedYield",p="executing",d="completed",h={};function v(){}function g(){}function y(){}var m={};m[i]=function(){return this};var b=Object.getPrototypeOf,w=b&&b(b(T([])));w&&w!==n&&r.call(w,i)&&(m=w);var E=y.prototype=v.prototype=Object.create(m);function O(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function x(t){var e;this._invoke=function(n,o){function i(){return new Promise((function(e,i){!function e(n,o,i,a){var s=c(t[n],t,o);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&r.call(l,"__await")?Promise.resolve(l.__await).then((function(t){e("next",t,i,a)}),(function(t){e("throw",t,i,a)})):Promise.resolve(l).then((function(t){u.value=t,i(u)}),(function(t){return e("throw",t,i,a)}))}a(s.arg)}(n,o,e,i)}))}return e=e?e.then(i,i):i()}}function P(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,P(t,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=c(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,h;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,h):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(t){if(t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}return{next:j}}function j(){return{value:e,done:!0}}return g.prototype=E.constructor=y,y.constructor=g,y[s]=g.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,s in t||(t[s]="GeneratorFunction")),t.prototype=Object.create(E),t},t.awrap=function(t){return{__await:t}},O(x.prototype),x.prototype[a]=function(){return this},t.AsyncIterator=x,t.async=function(e,n,r,o){var i=new x(u(e,n,r,o));return t.isGeneratorFunction(n)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},O(E),E[s]="Generator",E[i]=function(){return this},E.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=T,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(_),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return s.type="throw",s.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),_(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;_(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),h}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.runSaga=function(t,e){var n=e.subscribe,r=e.dispatch,i=e.getState,s=e.sagaMonitor,u=e.logger;(0,o.check)(t,o.is.iterator,"runSaga must be called on an iterator");var c=(0,o.uid)();s&&(r=(0,o.wrapSagaDispatch)(r),s.effectTriggered({effectId:c,root:!0,parentEffectId:0,effect:{root:!0,saga:t,args:[]}}));var l=(0,a.default)(t,n,r,i,{sagaMonitor:s,logger:u},c,t.name);s&&s.effectResolved(c,l);return l};var r,o=n(41),i=n(166),a=(r=i)&&r.__esModule?r:{default:r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};e.takeEvery=function(t,e){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var s={done:!1,value:(0,a.take)(t)},u=void 0,p=function(t){return u=t};return l({q1:function(){return["q2",s,p]},q2:function(){return u===o.END?[c]:["q1",(t=u,{done:!1,value:a.fork.apply(void 0,[e].concat(r,[t]))})];var t}},"q1","takeEvery("+f(t)+", "+e.name+")")},e.takeLatest=function(t,e){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var s={done:!1,value:(0,a.take)(t)},u=function(t){return{done:!1,value:a.fork.apply(void 0,[e].concat(r,[t]))}},p=function(t){return{done:!1,value:(0,a.cancel)(t)}},d=void 0,h=void 0,v=function(t){return d=t},g=function(t){return h=t};return l({q1:function(){return["q2",s,g]},q2:function(){return h===o.END?[c]:d?["q3",p(d)]:["q1",u(h),v]},q3:function(){return["q1",u(h),v]}},"q1","takeLatest("+f(t)+", "+e.name+")")},e.throttle=function(t,e,n){for(var r=arguments.length,u=Array(r>3?r-3:0),p=3;p<r;p++)u[p-3]=arguments[p];var d=void 0,h=void 0,v={done:!1,value:(0,a.actionChannel)(e,s.buffers.sliding(1))},g={done:!1,value:(0,a.call)(i.delay,t)},y=function(t){return d=t},m=function(t){return h=t};return l({q1:function(){return["q2",v,m]},q2:function(){return["q3",{done:!1,value:(0,a.take)(h,e)},y]},q3:function(){return d===o.END?[c]:["q4",(t=d,{done:!1,value:a.fork.apply(void 0,[n].concat(u,[t]))})];var t},q4:function(){return["q2",g]}},"q1","throttle("+f(e)+", "+n.name+")")};var o=n(93),i=n(41),a=n(92),s=n(94),u={done:!0,value:void 0},c={};function l(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"iterator",o=void 0,a=e;function s(e,n){if(a===c)return u;if(n)throw a=c,n;o&&o(e);var i=t[a](),s=r(i,3),l=s[0],f=s[1],p=s[2];return o=p,(a=l)===c?u:f}return(0,i.makeIterator)(s,(function(t){return s(null,t)}),n,!0)}function f(t){return Array.isArray(t)?String(t.map((function(t){return String(t)}))):String(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=void 0,n=t.sagaMonitor;if(o.is.func(t))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(t.logger&&!o.is.func(t.logger))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(t.onerror&&!o.is.func(t.onerror))throw new Error("`options.onerror` passed to the Saga middleware is not a function!");function r(r){var i=r.getState,c=r.dispatch;e=function(e,n,r){return(0,a.default)(e.apply(void 0,function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(n)),l.subscribe,f,i,t,r,e.name)};var l=(0,u.emitter)(),f=(0,o.wrapSagaDispatch)(c);return function(t){return function(e){n&&n.actionDispatched(e);var r=t(e);return e[o.SAGA_ACTION]?l.emit(e):(0,s.asap)((function(){return l.emit(e)})),r}}}return r.run=function(t){for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];(0,o.check)(e,o.is.notUndef,"Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware"),(0,o.check)(t,o.is.func,"sagaMiddleware.run(saga, ...args): saga argument must be a Generator function!");var s=(0,o.uid)();n&&n.effectTriggered({effectId:s,root:!0,parentEffectId:0,effect:{root:!0,saga:t,args:i}});var u=e(t,i,s);return n&&n.effectResolved(s,u),u},r};var r,o=n(41),i=n(166),a=(r=i)&&r.__esModule?r:{default:r},s=n(167),u=n(93)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(41);Object.defineProperty(e,"TASK",{enumerable:!0,get:function(){return r.TASK}}),Object.defineProperty(e,"SAGA_ACTION",{enumerable:!0,get:function(){return r.SAGA_ACTION}}),Object.defineProperty(e,"noop",{enumerable:!0,get:function(){return r.noop}}),Object.defineProperty(e,"is",{enumerable:!0,get:function(){return r.is}}),Object.defineProperty(e,"deferred",{enumerable:!0,get:function(){return r.deferred}}),Object.defineProperty(e,"arrayOfDeffered",{enumerable:!0,get:function(){return r.arrayOfDeffered}}),Object.defineProperty(e,"createMockTask",{enumerable:!0,get:function(){return r.createMockTask}});var o=n(92);Object.defineProperty(e,"CHANNEL_END",{enumerable:!0,get:function(){return o.CHANNEL_END}}),Object.defineProperty(e,"asEffect",{enumerable:!0,get:function(){return o.asEffect}})},function(t,e,n){"use strict";var r=n(399);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var s=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 s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";
|
12
12
|
/** @license React v16.12.0
|
13
13
|
* react-is.production.min.js
|
14
14
|
*
|
@@ -19,4 +19,4 @@ pageflow="object"==typeof pageflow?pageflow:{},pageflow.react=function(t){var e=
|
|
19
19
|
*/Object.defineProperty(e,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,v=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,m=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function E(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case o:switch(t=t.type){case f:case p:case a:case u:case s:case h:return t;default:switch(t=t&&t.$$typeof){case l:case d:case y:case g:case c:return t;default:return e}}case i:return e}}}function O(t){return E(t)===p}e.typeOf=E,e.AsyncMode=f,e.ConcurrentMode=p,e.ContextConsumer=l,e.ContextProvider=c,e.Element=o,e.ForwardRef=d,e.Fragment=a,e.Lazy=y,e.Memo=g,e.Portal=i,e.Profiler=u,e.StrictMode=s,e.Suspense=h,e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===a||t===p||t===u||t===s||t===h||t===v||"object"==typeof t&&null!==t&&(t.$$typeof===y||t.$$typeof===g||t.$$typeof===c||t.$$typeof===l||t.$$typeof===d||t.$$typeof===m||t.$$typeof===b||t.$$typeof===w)},e.isAsyncMode=function(t){return O(t)||E(t)===f},e.isConcurrentMode=O,e.isContextConsumer=function(t){return E(t)===l},e.isContextProvider=function(t){return E(t)===c},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===o},e.isForwardRef=function(t){return E(t)===d},e.isFragment=function(t){return E(t)===a},e.isLazy=function(t){return E(t)===y},e.isMemo=function(t){return E(t)===g},e.isPortal=function(t){return E(t)===i},e.isProfiler=function(t){return E(t)===u},e.isStrictMode=function(t){return E(t)===s},e.isSuspense=function(t){return E(t)===h}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=n(0),a=(l(i),l(n(28))),s=l(n(42)),u=l(n(402)),c=l(n(403));function l(t){return t&&t.__esModule?t:{default:t}}var f=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.measure=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.props.includeMargin,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.props.useClone;if(n.props.shouldMeasure){n._node.parentNode||n._setDOMNode();var r=n.getDimensions(n._node,t,e),o="function"==typeof n.props.children;n._propsToMeasure.some((function(t){if(r[t]!==n._lastDimensions[t])return n.props.onMeasure(r),o&&void 0!==n&&n.setState({dimensions:r}),n._lastDimensions=r,!0}))}},n.state={dimensions:{width:0,height:0,top:0,right:0,bottom:0,left:0}},n._node=null,n._propsToMeasure=n._getPropsToMeasure(t),n._lastDimensions={},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"componentDidMount",value:function(){var t=this;this._setDOMNode(),this.measure(),this.resizeObserver=new u.default((function(){return t.measure()})),this.resizeObserver.observe(this._node)}},{key:"componentWillReceiveProps",value:function(t){t.config;var e=t.whitelist,n=t.blacklist;this.props.whitelist===e&&this.props.blacklist===n||(this._propsToMeasure=this._getPropsToMeasure({whitelist:e,blacklist:n}))}},{key:"componentWillUnmount",value:function(){this.resizeObserver.disconnect(this._node),this._node=null}},{key:"_setDOMNode",value:function(){this._node=s.default.findDOMNode(this)}},{key:"getDimensions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._node,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.includeMargin,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.props.useClone,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.props.cloneOptions;return(0,c.default)(t,r({margin:e,clone:n},o))}},{key:"_getPropsToMeasure",value:function(t){var e=t.whitelist,n=t.blacklist;return e.filter((function(t){return n.indexOf(t)<0}))}},{key:"render",value:function(){var t=this.props.children;return i.Children.only("function"==typeof t?t(this.state.dimensions):t)}}]),e}(i.Component);f.propTypes={whitelist:a.default.array,blacklist:a.default.array,includeMargin:a.default.bool,useClone:a.default.bool,cloneOptions:a.default.object,shouldMeasure:a.default.bool,onMeasure:a.default.func},f.defaultProps={whitelist:["width","height","top","right","bottom","left"],blacklist:[],includeMargin:!0,useClone:!1,cloneOptions:{},shouldMeasure:!0,onMeasure:function(){return null}},e.default=f,t.exports=e.default},function(t,e,n){"use strict";n.r(e),function(t){var n=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return(function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];t.call(e,o[1],o[0])}},e}())}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==t&&t.Math===Math?t:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),i="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)},a=2;var s=20,u=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,l=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,o=0;function s(){n&&(n=!1,t()),r&&c()}function u(){i(s)}function c(){var t=Date.now();if(n){if(t-o<a)return;r=!0}else n=!0,r=!1,setTimeout(u,e);o=t}return c}(this.refresh.bind(this),s)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;u.some((function(t){return!!~n.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),f=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];Object.defineProperty(t,o,{value:e[o],enumerable:!1,writable:!1,configurable:!0})}return t},p=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||o},d=b(0,0,0,0);function h(t){return parseFloat(t)||0}function v(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){return e+h(t["border-"+n+"-width"])}),0)}function g(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return d;var r=p(t).getComputedStyle(t),o=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=t["padding-"+o];e[o]=h(i)}return e}(r),i=o.left+o.right,a=o.top+o.bottom,s=h(r.width),u=h(r.height);if("border-box"===r.boxSizing&&(Math.round(s+i)!==e&&(s-=v(r,"left","right")+i),Math.round(u+a)!==n&&(u-=v(r,"top","bottom")+a)),!function(t){return t===p(t).document.documentElement}(t)){var c=Math.round(s+i)-e,l=Math.round(u+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(l)&&(u-=l)}return b(o.left,o.top,s,u)}var y="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof p(t).SVGGraphicsElement}:function(t){return t instanceof p(t).SVGElement&&"function"==typeof t.getBBox};function m(t){return r?y(t)?function(t){var e=t.getBBox();return b(0,0,e.width,e.height)}(t):g(t):d}function b(t,e,n,r){return{x:t,y:e,width:n,height:r}}var w=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=m(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),E=function(t,e){var n,r,o,i,a,s,u,c=(r=(n=e).x,o=n.y,i=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,u=Object.create(s.prototype),f(u,{x:r,y:o,width:i,height:a,top:o,right:r+i,bottom:a+o,left:r}),u);f(this,{target:t,contentRect:c})},O=function(){function t(t,e,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=r}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof p(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new w(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof p(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new E(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),x="undefined"!=typeof WeakMap?new WeakMap:new n,P=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=l.getInstance(),r=new O(e,n,this);x.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){P.prototype[t]=function(){var e;return(e=x.get(this))[t].apply(e,arguments)}}));var k=void 0!==o.ResizeObserver?o.ResizeObserver:P;e.default=k}.call(this,n(74))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=t.getBoundingClientRect(),r=void 0,a=void 0,s=void 0;if((n.width&&n.height||e.noCloneOnZeroDimension)&&!e.clone)e.margin&&(s=(0,i.default)(getComputedStyle(t)));else{var u=(0,o.default)(t,e);n=u.rect,s=u.margin}e.margin?(r=s.left+n.width+s.right,a=s.top+n.height+s.bottom):(r=n.width,a=n.height);return{width:r,height:a,top:n.top,right:n.right,bottom:n.bottom,left:n.left}};var o=r(n(404)),i=r(n(168));t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n,r,o,a=t.parentNode,s=document.createElement("div"),u=t.cloneNode(!0),c=getComputedStyle(t);s.style.height=0,s.style.overflow="hidden",u.setAttribute("id",""),u.setAttribute("name",""),(e.display||c&&"none"===c.getPropertyValue("display"))&&(u.style.display=e.display||"block");(e.width||c&&!parseInt(c.getPropertyValue("width")))&&(u.style.width=e.width||"auto");(e.height||c&&!parseInt(c.getPropertyValue("height")))&&(u.style.height=e.height||"auto");return s.appendChild(u),a.appendChild(s),n=u.getBoundingClientRect(),r=u.offsetWidth,o=u.offsetHeight,a.removeChild(s),{rect:{width:r,height:o,top:n.top,right:n.right,bottom:n.bottom,left:n.left},margin:(0,i.default)(c)}};var r,o=n(168),i=(r=o)&&r.__esModule?r:{default:r};t.exports=e.default},function(t,e,n){var r,o;
|
20
20
|
/*! wavesurfer.js 1.4.0 (Thu, 22 Jun 2017 13:03:29 GMT)
|
21
21
|
* https://github.com/katspaugh/wavesurfer.js
|
22
|
-
* @license BSD-3-Clause */o=this,void 0===(r=function(){return o.WaveSurfer=function(){"use strict";var t={defaultParams:{audioContext:null,audioRate:1,autoCenter:!0,backend:"WebAudio",barHeight:1,closeAudioContext:!1,container:null,cursorColor:"#333",cursorWidth:1,dragSelection:!0,fallbackProgressHeight:4,fillParent:!0,forceDecode:!1,height:128,hideScrollbar:!1,interact:!0,loopSelection:!0,mediaContainer:null,mediaControls:!1,mediaType:"audio",minPxPerSec:20,partialRender:!1,pixelRatio:window.devicePixelRatio||screen.deviceXDPI/screen.logicalXDPI,progressColor:"#555",normalize:!1,removeMediaElementOnDestroy:!0,renderer:"MultiCanvas",scrollParent:!1,skipLength:2,splitChannels:!1,waveColor:"#999"},init:function(e){if(this.params=t.util.extend({},this.defaultParams,e),this.container="string"==typeof e.container?document.querySelector(this.params.container):this.params.container,!this.container)throw new Error("Container element not found");if(null==this.params.mediaContainer?this.mediaContainer=this.container:"string"==typeof this.params.mediaContainer?this.mediaContainer=document.querySelector(this.params.mediaContainer):this.mediaContainer=this.params.mediaContainer,!this.mediaContainer)throw new Error("Media Container element not found");this.savedVolume=0,this.isMuted=!1,this.tmpEvents=[],this.currentAjax=null,this.createDrawer(),this.createBackend(),this.createPeakCache(),this.isDestroyed=!1},createDrawer:function(){var e=this;this.drawer=Object.create(t.Drawer[this.params.renderer]),this.drawer.init(this.container,this.params),this.drawer.on("click",(function(t,n){setTimeout((function(){e.seekTo(n)}),0)})),this.drawer.on("scroll",(function(t){e.params.partialRender&&e.drawBuffer(),e.fireEvent("scroll",t)}))},createBackend:function(){var e=this;this.backend&&this.backend.destroy(),"AudioElement"==this.params.backend&&(this.params.backend="MediaElement"),"WebAudio"!=this.params.backend||t.WebAudio.supportsWebAudio()||(this.params.backend="MediaElement"),this.backend=Object.create(t[this.params.backend]),this.backend.init(this.params),this.backend.on("finish",(function(){e.fireEvent("finish")})),this.backend.on("play",(function(){e.fireEvent("play")})),this.backend.on("pause",(function(){e.fireEvent("pause")})),this.backend.on("audioprocess",(function(t){e.drawer.progress(e.backend.getPlayedPercents()),e.fireEvent("audioprocess",t)}))},createPeakCache:function(){this.params.partialRender&&(this.peakCache=Object.create(t.PeakCache),this.peakCache.init())},getDuration:function(){return this.backend.getDuration()},play:function(t,e){this.fireEvent("interaction",this.play.bind(this,t,e)),this.backend.play(t,e)},pause:function(){this.backend.isPaused()||this.backend.pause()},playPause:function(){this.backend.isPaused()?this.play():this.pause()},isPlaying:function(){return!this.backend.isPaused()},skipBackward:function(t){this.skip(-t||-this.params.skipLength)},skipForward:function(t){this.skip(t||this.params.skipLength)},skip:function(t){var e=this.getCurrentTime()||0,n=this.getDuration()||1;e=Math.max(0,Math.min(n,e+(t||0))),this.seekAndCenter(e/n)},seekAndCenter:function(t){this.seekTo(t),this.drawer.recenter(t)},seekTo:function(t){this.fireEvent("interaction",this.seekTo.bind(this,t));var e=this.backend.isPaused();e||this.backend.pause();var n=this.params.scrollParent;this.params.scrollParent=!1,this.backend.seekTo(t*this.getDuration()),this.drawer.progress(this.backend.getPlayedPercents()),e||this.backend.play(),this.params.scrollParent=n,this.fireEvent("seek",t)},stop:function(){this.pause(),this.seekTo(0),this.drawer.progress(0)},setVolume:function(t){this.backend.setVolume(t)},getVolume:function(){return this.backend.getVolume()},getCurrentTime:function(){return this.backend.getCurrentTime()},setCurrentTime:function(t){this.getDuration()>=t?this.seekTo(1):this.seekTo(t/this.getDuration())},setPlaybackRate:function(t){this.backend.setPlaybackRate(t)},getPlaybackRate:function(){return this.backend.getPlaybackRate()},toggleMute:function(){this.setMute(!this.isMuted)},setMute:function(t){t!==this.isMuted&&(t?(this.savedVolume=this.backend.getVolume(),this.backend.setVolume(0),this.isMuted=!0):(this.backend.setVolume(this.savedVolume),this.isMuted=!1))},getMute:function(){return this.isMuted},getFilters:function(){return this.backend.filters||[]},toggleScroll:function(){this.params.scrollParent=!this.params.scrollParent,this.drawBuffer()},toggleInteraction:function(){this.params.interact=!this.params.interact},getWaveColor:function(){return this.params.waveColor},setWaveColor:function(t){this.params.waveColor=t,this.drawBuffer()},getProgressColor:function(){return this.params.progressColor},setProgressColor:function(t){this.params.progressColor=t,this.drawBuffer()},getCursorColor:function(){return this.params.cursorColor},setCursorColor:function(t){this.params.cursorColor=t,this.drawer.updateCursor()},getHeight:function(){return this.params.height},setHeight:function(t){this.params.height=t,this.drawer.setHeight(t*this.params.pixelRatio)},drawBuffer:function(){var t=Math.round(this.getDuration()*this.params.minPxPerSec*this.params.pixelRatio),e=this.drawer.getWidth(),n=t,r=this.drawer.getScrollX(),o=Math.min(r+e,n);if(this.params.fillParent&&(!this.params.scrollParent||t<e)&&(r=0,o=n=e),this.params.partialRender)for(var i=this.peakCache.addRangeToPeakCache(n,r,o),a=0;a<i.length;a++)s=this.backend.getPeaks(n,i[a][0],i[a][1]),this.drawer.drawPeaks(s,n,i[a][0],i[a][1]);else{r=0,o=n;var s=this.backend.getPeaks(n,r,o);this.drawer.drawPeaks(s,n,r,o)}this.fireEvent("redraw",s,n)},zoom:function(t){this.params.minPxPerSec=t,this.params.scrollParent=!0,this.refresh(),this.drawer.recenter(this.getCurrentTime()/this.getDuration()),this.fireEvent("zoom",t)},refresh:function(){this.drawBuffer(),this.drawer.progress(this.backend.getPlayedPercents())},loadArrayBuffer:function(t){this.decodeArrayBuffer(t,function(t){this.isDestroyed||this.loadDecodedBuffer(t)}.bind(this))},loadDecodedBuffer:function(t){this.backend.load(t),this.drawBuffer(),this.fireEvent("ready")},loadBlob:function(t){var e=this,n=new FileReader;n.addEventListener("progress",(function(t){e.onProgress(t)})),n.addEventListener("load",(function(t){e.loadArrayBuffer(t.target.result)})),n.addEventListener("error",(function(){e.fireEvent("error","Error reading file")})),n.readAsArrayBuffer(t),this.empty()},load:function(t,e,n){switch(this.empty(),this.isMuted=!1,this.params.backend){case"WebAudio":return this.loadBuffer(t,e);case"MediaElement":return this.loadMediaElement(t,e,n)}},loadBuffer:function(t,e){var n=function(e){return e&&this.tmpEvents.push(this.once("ready",e)),this.getArrayBuffer(t,this.loadArrayBuffer.bind(this))}.bind(this);if(!e)return n();this.backend.setPeaks(e),this.drawBuffer(),this.tmpEvents.push(this.once("interaction",n))},loadMediaElement:function(t,e,n){var r=t;if("string"==typeof t)this.backend.load(r,this.mediaContainer,e,n);else{var o=t;this.backend.loadElt(o,e),r=o.src}this.tmpEvents.push(this.backend.once("canplay",function(){this.drawBuffer(),this.fireEvent("ready")}.bind(this)),this.backend.once("error",function(t){this.fireEvent("error",t)}.bind(this))),e&&this.backend.setPeaks(e),e&&!this.params.forceDecode||!this.backend.supportsWebAudio()||this.getArrayBuffer(r,function(t){this.decodeArrayBuffer(t,function(t){this.backend.buffer=t,this.backend.setPeaks(null),this.drawBuffer(),this.fireEvent("waveform-ready")}.bind(this))}.bind(this))},decodeArrayBuffer:function(t,e){this.arraybuffer=t,this.backend.decodeArrayBuffer(t,function(n){this.isDestroyed||this.arraybuffer!=t||(e(n),this.arraybuffer=null)}.bind(this),this.fireEvent.bind(this,"error","Error decoding audiobuffer"))},getArrayBuffer:function(e,n){var r=this,o=t.util.ajax({url:e,responseType:"arraybuffer"});return this.currentAjax=o,this.tmpEvents.push(o.on("progress",(function(t){r.onProgress(t)})),o.on("success",(function(t,e){n(t),r.currentAjax=null})),o.on("error",(function(t){r.fireEvent("error","XHR error: "+t.target.statusText),r.currentAjax=null}))),o},onProgress:function(t){if(t.lengthComputable)var e=t.loaded/t.total;else e=t.loaded/(t.loaded+1e6);this.fireEvent("loading",Math.round(100*e),t.target)},exportPCM:function(t,e,n,r){t=t||1024,r=r||0,e=e||1e4,n=n||!1;var o=this.backend.getPeaks(t,r),i=[].map.call(o,(function(t){return Math.round(t*e)/e})),a=JSON.stringify(i);return n||window.open("data:application/json;charset=utf-8,"+encodeURIComponent(a)),a},exportImage:function(t,e){return t||(t="image/png"),e||(e=1),this.drawer.getImage(t,e)},cancelAjax:function(){this.currentAjax&&(this.currentAjax.xhr.abort(),this.currentAjax=null)},clearTmpEvents:function(){this.tmpEvents.forEach((function(t){t.un()}))},empty:function(){this.backend.isPaused()||(this.stop(),this.backend.disconnectSource()),this.cancelAjax(),this.clearTmpEvents(),this.drawer.progress(0),this.drawer.setWidth(0),this.drawer.drawPeaks({length:this.drawer.getWidth()},0)},destroy:function(){this.fireEvent("destroy"),this.cancelAjax(),this.clearTmpEvents(),this.unAll(),this.backend.destroy(),this.drawer.destroy(),this.isDestroyed=!0},create:function(e){var n=Object.create(t);return n.init(e),n}};return t.util={requestAnimationFrame:(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t,e){setTimeout(t,1e3/60)}).bind(window),frame:function(e){return function(){var n=this,r=arguments;t.util.requestAnimationFrame((function(){e.apply(n,r)}))}},extend:function(t){return Array.prototype.slice.call(arguments,1).forEach((function(e){Object.keys(e).forEach((function(n){t[n]=e[n]}))})),t},debounce:function(t,e,n){var r,o,i,a=function(){i=null,n||t.apply(o,r)};return function(){o=this,r=arguments;var s=n&&!i;clearTimeout(i),(i=setTimeout(a,e))||(i=setTimeout(a,e)),s&&t.apply(o,r)}},min:function(t){var e=1/0;for(var n in t)t[n]<e&&(e=t[n]);return e},max:function(t){var e=-1/0;for(var n in t)t[n]>e&&(e=t[n]);return e},getId:function(){return"wavesurfer_"+Math.random().toString(32).substring(2)},ajax:function(e){var n=Object.create(t.Observer),r=new XMLHttpRequest,o=!1;return r.open(e.method||"GET",e.url,!0),r.responseType=e.responseType||"json",r.addEventListener("progress",(function(t){n.fireEvent("progress",t),t.lengthComputable&&t.loaded==t.total&&(o=!0)})),r.addEventListener("load",(function(t){o||n.fireEvent("progress",t),n.fireEvent("load",t),200==r.status||206==r.status?n.fireEvent("success",r.response,t):n.fireEvent("error",t)})),r.addEventListener("error",(function(t){n.fireEvent("error",t)})),r.send(),n.xhr=r,n}},t.Observer={on:function(t,e){this.handlers||(this.handlers={});var n=this.handlers[t];return n||(n=this.handlers[t]=[]),n.push(e),{name:t,callback:e,un:this.un.bind(this,t,e)}},un:function(t,e){if(this.handlers){var n=this.handlers[t];if(n)if(e)for(var r=n.length-1;r>=0;r--)n[r]==e&&n.splice(r,1);else n.length=0}},unAll:function(){this.handlers=null},once:function(t,e){var n=this,r=function(){e.apply(this,arguments),setTimeout((function(){n.un(t,r)}),0)};return this.on(t,r)},fireEvent:function(t){if(this.handlers){var e=this.handlers[t],n=Array.prototype.slice.call(arguments,1);e&&e.forEach((function(t){t.apply(null,n)}))}}},t.util.extend(t,t.Observer),t.WebAudio={scriptBufferSize:256,PLAYING_STATE:0,PAUSED_STATE:1,FINISHED_STATE:2,supportsWebAudio:function(){return!(!window.AudioContext&&!window.webkitAudioContext)},getAudioContext:function(){return t.WebAudio.audioContext||(t.WebAudio.audioContext=new(window.AudioContext||window.webkitAudioContext)),t.WebAudio.audioContext},getOfflineAudioContext:function(e){return t.WebAudio.offlineAudioContext||(t.WebAudio.offlineAudioContext=new(window.OfflineAudioContext||window.webkitOfflineAudioContext)(1,2,e)),t.WebAudio.offlineAudioContext},init:function(e){this.params=e,this.ac=e.audioContext||this.getAudioContext(),this.lastPlay=this.ac.currentTime,this.startPosition=0,this.scheduledPause=null,this.states=[Object.create(t.WebAudio.state.playing),Object.create(t.WebAudio.state.paused),Object.create(t.WebAudio.state.finished)],this.createVolumeNode(),this.createScriptNode(),this.createAnalyserNode(),this.setState(this.PAUSED_STATE),this.setPlaybackRate(this.params.audioRate),this.setLength(0)},disconnectFilters:function(){this.filters&&(this.filters.forEach((function(t){t&&t.disconnect()})),this.filters=null,this.analyser.connect(this.gainNode))},setState:function(t){this.state!==this.states[t]&&(this.state=this.states[t],this.state.init.call(this))},setFilter:function(){this.setFilters([].slice.call(arguments))},setFilters:function(t){this.disconnectFilters(),t&&t.length&&(this.filters=t,this.analyser.disconnect(),t.reduce((function(t,e){return t.connect(e),e}),this.analyser).connect(this.gainNode))},createScriptNode:function(){this.ac.createScriptProcessor?this.scriptNode=this.ac.createScriptProcessor(this.scriptBufferSize):this.scriptNode=this.ac.createJavaScriptNode(this.scriptBufferSize),this.scriptNode.connect(this.ac.destination)},addOnAudioProcess:function(){var t=this;this.scriptNode.onaudioprocess=function(){var e=t.getCurrentTime();e>=t.getDuration()?(t.setState(t.FINISHED_STATE),t.fireEvent("pause")):e>=t.scheduledPause?t.pause():t.state===t.states[t.PLAYING_STATE]&&t.fireEvent("audioprocess",e)}},removeOnAudioProcess:function(){this.scriptNode.onaudioprocess=null},createAnalyserNode:function(){this.analyser=this.ac.createAnalyser(),this.analyser.connect(this.gainNode)},createVolumeNode:function(){this.ac.createGain?this.gainNode=this.ac.createGain():this.gainNode=this.ac.createGainNode(),this.gainNode.connect(this.ac.destination)},setVolume:function(t){this.gainNode.gain.value=t},getVolume:function(){return this.gainNode.gain.value},decodeArrayBuffer:function(t,e,n){this.offlineAc||(this.offlineAc=this.getOfflineAudioContext(this.ac?this.ac.sampleRate:44100)),this.offlineAc.decodeAudioData(t,function(t){e(t)}.bind(this),n)},setPeaks:function(t){this.peaks=t},setLength:function(t){if(!this.mergedPeaks||t!=2*this.mergedPeaks.length-1+2){this.splitPeaks=[],this.mergedPeaks=[];for(var e=this.buffer?this.buffer.numberOfChannels:1,n=0;n<e;n++)this.splitPeaks[n]=[],this.splitPeaks[n][2*(t-1)]=0,this.splitPeaks[n][2*(t-1)+1]=0;this.mergedPeaks[2*(t-1)]=0,this.mergedPeaks[2*(t-1)+1]=0}},getPeaks:function(t,e,n){if(this.peaks)return this.peaks;e=e||0,n=n||t-1,this.setLength(t);for(var r=this.buffer.length/t,o=~~(r/10)||1,i=this.buffer.numberOfChannels,a=0;a<i;a++)for(var s=this.splitPeaks[a],u=this.buffer.getChannelData(a),c=e;c<=n;c++){for(var l=~~(c*r),f=~~(l+r),p=0,d=0,h=l;h<f;h+=o){var v=u[h];v>d&&(d=v),v<p&&(p=v)}s[2*c]=d,s[2*c+1]=p,(0==a||d>this.mergedPeaks[2*c])&&(this.mergedPeaks[2*c]=d),(0==a||p<this.mergedPeaks[2*c+1])&&(this.mergedPeaks[2*c+1]=p)}return this.params.splitChannels?this.splitPeaks:this.mergedPeaks},getPlayedPercents:function(){return this.state.getPlayedPercents.call(this)},disconnectSource:function(){this.source&&this.source.disconnect()},destroy:function(){this.isPaused()||this.pause(),this.unAll(),this.buffer=null,this.disconnectFilters(),this.disconnectSource(),this.gainNode.disconnect(),this.scriptNode.disconnect(),this.analyser.disconnect(),this.params.closeAudioContext&&("function"==typeof this.ac.close&&"closed"!=this.ac.state&&this.ac.close(),this.ac=null,this.params.audioContext?this.params.audioContext=null:t.WebAudio.audioContext=null,t.WebAudio.offlineAudioContext=null)},load:function(t){this.startPosition=0,this.lastPlay=this.ac.currentTime,this.buffer=t,this.createSource()},createSource:function(){this.disconnectSource(),this.source=this.ac.createBufferSource(),this.source.start=this.source.start||this.source.noteGrainOn,this.source.stop=this.source.stop||this.source.noteOff,this.source.playbackRate.value=this.playbackRate,this.source.buffer=this.buffer,this.source.connect(this.analyser)},isPaused:function(){return this.state!==this.states[this.PLAYING_STATE]},getDuration:function(){return this.buffer?this.buffer.duration:0},seekTo:function(t,e){if(this.buffer)return this.scheduledPause=null,null==t&&(t=this.getCurrentTime())>=this.getDuration()&&(t=0),null==e&&(e=this.getDuration()),this.startPosition=t,this.lastPlay=this.ac.currentTime,this.state===this.states[this.FINISHED_STATE]&&this.setState(this.PAUSED_STATE),{start:t,end:e}},getPlayedTime:function(){return(this.ac.currentTime-this.lastPlay)*this.playbackRate},play:function(t,e){if(this.buffer){this.createSource();var n=this.seekTo(t,e);t=n.start,e=n.end,this.scheduledPause=e,this.source.start(0,t,e-t),"suspended"==this.ac.state&&this.ac.resume&&this.ac.resume(),this.setState(this.PLAYING_STATE),this.fireEvent("play")}},pause:function(){this.scheduledPause=null,this.startPosition+=this.getPlayedTime(),this.source&&this.source.stop(0),this.setState(this.PAUSED_STATE),this.fireEvent("pause")},getCurrentTime:function(){return this.state.getCurrentTime.call(this)},getPlaybackRate:function(){return this.playbackRate},setPlaybackRate:function(t){t=t||1,this.isPaused()?this.playbackRate=t:(this.pause(),this.playbackRate=t,this.play())}},t.WebAudio.state={},t.WebAudio.state.playing={init:function(){this.addOnAudioProcess()},getPlayedPercents:function(){var t=this.getDuration();return this.getCurrentTime()/t||0},getCurrentTime:function(){return this.startPosition+this.getPlayedTime()}},t.WebAudio.state.paused={init:function(){this.removeOnAudioProcess()},getPlayedPercents:function(){var t=this.getDuration();return this.getCurrentTime()/t||0},getCurrentTime:function(){return this.startPosition}},t.WebAudio.state.finished={init:function(){this.removeOnAudioProcess(),this.fireEvent("finish")},getPlayedPercents:function(){return 1},getCurrentTime:function(){return this.getDuration()}},t.util.extend(t.WebAudio,t.Observer),t.MediaElement=Object.create(t.WebAudio),t.util.extend(t.MediaElement,{init:function(t){this.params=t,this.media={currentTime:0,duration:0,paused:!0,playbackRate:1,play:function(){},pause:function(){}},this.mediaType=t.mediaType.toLowerCase(),this.elementPosition=t.elementPosition,this.setPlaybackRate(this.params.audioRate),this.createTimer()},createTimer:function(){var t=this,e=function(){t.isPaused()||(t.fireEvent("audioprocess",t.getCurrentTime()),(window.requestAnimationFrame||window.webkitRequestAnimationFrame)(e))};this.on("play",e)},load:function(t,e,n,r){var o=document.createElement(this.mediaType);o.controls=this.params.mediaControls,o.autoplay=this.params.autoplay||!1,o.preload=null==r?"auto":r,o.src=t,o.style.width="100%";var i=e.querySelector(this.mediaType);i&&e.removeChild(i),e.appendChild(o),this._load(o,n)},loadElt:function(t,e){var n=t;n.controls=this.params.mediaControls,n.autoplay=this.params.autoplay||!1,this._load(n,e)},_load:function(t,e){var n=this;"function"==typeof t.load&&t.load(),t.addEventListener("error",(function(){n.fireEvent("error","Error loading media element")})),t.addEventListener("canplay",(function(){n.fireEvent("canplay")})),t.addEventListener("ended",(function(){n.fireEvent("finish")})),t.addEventListener("play",(function(){n.fireEvent("play")})),t.addEventListener("pause",(function(){n.fireEvent("pause")})),this.media=t,this.peaks=e,this.onPlayEnd=null,this.buffer=null,this.setPlaybackRate(this.playbackRate)},isPaused:function(){return!this.media||this.media.paused},getDuration:function(){var t=(this.buffer||this.media).duration;return t>=1/0&&(t=this.media.seekable.end(0)),t},getCurrentTime:function(){return this.media&&this.media.currentTime},getPlayedPercents:function(){return this.getCurrentTime()/this.getDuration()||0},getPlaybackRate:function(){return this.playbackRate||this.media.playbackRate},setPlaybackRate:function(t){this.playbackRate=t||1,this.media.playbackRate=this.playbackRate},seekTo:function(t){null!=t&&(this.media.currentTime=t),this.clearPlayEnd()},play:function(t,e){this.seekTo(t),this.media.play(),e&&this.setPlayEnd(e)},pause:function(){this.media&&this.media.pause(),this.clearPlayEnd()},setPlayEnd:function(t){var e=this;this.onPlayEnd=function(n){n>=t&&(e.pause(),e.seekTo(t))},this.on("audioprocess",this.onPlayEnd)},clearPlayEnd:function(){this.onPlayEnd&&(this.un("audioprocess",this.onPlayEnd),this.onPlayEnd=null)},getPeaks:function(e,n,r){return this.buffer?t.WebAudio.getPeaks.call(this,e,n,r):this.peaks||[]},getVolume:function(){return this.media.volume},setVolume:function(t){this.media.volume=t},destroy:function(){this.pause(),this.unAll(),this.params.removeMediaElementOnDestroy&&this.media&&this.media.parentNode&&this.media.parentNode.removeChild(this.media),this.media=null}}),t.AudioElement=t.MediaElement,t.Drawer={init:function(t,e){this.container=t,this.params=e,this.width=0,this.height=e.height*this.params.pixelRatio,this.lastPos=0,this.initDrawer(e),this.createWrapper(),this.createElements()},createWrapper:function(){this.wrapper=this.container.appendChild(document.createElement("wave")),this.style(this.wrapper,{display:"block",position:"relative",userSelect:"none",webkitUserSelect:"none",height:this.params.height+"px"}),(this.params.fillParent||this.params.scrollParent)&&this.style(this.wrapper,{width:"100%",overflowX:this.params.hideScrollbar?"hidden":"auto",overflowY:"hidden"}),this.setupWrapperEvents()},handleEvent:function(t,e){!e&&t.preventDefault();var n,r=t.targetTouches?t.targetTouches[0].clientX:t.clientX,o=this.wrapper.getBoundingClientRect(),i=this.width,a=this.getWidth();return!this.params.fillParent&&i<a?(n=(r-o.left)*this.params.pixelRatio/i||0)>1&&(n=1):n=(r-o.left+this.wrapper.scrollLeft)/this.wrapper.scrollWidth||0,n},setupWrapperEvents:function(){var t=this;this.wrapper.addEventListener("click",(function(e){var n=t.wrapper.offsetHeight-t.wrapper.clientHeight;if(0!=n){var r=t.wrapper.getBoundingClientRect();if(e.clientY>=r.bottom-n)return}t.params.interact&&t.fireEvent("click",e,t.handleEvent(e))})),this.wrapper.addEventListener("scroll",(function(e){t.fireEvent("scroll",e)}))},drawPeaks:function(t,e,n,r){this.setWidth(e)||this.clearWave(),this.params.barWidth?this.drawBars(t,0,n,r):this.drawWave(t,0,n,r)},style:function(t,e){return Object.keys(e).forEach((function(n){t.style[n]!==e[n]&&(t.style[n]=e[n])})),t},resetScroll:function(){null!==this.wrapper&&(this.wrapper.scrollLeft=0)},recenter:function(t){var e=this.wrapper.scrollWidth*t;this.recenterOnPosition(e,!0)},recenterOnPosition:function(t,e){var n=this.wrapper.scrollLeft,r=~~(this.wrapper.clientWidth/2),o=t-r,i=o-n,a=this.wrapper.scrollWidth-this.wrapper.clientWidth;0!=a&&(!e&&-r<=i&&i<r&&(o=n+(i=Math.max(-5,Math.min(5,i)))),(o=Math.max(0,Math.min(a,o)))!=n&&(this.wrapper.scrollLeft=o))},getScrollX:function(){return Math.round(this.wrapper.scrollLeft*this.params.pixelRatio)},getWidth:function(){return Math.round(this.container.clientWidth*this.params.pixelRatio)},setWidth:function(t){return this.width!=t&&(this.width=t,this.params.fillParent||this.params.scrollParent?this.style(this.wrapper,{width:""}):this.style(this.wrapper,{width:~~(this.width/this.params.pixelRatio)+"px"}),this.updateSize(),!0)},setHeight:function(t){return t!=this.height&&(this.height=t,this.style(this.wrapper,{height:~~(this.height/this.params.pixelRatio)+"px"}),this.updateSize(),!0)},progress:function(t){var e=1/this.params.pixelRatio,n=Math.round(t*this.width)*e;if(n<this.lastPos||n-this.lastPos>=e){if(this.lastPos=n,this.params.scrollParent&&this.params.autoCenter){var r=~~(this.wrapper.scrollWidth*t);this.recenterOnPosition(r)}this.updateProgress(n)}},destroy:function(){this.unAll(),this.wrapper&&(this.wrapper.parentNode==this.container&&this.container.removeChild(this.wrapper),this.wrapper=null)},initDrawer:function(){},createElements:function(){},updateCursor:function(){},updateSize:function(){},drawWave:function(t,e){},clearWave:function(){},updateProgress:function(t){}},t.util.extend(t.Drawer,t.Observer),t.Drawer.Canvas=Object.create(t.Drawer),t.util.extend(t.Drawer.Canvas,{createElements:function(){var t=this.wrapper.appendChild(this.style(document.createElement("canvas"),{position:"absolute",zIndex:1,left:0,top:0,bottom:0,pointerEvents:"none"}));if(this.waveCc=t.getContext("2d"),this.progressWave=this.wrapper.appendChild(this.style(document.createElement("wave"),{position:"absolute",zIndex:2,left:0,top:0,bottom:0,overflow:"hidden",width:"0",display:"none",boxSizing:"border-box",borderRightStyle:"solid",pointerEvents:"none"})),this.updateCursor(),this.params.waveColor!=this.params.progressColor){var e=this.progressWave.appendChild(document.createElement("canvas"));this.progressCc=e.getContext("2d")}},updateCursor:function(){this.style(this.progressWave,{borderRightWidth:this.params.cursorWidth+"px",borderRightColor:this.params.cursorColor})},updateSize:function(){var t=Math.round(this.width/this.params.pixelRatio);this.waveCc.canvas.width=this.width,this.waveCc.canvas.height=this.height,this.style(this.waveCc.canvas,{width:t+"px"}),this.style(this.progressWave,{display:"block"}),this.progressCc&&(this.progressCc.canvas.width=this.width,this.progressCc.canvas.height=this.height,this.style(this.progressCc.canvas,{width:t+"px"})),this.clearWave()},clearWave:function(){this.waveCc.clearRect(0,0,this.width,this.height),this.progressCc&&this.progressCc.clearRect(0,0,this.width,this.height)},drawBars:t.util.frame((function(e,n,r,o){var i=this;if(e[0]instanceof Array){var a=e;if(this.params.splitChannels)return this.setHeight(a.length*this.params.height*this.params.pixelRatio),void a.forEach((function(t,e){i.drawBars(t,e,r,o)}));e=a[0]}var s=1;[].some.call(e,(function(t){return t<0}))&&(s=2);var u=.5/this.params.pixelRatio,c=this.width,l=this.params.height*this.params.pixelRatio,f=l*n||0,p=l/2,d=e.length/s,h=this.params.barWidth*this.params.pixelRatio,v=Math.max(this.params.pixelRatio,~~(h/2)),g=h+v,y=1/this.params.barHeight;if(this.params.normalize){var m=t.util.max(e),b=t.util.min(e);y=-b>m?-b:m}var w=d/c;this.waveCc.fillStyle=this.params.waveColor,this.progressCc&&(this.progressCc.fillStyle=this.params.progressColor),[this.waveCc,this.progressCc].forEach((function(t){if(t)for(var n=r/w;n<o/w;n+=g){var i=e[Math.floor(n*w*s)]||0,a=Math.round(i/y*p);t.fillRect(n+u,p-a+f,h+u,2*a)}}),this)})),drawWave:t.util.frame((function(e,n,r,o){var i=this;if(e[0]instanceof Array){var a=e;if(this.params.splitChannels)return this.setHeight(a.length*this.params.height*this.params.pixelRatio),void a.forEach((function(t,e){i.drawWave(t,e,r,o)}));e=a[0]}if(![].some.call(e,(function(t){return t<0}))){for(var s=[],u=0,c=e.length;u<c;u++)s[2*u]=e[u],s[2*u+1]=-e[u];e=s}var l=.5/this.params.pixelRatio,f=this.params.height*this.params.pixelRatio,p=f*n||0,d=f/2,h=~~(e.length/2),v=1;this.params.fillParent&&this.width!=h&&(v=this.width/h);var g=1/this.params.barHeight;if(this.params.normalize){var y=t.util.max(e),m=t.util.min(e);g=-m>y?-m:y}this.waveCc.fillStyle=this.params.waveColor,this.progressCc&&(this.progressCc.fillStyle=this.params.progressColor),[this.waveCc,this.progressCc].forEach((function(t){if(t){for(t.beginPath(),t.moveTo(r*v+l,d+p),n=r;n<o;n++)i=Math.round(e[2*n]/g*d),t.lineTo(n*v+l,d-i+p);for(var n=o-1;n>=r;n--){var i=Math.round(e[2*n+1]/g*d);t.lineTo(n*v+l,d-i+p)}t.closePath(),t.fill(),t.fillRect(0,d+p-l,this.width,l)}}),this)})),updateProgress:function(t){this.style(this.progressWave,{width:t+"px"})},getImage:function(t,e){return this.waveCc.canvas.toDataURL(t,e)}}),t.Drawer.MultiCanvas=Object.create(t.Drawer),t.util.extend(t.Drawer.MultiCanvas,{initDrawer:function(t){if(this.maxCanvasWidth=null!=t.maxCanvasWidth?t.maxCanvasWidth:4e3,this.maxCanvasElementWidth=Math.round(this.maxCanvasWidth/this.params.pixelRatio),this.maxCanvasWidth<=1)throw"maxCanvasWidth must be greater than 1.";if(this.maxCanvasWidth%2==1)throw"maxCanvasWidth must be an even number.";this.hasProgressCanvas=this.params.waveColor!=this.params.progressColor,this.halfPixel=.5/this.params.pixelRatio,this.canvases=[]},createElements:function(){this.progressWave=this.wrapper.appendChild(this.style(document.createElement("wave"),{position:"absolute",zIndex:2,left:0,top:0,bottom:0,overflow:"hidden",width:"0",display:"none",boxSizing:"border-box",borderRightStyle:"solid",pointerEvents:"none"})),this.addCanvas(),this.updateCursor()},updateCursor:function(){this.style(this.progressWave,{borderRightWidth:this.params.cursorWidth+"px",borderRightColor:this.params.cursorColor})},updateSize:function(){for(var t=Math.round(this.width/this.params.pixelRatio),e=Math.ceil(t/this.maxCanvasElementWidth);this.canvases.length<e;)this.addCanvas();for(;this.canvases.length>e;)this.removeCanvas();this.canvases.forEach((function(t,e){var n=this.maxCanvasWidth+2*Math.ceil(this.params.pixelRatio/2);e==this.canvases.length-1&&(n=this.width-this.maxCanvasWidth*(this.canvases.length-1)),this.updateDimensions(t,n,this.height),this.clearWaveForEntry(t)}),this)},addCanvas:function(){var t={},e=this.maxCanvasElementWidth*this.canvases.length;t.wave=this.wrapper.appendChild(this.style(document.createElement("canvas"),{position:"absolute",zIndex:1,left:e+"px",top:0,bottom:0,height:"100%",pointerEvents:"none"})),t.waveCtx=t.wave.getContext("2d"),this.hasProgressCanvas&&(t.progress=this.progressWave.appendChild(this.style(document.createElement("canvas"),{position:"absolute",left:e+"px",top:0,bottom:0,height:"100%"})),t.progressCtx=t.progress.getContext("2d")),this.canvases.push(t)},removeCanvas:function(){var t=this.canvases.pop();t.wave.parentElement.removeChild(t.wave),this.hasProgressCanvas&&t.progress.parentElement.removeChild(t.progress)},updateDimensions:function(t,e,n){var r=Math.round(e/this.params.pixelRatio),o=Math.round(this.width/this.params.pixelRatio);t.start=t.waveCtx.canvas.offsetLeft/o||0,t.end=t.start+r/o,t.waveCtx.canvas.width=e,t.waveCtx.canvas.height=n,this.style(t.waveCtx.canvas,{width:r+"px"}),this.style(this.progressWave,{display:"block"}),this.hasProgressCanvas&&(t.progressCtx.canvas.width=e,t.progressCtx.canvas.height=n,this.style(t.progressCtx.canvas,{width:r+"px"}))},clearWave:function(){this.canvases.forEach((function(t){this.clearWaveForEntry(t)}),this)},clearWaveForEntry:function(t){t.waveCtx.clearRect(0,0,t.waveCtx.canvas.width,t.waveCtx.canvas.height),this.hasProgressCanvas&&t.progressCtx.clearRect(0,0,t.progressCtx.canvas.width,t.progressCtx.canvas.height)},drawBars:t.util.frame((function(e,n,r,o){if(e[0]instanceof Array){var i=e;if(this.params.splitChannels)return this.setHeight(i.length*this.params.height*this.params.pixelRatio),void i.forEach((function(t,e){this.drawBars(t,e,r,o)}),this);e=i[0]}var a=1;[].some.call(e,(function(t){return t<0}))&&(a=2);var s=this.width,u=this.params.height*this.params.pixelRatio,c=u*n||0,l=u/2,f=e.length/a,p=this.params.barWidth*this.params.pixelRatio,d=p+Math.max(this.params.pixelRatio,~~(p/2)),h=1/this.params.barHeight;if(this.params.normalize){var v=t.util.max(e),g=t.util.min(e);h=-g>v?-g:v}for(var y=f/s,m=r/y;m<o/y;m+=d){var b=e[Math.floor(m*y*a)]||0,w=Math.round(b/h*l);this.fillRect(m+this.halfPixel,l-w+c,p+this.halfPixel,2*w)}})),drawWave:t.util.frame((function(e,n,r,o){if(e[0]instanceof Array){var i=e;if(this.params.splitChannels)return this.setHeight(i.length*this.params.height*this.params.pixelRatio),void i.forEach((function(t,e){this.drawWave(t,e,r,o)}),this);e=i[0]}if(![].some.call(e,(function(t){return t<0}))){for(var a=[],s=0,u=e.length;s<u;s++)a[2*s]=e[s],a[2*s+1]=-e[s];e=a}var c=this.params.height*this.params.pixelRatio,l=c*n||0,f=c/2,p=1/this.params.barHeight;if(this.params.normalize){var d=t.util.max(e),h=t.util.min(e);p=-h>d?-h:d}this.drawLine(e,p,f,l,r,o);var v=e.length>0?0:this.params.fallbackProgressHeight;this.fillRect(0,f+l-this.halfPixel,this.width,this.halfPixel,v)})),drawLine:function(t,e,n,r,o,i){this.canvases.forEach((function(a){this.setFillStyles(a),this.drawLineToContext(a,a.waveCtx,t,e,n,r,o,i),this.drawLineToContext(a,a.progressCtx,t,e,n,r,o,i)}),this)},drawLineToContext:function(t,e,n,r,o,i,a,s){if(e){var u=n.length/2,c=1;this.params.fillParent&&this.width!=u&&(c=this.width/u);var l=Math.round(u*t.start),f=Math.round(u*t.end);if(!(l>s||f<a)){var p=Math.max(l,a),d=Math.min(f,s);for(e.beginPath(),e.moveTo((p-l)*c+this.halfPixel,o+i),g=p;g<d;g++){var h=n[2*g]||0,v=Math.round(h/r*o);e.lineTo((g-l)*c+this.halfPixel,o-v+i)}for(var g=d-1;g>=p;g--)h=n[2*g+1]||0,v=Math.round(h/r*o),e.lineTo((g-l)*c+this.halfPixel,o-v+i);e.closePath(),e.fill()}}},fillRect:function(t,e,n,r,o){o=o||0;for(var i=Math.floor(t/this.maxCanvasWidth),a=Math.min(Math.ceil((t+n)/this.maxCanvasWidth)+1,this.canvases.length),s=i;s<a;s++){var u=this.canvases[s],c=s*this.maxCanvasWidth,l={x1:Math.max(t,s*this.maxCanvasWidth),y1:e,x2:Math.min(t+n,s*this.maxCanvasWidth+u.waveCtx.canvas.width),y2:e+r};l.x1<l.x2&&(this.setFillStyles(u),this.fillRectToContext(u.waveCtx,l.x1-c,l.y1,l.x2-l.x1,l.y2-l.y1),this.fillRectToContext(u.progressCtx,l.x1-c,l.y1-o/2,l.x2-l.x1,l.y2-l.y1+o))}},fillRectToContext:function(t,e,n,r,o){t&&t.fillRect(e,n,r,o)},setFillStyles:function(t){t.waveCtx.fillStyle=this.params.waveColor,this.hasProgressCanvas&&(t.progressCtx.fillStyle=this.params.progressColor)},updateProgress:function(t){this.style(this.progressWave,{width:t+"px"})},getImage:function(t,e){var n=[];return this.canvases.forEach((function(r){n.push(r.wave.toDataURL(t,e))})),n.length>1?n:n[0]}}),t.Drawer.SplitWavePointPlot=Object.create(t.Drawer.Canvas),t.util.extend(t.Drawer.SplitWavePointPlot,{defaultPlotParams:{plotNormalizeTo:"whole",plotTimeStart:0,plotMin:0,plotMax:1,plotColor:"#f63",plotProgressColor:"#F00",plotPointHeight:2,plotPointWidth:2,plotSeparator:!0,plotSeparatorColor:"black",plotRangeDisplay:!1,plotRangeUnits:"",plotRangePrecision:4,plotRangeIgnoreOutliers:!1,plotRangeFontSize:12,plotRangeFontType:"Ariel",waveDrawMedianLine:!0,plotFileDelimiter:"\t"},plotTimeStart:0,plotTimeEnd:-1,plotArrayLoaded:!1,plotArray:[],plotPoints:[],plotMin:0,plotMax:1,initDrawer:function(t){var e=this;for(var n in this.defaultPlotParams)void 0===this.params[n]&&(this.params[n]=this.defaultPlotParams[n]);this.plotTimeStart=this.params.plotTimeStart,void 0!==this.params.plotTimeEnd&&(this.plotTimeEnd=this.params.plotTimeEnd),Array.isArray(t.plotArray)?(this.plotArray=t.plotArray,this.plotArrayLoaded=!0):this.loadPlotArrayFromFile(t.plotFileUrl,(function(t){e.plotArray=t,e.plotArrayLoaded=!0,e.fireEvent("plot_array_loaded")}),this.params.plotFileDelimiter)},drawPeaks:function(t,e,n,r){if(1==this.plotArrayLoaded)this.setWidth(e),this.splitChannels=!0,this.params.height=this.params.height/2,t[0]instanceof Array&&(t=t[0]),this.params.barWidth?this.drawBars(t,1,n,r):this.drawWave(t,1,n,r),this.params.height=2*this.params.height,this.calculatePlots(),this.drawPlots();else{var o=this;o.on("plot-array-loaded",(function(){o.drawPeaks(t,e,n,r)}))}},drawPlots:function(){var t=this.params.height*this.params.pixelRatio/2,e=.5/this.params.pixelRatio;for(var n in this.waveCc.fillStyle=this.params.plotColor,this.progressCc&&(this.progressCc.fillStyle=this.params.plotProgressColor),this.plotPoints){var r=parseInt(n),o=t-this.params.plotPointHeight-this.plotPoints[n]*(t-this.params.plotPointHeight),i=this.params.plotPointHeight;this.waveCc.fillRect(r,o,this.params.plotPointWidth,i),this.progressCc&&this.progressCc.fillRect(r,o,this.params.plotPointWidth,i)}this.params.plotSeparator&&(this.waveCc.fillStyle=this.params.plotSeparatorColor,this.waveCc.fillRect(0,t,this.width,e)),this.params.plotRangeDisplay&&this.displayPlotRange()},displayPlotRange:function(){var t=this.params.plotRangeFontSize*this.params.pixelRatio,e=this.plotMax.toPrecision(this.params.plotRangePrecision)+" "+this.params.plotRangeUnits,n=this.plotMin.toPrecision(this.params.plotRangePrecision)+" "+this.params.plotRangeUnits;this.waveCc.font=t.toString()+"px "+this.params.plotRangeFontType,this.waveCc.fillText(e,3,t),this.waveCc.fillText(n,3,this.height/2)},calculatePlots:function(){this.plotPoints={},this.calculatePlotTimeEnd();for(var t=[],e=-1,n=0,r=99999999999999,o=0,i=99999999999999,a=this.plotTimeEnd-this.plotTimeStart,s=0;s<this.plotArray.length;s++){var u=this.plotArray[s];if(u.value>n&&(n=u.value),u.value<r&&(r=u.value),u.time>=this.plotTimeStart&&u.time<=this.plotTimeEnd){var c=Math.round(this.width*(u.time-this.plotTimeStart)/a);if(t.push(u.value),c!==e&&t.length>0){var l=this.avg(t);l>o&&(o=l),l<i&&(i=l),this.plotPoints[e]=l,t=[]}e=c}}"whole"==this.params.plotNormalizeTo?(this.plotMin=r,this.plotMax=n):"values"==this.params.plotNormalizeTo?(this.plotMin=this.params.plotMin,this.plotMax=this.params.plotMax):(this.plotMin=i,this.plotMax=o),this.normalizeValues()},normalizeValues:function(){var t={};if("none"!==this.params.plotNormalizeTo){for(var e in this.plotPoints){var n=(this.plotPoints[e]-this.plotMin)/(this.plotMax-this.plotMin);n>1?this.params.plotRangeIgnoreOutliers||(t[e]=1):n<0?this.params.plotRangeIgnoreOutliers||(t[e]=0):t[e]=n}this.plotPoints=t}},loadPlotArrayFromFile:function(e,n,r){void 0===r&&(r="\t");var o=[],i={url:e,responseType:"text"};t.util.ajax(i).on("load",(function(t){if(200==t.currentTarget.status){for(var e=t.currentTarget.responseText.split("\n"),i=0;i<e.length;i++){var a=e[i].split(r);2==a.length&&o.push({time:parseFloat(a[0]),value:parseFloat(a[1])})}n(o)}}))},calculatePlotTimeEnd:function(){void 0!==this.params.plotTimeEnd?this.plotTimeEnd=this.params.plotTimeEnd:this.plotTimeEnd=this.plotArray[this.plotArray.length-1].time},avg:function(t){return t.reduce((function(t,e){return t+e}))/t.length}}),t.util.extend(t.Drawer.SplitWavePointPlot,t.Observer),t.PeakCache={init:function(){this.clearPeakCache()},clearPeakCache:function(){this.peakCacheRanges=[],this.peakCacheLength=-1},addRangeToPeakCache:function(t,e,n){t!=this.peakCacheLength&&(this.clearPeakCache(),this.peakCacheLength=t);for(var r=[],o=0;o<this.peakCacheRanges.length&&this.peakCacheRanges[o]<e;)o++;for(o%2==0&&r.push(e);o<this.peakCacheRanges.length&&this.peakCacheRanges[o]<=n;)r.push(this.peakCacheRanges[o]),o++;o%2==0&&r.push(n),r=r.filter((function(t,e,n){return 0==e?t!=n[e+1]:e==n.length-1?t!=n[e-1]:t!=n[e-1]&&t!=n[e+1]})),this.peakCacheRanges=this.peakCacheRanges.concat(r),this.peakCacheRanges=this.peakCacheRanges.sort((function(t,e){return t-e})).filter((function(t,e,n){return 0==e?t!=n[e+1]:e==n.length-1?t!=n[e-1]:t!=n[e-1]&&t!=n[e+1]}));var i=[];for(o=0;o<r.length;o+=2)i.push([r[o],r[o+1]]);return i},getCacheRanges:function(){for(var t=[],e=0;e<this.peakCacheRanges.length;e+=2)t.push([this.peakCacheRanges[e],this.peakCacheRanges[e+1]]);return t}},function(){var e=function(){var e=document.querySelectorAll("wavesurfer");Array.prototype.forEach.call(e,(function(e){var n=t.util.extend({container:e,backend:"MediaElement",mediaControls:!0},e.dataset);e.style.display="block";var r=t.create(n);if(e.dataset.peaks)var o=JSON.parse(e.dataset.peaks);r.load(e.dataset.url,o)}))};"complete"===document.readyState?e():window.addEventListener("load",e)}(),t}()}.apply(e,[]))||(t.exports=r)},function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var u,c=[],l=!1,f=-1;function p(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&d())}function d(){if(!l){var t=s(p);l=!0;for(var e=c.length;e;){for(u=c,c=[];++f<e;)u&&u[f].run();f=-1,e=c.length}u=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function v(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new h(t,e)),1!==c.length||l||s(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e,n){"use strict";n.r(e);var r={};n.r(r),n.d(r,"updatePageAttribute",(function(){return E})),n.d(r,"updatePageLink",(function(){return O})),n.d(r,"updateSetting",(function(){return S}));var o={};n.r(o),n.d(o,"PageWrapper",(function(){return W})),n.d(o,"PageBackground",(function(){return H})),n.d(o,"PageBackgroundImage",(function(){return jn})),n.d(o,"PageShadow",(function(){return In})),n.d(o,"PageForeground",(function(){return Mn})),n.d(o,"PageContent",(function(){return Fn})),n.d(o,"PageScroller",(function(){return Bn})),n.d(o,"PageHeader",(function(){return Un})),n.d(o,"PageText",(function(){return Wn})),n.d(o,"PageLink",(function(){return Yn})),n.d(o,"PageThumbnail",(function(){return Jn})),n.d(o,"LazyLoadedPageThumbnail",(function(){return Zn})),n.d(o,"PlayerControls",(function(){return Ur})),n.d(o,"CloseButton",(function(){return Vr})),n.d(o,"MenuBar",(function(){return Dr})),n.d(o,"Icon",(function(){return ur})),n.d(o,"editorOnly",(function(){return Gr})),n.d(o,"withVisibilityWatching",(function(){return Br})),n.d(o,"Draggable",(function(){return Er.a})),n.d(o,"Measure",(function(){return xr.a}));var i={};n.r(i),n.d(i,"pageAttribute",(function(){return tn})),n.d(i,"pageAttributes",(function(){return en})),n.d(i,"pageIsActive",(function(){return rn})),n.d(i,"pageIsPrepared",(function(){return an})),n.d(i,"currentParentPageAttributes",(function(){return Kr})),n.d(i,"currentParentChapterAttributes",(function(){return $r})),n.d(i,"t",(function(){return Hr})),n.d(i,"setting",(function(){return Qr})),n.d(i,"file",(function(){return Ye})),n.d(i,"prop",(function(){return Vn})),n.d(i,"widgetAttributes",(function(){return to})),n.d(i,"editingWidget",(function(){return eo}));n(175),n(177),n(178),n(179),n(180),n(181),n(182),n(183),n(184),n(185),n(186),n(187),n(188),n(189),n(190),n(191),n(192),n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(202),n(203),n(79),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(218),n(219),n(220),n(221),n(222),n(223),n(225),n(226),n(228),n(229),n(230),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(243),n(244),n(245),n(246),n(247),n(248),n(249),n(250),n(251),n(252),n(253),n(254),n(255),n(257),n(258),n(259),n(260),n(261),n(262),n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(270),n(271),n(272),n(273),n(274),n(275),n(276),n(277),n(278),n(279),n(280),n(281),n(282),n(283),n(284),n(285),n(286),n(287),n(288),n(289),n(291),n(292),n(293),n(294),n(297),n(298),n(299),n(300),n(301),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(316),n(317),n(318),n(319),n(157),n(320),n(321),n(322),n(323),n(324),n(325),n(326),n(327),n(328),n(329),n(330),n(331),n(332),n(333),n(334),n(335),n(336),n(337),n(338),n(339),n(340),n(341),n(342),n(343),n(344),n(345),n(347),n(348),n(349),n(350),n(351),n(352),n(353),n(354),n(355),n(356),n(357),n(358),n(359),n(360),n(361),n(362),n(363),n(364),n(365),n(366),n(367),n(368),n(369),n(370),n(371),n(372),n(373),n(374),n(375),n(376),n(377),n(378),n(379),n(380),n(381),n(382),n(383),n(384),n(385),n(386),n(387),n(390),n(164);var a=n(4),s=(n(391),"PAGE_DID_ACTIVATE"),u="PAGE_WILL_ACTIVATE",c="PAGE_DID_DEACTIVATE",l="PAGE_WILL_DEACTIVATE",f="PAGE_DID_PRELOAD",p="PAGE_DID_PREPARE",d="PAGE_SCHEDULE_UNPREPARE",h="PAGE_DID_UNPREPARE",v="PAGE_DID_RESIZE",g="PAGE_ENHANCE",y="PAGE_CLEANUP",m="UPDATE_PAGE_ATTRIBUTE",b="UPDATE_PAGE_LINK";function w(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(h,t)}function E(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.id,n=t.name,r=t.value;return x(m,e,{name:n,value:r})}function O(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.pageId,n=t.linkId,r=t.name,o=t.value;return x(b,e,{linkId:n,name:r,value:o})}function x(t,e){return{type:t,meta:{collectionName:"pages",itemId:e},payload:arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}}}var P="SETTINGS_LOAD",k="SETTINGS_UPDATE";function _(t){var e=t.settings;return{type:P,payload:{settings:e}}}function S(t){var e=t.property,n=t.value;return{type:k,payload:{property:e,value:n}}}function T(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function A(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function C(t,e,n){return e&&A(t.prototype,e),n&&A(t,n),t}function j(t){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function I(t){return(I="function"==typeof Symbol&&"symbol"===j(Symbol.iterator)?function(t){return j(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":j(t)})(t)}function M(t,e){return!e||"object"!==I(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function R(t){return(R=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function D(t,e){return(D=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function N(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&D(t,e)}var L=n(0),B=n.n(L),F=n(5),U=n.n(F),W=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),C(e,[{key:"render",value:function(){return React.createElement("div",{className:U()("content_and_background",this.props.className)},this.props.children)}}]),e}(L.Component);function H(t){return React.createElement("div",{className:(e=t,n=e.pageHasPlayerControls,U()("page_background",{"page_background-for_page_with_player_controls":n}))},t.children);var e,n}var q=n(169),V=n.n(q);function G(t){return!!V()(t).match(/^\s*$/)}function z(t){return t.replace(/_[a-z]/g,(function(t){return t[1].toUpperCase()}))}z.keys=function(t){return Object.keys(t).reduce((function(e,n){return e[z(n)]=t[n],e}),{})},z.deep=function(t){return Array.isArray(t)?t.map(z.deep):"object"==typeof t&&t?Object.keys(t).reduce((function(e,n){return e[z(n)]=z.deep(t[n]),e}),{}):t},z.concat=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.filter((function(t){return t})).reduce((function(t,e){return t+e[0].toUpperCase()+e.slice(1)}))};var Y=z,X=function(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Object.keys(t).reduce((function(e,r){return"function"==typeof t[r]?e[r]=t[r].apply(t,n):e[r]=t[r],e}),{})}},$=n(60),K=n(120),Q=Symbol("selectorFactory"),J=Symbol("createSelector");function Z(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return nt((function(t,n){var r=e.slice(0,-1).map(et),o=e.slice(-1)[0],i=K.createSelector.apply(void 0,Object($.a)(r).concat([o]));if(t===J)return i;if(t)return i(t,n);throw"Missing state argument for selector."}))}function tt(t,e){return nt((function(){return Object(K.createStructuredSelector)(function(t){return Object.keys(t).reduce((function(e,n){return e[n]=et(t[n]),e}),{})}((e=t,Object.keys(e).reduce((function(t,n){return"function"==typeof e[n]?t[n]=e[n]:t[n]=function(){return e[n]},t}),{}))));var e}))}function et(t){return"function"==typeof t&&t[Q]?t(J):t}function nt(t){return t[Q]=!0,t}function rt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pageflow.browser;return e&&e.has(t)}function ot(t){return new Promise((function(e){var n=new Image;n.onload=e,n.onerror=e,n.src=t}))}var it=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),C(e,[{key:"render",value:function(){var t=this;return B.a.createElement("div",{className:this.cssClass(),style:this.style(),ref:function(e){return t.element=e}},this.renderStructuredData())}},{key:"componentDidUpdate",value:function(t){this.props.loaded&&!t.loaded&&function(t){var e=window.getComputedStyle(t).getPropertyValue("background-image");if(e.match(/^url/))ot(e.replace(/^url\(['"]?/,"").replace(/['"]?\)$/,""))}(this.element)}},{key:"cssClass",value:function(){return U()(this.props.className,this.props.loaded?"load_image":null,this.imageCssClass())}},{key:"imageCssClass",value:function(){return["imageFiles"==this.props.fileCollection?"image":"video_poster",this.props.fileId||"none"].join("_")}},{key:"style",value:function(){return{backgroundPosition:"".concat(this.positionCoordinate(0),"% ").concat(this.positionCoordinate(1),"%")}}},{key:"positionCoordinate",value:function(t){var e=this.props.position[t];return void 0===e?50:e}},{key:"renderStructuredData",value:function(){if(this.props.structuredDataComponent){var t=this.props.structuredDataComponent;return B.a.createElement(t,{fileCollection:this.props.fileCollection,fileId:this.props.fileId})}}}]),e}(B.a.Component);it.defaultProps={position:[50,50],fileCollection:"imageFiles"};var at=n(17),st=Object(at.c)({isPreloaded:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case f:return!0;default:return t}},isPrepared:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case p:case u:return!0;case h:return!1;default:return t}},isActive:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case u:return!0;case l:return!1;default:return t}},isActivated:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case s:return!0;case l:return!1;default:return t}},initialScrollerPosition:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case u:return e.payload.position||"top";case l:return null;default:return t}}});var ut="COLLECTION_RESET",ct="COLLECTION_ADD",lt="COLLECTION_CHANGE",ft="COLLECTION_REMOVE",pt="COLLECTION_ORDER";function dt(t){var e=t.collectionName,n=t.items;return{type:ut,meta:{collectionName:e},payload:{collectionName:e,items:n}}}function ht(t){var e=t.collectionName,n=t.attributes,r=t.order;return{type:ct,meta:{collectionName:e},payload:{attributes:n,order:r}}}function vt(t){var e=t.collectionName,n=t.attributes;return{type:lt,meta:{collectionName:e},payload:{attributes:n}}}function gt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case ct:case lt:return e.payload.attributes;default:return t}}function yt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function mt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?yt(n,!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):yt(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var bt=function(t){var e={};function n(n){return e[n]=e[n]||Object(at.c)({attributes:gt,state:Object(at.c)({custom:t[n]||function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t},common:st})}),e[n]}return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,o=gt(t.attributes,e);return n(o.type)(r(t,t.attributes,o),e)};function r(t,e,n){return e&&e.type!==n.type?mt({},t,{state:mt({},t.state,{custom:void 0})}):t}},wt=n(2),Et=n.n(wt),Ot=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.namespace;return function(e){if(n){if(!e[n])throw new Error("Cannot select from unknown namespace ".concat(n,"."));e=e[n]}return e[t].items||{}}};function xt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Pt(t,e,n){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?xt(n,!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):xt(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t,Object(a.a)({},kt(e),n))}function kt(t){return"__".concat(t,"_connectedId")}var _t=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.namespace;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.id;return function(e,o){var i=r,a=e;if(n){if(!e[n])throw new Error("Cannot select from unknown namespace ".concat(n,"."));a=e[n]}if(!a[t])throw new Error("Cannot select from unknown collection ".concat(t,"."));return"function"==typeof r&&(i=r(e,o)),(i=i||e[kt(t)])?a[t].items[i]:null}}};function St(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Tt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?St(n,!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):St(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var At=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.idAttribute,r=void 0===n?"id":n,o=e.itemReducer,i=void 0===o?gt:o,s={order:[],items:{}};return function(){var e,n,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,u=arguments.length>1?arguments[1]:void 0;if(!u.meta||u.meta.collectionName!=t)return o;switch(u.type){case ut:return{order:u.payload.items.map((function(t){return t[r]})),items:u.payload.items.reduce((function(t,e){return t[e[r]]=i(void 0,ht({collectioName:u.payload.collectioName,attributes:e})),t}),{})};case ct:return{order:u.payload.order,items:Tt({},o.items,Object(a.a)({},u.payload.attributes[r],i(void 0,u)))};case lt:return n=u.payload.attributes[r],{order:o.order,items:Tt({},o.items,Object(a.a)({},n,i(o.items[n],u)))};case ft:return n=u.payload.attributes[r],delete(e=Tt({},o.items))[n],{order:u.payload.order,items:e};case pt:return{items:o.items,order:u.payload.order};default:if(u.meta.itemId){var c=o.items[u.meta.itemId],l=i(c,u);if(l!==c)return{order:o.order,items:Tt({},o.items,Object(a.a)({},u.meta.itemId,l))}}return o}}};function Ct(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function jt(t,e,n){t.meta&&t.meta.collectionName==e&&!t.meta.itemId&&(t.meta=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ct(n,!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ct(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t.meta,{itemId:n}))}function It(t,e){return t.meta&&t.meta.collectionName==e}function Mt(t){return t.meta&&t.meta.itemId}var Rt=n(3),Dt=n(7);function Nt(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var Lt=n(28),Bt=n.n(Lt),Ft=Bt.a.shape({trySubscribe:Bt.a.func.isRequired,tryUnsubscribe:Bt.a.func.isRequired,notifyNestedSubs:Bt.a.func.isRequired,isSubscribed:Bt.a.func.isRequired}),Ut=Bt.a.shape({subscribe:Bt.a.func.isRequired,dispatch:Bt.a.func.isRequired,getState:Bt.a.func.isRequired});B.a.forwardRef;var Wt=function(t){var e;void 0===t&&(t="store");var n=t+"Subscription",r=function(e){Nt(o,e);var r=o.prototype;function o(n,r){var o;return(o=e.call(this,n,r)||this)[t]=n.store,o}return r.getChildContext=function(){var e;return(e={})[t]=this[t],e[n]=null,e},r.render=function(){return L.Children.only(this.props.children)},o}(L.Component);return r.propTypes={store:Ut.isRequired,children:Bt.a.element.isRequired},r.childContextTypes=((e={})[t]=Ut.isRequired,e[n]=Ft,e),r}();function Ht(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qt(){return(qt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Vt(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}var Gt=n(172),zt=n.n(Gt),Yt=n(96),Xt=n.n(Yt),$t=n(119),Kt=null,Qt={notify:function(){}};var Jt=function(){function t(t,e,n){this.store=t,this.parentSub=e,this.onStateChange=n,this.unsubscribe=null,this.listeners=Qt}var e=t.prototype;return e.addNestedSub=function(t){return this.trySubscribe(),this.listeners.subscribe(t)},e.notifyNestedSubs=function(){this.listeners.notify()},e.isSubscribed=function(){return Boolean(this.unsubscribe)},e.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=function(){var t=[],e=[];return{clear:function(){e=Kt,t=Kt},notify:function(){for(var n=t=e,r=0;r<n.length;r++)n[r]()},get:function(){return e},subscribe:function(n){var r=!0;return e===t&&(e=t.slice()),e.push(n),function(){r&&t!==Kt&&(r=!1,e===t&&(e=t.slice()),e.splice(e.indexOf(n),1))}}}}())},e.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=Qt)},t}(),Zt=void 0!==B.a.forwardRef,te=0,ee={};function ne(){}function re(t,e){var n,r;void 0===e&&(e={});var o=e,i=o.getDisplayName,a=void 0===i?function(t){return"ConnectAdvanced("+t+")"}:i,s=o.methodName,u=void 0===s?"connectAdvanced":s,c=o.renderCountProp,l=void 0===c?void 0:c,f=o.shouldHandleStateChanges,p=void 0===f||f,d=o.storeKey,h=void 0===d?"store":d,v=o.withRef,g=void 0!==v&&v,y=Vt(o,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),m=h+"Subscription",b=te++,w=((n={})[h]=Ut,n[m]=Ft,n),E=((r={})[m]=Ft,r);return function(e){Xt()(Object($t.isValidElementType)(e),"You must pass a component to the function returned by "+u+". Instead received "+JSON.stringify(e));var n=e.displayName||e.name||"Component",r=a(n),o=qt({},y,{getDisplayName:a,methodName:u,renderCountProp:l,shouldHandleStateChanges:p,storeKey:h,withRef:g,displayName:r,wrappedComponentName:n,WrappedComponent:e}),i=function(n){function i(t,e){var o;return(o=n.call(this,t,e)||this).version=b,o.state={},o.renderCount=0,o.store=t[h]||e[h],o.propsMode=Boolean(t[h]),o.setWrappedInstance=o.setWrappedInstance.bind(Ht(Ht(o))),Xt()(o.store,'Could not find "'+h+'" in either the context or props of "'+r+'". Either wrap the root component in a <Provider>, or explicitly pass "'+h+'" as a prop to "'+r+'".'),o.initSelector(),o.initSubscription(),o}Nt(i,n);var a=i.prototype;return a.getChildContext=function(){var t,e=this.propsMode?null:this.subscription;return(t={})[m]=e||this.context[m],t},a.componentDidMount=function(){p&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},a.componentWillReceiveProps=function(t){this.selector.run(t)},a.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},a.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=ne,this.store=null,this.selector.run=ne,this.selector.shouldComponentUpdate=!1},a.getWrappedInstance=function(){return Xt()(g,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+u+"() call."),this.wrappedInstance},a.setWrappedInstance=function(t){this.wrappedInstance=t},a.initSelector=function(){var e=t(this.store.dispatch,o);this.selector=function(t,e){var n={run:function(r){try{var o=t(e.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(t){n.shouldComponentUpdate=!0,n.error=t}}};return n}(e,this.store),this.selector.run(this.props)},a.initSubscription=function(){if(p){var t=(this.propsMode?this.props:this.context)[m];this.subscription=new Jt(this.store,t,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},a.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(ee)):this.notifyNestedSubs()},a.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},a.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},a.addExtraProps=function(t){if(!(g||l||this.propsMode&&this.subscription))return t;var e=qt({},t);return g&&(e.ref=this.setWrappedInstance),l&&(e[l]=this.renderCount++),this.propsMode&&this.subscription&&(e[m]=this.subscription),e},a.render=function(){var t=this.selector;if(t.shouldComponentUpdate=!1,t.error)throw t.error;return Object(L.createElement)(e,this.addExtraProps(t.props))},i}(L.Component);return Zt&&(i.prototype.UNSAFE_componentWillReceiveProps=i.prototype.componentWillReceiveProps,delete i.prototype.componentWillReceiveProps),i.WrappedComponent=e,i.displayName=r,i.childContextTypes=E,i.contextTypes=w,i.propTypes=w,zt()(i,e)}}var oe=Object.prototype.hasOwnProperty;function ie(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!=t&&e!=e}function ae(t,e){if(ie(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!oe.call(e,n[o])||!ie(t[n[o]],e[n[o]]))return!1;return!0}function se(t){return function(e,n){var r=t(e,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function ue(t){return null!==t.dependsOnOwnProps&&void 0!==t.dependsOnOwnProps?Boolean(t.dependsOnOwnProps):1!==t.length}function ce(t,e){return function(e,n){n.displayName;var r=function(t,e){return r.dependsOnOwnProps?r.mapToProps(t,e):r.mapToProps(t)};return r.dependsOnOwnProps=!0,r.mapToProps=function(e,n){r.mapToProps=t,r.dependsOnOwnProps=ue(t);var o=r(e,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=ue(o),o=r(e,n)),o},r}}var le=[function(t){return"function"==typeof t?ce(t):void 0},function(t){return t?void 0:se((function(t){return{dispatch:t}}))},function(t){return t&&"object"==typeof t?se((function(e){return Object(at.b)(t,e)})):void 0}];var fe=[function(t){return"function"==typeof t?ce(t):void 0},function(t){return t?void 0:se((function(){return{}}))}];function pe(t,e,n){return qt({},n,t,e)}var de=[function(t){return"function"==typeof t?function(t){return function(e,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,a=!1;return function(e,n,s){var u=t(e,n,s);return a?o&&i(u,r)||(r=u):(a=!0,r=u),r}}}(t):void 0},function(t){return t?void 0:function(){return pe}}];function he(t,e,n,r){return function(o,i){return n(t(o,i),e(r,i),i)}}function ve(t,e,n,r,o){var i,a,s,u,c,l=o.areStatesEqual,f=o.areOwnPropsEqual,p=o.areStatePropsEqual,d=!1;function h(o,d){var h,v,g=!f(d,a),y=!l(o,i);return i=o,a=d,g&&y?(s=t(i,a),e.dependsOnOwnProps&&(u=e(r,a)),c=n(s,u,a)):g?(t.dependsOnOwnProps&&(s=t(i,a)),e.dependsOnOwnProps&&(u=e(r,a)),c=n(s,u,a)):y?(h=t(i,a),v=!p(h,s),s=h,v&&(c=n(s,u,a)),c):c}return function(o,l){return d?h(o,l):(s=t(i=o,a=l),u=e(r,a),c=n(s,u,a),d=!0,c)}}function ge(t,e){var n=e.initMapStateToProps,r=e.initMapDispatchToProps,o=e.initMergeProps,i=Vt(e,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(t,i),s=r(t,i),u=o(t,i);return(i.pure?ve:he)(a,s,u,t,i)}function ye(t,e,n){for(var r=e.length-1;r>=0;r--){var o=e[r](t);if(o)return o}return function(e,r){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function me(t,e){return t===e}var be,we,Ee,Oe,xe,Pe,ke,_e,Se,Te,Ae,Ce,je=(Ee=(we=void 0===be?{}:be).connectHOC,Oe=void 0===Ee?re:Ee,xe=we.mapStateToPropsFactories,Pe=void 0===xe?fe:xe,ke=we.mapDispatchToPropsFactories,_e=void 0===ke?le:ke,Se=we.mergePropsFactories,Te=void 0===Se?de:Se,Ae=we.selectorFactory,Ce=void 0===Ae?ge:Ae,function(t,e,n,r){void 0===r&&(r={});var o=r,i=o.pure,a=void 0===i||i,s=o.areStatesEqual,u=void 0===s?me:s,c=o.areOwnPropsEqual,l=void 0===c?ae:c,f=o.areStatePropsEqual,p=void 0===f?ae:f,d=o.areMergedPropsEqual,h=void 0===d?ae:d,v=Vt(o,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),g=ye(t,Pe,"mapStateToProps"),y=ye(e,_e,"mapDispatchToProps"),m=ye(n,Te,"mergeProps");return Oe(Ce,qt({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:g,initMapDispatchToProps:y,initMergeProps:m,pure:a,areStatesEqual:u,areOwnPropsEqual:l,areStatePropsEqual:p,areMergedPropsEqual:h},v))});function Ie(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var Me=function(t){var e=function(e){function n(){return T(this,n),M(this,R(n).apply(this,arguments))}return N(n,e),C(n,[{key:"getChildContext",value:function(){return Object(a.a)({},kt(t),this.props.itemId)}},{key:"render",value:function(){return this.props.children}}]),n}(B.a.Component);return e.childContextTypes=Object(a.a)({},kt(t),B.a.PropTypes.number),e};function Re(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var De=function(t,e,n){var r=Y.deep(t.reduce((function(t,n){if("object"==typeof n){var r=Object.keys(n)[0],o=n[r];t[r]=e[o]}else t[n]=e[n];return t}),{}));return n?function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Re(n,!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Re(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},r,{},Y.deep(n)):r},Ne=function(t){var e=t.collection,n=t.dispatch,r=t.collectionName,o=t.idAttribute,i=void 0===o?"id":o,a=t.attributes,s=void 0===a?["id"]:a,u=t.includeConfiguration,c=void 0!==u&&u;n(dt({collectionName:r,items:e.map(f)})),e.on("add",(function(t){t.isNew()||n(ht({collectionName:r,attributes:f(t)}))})),e.on("change:id",(function(t){n(ht({collectionName:r,attributes:f(t),order:e.pluck(i)}))})),e.on("change",(function(t){(function(t){return l.some((function(e){return t.hasChanged(e)}))})(t)&&n(vt({collectionName:r,attributes:f(t)}))})),c&&e.on("change:configuration",(function(t){n(vt({collectionName:r,attributes:f(t)}))})),e.on("remove",(function(t){setTimeout((function(){n(function(t){var e=t.collectionName,n=t.attributes,r=t.order;return{type:ft,meta:{collectionName:e},payload:{attributes:n,order:r}}}({collectionName:r,attributes:f(t),order:e.pluck(i)}))}),0)})),e.on("sort",(function(){n(function(t){var e=t.collectionName,n=t.order;return{type:pt,meta:{collectionName:e},payload:{order:n}}}({collectionName:r,order:e.pluck(i)}))}));var l=s.map((function(t){return"object"==typeof t?function(t){return t[Object.keys(t)[0]]}(t):t}));function f(t){return De(s,t.attributes,c&&t.configuration.attributes)}},Le=function(t){var e=t.collection,n=t.collectionName,r=t.dispatch,o=t.attributes,i=void 0===o?["id"]:o,a=t.includeConfiguration,s=void 0!==a&&a;r(dt({collectionName:n,items:e.map((function(t){return De(i,t,s&&t.configuration)}))}))},Be=n(50),Fe=n.n(Be),Ue=function(t){var e=t.collection,n=t.collectionName,r=t.dispatch,o=t.idAttribute,i=t.attributes,a=t.includeConfiguration;(Fe.a.Collection&&e instanceof Fe.a.Collection?Ne:Le)({collection:e,collectionName:n,dispatch:r,idAttribute:o,attributes:i,includeConfiguration:a})};function We(t){var e=t.candidates,n=t.page,r=t.fileExists;return e.find((function(t){if(t.condition&&!function(t,e){var n=e[Y(t.attribute)];return t.negated?n!=t.value:n==t.value}(t.condition,n))return!1;var e=He(n,t);return r(Y(t.collectionName),e)}))}function He(t,e){return"id"in e?e.id:t[Y(e.attribute)]}function qe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var Ve=function(t,e,n){if(!e)return null;if(!n[t])throw new Error("No file url templates found for ".concat(t));return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?qe(n,!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qe(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({urls:(e.variants||Object.keys(n[t])).reduce((function(r,o){var i=function(t,e,n,r){var o=r[t][n];if(o)return o.replace(":id_partition",(i=e.id,function(t,e){return t.replace(/./g,(function(t,e,n){return e&&(n.length-e)%3==0?"/"+t:t}))}((a=i,s=9,(Array(s).fill(0).join("")+a).slice(-s))))).replace(":basename",e.basename);var i,a,s}(t,e,o,n);return i&&(r[o]=i),r}),{})},e)};function Ge(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var ze=function(t,e,n){if(!e)return null;if(!n[t])throw new Error("Could not find model type for collection name ".concat(t));return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ge(n,!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ge(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},e,{collectionName:t,modelType:n[t]})};function Ye(t,e){return Z(_t(t,{namespace:"files"})(e),(function(t){return t.fileUrlTemplates}),(function(t){return t.modelTypes}),(function(e,n,r){return $e(t,e,n,r)}))}function Xe(){return Z((function(t){return t.files}),(function(t){return function(e,n){return n&&!!_t(e)({id:n})(t)}}))}function $e(t,e,n,r){return ze(t,Ve(t,e,n),r)}function Ke(t){var e=t.page;return function(t,n){var r="function"==typeof e?e(n):e;return r?t.pageTypes[Y(r.type)]:null}}var Qe=_t("pages"),Je=function(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).namespace;return function(n){if(e){if(!n[e])throw new Error("Cannot select from unknown namespace ".concat(e,"."));n=n[e]}var r=n[t];return r.items[r.order[0]]}}("pages");function Ze(t){return Z(Je,(function(e){return e&&e.attributes[t]}))}function tn(t,e){return Z(Qe(e),(function(e){return e&&e.attributes[t]}))}function en(t){return Z(Qe(t),(function(t){return t&&t.attributes}))}function nn(t,e){return Z(Qe(e),(function(e){return e&&e.state.custom[t]}))}function rn(t){return sn("isActive",t)}function on(t){return sn("isPreloaded",t)}function an(t){return sn("isPrepared",t)}function sn(t,e){return Z(Qe(e),(function(e){return e&&e.state.common[t]}))}var un=Et.a.mark(ln),cn=Et.a.mark(fn);function ln(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeLatest)([d,p,u],fn);case 2:case"end":return t.stop()}}),un)}function fn(t){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.type!=d){e.next=5;break}return e.next=3,Object(Rt.call)(Dt.delay,5e3);case 3:return e.next=5,Object(Rt.put)(w());case 5:case"end":return e.stop()}}),cn)}var pn=Et.a.mark(dn);function dn(t){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t instanceof Fe.a.Collection){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,Object(Dt.takeEvery)(m,Et.a.mark((function e(n){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Rt.call)(vn,{pagesCollection:t,id:Mt(n),name:n.payload.name,value:n.payload.value});case 2:case"end":return e.stop()}}),e)})));case 4:return e.next=6,Object(Dt.takeEvery)(b,Et.a.mark((function e(n){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Rt.call)(hn,{pagesCollection:t,pageId:Mt(n),linkId:n.payload.linkId,name:n.payload.name,value:n.payload.value});case 2:case"end":return e.stop()}}),e)})));case 6:case"end":return e.stop()}}),pn)}function hn(t){var e=t.pagesCollection,n=t.pageId,r=t.linkId,o=t.name,i=t.value,a=gn(e,n).pageLinks().get(r);if(!a)throw new Error("Could not find page link with id ".concat(r," in page with perma id ").concat(n,"."));a.set(o,i)}function vn(t){var e=t.pagesCollection,n=t.id,r=t.name,o=t.value;gn(e,n).configuration.set(r,o)}function gn(t,e){var n=t.where({perma_id:e})[0];if(!n)throw new Error("Could not find page with perma id ".concat(e,"."));return n}var yn=function(t){var e=t.pages,n=t.pageTypeSagas;return(Et.a.mark((function t(){var r;return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.delegateYield(ln(),"t0",1);case 1:return t.delegateYield(dn(e),"t1",2);case 2:return t.next=4,Object(Dt.takeEvery)(g,Et.a.mark((function t(){var e,o;return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(tn("type"));case 2:if(e=t.sent,!(o=n[e])){t.next=8;break}return t.next=7,Object(Rt.fork)(o);case 7:r=t.sent;case 8:case"end":return t.stop()}}),t)})));case 4:return t.next=6,Object(Dt.takeEvery)(y,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!r){t.next=3;break}return t.next=3,Object(Rt.cancel)(r);case 3:case"end":return t.stop()}}),t)})));case 6:case"end":return t.stop()}}),t)})))},mn=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),C(e,[{key:"getChildContext",value:function(){return{mediaContext:this.props.mediaContext}}},{key:"render",value:function(){return this.props.children}}]),e}(B.a.Component);mn.childContextTypes={mediaContext:B.a.PropTypes.object};var bn=n(42),wn=n.n(bn),En=Me("pages"),On=function(t){var e=t.Component,n=t.store,r=t.selectTargetElement,o=void 0===r?function(t){return t[0]}:r;return{scroller:!1,enhance:function(t,r){wn.a.render(B.a.createElement(Wt,{store:n},B.a.createElement(En,{itemId:xn(t)},B.a.createElement(mn,{mediaContext:{page:t.page("instance")}},B.a.createElement(e,null)))),o(t)),n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(g,t)}({id:xn(t)}))},preload:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(f,t)}({id:xn(t)}))},prepare:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(p,t)}({id:xn(t)}))},unprepare:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(d,t)}({id:xn(t)}))},activating:function(t,e,r){n.dispatch(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.id,n=t.position;return x(u,e,{position:n})}({id:xn(t),position:r.position}))},activated:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(s,t)}({id:xn(t)}))},deactivating:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(l,t)}({id:xn(t)}))},deactivated:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(c,t)}({id:xn(t)}))},resize:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(v,t)}({id:xn(t)}))},update:function(t,e){pageflow.commonPageCssClasses.updateCommonPageCssClasses(t,e)},cleanup:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(y,t)}({id:xn(t)})),wn.a.unmountComponentAtNode(t[0])}}};function xn(t){return parseInt(t.attr("id"),10)}function Pn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function kn(t,e){return Object.keys(e).reduce((function(n,r){return"function"==typeof t[r]?n[r]=function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return t[r].apply(this,o),e[r].apply(this,o)}:n[r]=e[r],n}),function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Pn(n,!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Pn(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t))}var _n,Sn,Tn={init:function(t){var e=t.pages,n=t.dispatch;Ue({collection:e,collectionName:"pages",dispatch:n,idAttribute:"perma_id",attributes:["perma_id",{type:"template"},"chapter_id"],includeConfiguration:!0})},createReducers:function(t){var e=t.pageTypes,n=(void 0===e?[]:e).reduce((function(t,e){var n=e.name,r=e.reducer;return t[n]=r,t}),{});return{pages:At("pages",{idAttribute:"permaId",itemReducer:bt(n)})}},createMiddleware:function(){return function t(e){var n,r=e.getState,o=e.dispatch,i=(n=[],{subscribe:function(t){return n.push(t),function(){return function(t,e){var n=t.indexOf(e);n>=0&&t.splice(n,1)}(n,t)}},emit:function(t){for(var e=n.slice(),r=0,o=e.length;r<o;r++)e[r](t)}});return t.getState=r,t.dispatch=o,t.subscribe=i.subscribe,function(t){return function(e){var n=t(e);return i.emit(e),n}}}},createSaga:function(t){var e=t.pages,n=t.pageTypes,r=void 0===n?[]:n,o=t.middleware,i=r.reduce((function(t,e){var n=e.name,r=e.saga;return t[n]=r,t}),{});return function(t,e){var n=Et.a.mark(l),r=Et.a.mark(f),o=Et.a.mark(p),i=Et.a.mark(d),a=Et.a.mark(h),s=e.itemSaga,u=e.middleware,c=Ot(t);return l;function l(){var t;return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t={},e.next=3,Object(Dt.takeEvery)([ut,ct,ft],f,t);case 3:case"end":return e.stop()}}),n)}function f(t){var e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(Rt.select)(c);case 2:return e=n.sent,n.delegateYield(p(e,t),"t0",4);case 4:return n.delegateYield(d(e,t),"t1",5);case 5:case"end":return n.stop()}}),r)}function p(t,e){return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object.keys(e).map((function(n){if(!(n in t))return Object(Rt.cancel)(e[n])}));case 2:case"end":return n.stop()}}),o)}function d(t,e){var n;return Et.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,Object.keys(t).map((function(t){if(!e[t])return Object(Rt.fork)(h,parseInt(t,10))}));case 2:n=r.sent,Object.keys(t).forEach((function(t,r){e[t]||(e[t]=n[r])}));case 4:case"end":return r.stop()}}),i)}function h(e){var n;return Et.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=Object(Dt.runSaga)(s(),{subscribe:function(n){return u.subscribe((function(r){It(r,t)&&Mt(r)!=e||n(r)}))},dispatch:function(n){jt(n,t,e),u.dispatch(n)},getState:function(){return Pt(u.getState(),t,e)}}),r.prev=1,r.next=4,Object(Rt.call)((function(){return n.done}));case 4:return r.prev=4,n.cancel(),r.finish(4);case 7:case"end":return r.stop()}}),a,null,[[1,,4,7]])}}("pages",{itemSaga:yn({pages:e,pageTypeSagas:i}),middleware:o})}},An=(Sn=kt(_n="pages"),function(t,e,n){var r=je(t?function(e,n){var r=t(Pt(e,_n,n[Sn]),n);return"function"==typeof r?function(t,e){return r(Pt(t,_n,e[Sn]),e)}:r}:null,e?function(t,n){var r=function(e){return jt(e,_n,n[Sn]),t(e)};return"function"==typeof e?e(r,n):Object(at.b)(e,r)}:null,n);return function(t){var e=r(t),n=function(t){function n(){return T(this,n),M(this,R(n).apply(this,arguments))}return N(n,t),C(n,[{key:"render",value:function(){var t=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ie(n,!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ie(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},this.props,Object(a.a)({},Sn,this.context[Sn]));return B.a.createElement(e,t)}}]),n}(B.a.Component);return n.contextTypes=Object(a.a)({},Sn,B.a.PropTypes.number),n}});var Cn=An(tt({loaded:on()}))(it),jn=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),C(e,[{key:"render",value:function(){var t=this.props.page,e=Y.concat(this.props.propertyNamePrefix,this.props.propertyBaseName);return B.a.createElement(Cn,{fileId:t["".concat(e,"Id")],fileCollection:this.props.fileCollection,position:[t["".concat(e,"X")],t["".concat(e,"Y")]],className:"background background_image",structuredDataComponent:this.props.structuredDataComponent})}}]),e}(B.a.Component);jn.defaultProps={propertyBaseName:"backgroundImage"};var In=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),C(e,[{key:"render",value:function(){return B.a.createElement("div",{className:"shadow_wrapper"},B.a.createElement("div",{className:U()("shadow",this.props.className),style:this.style()}))}},{key:"style",value:function(){if("gradientOpacity"in this.props.page)return{opacity:this.props.page.gradientOpacity/100}}}]),e}(B.a.Component),Mn=function(t){return B.a.createElement("div",{className:"content",onTouchStart:t.onInteraction,onMouseMove:t.onInteraction},t.children)},Rn=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),C(e,[{key:"render",value:function(){var t=this;return React.createElement("div",{className:"scroller-wrapper",ref:function(e){return t.wrapperElement=e}},React.createElement("div",{ref:function(e){return t.scrollerElement=e},className:U()("scroller",this.props.className),style:this.props.style},React.createElement("div",null,this.props.children)))}},{key:"componentDidMount",value:function(){if("undefined"!=typeof jQuery){var t=jQuery(this.scrollerElement);t.scroller({eventListenerTarget:this.wrapperElement}),this.scroller=t.scroller("instance")}}},{key:"componentDidUpdate",value:function(){this.scroller.refresh()}},{key:"enable",value:function(){this.scroller.enable(),this.scroller.afterAnimationHook()}},{key:"disable",value:function(){this.scroller.disable()}},{key:"resetPosition",value:function(t){this.scroller.resetPosition(t)}}]),e}(L.Component),Dn=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),C(e,[{key:"componentWillReceiveProps",value:function(t){!this.props.enabled&&t.enabled?this.refs.scroller.enable():this.props.enabled&&!t.enabled&&this.refs.scroller.disable(),this.props.initialScrollerPosition!==t.initialScrollerPosition&&t.initialScrollerPosition&&this.refs.scroller.resetPosition({position:t.initialScrollerPosition})}},{key:"getChildContext",value:function(){var t=this;return this._pageScroller=this._pageScroller||{disable:function(){t.refs.scroller.disable()},enable:function(){t.refs.scroller.enable()}},{pageScroller:this._pageScroller}}},{key:"render",value:function(){return B.a.createElement(Rn,{ref:"scroller",className:(t=this.props,U()(t.className,{"scroller-clipped_bottom":!!t.marginBottom})),style:Nn(this.props)},B.a.createElement("div",{className:"content_wrapper"},this.props.children));var t}}]),e}(B.a.Component);function Nn(t){if(t.marginBottom)return{bottom:t.marginBottom}}Dn.childContextTypes={pageScroller:B.a.PropTypes.object};var Ln,Bn=An(tt({enabled:sn("isActivated",Ln),initialScrollerPosition:function(t){return sn("initialScrollerPosition",t)}()}))(Dn),Fn=function(t){return React.createElement(Mn,null,React.createElement(Bn,null,t.children))},Un=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),C(e,[{key:"render",value:function(){return B.a.createElement("h3",{className:"page_header"},B.a.createElement("span",{className:"page_header-tagline"},this.props.page.tagline),B.a.createElement("span",{className:"page_header-title"},this.props.page.title),B.a.createElement("span",{className:"page_header-subtitle"},this.props.page.subtitle))}}]),e}(B.a.Component);function Wn(t){return B.a.createElement("div",{className:Hn(t)},B.a.createElement("div",{className:"paragraph",dangerouslySetInnerHTML:qn(t)}),t.children)}function Hn(t){return U()("page_text",Object(a.a)({},"page_text-margin_".concat(t.marginBottom),t.marginBottom!=Wn.defaultProps.marginBottom))}function qn(t){return{__html:t.page.text}}function Vn(t){return function(e,n){var r=t.split(".");if(!(r[0]in n))throw new Error("Missing required prop ".concat(r[0],"."));return r.reduce((function(t,e){return t&&t[e]}),n)}}function Gn(t){return function(e,n,r){return rt(t,r)}}Wn.defaultProps={marginBottom:"for_scroll_indicator_on_phone"};var zn=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),C(e,[{key:"render",value:function(){return B.a.createElement("a",{href:this._href(),className:this.props.className,onClick:this._handleClick.bind(this)},this.props.children)}},{key:"_href",value:function(){return this._targetPage()?"#"+this._targetPage().permaId:"#missing"}},{key:"_handleClick",value:function(t){this._targetPage()&&pageflow.slides.goToByPermaId(this._targetPage().permaId,{transition:this.props.pageLink.pageTransition}),t.preventDefault()}},{key:"_targetPage",value:function(){return this.props.targetPage}}]),e}(B.a.Component),Yn=je(tt({targetPage:en({id:Vn("pageLink.targetPageId")})}))(zn);function Xn(t){return React.createElement("div",{className:$n(t)})}function $n(t){return U()({load_image:t.lazy&&t.loaded},t.className,(e=t.pageType)?"is_".concat(e.name):"is_dangling",function(t){var e=We({candidates:Kn(t),page:t.page,fileExists:t.fileExists});if(e)return function(t,e){return[t.lazy?"lazy":null,e.cssClassPrefix,t.imageStyle,He(t.page,e)].filter(Boolean).join("_")}(t,e)}(t));var e}function Kn(t){return[Qn(t)].concat(Object($.a)((e=t.pageType)?e.thumbnailCandidates:[]));var e}function Qn(t){return{id:t.customThumbnailId,cssClassPrefix:"pageflow_image_file",collectionName:"image_files"}}Xn.defaultProps={imageStyle:"navigation_thumbnail_large"};var Jn=An(tt({pageType:Ke({page:function(t){return t.page}}),fileExists:Xe()}))(Xn),Zn=An(tt({loaded:on(),lazy:!0}))(Jn);function tr(t){return U()("add_info_box",{empty:er(t),title_empty:G(t.title),description_empty:G(t.description),"add_info_box-hidden_during_playback":t.hiddenDuringPlayback})}function er(t){return G(t.title)&&G(t.description)}var nr=function(t){return React.createElement("div",{className:tr(t)},function(t){if(!G(t.title))return React.createElement("h3",null,t.title)}(t),function(t){if(!G(t.description))return React.createElement("p",{dangerouslySetInnerHTML:{__html:t.description}})}(t))};function rr(t){return React.createElement("div",{className:U()("controls",t.className),"data-role":"player_controls",onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave,onFocus:t.onFocus,onBlur:t.onBlur},t.children)}function or(t){return B.a.createElement("svg",{className:t.className,version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:t.width,height:t.height,viewBox:"".concat(t.viewBoxLeft," ").concat(t.viewBoxTop," ").concat(t.viewBoxWidth," ").concat(t.viewBoxHeight)},t.children)}or.defaultProps={width:20,height:20,viewBoxLeft:0,viewBoxTop:0};var ir=or,ar={Checkmark:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:512,viewBoxHeight:512}),React.createElement("polygon",{points:"434.442,58.997 195.559,297.881 77.554,179.88 0,257.438 195.559,453.003 512,136.551 "}))},CircleWithNotch:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:1e3,viewBoxHeight:1e3}),React.createElement("path",{d:"M990,497.6c0,66.4-13,129.8-38.8,190.3c-25.9,60.5-60.7,112.7-104.4,156.4C803,888,750.9,922.8,690.3,948.7c-60.5,25.9-124,38.8-190.3,38.8s-129.8-12.9-190.3-38.8S197,888,153.3,844.3c-43.7-43.7-78.5-95.9-104.4-156.4C22.9,627.4,10,563.9,10,497.6c0-80.9,18.4-156.5,55.2-226.7c36.8-70.2,87.2-128,151.2-173.4s135.2-73.8,213.6-85v142.2c-80.6,16.4-147.4,56.7-200.4,120.9c-53,64.2-79.5,138.2-79.6,222c0,47.4,9.3,92.7,27.9,135.9c18.6,43.2,43.4,80.4,74.6,111.6c31.2,31.2,68.4,56.1,111.6,74.6c43.2,18.5,88.5,27.8,135.9,27.9c47.4,0,92.7-9.2,135.9-27.9C679,801,716.2,776.1,747.4,745c31.2-31.1,56-68.3,74.6-111.6c18.6-43.3,27.9-88.6,27.9-135.9c0-83.9-26.5-157.9-79.6-222C717.2,211.3,650.4,171,569.9,154.6V12.5c78.4,11.3,149.6,39.6,213.6,85c64,45.4,114.4,103.2,151.2,173.4c36.8,70.2,55.2,145.7,55.2,226.7H990z"}))},Disk:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:24,viewBoxHeight:24}),React.createElement("circle",{cx:"12",cy:"12",r:"12"}))},Gear:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:24,viewBoxHeight:24}),React.createElement("path",{d:"M21.312,14.056l-1.691-0.98c0,0-0.472-0.216-0.446-1.073c0,0-0.128-0.961,0.478-1.293l1.661-1.014 c0,0,0.546-0.245,0.313-0.818l-0.707-1.598c0,0-0.229-0.625-0.902-0.423l-1.93,0.615c0,0-0.666-0.009-1.078-0.458 c0,0-0.687-0.662-0.476-1.229l0.445-1.924c0,0,0.114-0.563-0.312-0.768l-1.995-0.757c0,0-0.43-0.026-0.562,0.305l-1.122,2.006 c0,0-0.524,0.437-1.248,0.292c0,0-0.752-0.072-0.928-0.253c0,0-1.135-1.916-1.19-2.015c0,0-0.21-0.437-0.65-0.262L7.144,3.176 c0,0-0.367,0.229-0.275,0.559l0.649,2.441c0,0-0.139,0.597-0.561,0.924c0,0-0.745,0.55-1.104,0.483L3.858,7.1 c0,0-0.578-0.207-0.805,0.294L2.306,9.232c0,0-0.143,0.38,0.251,0.616l1.96,1.123c0,0,0.624,0.286,0.441,1.38 c0,0,0.037,0.804-0.756,1.24c-0.793,0.437-1.476,0.875-1.476,0.875s-0.437,0.21-0.249,0.681c0.189,0.471,0.895,1.811,0.895,1.811 s0.131,0.336,0.762,0.091l1.723-0.466c0,0,0.5-0.151,1.031,0.319c0,0,0.741,0.504,0.687,0.919l-0.48,2.433 c0,0-0.157,0.411,0.312,0.676l1.929,0.733c0,0,0.538,0.052,0.68-0.389l0.84-1.532c0,0,0.278-0.669,1.177-0.625 c0,0,0.909-0.081,1.227,0.407l1.101,1.833c0,0,0.199,0.466,0.791,0.188l1.709-0.728c0,0,0.479-0.315,0.333-0.743l-0.533-1.853 c0,0-0.238-0.5,0.259-1.055c0,0,0.533-0.876,1.27-0.701l2.043,0.487c0,0,0.424,0.187,0.793-0.413l0.659-1.639 C21.685,14.901,21.886,14.313,21.312,14.056z M8.542,13.474c-0.824-1.931,0.073-4.166,2.004-4.989 c1.931-0.826,4.165,0.073,4.988,2.004c0.825,1.931-0.073,4.164-2.005,4.989C11.599,16.303,9.365,15.404,8.542,13.474z"}))},Info:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxLeft:5,viewBoxTop:5,viewBoxWidth:145,viewBoxHeight:145}),React.createElement("path",{d:"m80 15c-35.88 0-65 29.12-65 65s29.12 65 65 65 65-29.12 65-65-29.12-65-65-65zm0 10c30.36 0 55 24.64 55 55s-24.64 55-55 55-55-24.64-55-55 24.64-55 55-55z"}),React.createElement("path",{d:"m57.373 18.231a9.3834 9.1153 0 1 1 -18.767 0 9.3834 9.1153 0 1 1 18.767 0z",transform:"matrix(1.1989 0 0 1.2342 21.214 28.75)"}),React.createElement("path",{d:"m90.665 110.96c-0.069 2.73 1.211 3.5 4.327 3.82l5.008 0.1v5.12h-39.073v-5.12l5.503-0.1c3.291-0.1 4.082-1.38 4.327-3.82v-30.813c0.035-4.879-6.296-4.113-10.757-3.968v-5.074l30.665-1.105"}))},Pause:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:512,viewBoxHeight:512}),React.createElement("path",{d:"M162.642 148.337h86.034v215.317h-86.034v-215.316z"}),React.createElement("path",{d:"M293.356 148.337h86.002v215.317h-86.002v-215.316z"}))},Play:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:512,viewBoxHeight:512}),React.createElement("path",{d:"M152.443 136.417l207.114 119.573-207.114 119.593z"}))},Subtitles:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:1200,viewBoxHeight:1200}),React.createElement("path",{transform:"translate(100,100)",d:"M893.4,599V500H401.1V599H893.4z M893.4,794.5v-98.9H695.5v98.9H893.4z M598.9,794.5v-98.9H106.6v98.9H598.9z M106.6,500V599h197.8V500H106.6z M893.4,106.7c26.1,0,48.7,10,67.9,29.9s28.8,42.9,28.8,69v588.9c0,26.1-9.6,49.1-28.8,69c-19.2,19.9-41.8,29.9-67.9,29.9H106.6c-26.1,0-48.7-10-67.9-29.9c-19.2-19.9-28.8-42.9-28.8-69V205.5c0-26.1,9.6-49.1,28.8-69s41.8-29.9,67.9-29.9H893.4z"}))}},sr={toggleInfoBox:ar.Info,mediaQuality:ar.Gear,textTracks:ar.Subtitles,activeMenuItem:ar.Checkmark,loadingSpinner:ar.CircleWithNotch,play:ar.Play,pause:ar.Pause};function ur(t){var e=sr[t.name];if(!e)throw new Error('No icon registered for "'.concat(t.name,'".'));return B.a.createElement(e,t)}var cr=function(t){return React.createElement("div",{className:"vjs-loading-spinner"},React.createElement(ur,{name:"loadingSpinner"}))},lr=function(t){return An(tt({id:Z(rn(),(function(t){return t?"firstContent":void 0}))}))(t)};var fr=lr((function(t){return React.createElement("a",{className:pr(t),href:"#",tabIndex:"4",id:t.id,title:t.title,onClick:dr(t)},function(t){return t.iconName?React.createElement(ur,{name:t.iconName}):React.createElement("span",null)}(t))}));function pr(t){return U()("vjs-play-control",{"vjs-playing":t.isPlaying},{"player_controls-play_button-custom_icon":!!t.iconName})}function dr(t){return function(e){t.onClick&&t.onClick(e),e.preventDefault()}}function hr(t){return React.createElement("div",{className:U()(t.className)},function(t){if(isNaN(t))return vr;var e=Math.floor(t)%60,n=Math.floor(t/60)%60,r=Math.floor(t/60/60);return r>0?"".concat(r,":").concat(gr(n),":").concat(gr(e)):"".concat(n,":").concat(gr(e))}(t.value))}var vr="-:--";function gr(t){return t<10?"0"+t:t}hr.defaultProps={value:0};var yr=function(t){return React.createElement(hr,{className:"vjs-current-time",value:t.currentTime})},mr=function(t){return React.createElement("div",{className:"vjs-time-divider"},"/")},br=function(t){return React.createElement(hr,{className:"vjs-duration",value:t.duration})},wr=n(95),Er=n.n(wr),Or=n(32),xr=n.n(Or),Pr=37,kr=39,_r=function(t){function e(t,n){var r;return T(this,e),(r=M(this,R(e).call(this,t,n))).state={handleWidth:null,progressHolderWidth:null},r.measureProgressHolder=function(t){var e=t.width;r.setState({progressHolderWidth:e})},r.measureHandle=function(t){var e=t.width;r.setState({handleWidth:e})},r.handleStop=function(t,e){r.props.onSeek&&r.props.onSeek(r.positionToTime(e.x))},r.handleDrag=function(t,e){r.props.onScrub&&r.props.onScrub(r.positionToTime(e.x))},r.handleKeyDown=function(t){var e;t.keyCode==Pr?e=Math.max(0,r.props.currentTime-1):t.keyCode==kr&&(e=Math.min(r.props.currentTime+1,r.props.duration||1/0)),r.prop.onSeek&&r.props.onSeek(e)},r}return N(e,t),C(e,[{key:"positionToTime",value:function(t){return this.props.duration&&this.state.progressHolderWidth?Math.max(0,Math.min(1,t/this.state.progressHolderWidth))*this.props.duration:0}},{key:"render",value:function(){return B.a.createElement("div",{className:"vjs-progress-control",tabIndex:"4",onKeyDown:this.handleKeyDown},B.a.createElement(xr.a,{whitelist:["width"],onMeasure:this.measureProgressHolder},B.a.createElement(wr.DraggableCore,{onStart:this.handleDrag,onDrag:this.handleDrag,onStop:this.handleStop},B.a.createElement("div",{className:"vjs-progress-holder"},B.a.createElement("div",{className:"vjs-load-progress",style:{width:Sr(this.loadProgress())}}),B.a.createElement("div",{className:"vjs-play-progress",style:{width:Sr(this.playProgress())}}),B.a.createElement(xr.a,{whitelist:["width"],onMeasure:this.measureHandle},B.a.createElement("div",{className:"vjs-seek-handle",style:{left:this.handlePosition()}}))))))}},{key:"handlePosition",value:function(){return this.state.handleWidth&&this.state.progressHolderWidth?(this.state.progressHolderWidth-this.state.handleWidth)*this.playProgress():Sr(this.playProgress())}},{key:"loadProgress",value:function(){return this.props.duration>0?this.props.bufferedEnd/this.props.duration:0}},{key:"playProgress",value:function(){return this.props.duration>0?this.props.currentTime/this.props.duration:0}}]),e}(B.a.Component);function Sr(t){return t>0?100*t+"%":0}_r.defaultProps={currentTime:0,bufferedEnd:0};var Tr=function(t){function e(t,n){var r;return T(this,e),(r=M(this,R(e).call(this,t,n))).state={subMenuVisible:!1},r.onLinkClick=function(t){t.preventDefault(),r.props.subMenuItems.length>0&&r.setState({subMenuVisible:!0}),r.props.onClick&&r.props.onClick()},r.onMouseEnter=function(){r.props.subMenuItems.length>0&&r.setState({subMenuVisible:!0}),r.props.onMouseEnter&&r.props.onMouseEnter()},r.onMouseLeave=function(){r.closeMenu(),r.props.onMouseEnter&&r.props.onMouseLeave()},r.onFocus=function(){clearTimeout(r.closeMenuTimeout)},r.onBlur=function(){clearTimeout(r.closeMenuTimeout),r.closeMenuTimeout=setTimeout((function(){r.closeMenu()}),100)},r.closeMenu=function(){r.setState({subMenuVisible:!1})},r}return N(e,React.Component),C(e,[{key:"render",value:function(){var t=this,e=this.props;return React.createElement("div",{className:Ar(e,this.state.subMenuVisible),ref:function(e){return t.wrapper=e},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onFocus:this.onFocus,onBlur:this.onBlur},React.createElement("a",{className:Ir(e,"link"),href:"#",tabIndex:"4",title:e.title,onClick:this.onLinkClick},React.createElement(ur,{className:Ir(e,"icon"),name:e.iconName})),function(t,e){if(t.subMenuItems.length>0)return React.createElement("ul",{className:"player_controls-menu_bar_button_sub_menu"},function(t,e){return t.subMenuItems.map((function(n){return React.createElement("li",{className:Cr(n),key:n.value},React.createElement("a",{className:"player_controls-menu_bar_button_sub_menu_item_link",href:"#",tabIndex:"4",onClick:jr(t,n.value,e)},function(t){if(t.active)return React.createElement(ur,{className:"player_controls-menu_bar_button_sub_menu_item_icon",name:"activeMenuItem"})}(n),n.label,function(t,e){if(e.annotation)return React.createElement("span",{className:Ir(t,"sub_menu_item_annotation")},e.annotation)}(t,n)))}))}(t,e))}(e,this.closeMenu))}}]),e}();function Ar(t,e){return U()({"player_controls-menu_bar_button-sub_menu_visible":e},Ir(t))}function Cr(t){return U()("player_controls-menu_bar_button_sub_menu_item",{"player_controls-menu_bar_button_sub_menu_item-active":t.active})}function jr(t,e,n){return function(r){r.preventDefault(),n(),t.onSubMenuItemClick&&t.onSubMenuItemClick(e)}}function Ir(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return U()(["player_controls-menu_bar_button"].concat(n).join("_"),[t.className].concat(n).join("_"))}function Mr(t){return t.items.length<2?React.createElement("noscript",null):React.createElement(Tr,{className:"player_controls-quality_menu_button",title:t.buttonTitle,iconName:"mediaQuality",subMenuItems:t.items,onSubMenuItemClick:t.onItemClick})}function Rr(t){return t.items.length<2?React.createElement("noscript",null):React.createElement(Tr,{className:"player_controls-text_tracks_menu_button",title:t.buttonTitle,iconName:"textTracks",subMenuItems:t.items,onSubMenuItemClick:t.onItemClick})}function Dr(t){return React.createElement("div",{className:Nr(t)},function(t){return t.additionalButtons.map((function(e){return React.createElement(Tr,{title:e.label,iconName:e.iconName,className:e.className,key:e.name,onClick:Lr(t.onAdditionalButtonClick,e.name),onMouseEnter:Lr(t.onAdditionalButtonMouseEnter,e.name),onMouseLeave:Lr(t.onAdditionalButtonMouseLeave,e.name)})}))}(t),React.createElement(Rr,{buttonTitle:t.textTracksMenuButtonTitle,items:t.textTracksMenuItems,onItemClick:t.onTextTracksMenuItemClick}),React.createElement(Mr,{buttonTitle:t.qualityMenuButtonTitle,items:t.qualityMenuItems,onItemClick:t.onQualityMenuItemClick}))}function Nr(t){return U()(t.className,"player_controls-menu_bar",{"player_controls-menu_bar-hidden_on_phone":t.hiddenOnPhone,"player_controls-menu_bar-stand_alone":t.standAlone,"player_controls-menu_bar-inverted":t.inverted})}function Lr(t,e){if(t)return function(){return t(e)}}function Br(t){return function(e){function n(t){var e;return T(this,n),(e=M(this,R(n).call(this,t))).checkVisibility=function(){var t=window.getComputedStyle(e.element);e.lastVisibility!=t.visibility&&("visible"==t.visibility&&"none"!=t.display?e.props.onVisible&&e.props.onVisible():e.props.onHidden&&e.props.onHidden()),e.lastVisibility=t.visibility},e}return N(n,e),C(n,[{key:"componentDidMount",value:function(){this.element=wn.a.findDOMNode(this),this.updateInterval()}},{key:"componentDidUpdate",value:function(){this.updateInterval()}},{key:"componentWillUnmount",value:function(){clearInterval(this.interval),this.interval=null,this.element=null}},{key:"updateInterval",value:function(){this.props.watchVisibility&&!this.interval?this.interval=setInterval(this.checkVisibility,50):!this.props.watchVisibility&&this.interval&&(clearInterval(this.interval),this.interval=null)}},{key:"render",value:function(){return B.a.createElement(t,this.props)}}]),n}(B.a.Component)}function Fr(t){return U()("vjs-control-bar",{with_quality_menu_present:t.qualityMenuItems&&t.qualityMenuItems.length>=2,with_text_tracks_menu_present:t.textTracksMenuItems&&t.textTracksMenuItems.length>=2})}Tr.defaultProps={subMenuItems:[]},Mr.defaultProps={items:[]},Rr.defaultProps={items:[]},Dr.defaultProps={additionalButtons:[],standAlone:!0};var Ur=Br((function(t){return B.a.createElement(rr,t,B.a.createElement("span",{className:"hint"},t.hint),B.a.createElement(nr,Object.assign({},t.infoBox,{hiddenDuringPlayback:t.infoBoxHiddenDuringPlayback})),B.a.createElement("div",{className:Fr(t)},function(t){if(t.isLoading)return B.a.createElement(cr,t)}(t),B.a.createElement("div",{className:"play_button"},B.a.createElement(fr,{title:t.playButtonTitle,iconName:t.playButtonIconName,isPlaying:t.isPlaying,onClick:t.onPlayButtonClick})),function(t){if(t.hasProgress)return B.a.createElement("div",{className:"player_controls-progress"},B.a.createElement(yr,t),B.a.createElement(mr,null),B.a.createElement(br,t),B.a.createElement(_r,t))}(t),B.a.createElement("div",{className:"control_bar_text"},t.controlBarText)),B.a.createElement(Dr,{standAlone:!1,additionalButtons:t.additionalMenuBarButtons,onAdditionalButtonClick:t.onAdditionalButtonClick,onAdditionalButtonMouseEnter:t.onAdditionalButtonMouseEnter,onAdditionalButtonMouseLeave:t.onAdditionalButtonMouseLeave,qualityMenuButtonTitle:t.qualityMenuButtonTitle,qualityMenuItems:t.qualityMenuItems,onQualityMenuItemClick:t.onQualityMenuItemClick,textTracksMenuButtonTitle:t.textTracksMenuButtonTitle,textTracksMenuItems:t.textTracksMenuItems,onTextTracksMenuItemClick:t.onTextTracksMenuItemClick}))}));function Wr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var Hr=Z(qr,(function(t){return function(e,n){return I18n.t(e,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Wr(n,!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Wr(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({locale:t},n))}}));function qr(t){return t.i18n.locale}var Vr=je(tt({t:Hr}))((function(t){return React.createElement("div",{className:"close_button text_hidden_only",tabIndex:"4",title:t.t("pageflow.public.close"),onClick:t.onClick},React.createElement("div",{className:"label"},t.t("pageflow.public.close")))})),Gr=function(t){return PAGEFLOW_EDITOR?t:function(){return!1}},zr=_t("chapters");var Yr=zr,Xr=_t("storylines");function $r(){return function(t,e){var n=Kr()(t,e);return n?Yr({id:n.chapterId})(t,e):null}}function Kr(){return function(t,e){return en({id:function(t,e){return Z(Xr(e),(function(e){return e&&e[t]}))}("parentPagePermaId",{id:function(t,e){return Z(zr(e),(function(e){return e&&e[t]}))}("storylineId",{id:tn("chapterId",{id:t.currentPageId})(t,e)})(t,e)})(t,e)})(t,e)}}function Qr(t){var e=t.property;return function(t){return t.settings[e]}}var Jr=_t("widgets");function Zr(t,e){var n=e.role;return Z(Jr({id:n}),(function(e){return e&&e[t]}))}function to(t){var e=t.role;return Z(Jr({id:e}),(function(t){return t}))}function eo(t){var e=t.role;return Z(Jr({id:e}),(function(t){return!(!t||!t.editing)}))}var no=function(t){return U()({is_playing:t.shouldPlay,is_playing_delayed:t.hasBeenPlayingJustNow,is_paused:!t.shouldPlay})},ro="MEDIA_TOGGLE_PLAYING",oo="MEDIA_PLAY",io="MEDIA_PLAY_AND_FADE_IN",ao="MEDIA_PAUSE",so="MEDIA_FADE_OUT_AND_PAUSE",uo="CHANGE_VOLUME_FACTOR",co="MEDIA_PLAY_FAILED",lo="MEDIA_PLAYING_MUTED",fo="MEDIA_SCRUB_TO",po="MEDIA_SEEK_TO",ho="MEDIA_PREBUFFER",vo="MEDIA_PREBUFFERED",go="MEDIA_ABORT_PREBUFFERING",yo="MEDIA_BUFFER_UNDERRUN",mo="MEDIA_BUFFER_UNDERRUN_CONTINUE",bo="MEDIA_META_DATA_LOADED",wo="MEDIA_PROGRESS",Eo="MEDIA_PLAYING",Oo="MEDIA_PAUSED",xo="MEDIA_TIME_UPDATE",Po="MEDIA_ENDED",ko="MEDIA_SEEKING",_o="MEDIA_SEEKED",So="MEDIA_WAITING",To="MEDIA_HAS_NOT_BEEN_PLAYING_FOR_A_MOMENT",Ao="MEDIA_USER_INTERACTION",Co="MEDIA_USER_IDLE",jo="MEDIA_CONTROLS_ENTERED",Io="MEDIA_CONTROLS_LEFT",Mo="MEDIA_FOCUS_ENTERED_CONTROLS",Ro="MEDIA_FOCUS_LEFT_CONTROLS",Do="MEDIA_CONTROLS_HIDDEN",No="SHOW_INFO_BOX_DURING_PLAYBACK",Lo="HIDE_INFO_BOX_DURING_PLAYBACK",Bo="TOGGLE_INFO_BOX_DURING_PLAYBACK",Fo="MEDIA_SAVE_MEDIA_ELEMENT_ID",Uo="MEDIA_DISCARD_MEDIA_ELEMENT_ID";function Wo(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope,e=void 0===t?"default":t;return{togglePlaying:function(){return n(ro)},play:function(){return n(oo)},playAndFadeIn:function(t){var e=t.fadeDuration;return n(io,{fadeDuration:e})},pause:function(){return n(ao)},fadeOutAndPause:function(t){var e=t.fadeDuration;return n(so,{fadeDuration:e})},changeVolumeFactor:function(t,e){var r=e.fadeDuration;return n(uo,{volumeFactor:t,fadeDuration:r})},playFailed:function(){return n(co)},playingMuted:function(){return n(lo)},scrubTo:function(t){return n(fo,{time:t})},seekTo:function(t){return n(po,{time:t})},prebuffer:function(){return n(ho)},prebuffered:function(){return n(vo)},abortPrebuffering:function(){return n(go)},bufferUnderrun:function(){return n(yo)},bufferUnderrunContinue:function(){return n(mo)},playing:function(){return n(Eo)},paused:function(){return n(Oo)},timeUpdate:function(t){var e=t.currentTime,r=t.duration;return n(xo,{currentTime:e,duration:r})},metaDataLoaded:function(t){var e=t.currentTime,r=t.duration;return n(bo,{currentTime:e,duration:r})},progress:function(t){var e=t.bufferedEnd;return n(wo,{bufferedEnd:e})},ended:function(){return n(Po)},seeking:function(){return n(ko)},seeked:function(){return n(_o)},waiting:function(){return n(So)},hasNotBeenPlayingForAMoment:function(t){return n(To)},userInteraction:function(){return n(Ao)},userIdle:function(){return n(Co)},controlsEntered:function(){return n(jo)},controlsLeft:function(){return n(Io)},focusEnteredControls:function(){return n(Mo)},focusLeftControls:function(){return n(Ro)},controlsHidden:function(){return n(Do)},showInfoBoxDuringPlayback:function(){return n(No)},hideInfoBoxDuringPlayback:function(){return n(Lo)},toggleInfoBoxDuringPlayback:function(){return n(Bo)},saveMediaElementId:function(t){return n(Fo,{id:t})},discardMediaElementId:function(){return n(Uo)}};function n(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:t,meta:{collectionName:"pages",mediaScope:e},payload:n}}}function Ho(t){return S({property:"textTrack",value:t?{srclang:t.srclang,kind:t.kind}:{}})}function qo(t){return t.backgroundMedia.muted}function Vo(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Go(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope;return nn("media.".concat(void 0===t?"default":t))}function zo(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope,e=void 0===t?"default":t;return function(t){return Object(at.b)(Wo({scope:e}),t)}}function Yo(t){var e=t.file,n=t.defaultTextTrackFileId,r=void 0===n?function(){}:n;return Z(Qr({property:"textTrack"}),Qr({property:"volume"}),Hr,qr,function(t,e){var n=e.parent;return Z(Ot(t,{namespace:"files"}),n,(function(t){return t.fileUrlTemplates}),(function(t){return t.modelTypes}),(function(e,n,r,o){return n?Object.keys(e).reduce((function(i,a){var s=e[a];return s.id&&s.parentFileId==n.id&&s.parentFileModelType==n.modelType&&i.push($e(t,s,r,o)),i}),[]):[]}))}("textTrackFiles",{parent:e}),r,(function(t,e,n,r,o,i){t=t||{};var s=o.map((function(t){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Vo(n,!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Vo(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({displayLabel:Xo(t,n)},t)})),u=function(t,e,n,r){if(e){var o=t.find((function(t){return t.permaId==e}));if(o)return o}var i=t.find((function(t){return"subtitles"==t.kind&&t.srclang==n})),a=0==r&&t.find((function(t){return"captions"==t.kind}));return i||a}(s,i,r,e);return{files:s.sort((function(t,e){return(t.displayLabel||"").localeCompare(e.displayLabel||"")})),autoFile:u,activeFileId:$o(s,u,t),mode:"off"==t.kind?"off":t.kind?"user":"auto"}}))}function Xo(t,e){return t.label||e("pageflow.public.languages."+t.srclang||!1,{defaultValue:e("pageflow.public.languages.unknown")})}function $o(t,e,n){if("off"==n.kind)return null;var r=t.find((function(t){return t.srclang==n.srclang&&t.kind==n.kind}));return r?r.id:e&&e.id}function Ko(t){return Z(t.autoplayWhenBackgroundMediaMuted,Qo({id:t.id}),qo,(function(t,e,n){return e&&(!n||t)}))}function Qo(t){return Z(tn("autoplay",t),(function(t){return!1!==t}))}function Jo(t){var e=t.playerActions,n=t.playerState,r=t.playerControlsComponent;return B.a.createElement(r,Object.assign({hasProgress:!0,controlBarText:t.controlBarText,isLoading:n.isLoading||n.bufferUnderrun,isPlaying:n.shouldPlay,currentTime:void 0!==n.scrubbingAt?n.scrubbingAt:n.currentTime,bufferedEnd:n.bufferedEnd,duration:n.duration,mediaElementId:n.mediaElementId,onPlayButtonClick:e.togglePlaying,onScrub:e.scrubTo,onSeek:e.seekTo,onMouseEnter:e.controlsEntered,onMouseLeave:e.controlsLeft,onFocus:e.focusEnteredControls,onBlur:e.focusLeftControls,watchVisibility:n.isPlaying,onHidden:e.controlsHidden,additionalMenuBarButtons:ei(t),infoBoxHiddenDuringPlayback:ni(t),onAdditionalButtonMouseEnter:e.showInfoBoxDuringPlayback,onAdditionalButtonMouseLeave:e.hideInfoBoxDuringPlayback,onAdditionalButtonClick:e.toggleInfoBoxDuringPlayback,qualityMenuItems:oi(t.qualities,t.file,t.activeQuality,t.t),qualityMenuButtonTitle:t.t("pageflow.public.media_quality"),onQualityMenuItemClick:t.updateVideoQualitySetting,textTracksMenuItems:ri(t.textTracks,t.t),textTracksMenuButtonTitle:t.t("pageflow.public.text_tracks"),onTextTracksMenuItemClick:function(e){"off"==e?t.updateTextTrackSettings({kind:"off"}):t.updateTextTrackSettings(t.textTracks.files.find((function(t){return t.id==e})))}},t,{className:ti(n)}))}Jo.defaultProps={playerControlsComponent:Ur,qualities:[],textTracks:{files:[]}};var Zo=je(tt({activeQuality:Qr({property:"videoQuality"}),t:Hr}),{updateTextTrackSettings:Ho,updateVideoQualitySetting:function(t){return S({property:"videoQuality",value:t})}})(Jo);function ti(t){return U()(no(t))}function ei(t){var e=t.t;return er(t.infoBox)?[]:[{name:"toggleInfoBox",className:"player_controls-toggle_info_box_menu_button",label:e("pageflow.public.toggle_info_box"),iconName:"toggleInfoBox"}]}function ni(t){var e=t.playerState;return void 0===e.infoBoxHiddenDuringPlayback?!!t.textTracks.activeFileId:e.infoBoxHiddenDuringPlayback}function ri(t,e){if(!t.files.length)return[];var n={value:"off",label:e("pageflow.public.text_track_modes.none"),active:"off"==t.mode};return[{value:"auto",label:t.autoFile?e("pageflow.public.text_track_modes.auto",{label:t.autoFile.displayLabel}):e("pageflow.public.text_track_modes.auto_off"),active:"auto"==t.mode},n].concat(t.files.map((function(e){return{value:e.id,label:e.displayLabel,active:"user"==t.mode&&e.id==t.activeFileId}})))}function oi(t,e,n,r){return n=n||"auto",function(t,e){if(!e)return[];return t.filter((function(t){return!!e.urls[t]||"auto"==t}))}(t,e).map((function(t){return{value:t,label:r("pageflow.public.video_qualities.labels.".concat(t)),annotation:r("pageflow.public.video_qualities.annotations.".concat(t),{defaultValue:""}),active:t==n}}))}function ii(t){return function(e){return e.entry[t]}}function ai(t){var e=t.entrySlug,n=t.file,r="videoFiles"==n.collectionName?"videos":"audio";return"/".concat(e,"/").concat(r,"/").concat(n.id)}var si=je(tt({t:Hr,entrySlug:ii("slug")}))((function(t){return t.file?React.createElement("p",{className:"non_js_video"},React.createElement("a",{href:ai(t),target:"_blank"},(n=(e=t).file,r=e.t,o="videoFiles"==n.collectionName?"video":"audio",r("pageflow.public.open_".concat(o))))):React.createElement("noscript",null);var e,n,r,o})),ui=Z(nn("media.pageScrollerMargin"),(function(t){return t&&t.bottom}));function ci(t){var e=t.page,n=t.playerState,r={title:e.additionalTitle,description:e.additionalDescription};return React.createElement(W,{className:pi(t.className,fi(t),t.textTracks,n)},React.createElement(H,{pageHasPlayerControls:!0},t.children,React.createElement(In,{page:e,className:no(n)})),React.createElement(Mn,{onInteraction:function(){return n.userIsIdle&&t.playerActions.userInteraction()},classNames:no(n)},React.createElement(Zo,{file:t.file,textTracks:t.textTracks,playerState:n,playerActions:t.playerActions,qualities:t.qualities,controlBarText:t.controlBarText,infoBox:r,playerControlsComponent:t.playerControlsComponent}),React.createElement(Bn,{className:no(n),marginBottom:t.dynamicPageScrollerMargin&&t.pageScrollerMarginBottom},React.createElement(Un,{page:e}),React.createElement(Xi,{page:e}),React.createElement(Wn,{page:e,marginBottom:t.dynamicPageScrollerMargin?"none":"for_player_controls"},React.createElement(si,{file:t.file})))))}ci.defaultProps={playerControlsCanOverlapPageText:!0};var li=An(tt({pageScrollerMarginBottom:ui,textTracks:Yo({file:Vn("file"),defaultTextTrackFileId:Vn("page.defaultTextTrackFileId")}),hasAutoplaySupport:Gn("autoplay support"),shouldAutoplay:Ko({id:Vn("page.permaId"),autoplayWhenBackgroundMediaMuted:Vn("autoplayWhenBackgroundMediaMuted")})}))(ci);function fi(t){return t.shouldAutoplay&&t.hasAutoplaySupport&&!t.playerState.playFailed}function pi(t,e,n,r){return U()(t,{has_text_tracks:!!n.activeFileId,is_idle:r.isPlaying&&r.userIsIdle,is_control_bar_focused:r.focusInsideControls,is_control_bar_hovered:r.userHoveringControls,is_control_bar_hidden:r.controlsHidden,unplayed:r.unplayed&&!e,should_play:r.shouldPlay,has_played:r.hasPlayed})}var di=An(tt({pageIsPrepared:an(),pageIsPreloaded:on(),atmoDuringPlayback:tn("atmoDuringPlayback"),defaultTextTrackFileId:tn("defaultTextTrackFileId")}))((function(t){if(t.file&&t.file.isReady){var e=t.structuredDataComponent||function(){return null};return React.createElement("div",{style:{height:"100%"}},function(t){if(t.pageIsPrepared){var e=t.playerComponent;return React.createElement(e,{file:t.file,posterImageFile:t.posterImageFile,playerState:t.playerState,playerActions:t.playerActions,atmoDuringPlayback:t.atmoDuringPlayback,fit:t.fit,position:t.position,loop:t.loop,muted:t.muted,playsInline:t.playsInline,defaultTextTrackFileId:t.defaultTextTrackFileId,textTracksEnabled:t.textTracksEnabled,textTrackPosition:t.textTrackPosition})}if(t.preloadComponent&&t.pageIsPreloaded){var n=t.preloadComponent;return React.createElement(n,{file:t.file,posterImageFile:t.posterImageFile})}return React.createElement("noscript",null)}(t),React.createElement(e,{file:t.file}))}return React.createElement("noscript",null)})),hi=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),C(e,[{key:"render",value:function(){var t=this;return B.a.createElement("div",{ref:function(e){return t.containerElement=e},dangerouslySetInnerHTML:this.mediaTagHTML()})}},{key:"shouldComponentUpdate",value:function(t){return t.tagName!==this.props.tagName||t.poster!==this.props.poster||t.loop!==this.props.loop||t.muted!==this.props.muted||t.playsInline!==this.props.playsInline||!vi(t.sources,this.props.sources)||!vi(t.tracks,this.props.tracks)}},{key:"componentDidMount",value:function(){this.triggerOnSetup()}},{key:"componentWillUpdate",value:function(){this.triggerOnDispose()}},{key:"componentDidUpdate",value:function(){this.triggerOnSetup()}},{key:"componentWillUnmount",value:function(){this.triggerOnDispose()}},{key:"triggerOnSetup",value:function(){this.props.onSetup&&this.props.onSetup(this.containerElement.firstElementChild)}},{key:"triggerOnDispose",value:function(){this.props.onDispose&&this.props.onDispose()}},{key:"mediaTagHTML",value:function(){var t=document.createElement("div"),e=document.createElement(this.props.tagName);return e.setAttribute("preload","none"),e.setAttribute("crossorigin","anonymous"),e.setAttribute("alt",this.props.alt),this.props.poster&&e.setAttribute("data-poster",this.props.poster),this.props.loop&&e.setAttribute("loop","true"),this.props.muted&&e.setAttribute("muted","true"),this.props.playsInline&&e.setAttribute("playsinline","true"),this.props.sources.forEach((function(t){var n=document.createElement("source");n.setAttribute("src",t.src),n.setAttribute("type",t.type),e.appendChild(n)})),this.props.tracks.forEach((function(t){var n=document.createElement("track");n.setAttribute("src",t.src),n.setAttribute("id",t.id),n.setAttribute("kind",t.kind),n.setAttribute("srclang",t.srclang),n.setAttribute("label",t.label),e.appendChild(n)})),t.appendChild(e),{__html:t.innerHTML.replace('preload="none"','preload="auto"')}}}]),e}(B.a.Component);function vi(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++){var r=t[n],o=e[n];if(Object.keys(r).length!==Object.keys(o).length)return!1;for(var i in r)if(r[i]!==o[i])return!1}return!0}function gi(t,e){e.emulateTextTracksDisplay;var n=e.atmoSettings,r=e.mediaContext,o=e.playsInline,i="audio"==t.tagName.toLowerCase(),a=new pageflow.VideoPlayer(t,{controlBar:!1,loadingSpinner:!1,bigPlayButton:!1,errorDisplay:!1,textTrackSettings:!1,poster:t.getAttribute("data-poster"),html5:{nativeCaptions:!i&&pageflow.browser.has("iphone platform")},bufferUnderrunWaiting:!0,useSlimPlayerControlsDuringPhonePlayback:!o&&!i,fullscreenDuringPhonePlayback:!o&&!i,fallbackToMutedAutoplay:!i,volumeFading:!0,hooks:pageflow.atmo.createMediaPlayerHooks(n),mediaEvents:!0,context:r});return a.textTrackSettings={getValues:function(){return{}}},a.addClass("video-js"),a.addClass("player"),a}hi.defaultProps={tagName:"video",sources:[],tracks:[]};var yi=function(t,e){t.on("loadedmetadata",(function(){return e.metaDataLoaded({currentTime:t.currentTime(),duration:t.duration()})})),t.on("progress",(function(){return e.progress({bufferedEnd:t.bufferedEnd()})})),t.on("play",e.playing),t.on("playfailed",e.playFailed),t.on("playmuted",e.playingMuted),t.on("pause",e.paused),t.on("waiting",e.waiting),t.on("seeking",e.seeking),t.on("seeked",e.seeked),t.on("bufferunderrun",e.bufferUnderrun),t.on("bufferunderruncontinue",e.bufferUnderrunContinue),t.on("timeupdate",(function(){return e.timeUpdate({currentTime:t.currentTime(),duration:t.duration()})})),t.on("ended",e.ended)};function mi(t,e,n){t.one("timeupdate",(function(){bi(t,null,e(),n())}))}function bi(t,e,n,r){e!=n&&function(t,e){[].slice.call(t.textTracks()).forEach((function(t){t.id=="text_track_file_".concat(e)?t.mode="showing":t.mode="disabled"}))}(t,n),function(t,e){t.updateCueLineSettings(e)}(t,r)}var wi,Ei=function(t){var e=t.tagName,n=t.sources,r=t.poster,o=void 0===r?function(){}:r,i=t.emulateTextTracksDisplay,a=void 0!==i&&i,s=t.createPlayer,u=void 0===s?gi:s,c=function(t){function r(t,n){var o;return T(this,r),(o=M(this,R(r).call(this,t,n))).displaysTextTracksInNativePlayer=o.props.hasNativeVideoPlayer&&"video"==e,o.initiallyMuted=o.props.muted,o.updateAtmoSettings(),o.setupMediaTag=function(e){o.player=u(e,{emulateTextTracksDisplay:a,atmoSettings:o.atmoSettings,mediaContext:o.context.mediaContext,playsInline:t.playsInline}),o.player.ready((function(){var t,n,r,i,a,s;o.props.playerActions.saveMediaElementId(e.id),t=o.player,n=function(){return o.props.playerState},r=o.props.playerActions,i=o.prevFileId,a=o.props.file.id,s=n(),a===i&&s.currentTime>0&&t.currentTime(s.currentTime),s.shouldPrebuffer&&t.prebuffer().then(r.prebuffered),s.isPlaying&&t.play(),t.on("canplay",(function(){n().shouldPlay&&t.paused()&&t.play()})),o.displaysTextTracksInNativePlayer||function(t,e,n){t.on("pause",(function(){mi(t,e,n)})),t.textTracks().on("addtrack",(function(){bi(t,null,e(),n())})),bi(t,null,e(),n()),mi(t,e,n)}(o.player,(function(){return o.props.textTracks.activeFileId}),(function(){return o.props.textTrackPosition})),yi(o.player,o.props.playerActions),o.prevFileId=o.props.file.id}),!0)},o.disposeMediaTag=function(){o.player.dispose(),o.player=null,o.props.playerActions.discardMediaElementId()},o}return N(r,t),C(r,[{key:"componentDidUpdate",value:function(t){var e=this;this.player&&(this.player.ready((function(){var n,r,o;n=e.player,r=t.muted,o=e.props.muted,r!==o&&n.muted(o),function(t,e,n,r){e!==n&&t.changeVolumeFactor(n,r)}(e.player,t.playerState.volumeFactor,e.props.playerState.volumeFactor,e.props.playerState.volumeFactorFadeDuration),function(t,e,n,r){!e.shouldPrebuffer&&n.shouldPrebuffer&&t.prebuffer().then((function(){return setTimeout(r.prebuffered,0)})),!e.shouldPlay&&n.shouldPlay?n.fadeDuration?t.playAndFadeIn(n.fadeDuration):t.play():e.shouldPlay&&!n.shouldPlay&&n.isPlaying&&(n.fadeDuration?t.fadeOutAndPause(n.fadeDuration):t.pause()),void 0!==n.shouldSeekTo&&n.shouldSeekTo!==e.shouldSeekTo&&t.currentTime(n.shouldSeekTo)}(e.player,t.playerState,e.props.playerState,e.props.playerActions)}),!0),this.displaysTextTracksInNativePlayer||bi(this.player,t.textTracks.activeFileId,this.props.textTracks.activeFileId,this.props.textTrackPosition),this.updateAtmoSettings())}},{key:"updateAtmoSettings",value:function(){this.atmoSettings=this.atmoSettings||{},this.atmoSettings.atmo_during_playback=this.props.atmoDuringPlayback}},{key:"render",value:function(){return B.a.createElement(hi,{tagName:e,sources:n(this.props.file,this.props.quality,{hasHighBandwidth:this.props.hasHighBandwidth}),tracks:(t=this.props.textTracks.files,r=this.props.textTracksEnabled,r?t.filter((function(t){return t.isReady})).map((function(t){return{id:"text_track_file_".concat(t.id),kind:t.kind,label:t.displayLabel,srclang:t.srclang,src:t.urls.vtt}})):[]),poster:o(this.props.file,this.props.posterImageFile),loop:this.props.loop,muted:this.initiallyMuted,playsInline:this.props.playsInline,alt:this.props.file.alt,onSetup:this.setupMediaTag,onDispose:this.disposeMediaTag});var t,r}}]),r}(B.a.Component);c.contextTypes={mediaContext:B.a.PropTypes.object},c.defaultProps={textTracksEnabled:!0,textTracks:{files:[]}};var l=je(tt({textTracks:Yo({file:Vn("file"),defaultTextTrackFileId:Vn("defaultTextTrackFileId")}),quality:Qr({property:"videoQuality"}),hasNativeVideoPlayer:Gn("native video player"),hasHighBandwidth:Gn("high bandwidth"),textTrackPosition:xi}),{updateTextTrackSettings:Ho})(c);return l.WrappedComponent=c,l},Oi=(wi="slimPlayerControls",function(t){return t.widgetPresence[wi]});function xi(t,e){var n=e.playerState,r=e.textTrackPosition;return r||(Oi(t)?n.controlsHidden?"auto.lazy":"auto.translated":n.controlsHidden?"auto.lazy":"top")}var Pi=Ei({tagName:"audio",sources:function(t){return[{type:"audio/ogg",src:"".concat(t.urls.ogg,"?u=1")},{type:"audio/mp4",src:"".concat(t.urls.m4a,"?u=1")},{type:"audio/mp3",src:"".concat(t.urls.mp3,"?u=1")}]},emulateTextTracksDisplay:!0});function ki(t,e){return e&&e.match(/^\/\//)?"".concat(t,":").concat(e):e}function _i(t){var e=Math.round(t/1e3)%60,n=Math.floor(t/1e3/60)%60,r=Math.floor(t/1e3/60/60),o="PT";return r>0&&(o+="".concat(r,"H")),n>0&&(o+="".concat(n,"M")),(e>0||0==n&&0==r)&&(o+="".concat(e,"S")),o}var Si,Ti=je(tt({isEnabled:(Si="structured_data",function(t){return t.features.indexOf(Si)>=0})}))((function(t){var e=t.data;return t.isEnabled?React.createElement("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(e)}}):null}));var Ai=je(tt({entryPublishedAt:ii("publishedAt")}))((function(t){var e=t.file,n=t.entryPublishedAt,r={"@context":"http://schema.org","@type":"AudioObject",name:e.basename,description:e.alt,url:ki("https",e.urls.mp3),duration:_i(e.durationInMs),datePublished:n,uploadDate:e.createdAt,copyrightHolder:{"@type":"Organization",name:e.rights}};return React.createElement(Ti,{data:r})}));function Ci(t){return React.createElement(di,Object.assign({},t,{playerComponent:Pi,structuredDataComponent:Ai}))}var ji=function(t,e,n,r){if(r&&r.height&&e&&"contain"!=e){var o,i,a,s=t.width/t.height;if("width"==(r.width/r.height>s?"width":"height")?(o=(i=r.height)*s,a=r.width/o):(i=(o=r.width)/s,a=r.height/i),!("smart_contain"==e&&a>1.2)){var u=o*a,c=i*a,l=void 0!==n[0]&&"cover"==e?n[0]:50,f=void 0!==n[1]&&"cover"==e?n[1]:50;return{left:(r.width-u)*l/100,top:(r.height-c)*f/100,width:u,height:c}}}};function Ii(t,e){if(t&&e){var n=Math.max(0,-t.left),r=Math.max(0,t.width-e.width+t.left),o=Math.max(0,-t.top),i=Math.max(0,t.height-e.height+t.top);return["cue_offset","cue_offset_".concat(Math.ceil(i/10)),"cue_margin_left_".concat(Math.ceil(n/10)),"cue_margin_right_".concat(Math.ceil(r/10)),"cue_margin_top_".concat(Math.ceil(o/10)),"cue_margin_bottom_".concat(Math.ceil(i/10))].join(" ")}}function Mi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ri(t){return B.a.createElement(xr.a,{whitelist:["width","height"],cloneOptions:{noCloneOnZeroDimension:!0}},(function(e){return function(t,e){var n=ji(t.videoFile,t.fit,t.position,e);return B.a.createElement("div",{className:"uncropped_media_wrapper"},B.a.createElement("div",{className:Ii(n,e),style:Di(n)},t.children))}(t,e)}))}function Di(t){return t&&function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Mi(n,!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Mi(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({position:"absolute"},t)}var Ni=Ei({tagName:"video",sources:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.hasHighBandwidth;if("auto"==(e=e||"auto")){var o=r?"high":"medium",i=[{type:"application/x-mpegURL",src:"".concat(t.urls["hls-playlist"],"?u=1")},{type:"video/mp4",src:"".concat(t.urls[o],"?u=1")}];return t.urls["dash-playlist"]&&(i=[{type:"application/dash+xml",src:"".concat(t.urls["dash-playlist"])}].concat(i)),i}return t.urls[e]||(e="high"),[{type:"video/mp4",src:"".concat(t.urls[e],"?u=1")}]},poster:Fi});function Li(t){return B.a.createElement(Ri,{videoFile:t.file,fit:t.fit,position:t.position},B.a.createElement(Ni,{file:t.file,posterImageFile:t.posterImageFile,playerState:t.playerState,playerActions:t.playerActions,atmoDuringPlayback:t.atmoDuringPlayback,defaultTextTrackFileId:t.defaultTextTrackFileId,textTracksEnabled:t.textTracksEnabled,loop:t.loop,muted:t.muted,playsInline:t.playsInline}))}var Bi=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),C(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.file,n=t.posterImageFile,r=t.preloadImage,o=Fi(e,n);o&&r(o)}},{key:"render",value:function(){return null}}]),e}(B.a.Component);function Fi(t,e){var n=rt("mobile platform")?"medium":"large";return e?e.urls[n]:t.urls["poster_".concat(n)]}Bi.defaultProps={preloadImage:ot};var Ui=je(tt({entryPublishedAt:ii("publishedAt")}))((function(t){var e=t.file,n=t.entryPublishedAt,r={"@context":"http://schema.org","@type":"VideoObject",name:e.basename,description:e.alt,url:ki("https",e.urls.high),thumbnailUrl:ki("https",e.urls.poster_medium),width:e.width,height:e.height,duration:_i(e.durationInMs),datePublished:n,uploadDate:e.createdAt,copyrightHolder:{"@type":"Organization",name:e.rights}};return React.createElement(Ti,{data:r})}));var Wi=je(tt({file:Ye("videoFiles",{id:Vn("videoFileId")}),posterImageFile:Ye("imageFiles",{id:Vn("posterImageFileId")}),muted:function(t,e){return e.muted||qo(t)}}))((function(t){return React.createElement(di,Object.assign({},t,{playerComponent:Li,preloadComponent:Bi,structuredDataComponent:Ui}))}));function Hi(t){var e=t.page,n=Y.concat(t.propertyNamePrefix,t.videoPropertyBaseName),r=Y.concat(t.propertyNamePrefix,t.posterImagePropertyBaseName);return React.createElement(Wi,{videoFileId:e["".concat(n,"Id")],posterImageFileId:e["".concat(r,"Id")],playerState:t.playerState,playerActions:t.playerActions,fit:t.fit,position:[e["".concat(n,"X")],e["".concat(n,"Y")]],textTracksEnabled:t.textTracksEnabled,loop:t.loop,muted:t.muted,playsInline:t.playsInline})}Hi.defaultProps={videoPropertyBaseName:"videoFile",posterImagePropertyBaseName:"posterImage",fit:"smart_contain"};var qi=je(tt({fileExists:Xe()}))((function(t){var e=function(t){return(e=t.propertyNamePrefix,[{propertyBaseName:Y.concat(e,"mobilePosterImage"),collection:"imageFiles"},{propertyBaseName:Y.concat(e,"posterImage"),collection:"imageFiles"},{propertyBaseName:Y.concat(e,"videoFile"),collection:"videoFiles"}]).find((function(e){return t.fileExists(e.collection,t.page["".concat(e.propertyBaseName,"Id")])}));var e}(t);return e?React.createElement(jn,{page:t.page,propertyBaseName:e.propertyBaseName,fileCollection:e.collection}):React.createElement("noscript",null)}));var Vi=je(tt({fileExists:Xe(),hasMobilePlatform:Gn("mobile platform"),hasAutoplaySupport:Gn("autoplay support")}))((function(t){return t.hasMobilePlatform&&function(t){var e=Y.concat(t.propertyNamePrefix,"mobilePosterImageId");return t.fileExists("imageFiles",t.page[e])}(t)?React.createElement(qi,{page:t.page,propertyNamePrefix:t.propertyNamePrefix}):React.createElement(Hi,Object.assign({loop:!0,fit:"cover",muted:!t.hasAutoplaySupport,playsInline:!0,textTracksEnabled:!1},t))}));var Gi=je(tt({file:Ye("imageFiles",{id:Vn("fileId")}),entryPublishedAt:ii("publishedAt")}))((function(t){var e=t.file,n=t.entryPublishedAt;if(e){var r={"@context":"http://schema.org","@type":"ImageObject",name:e.basename,description:e.alt,url:ki("https",e.urls.large),width:e.width,height:e.height,datePublished:n,uploadDate:e.createdAt,copyrightHolder:{"@type":"Organization",name:e.rights}};return React.createElement(Ti,{data:r})}return null}));var zi=An(tt({page:en(),playerState:Go({scope:"background"})}),X({playerActions:zo({scope:"background"})}))((function(t){var e=t.page,n=t.playerState,r=t.playerActions,o=t.propertyNamePrefix;return"video"==e[Y.concat(o,"backgroundType")]?React.createElement(Vi,{page:e,playerState:n,playerActions:r,propertyNamePrefix:o}):React.createElement(jn,{page:e,propertyNamePrefix:o,structuredDataComponent:Gi})}));function Yi(t){return React.createElement(H,null,React.createElement(zi,{propertyNamePrefix:t.propertyNamePrefix}),React.createElement(In,{page:t.page}))}var Xi=je(tt({isEntryReady:function(t){return!!t.entry.isReady}}))((function(t){var e=t.page;return t.isEntryReady?"video"==e.backgroundType||"video"==e.type?React.createElement($i,{videoId:e.videoFileId,posterImageId:e.posterImageId}):React.createElement(Ki,{imageId:e.backgroundImageId}):null})),$i=je(tt({videoFile:Ye("videoFiles",{id:Vn("videoId")}),posterImageFile:Ye("imageFiles",{id:Vn("posterImageId")})}))((function(t){var e=t.videoFile,n=t.posterImageFile;return n?React.createElement(Qi,{file:n}):React.createElement(Qi,{file:e})})),Ki=An(tt({file:Ye("imageFiles",{id:Vn("imageId")}),pageIsPrepared:an()}))(Qi);function Qi(t){var e=t.file;return e&&e.isReady&&an?React.createElement("img",{src:e.urls.print,alt:e.alt,className:"print_image"}):React.createElement("noscript",null)}function Ji(t){return React.createElement("div",{className:"waveform_player_controls-info_box"},function(t){if(!G(t.title))return React.createElement("h3",{className:Zi(t)},t.title)}(t),function(t){if(!G(t.description))return React.createElement("p",{className:"waveform_player_controls-info_box-description",dangerouslySetInnerHTML:{__html:t.description}})}(t))}function Zi(t){var e=!G(t.title)&&!G(t.description);return U()("waveform_player_controls-info_box-title",{"waveform_player_controls-info_box-title-with_separator":e})}var ta="MEDIA_PAGE_SCROLLER_MARGIN_SET_BOTTOM";var ea=An(null,{setPageScrollerMarginBottom:function(t){return{type:ta,payload:{value:t},meta:{collectionName:"pages"}}}})((function(t){return React.createElement(xr.a,{whitelist:["height"],onMeasure:function(e){var n=e.height;return t.setPageScrollerMarginBottom(n)}},React.createElement("div",{className:"waveform_player_controls-container"},t.children))}));var na=lr((function(t){return React.createElement("a",{href:"#",className:ra(t),id:t.id,tabIndex:"4",title:t.title,onClick:oa(t)},React.createElement(ur,{name:t.isPlaying?"pause":"play"}))}));function ra(t){return U()("waveform_player_controls-play_button",{"waveform_player_controls-play_button-inverted":t.inverted})}function oa(t){return function(e){e.preventDefault(),t.onClick&&t.onClick()}}var ia=n(173),aa=n.n(ia),sa="rgba(170, 170, 170, 1)",ua="rgba(0, 0, 0, 0.5)",ca="#fff",la="#888";var fa=An(tt({pageIsPrepared:an(),waveformColor:tn("waveformColor"),mainColor:function(t){return t.theme.mainColor}}))((function(t){return t.pageIsPrepared&&t.mediaElementId?React.createElement(xr.a,{whitelist:["height"]},(function(e){var n=e.height;return React.createElement("div",{className:"waveform_player_controls-wave"},React.createElement("div",{className:"waveform_player_controls-wave_wrapper"},React.createElement(aa.a,{mediaElt:"#".concat(t.mediaElementId),options:{normalize:!0,removeMediaElementOnDestroy:!1,hideScrollbar:!0,progressColor:t.waveformColor||t.mainColor,waveColor:t.inverted?ua:sa,cursorColor:t.inverted?la:ca,height:n}}),React.createElement(na,{isPlaying:t.isPlaying,title:t.playButtonTitle,inverted:t.inverted,onClick:t.onPlayButtonClick})))})):null}));function pa(t){return React.createElement("div",{className:"waveform_player_controls-times_display"},React.createElement(hr,{value:t.currentTime,className:"waveform_player_controls-times_display-current_time"}),"/",React.createElement(hr,{value:t.duration,className:"waveform_player_controls-times_display-duration"}))}var da=An(tt({inverted:tn("invert")}))((function(t){return React.createElement("div",{className:ha(t)},React.createElement(ea,null,React.createElement(fa,{isPlaying:t.isPlaying,inverted:t.inverted,playButtonTitle:t.playButtonTitle,mediaElementId:t.mediaElementId,onPlayButtonClick:t.onPlayButtonClick}),React.createElement(pa,{currentTime:t.currentTime,duration:t.duration}),React.createElement(Ji,t.infoBox)),React.createElement(Dr,{inverted:t.inverted,qualityMenuButtonTitle:t.qualityMenuButtonTitle,qualityMenuItems:t.qualityMenuItems,onQualityMenuItemClick:t.onQualityMenuItemClick,textTracksMenuButtonTitle:t.textTracksMenuButtonTitle,textTracksMenuItems:t.textTracksMenuItems,hiddenOnPhone:!t.isPlaying,onTextTracksMenuItemClick:t.onTextTracksMenuItemClick}))}));function ha(t){return U()("waveform_player_controls",{"waveform_player_controls-inverted":t.inverted})}var va="HOTKEY_SPACE",ga="HOTKEY_TAB";function ya(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ma(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ya(n,!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ya(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ba=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.scope,n=void 0===e?"default":e;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;if(e.meta&&e.meta.mediaScope&&e.meta.mediaScope!==n)return t;switch(e.type){case u:return ma({},t,{hasPlayed:!1,unplayed:!0,infoBoxHiddenDuringPlayback:void 0,userIsIdle:!1});case l:return ma({},t,{shouldPrebuffer:!1});case oo:return ma({},t,{shouldPlay:!0,playFailed:!1,hasBeenPlayingJustNow:!0,unplayed:!1,fadeDuration:null,isLoading:!0});case Eo:return ma({},t,{shouldPlay:!0,isPlaying:!0});case co:return ma({},t,{shouldPlay:!1,playFailed:!0,hasBeenPlayingJustNow:!1,unplayed:!0,fadeDuration:null,isLoading:!1});case io:return ma({},t,{shouldPlay:!0,hasBeenPlayingJustNow:!0,fadeDuration:e.payload.fadeDuration,isLoading:!0});case ao:return ma({},t,{shouldPlay:!1,fadeDuration:null,isLoading:!1});case Oo:return t.bufferUnderrun?ma({},t,{isPlaying:!1,hasPlayed:!0}):ma({},t,{shouldPlay:!1,isPlaying:!1,fadeDuration:null,isLoading:!1});case so:return ma({},t,{shouldPlay:!1,fadeDuration:e.payload.fadeDuration,isLoading:!1});case uo:return ma({},t,{volumeFactor:e.payload.volumeFactor,volumeFactorFadeDuration:e.payload.fadeDuration});case ho:return ma({},t,{shouldPrebuffer:!0});case vo:return ma({},t,{shouldPrebuffer:!1});case So:return ma({},t,{isLoading:!0});case yo:return ma({},t,{bufferUnderrun:!0});case mo:return ma({},t,{bufferUnderrun:!1});case fo:return ma({},t,{scrubbingAt:e.payload.time});case po:return ma({},t,{shouldSeekTo:e.payload.time});case ko:return ma({},t,{isLoading:!0});case _o:return ma({},t,{scrubbingAt:void 0,isLoading:!1});case bo:return ma({},t,{currentTime:e.payload.currentTime,duration:e.payload.duration});case wo:return ma({},t,{bufferedEnd:e.payload.bufferedEnd});case xo:return ma({},t,{currentTime:e.payload.currentTime,duration:e.payload.duration,isLoading:!1});case Po:return ma({},t,{shouldPlay:!1,isPlaying:!1});case To:return ma({},t,{hasBeenPlayingJustNow:!1});case ga:case Ao:return ma({},t,{userIsIdle:!1,controlsHidden:!1});case Co:return ma({},t,{userIsIdle:!0});case jo:return ma({},t,{userHoveringControls:!0});case Io:return ma({},t,{userHoveringControls:!1});case Mo:return ma({},t,{focusInsideControls:!0});case Ro:return ma({},t,{focusInsideControls:!1});case Do:return ma({},t,{controlsHidden:!0,infoBoxHiddenDuringPlayback:!0});case Lo:return ma({},t,{infoBoxHiddenDuringPlayback:!0});case No:return ma({},t,{infoBoxHiddenDuringPlayback:!1});case Bo:return ma({},t,{infoBoxHiddenDuringPlayback:!t.infoBoxHiddenDuringPlayback});case Fo:return ma({},t,{mediaElementId:e.payload.id});case Uo:return ma({},t,{mediaElementId:null});default:return t}}};function wa(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ea(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?wa(n,!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wa(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Oa=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case ta:return Ea({},t,{bottom:e.payload.value});default:return t}},xa=Et.a.mark(ka),Pa=Et.a.mark(_a);function ka(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)([va,ro],_a,Wo());case 2:case"end":return t.stop()}}),xa)}function _a(t){var e,n;return Et.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return e=t.play,n=t.pause,r.next=3,Object(Rt.select)(Go());case 3:if(!r.sent.shouldPlay){r.next=9;break}return r.next=7,Object(Rt.put)(n());case 7:r.next=13;break;case 9:return r.next=11,Object(Rt.call)((function(){return pageflow.backgroundMedia.unmute()}));case 11:return r.next=13,Object(Rt.put)(e());case 13:case"end":return r.stop()}}),Pa)}var Sa=Et.a.mark(Aa),Ta=Et.a.mark(Ca);function Aa(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)([co,lo],Ca);case 2:case"end":return t.stop()}}),Sa)}function Ca(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.call)((function(){return pageflow.backgroundMedia.mute()}));case 2:case"end":return t.stop()}}),Ta)}var ja="BACKGROUND_MEDIA_MUTE",Ia="BACKGROUND_MEDIA_UNMUTE";function Ma(){return{type:Ia}}var Ra=Et.a.mark(Ha),Da=Et.a.mark(qa),Na=Et.a.mark(Va),La=Et.a.mark(Ga),Ba=Wo(),Fa=Ba.play,Ua=Ba.prebuffer,Wa=Ba.waiting;function Ha(t){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Dt.takeEvery)(s,Et.a.mark((function e(n){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,[Object(Rt.race)({task:Object(Rt.call)(Va,t),cancel:Object(Rt.take)(l)}),Object(Rt.race)({task:Object(Rt.call)(qa,t),cancel:Object(Rt.take)(l)})];case 2:case"end":return e.stop()}}),e)})));case 2:case"end":return e.stop()}}),Ra)}function qa(t){var e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.t0=t.retryOnUnmute,!n.t0){n.next=5;break}return n.next=4,Object(Rt.select)(Qo());case 4:n.t0=n.sent;case 5:if(!n.t0){n.next=12;break}return n.next=8,Object(Rt.race)({unmute:Object(Rt.take)(Ia),cancel:Object(Rt.take)(l)});case 8:if(e=n.sent,!e.unmute){n.next=12;break}return n.delegateYield(Va(t),"t1",12);case 12:case"end":return n.stop()}}),Da)}function Va(t){var e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.delegateYield(Ga(t),"t0",1);case 1:if(!(e=n.t0)){n.next=5;break}return n.next=5,Object(Rt.put)(Wa());case 5:return n.next=7,[Object(Rt.take)(vo),Object(Rt.put)(Ua())];case 7:if(!e){n.next=12;break}return n.next=10,Object(Rt.call)(Dt.delay,1e3);case 10:return n.next=12,Object(Rt.put)(Fa());case 12:case"end":return n.stop()}}),Na)}function Ga(t){var e,n,r;return Et.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return e=t.canAutoplay,n=t.autoplayWhenBackgroundMediaMuted,o.next=3,Object(Rt.select)(Ko({autoplayWhenBackgroundMediaMuted:function(){return n}}));case 3:return r=o.sent,o.abrupt("return",r&&e);case 5:case"end":return o.stop()}}),La)}var za=Et.a.mark(Ya);function Ya(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(oo,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(rn());case 2:if(!t.sent){t.next=5;break}return t.next=5,Object(Rt.call)(Xa);case 5:case"end":return t.stop()}}),t)})));case 2:return t.next=4,Object(Dt.takeEvery)([ao,Po],Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(rn());case 2:if(!t.sent){t.next=5;break}return t.next=5,Object(Rt.call)($a);case 5:case"end":return t.stop()}}),t)})));case 4:case"end":return t.stop()}}),za)}function Xa(){pageflow.events.trigger("scroll_indicator:disable")}function $a(){pageflow.events.trigger("scroll_indicator:enable")}var Ka=Et.a.mark(Qa);function Qa(){var t,e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=Wo(),e=t.hasNotBeenPlayingForAMoment,n.next=3,Object(Dt.takeEvery)([ao,Po],Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.race)({task:Object(Rt.call)(Et.a.mark((function t(n){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.call)(Dt.delay,700);case 2:return t.next=4,Object(Rt.put)(e(!1));case 4:case"end":return t.stop()}}),t)}))),cancel:Object(Rt.take)(Eo)});case 2:case"end":return t.stop()}}),t)})));case 3:case"end":return n.stop()}}),Ka)}var Ja=Et.a.mark(ts),Za=Et.a.mark(es);function ts(){var t,e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=Wo(),e=t.userIdle,n.next=3,Object(Dt.takeLatest)([oo,Ao,ga],es,e);case 3:case"end":return n.stop()}}),Ja)}function es(t){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Rt.call)(Dt.delay,3e3);case 2:return e.next=4,Object(Rt.put)(t());case 4:case"end":return e.stop()}}),Za)}var ns=Et.a.mark(rs);function rs(){var t,e,n,r,o=arguments;return Et.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return t=o.length>0&&void 0!==o[0]?o[0]:{},e=t.scope,n=Wo({scope:e}),r=n.fadeOutAndPause,i.next=4,Object(Dt.takeEvery)(c,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.put)(r({fadeDuration:400}));case 2:case"end":return t.stop()}}),t)})));case 4:case"end":return i.stop()}}),ns)}var os=Et.a.mark(is);function is(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(Po,Et.a.mark((function t(){var e,n;return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(tn("autoChangePageOnEnded"));case 2:return e=t.sent,t.next=5,Object(Rt.select)(rn());case 5:if(n=t.sent,!e||!n){t.next=9;break}return t.next=9,Object(Rt.call)(as);case 9:case"end":return t.stop()}}),t)})));case 2:case"end":return t.stop()}}),os)}function as(){pageflow.slides.next()}var ss=Et.a.mark(ls);function us(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function cs(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?us(n,!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):us(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ls(){var t,e,n=arguments;return Et.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e=[ka(),Aa(),Ya()],t.playsInNativePlayer&&t.playsInNativePlayer()||e.push([is(),rs(),Qa()]),rt("mobile platform")||e.push([Ha(cs({},t,{canAutoplay:rt("autoplay support")}))]),t.hideControls&&e.push([ts()]),r.next=7,e;case 7:case"end":return r.stop()}}),ss)}var fs=Et.a.mark(hs),ps=Et.a.mark(vs),ds=Et.a.mark(gs);function hs(){var t,e,n,r=arguments;return Et.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e=t.scope,n=Wo({scope:e}),o.next=4,Object(Dt.takeEvery)(u,Et.a.mark((function t(e){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,[Object(Rt.race)({task:[Object(Rt.put)(n.prebuffer()),Object(Rt.call)(vs,n),Object(Rt.call)(gs,n)],cancel:Object(Rt.take)(l)})];case 2:case"end":return t.stop()}}),t)})));case 4:case"end":return o.stop()}}),fs)}function vs(t){var e,n;return Et.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t.prebuffer,e=t.changeVolumeFactor,n=t.play,r.next=3,Object(Rt.put)(e(0,{fadeDuration:0}));case 3:return r.next=5,Object(Rt.take)(vo);case 5:return r.next=7,Object(Rt.put)(n());case 7:case"end":return r.stop()}}),ps)}function gs(t){var e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=t.changeVolumeFactor,n.next=3,[Object(Rt.take)(vo),Object(Rt.take)(s)];case 3:return n.next=5,Object(Rt.put)(e(1,{fadeDuration:1e3}));case 5:case"end":return n.stop()}}),ds)}function ys(t){return{reducers:{"media.default":ba({scope:"default"}),"media.pageScrollerMargin":Oa},saga:Et.a.mark((function e(){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ls(t);case 2:case"end":return e.stop()}}),e)}))}}var ms={reducers:{"media.background":ba({scope:"background"})},saga:Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,[hs({scope:"background"}),rs({scope:"background"}),Aa()];case 2:case"end":return t.stop()}}),t)}))};var bs=function(t){function e(t,n){var r;return T(this,e),(r=M(this,R(e).call(this,t,n))).onPlayButtonClick=function(){pageflow.hideText.activate(),r.props.onEnterBackground&&r.props.onEnterBackground()},r.onCloseButtonClick=function(){pageflow.hideText.deactivate(),r.props.onLeaveBackground&&r.props.onLeaveBackground()},r}return N(e,t),C(e,[{key:"render",value:function(){var t=this.props.page;return B.a.createElement(W,{className:U()({unplayed:!this.props.textHasBeenHidden},"hide_content_with_text")},B.a.createElement(Vr,{onClick:this.onCloseButtonClick}),B.a.createElement(Dr,{additionalButtons:this.props.additionalMenuBarButtons,onAdditionalButtonClick:this.props.onAdditionalButtonClick,qualityMenuButtonTitle:this.props.qualityMenuButtonTitle,qualityMenuItems:this.props.qualityMenuItems,onQualityMenuItemClick:this.props.onQualityMenuItemClick,hiddenOnPhone:this.props.textHasBeenHidden&&!this.props.textIsHidden}),B.a.createElement(H,{pageHasPlayerControls:!0},B.a.createElement("div",{className:"uncropped_media_wrapper"},this.props.children),B.a.createElement(In,{page:t})),B.a.createElement(Mn,null,B.a.createElement(Ur,{playButtonTitle:"Starten",playButtonIconName:this.props.playButtonIconName,controlBarText:t.controlBarText||this.props.defaultControlBarText,onPlayButtonClick:this.onPlayButtonClick,infoBox:{title:t.additionalTitle,description:t.additionalDescription}}),B.a.createElement(Bn,null,B.a.createElement(Un,{page:t}),B.a.createElement(Wn,{page:t}))))}}]),e}(B.a.Component),ws=An(tt({textIsHidden:function(t){return t.hideText.isActive},textHasBeenHidden:function(t){return t.hideText.hasBeenActive}}))(bs),Es="HIDE_TEXT_ACTIVATE",Os="HIDE_TEXT_DEACTIVATE";var xs=Et.a.mark(Ps);function Ps(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(Os,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(rn());case 2:if(!t.sent){t.next=5;break}return t.next=5,Object(Rt.call)(ks);case 5:case"end":return t.stop()}}),t)})));case 2:case"end":return t.stop()}}),xs)}function ks(){pageflow.events.trigger("scroll_indicator:enable")}var _s={name:"interactivePageBackground",saga:Ps};function Ss(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function Ts(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function As(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ts(n,!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ts(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Cs=new function(){var t=[];this.register=function(e,n){var r=n.component,o=n.reduxModules,i=void 0===o?[]:o,a=Ss(n,["component","reduxModules"]);r||c("Requires component option to be present"),Array.isArray(i)||c("Expected reduxModules option to be an array.");var s=[],u=i.reduce((function(t,e){return"object"==typeof e&&3==new Set(Object.keys(e).concat(["name","reducers","saga"])).size||c("Expected redux module to be object with name, reducers and saga properties at most."),e.reducers&&"object"!=typeof e.reducers&&c("Expected reducers property of ".concat(e.name," reduxModule to be object.")),e.saga&&s.push(e.saga),As({},t,{},e.reducers)}),{});function c(t){throw new Error("".concat(t," Check registerPageType call of ").concat(e," page type."))}t.push(As({name:e,component:r,reducer:Object.keys(u).length?Object(at.c)(u):void 0,saga:Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,s.map((function(t){return t()}));case 2:case"end":return t.stop()}}),t)}))},a))},this.forEach=function(){return t.forEach.apply(t,arguments)},this.reduce=function(){return t.reduce.apply(t,arguments)},this.findByName=function(e){return t.find((function(t){var n=t.name;t.component;return n==e}))}},js=Cs.register;function Is(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ms(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Is(n,!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Is(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Rs=new function(){var t=[];this.register=function(e,n){var r=n.component;t.push({name:e,component:r})},this.findByName=function(e){var n=t.find((function(t){return t.name==e}));if(!n)throw'Widget type with name "'.concat(e,'" not found.');return n},this.forEach=function(){t.forEach.apply(t,arguments)}},Ds=Rs.register,Ns=n(174),Ls={muted:!1},Bs=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ls,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case ja:return{muted:!0};case Ia:return{muted:!1};default:return t}};function Fs(t){var e=t.t,n=t.muted,r=t.unmute;return n?B.a.createElement("div",{className:"background_media_unmute_button"},B.a.createElement("a",{title:e("pageflow.public.mute_off"),onClick:function(){new pageflow.AudioPlayer([{src:pageflow.assetUrls.unmuteSound,type:"audio/mpeg"}],{codecs:["mp3"]}).play(),r()},href:"#"})):null}var Us={init:function(t){var e=t.isServerSide,n=t.events,r=t.dispatch;e||(n.on("background_media:mute",(function(t){return r({type:ja})})),n.on("background_media:unmute",(function(t){return r(Ma())})))},createReducers:function(){return{backgroundMedia:Bs}},createSaga:function(t){var e=t.backgroundMedia;return(Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(Ia,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.call)((function(){return e.unmute()}));case 2:case"end":return t.stop()}}),t)})));case 2:case"end":return t.stop()}}),t)})))}};function Ws(t){return t.cookieNotice.visible}function Hs(t){return t.theming.privacy_link_url}var qs="COOKIE_NOTICE_REQUEST",Vs="COOKIE_NOTICE_DISMISS";function Gs(){return{type:Vs}}function zs(t){var e=t.isCookieNoticeVisible,n=t.editing,r=t.t,o=t.dismiss;return e||n?B.a.createElement("div",{className:"cookie_notice_bar"},B.a.createElement("div",{className:"cookie_notice_bar-content"},function(t){var e=t.privacyLinkUrl,n=t.t,r=t.locale,o=n("pageflow.public.cookie_notice_html",{privacyLinkUrl:"".concat(e,"?lang=").concat(r)});return B.a.createElement("span",{className:"cookie_notice_bar-text",dangerouslySetInnerHTML:{__html:o}})}(t),B.a.createElement("a",{className:"cookie_notice_bar-dismiss",onClick:o},r("pageflow.public.dismiss_cookie_notice")))):B.a.createElement("noscript",null)}function Ys(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Xs(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ys(n,!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ys(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var $s=function(t){var e={dismissed:t.hasBeenDismissed,visible:!1};return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case qs:return t.dismissed?t:Xs({},t,{visible:!0});case Vs:return{dismissed:!0,visible:!1};default:return t}}},Ks={init:function(t){var e=t.isServerSide,n=t.events,r=t.dispatch;e||n.on("cookie_notice:request",(function(){return r({type:qs})}))},createReducers:function(t){var e=t.cookies;return{cookieNotice:$s({hasBeenDismissed:e&&e.hasItem("cookie_notice_dismissed")})}},createSaga:function(t){var e=t.widgetsApi,n=t.cookies;return(Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(qs,Et.a.mark((function t(){var n;return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(Ws);case 2:if(!t.sent){t.next=10;break}return t.next=5,Object(Rt.cps)(Qs,e);case 5:return n=t.sent,t.next=8,Object(Rt.take)(Vs);case 8:return t.next=10,Object(Rt.call)(n);case 10:case"end":return t.stop()}}),t)})));case 2:return t.next=4,Object(Dt.takeEvery)(Vs,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.call)((function(){n.setItem("cookie_notice_dismissed",!0)}));case 2:case"end":return t.stop()}}),t)})));case 4:case"end":return t.stop()}}),t)})))}};function Qs(t,e){t.use({name:"cookie_notice_bar_visible",insteadOf:"cookie_notice_bar"},(function(t){return e(null,t)}))}var Js={createReducers:function(t){var e=t.enabledFeatureNames;return{features:function(){return e}}}},Zs="THEMING_INIT";var tu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Zs:return e.payload.theming;default:return t}},eu={init:function(t){var e=t.theming;(0,t.dispatch)(function(t){return{type:Zs,payload:{theming:t}}}(e))},createReducers:function(){return{theming:tu}}},nu={init:function(t){var e=t.storylines,n=t.dispatch;Ue({collection:e,collectionName:"storylines",dispatch:n,attributes:["id"],includeConfiguration:!0})},createReducers:function(){return{storylines:At("storylines")}}},ru={init:function(t){var e=t.chapters,n=t.dispatch;Ue({collection:e,collectionName:"chapters",dispatch:n,attributes:["id","title","position","storyline_id"]})},createReducers:function(){return{chapters:At("chapters")}}},ou="PAGE_TYPES_INIT";var iu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case ou:return e.payload.pageTypes;default:return t}},au={createReducers:function(){return{pageTypes:iu}},init:function(t){var e=t.pageTypesSeed;(0,t.dispatch)(function(t){var e=t.pageTypes;return{type:ou,payload:{pageTypes:e}}}({pageTypes:Y.deep(e)}))}},su="CURRENT_PAGE_CHANGE";var uu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case su:return e.payload.id;default:return t}},cu=function(t,e){t.on("page:change",(function(t){return e(function(t){var e=t.id;return{type:su,payload:{id:e}}}({id:t.getPermaId()}))}))},lu={init:function(t){var e=t.isServerSide,n=t.events,r=t.dispatch;e||cu(n,r)},createReducers:function(){return{currentPageId:uu}}},fu={init:function(t){var e=t.files,n=t.dispatch;Object.keys(e).forEach((function(t){Ue({collection:e[t],collectionName:Y(t),dispatch:n,idAttribute:"perma_id",attributes:["id","perma_id","basename","variants","is_ready","parent_file_id","parent_file_model_type","width","height","duration_in_ms","rights","created_at"],includeConfiguration:!0})}))},createReducers:function(t){var e=t.files,n=t.fileUrlTemplates,r=void 0===n?{}:n,o=t.modelTypes,i=void 0===o?{}:o;return r=Y.keys(r),i=Y.keys(i),{files:Object(at.c)(Object.keys(e).reduce((function(t,e){return t[e=Y(e)]=At(e,{idAttribute:"permaId"}),t}),{})),fileUrlTemplates:function(t){return r},modelTypes:function(t){return i}}}},pu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case P:return e.payload.settings;default:return t}},du={init:function(t){var e=t.isServerSide,n=t.settings,r=t.dispatch;e||(r(_({settings:n.toJSON()})),n.on("change",(function(){return r(_({settings:n.toJSON()}))})))},createReducers:function(){return{settings:pu}},createSaga:function(t){var e=t.settings;return(Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(k,Et.a.mark((function t(n){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.call)([e,e.set],n.payload.property,n.payload.value);case 2:case"end":return t.stop()}}),t)})));case 2:case"end":return t.stop()}}),t)})))}};var hu="I18N_INIT";var vu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case hu:return{locale:e.payload.locale};default:return t}},gu={createReducers:function(){return{i18n:vu}},init:function(t){var e=t.locale;(0,t.dispatch)(function(t){var e=t.locale;return{type:hu,payload:{locale:e}}}({locale:e}))}},yu="ENTRY_UPDATE",mu="ENTRY_READY";function bu(t){var e=t.entry;return{type:yu,payload:{entry:e}}}function wu(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Eu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?wu(n,!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wu(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Ou=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case yu:return Eu({},t,{},e.payload.entry);case mu:return Eu({},t,{isReady:!0});default:return t}},xu={init:function(t){var e=t.entry,n=t.dispatch,r=t.events;t.isServerSide||r.once("ready",(function(){return n({type:mu})})),Fe.a.Model&&e instanceof Fe.a.Model?function(t){var e=t.entry,n=t.dispatch;Pu({entry:e,dispatch:n}),e.configuration.on("change:title",(function(){Pu({entry:e,dispatch:n})}))}({entry:e,dispatch:n}):function(t){var e=t.entry;(0,t.dispatch)(bu({entry:{slug:e.slug,title:e.title,publishedAt:e.published_at}}))}({entry:e,dispatch:n})},createReducers:function(){return{entry:Ou}}};function Pu(t){var e=t.entry;(0,t.dispatch)(bu({entry:{slug:e.get("slug"),title:e.configuration.get("title")||e.get("entry_title"),publishedAt:null}}))}var ku={init:function(t){var e=t.isServerSide,n=t.window,r=t.getState,o=t.dispatch;e||n.addEventListener("keydown",(function(t){var e=r().currentPageId;32==t.keyCode?o(function(t){var e=t.currentPageId;return x(va,e)}({currentPageId:e})):9==t.keyCode&&o(function(t){var e=t.currentPageId;return x(ga,e)}({currentPageId:e}))}))}},_u=function(t,e){t.on("activate",(function(t){return e({type:Es})})),t.on("deactivate",(function(t){return e({type:Os})}))};function Su(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Tu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Su(n,!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Su(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Au={isActive:!1,hasBeenActive:!1},Cu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Au,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Es:return{isActive:!0,hasBeenActive:!0};case Os:return Tu({},t,{isActive:!1});case su:return Tu({},t,{hasBeenActive:!1});default:return t}},ju={init:function(t){var e=t.isServerSide,n=t.hideText,r=t.dispatch;e||_u(n,r)},createReducers:function(){return{hideText:Cu}}},Iu={init:function(t){var e=t.widgets,n=t.dispatch;Ue({collection:e,collectionName:"widgets",dispatch:n,attributes:["role","type_name","editing"],includeConfiguration:!0})},createReducers:function(){return{widgets:At("widgets",{idAttribute:"role"})}}};var Mu="WIDGETS_LOAD";var Ru=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Mu:return e.payload.widgets;default:return t}},Du={init:function(t){var e=t.isServerSide,n=t.events,r=t.widgetsApi,o=t.dispatch;function i(){o(function(t){var e=t.widgets;return{type:Mu,payload:{widgets:e}}}({widgets:{classicPlayerControls:r.isPresent("classic_player_controls"),slimPlayerControls:r.isPresent("slim_player_controls")}}))}e||(n.on("widgets:update",i),i())},createReducers:function(){return{widgetPresence:Ru}}},Nu="THEME_INIT";var Lu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Nu:return e.payload;default:return t}},Bu={createReducers:function(){return{theme:Lu}},init:function(t){var e,n=t.dispatch;if(!t.isServerSide){var r=document.getElementById("theme_probe-main_color");n((e={mainColor:window.getComputedStyle(r)["background-color"]},{type:Nu,payload:e}))}}};function Fu(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var Uu=function(t){var e=!!t.storylines,n=!t.settings,r=t.seed,o=e?t:r,i={isServerSide:n,locale:r.locale,entry:o.entry,enabledFeatureNames:r.enabled_feature_names,fileUrlTemplates:r.file_url_templates,modelTypes:r.file_model_types,pageTypesSeed:r.page_types,pageTypes:Cs,theming:r.theming,files:o.files||{},storylines:o.storylines,chapters:o.chapters,pages:o.pages,widgets:e?t.entry.widgets:r.widgets,cookies:t.cookies,hideText:t.hideText,events:t.events,settings:t.settings,widgetsApi:t.widgets,backgroundMedia:t.backgroundMedia,window:n?null:window},s=Object(Ns.a)([Us,Ks,Js,gu,eu,xu,lu,nu,ru,Tn,fu,du,ju,Iu,Du,au,ku,Bu],i);return n||(Cs.forEach((function(e){return t.pageType.register(e.name,function(t){return kn(On(t),t.mixin||{})}(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Fu(n,!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Fu(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},e,{Component:e.component,store:s})))})),Rs.forEach((function(e){var n=e.name,r=e.component;return t.widgetTypes.register(n,function(t,e){return{enhance:function(n){wn.a.render(React.createElement(Wt,{store:e},React.createElement(t,null)),n[0])}}}(r,s))}))),s},Wu=Me("pages"),Hu=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),C(e,[{key:"componentWillMount",value:function(){this.store=Uu({seed:this.props.resolverSeed}),this.pageComponent=Cs.findByName(this.props.pageType).component}},{key:"render",value:function(t){var e=this.pageComponent;return B.a.createElement(Wt,{store:this.store},B.a.createElement(Wu,{itemId:this.props.pageId},B.a.createElement(e,null)))}}]),e}(B.a.Component),qu=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),C(e,[{key:"componentWillMount",value:function(){this.store=Uu({seed:this.props.resolverSeed}),this.widgetComponent=Rs.findByName(this.props.widgetTypeName).component}},{key:"render",value:function(t){var e=this.widgetComponent;return B.a.createElement(Wt,{store:this.store},B.a.createElement(e,null))}}]),e}(B.a.Component),Vu=Me("pages"),Gu=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),C(e,[{key:"componentWillMount",value:function(){this.store=Uu({seed:this.props.resolverSeed})}},{key:"render",value:function(t){return B.a.createElement(Wt,{store:this.store},B.a.createElement(Vu,{itemId:this.props.pageId},B.a.createElement(zi,null)))}}]),e}(B.a.Component);function zu(t){var e=t.page.audioPlayerControlsVariant;return React.createElement(li,{className:"audio_page supports_text_position_center",page:t.page,file:t.audioFile,playerState:t.playerState,playerActions:t.playerActions,controlBarText:t.t("pageflow.public.start_audio"),playerControlsComponent:Yu(e),dynamicPageScrollerMargin:"waveform"==e,autoplayWhenBackgroundMediaMuted:!1},React.createElement(zi,null),React.createElement(Ci,{file:t.audioFile,playerState:t.playerState,playerActions:t.playerActions,textTrackPosition:Xu(e)}))}function Yu(t){return"waveform"==t?da:Ur}function Xu(t){if("waveform"==t)return"top"}function $u(t){var e=t.page;return React.createElement(W,{className:"supports_text_position_center"},React.createElement(Yi,{page:e}),React.createElement(Mn,null,React.createElement(Bn,null,React.createElement(Un,{page:e}),React.createElement(Xi,{page:e}),React.createElement(Wn,{page:e}))))}var Ku=["auto","4k","fullhd","medium"];function Qu(t){return React.createElement(li,{className:"video_page supports_text_position_center",page:t.page,file:t.videoFile,qualities:Ku,playerState:t.playerState,playerActions:t.playerActions,controlBarText:t.t("pageflow.public.start_video"),autoplayWhenBackgroundMediaMuted:!0},React.createElement(Hi,{page:t.page,playerState:t.playerState,playerActions:t.playerActions}),React.createElement(qi,{page:t.page}))}var Ju={position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundColor:"#3b5159"},Zu=function(t){function e(t){var n;return T(this,e),(n=M(this,R(e).call(this,t))).state={fading:!1,hidden:!1},n}return N(e,t),C(e,[{key:"componentDidMount",value:function(){var t=this;PAGEFLOW_EDITOR?this.setState({hidden:!0}):this.fadeTimeout=setTimeout((function(){pageflow.ready.then((function(){t.setState({fading:!0}),t.hiddenTimeout=setTimeout((function(){t.setState({hidden:!0})}),1e3)}))}),1e3)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.fadeTimeout),clearTimeout(this.hiddenTimeout)}},{key:"render",value:function(){var t=this.props.editing,e=this.state,n=e.hidden,r=e.fading;return t||!n?B.a.createElement("div",{className:U()("loading_spinner",{fade:!t&&r}),onTouchMove:tc,style:Ju},B.a.createElement("div",{className:"loading_inner"},B.a.createElement("div",{className:"left_circle"}),B.a.createElement("div",{className:"right_circle"}),B.a.createElement("div",{className:"loading_spinner_inner"},B.a.createElement("div",null)))):B.a.createElement("noscript",null)}}]),e}(B.a.Component);function tc(t){t.preventDefault()}var ec=function(t){function e(t){var n;return T(this,e),(n=M(this,R(e).call(this,t))).state={hidden:!1,animating:!0},n}return N(e,t),C(e,[{key:"componentDidMount",value:function(){var t=this;PAGEFLOW_EDITOR?this.setState({hidden:!0}):pageflow.delayedStart.waitFor((function(e){t.resolveDelayedStart=e}))}},{key:"hideOrLoop",value:function(t){var e=this;t.target===t.currentTarget&&(PAGEFLOW_EDITOR?(this.setState({animating:!1}),setTimeout((function(){e.setState({animating:!0})}),1e3)):(this.setState({hidden:!0}),this.resolveDelayedStart()))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.hiddenTimeout)}},{key:"render",value:function(){var t=this,e=this.props.editing,n=this.state,r=n.hidden,o=n.animating,i=oc(this.props),a=B.a.createElement("div",{className:U()("media_loading_spinner-logo",{"media_loading_spinner-logo-invert":i})});return this.props.removeLogo&&(a=""),e||!r?B.a.createElement("div",{className:U()("media_loading_spinner",{"media_loading_spinner-fade":o},{"media_loading_spinner-invert":i}),onAnimationEnd:function(e){return t.hideOrLoop(e)},onTouchMove:nc,style:ic(this.props)},a,B.a.createElement("div",{className:"media_loading_spinner-image",style:rc(this.props)}),this.props.children):B.a.createElement("noscript",null)}}]),e}(B.a.Component);function nc(t){t.preventDefault()}function rc(t){var e=t.firstPageBackgroundImageUrl,n=t.backgroundImage,r=t.blurStrength,o=n?n.urls.medium:e;if(o)return{backgroundImage:'url("'.concat(o,'")'),filter:"blur("+r+"px)"}}function oc(t){return t.backgroundImage||null!=t.invert?t.invert:t.firstPageInvert}function ic(t){return{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:100,backgroundColor:oc(t)?"#fff":"#000"}}var ac=je(tt({editing:eo({role:"loading_spinner"}),firstPageInvert:Ze("invert"),firstPageBackgroundImageUrl:function(t){var e=t.page,n=t.variant,r=void 0===n?"medium":n;return Z(e,Xe(),(function(t){return t}),(function(t,e,n){if(t){var o=We({candidates:Ke({page:t})(n).thumbnailCandidates,page:t,fileExists:e});if(o){var i=Ye(Y(o.collectionName),{id:He(t,o)});return"image_files"==o.collectionName?i(n).urls[r]:"video_files"==o.collectionName?i(n).urls["poster_".concat(r)]:void 0}}}))}({variant:"medium",page:Z(Je,(function(t){return t&&t.attributes}))}),backgroundImage:Ye("imageFiles",{id:Zr("customBackgroundImageId",{role:"loading_spinner"})}),invert:Zr("invert",{role:"loading_spinner"}),removeLogo:Zr("removeLogo",{role:"loading_spinner"}),blurStrength:Zr("blurStrength",{role:"loading_spinner"})}))(ec);var sc=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),C(e,[{key:"render",value:function(){var t=this.props,e=t.title,n=t.subtitle,r=t.entryTitle,o=oc(this.props);return B.a.createElement(ac,null,B.a.createElement("div",{className:U()("media_loading_spinner-titles",{"media_loading_spinner-invert":o})},B.a.createElement("div",{className:"media_loading_spinner-title"},e||r),B.a.createElement("div",{className:"media_loading_spinner-subtitle"},n)))}}]),e}(B.a.Component);var uc=n(97),cc=n.n(uc);function lc(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}js("background_image",{component:An(tt({page:en()}))($u),reduxModules:[ms]}),js("video",{component:An(tt({page:en(),videoFile:Ye("videoFiles",{id:tn("videoFileId")}),playerState:Go(),t:Hr}),X({playerActions:zo()}))(Qu),reduxModules:[ys({hideControls:!0,autoplayWhenBackgroundMediaMuted:!0,playsInNativePlayer:Gn("native video player")})]}),js("audio",{component:An(tt({page:en(),audioFile:Ye("audioFiles",{id:tn("audioFileId")}),playerState:Go(),t:Hr}),X({playerActions:zo()}))(zu),reduxModules:[ys({retryOnUnmute:!0}),ms]}),Ds("cookie_notice_bar",{component:je(tt({isCookieNoticeVisible:Ws,privacyLinkUrl:Hs,editing:eo({role:"cookie_notice"}),t:Hr,locale:qr}),{dismiss:Gs})(zs)}),Ds("unmute_button",{component:je(tt({t:Hr,muted:qo}),{unmute:Ma})(Fs)}),Ds("classic_loading_spinner",{component:je(tt({editing:eo({role:"loading_spinner"})}))(Zu)}),Ds("title_loading_spinner",{component:je(tt({firstPageInvert:Ze("invert"),backgroundImage:Ye("imageFiles",{id:Zr("customBackgroundImageId",{role:"loading_spinner"})}),entryTitle:ii("title"),title:Zr("title",{role:"loading_spinner"}),subtitle:Zr("subtitle",{role:"loading_spinner"}),removeLogo:Zr("removeLogo",{role:"loading_spinner"}),invert:Zr("invert",{role:"loading_spinner"})}))(sc)}),Ds("media_loading_spinner",{component:ac}),cc.a.events&&cc.a.events.on("seed:loaded",(function(){return Uu(cc.a)}));e.default={components:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?lc(n,!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):lc(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({MediaPageBackground:Yi,PageWithInteractiveBackground:ws},o),actions:r,selectors:i,registerPageType:js,registerPageTypeWithDefaultBackground:function(t,e){js(t,{component:zi,selectTargetElement:function(t){return t.find(".page_background_asset")[0]},mixin:Ms({scroller:!0},e),reduxModules:[ms]})},registerWidgetType:Ds,mediaReduxModule:ys,mediaPageBackgroundReduxModule:ms,pageWithInteractiveBackgroundReduxModule:_s,iconMapping:sr,SvgIcon:ir,classNames:U.a,connect:je,connectInPage:An,combineReducers:at.c,combine:X,ServerSidePage:Hu,ServerSideWidget:qu,ServerSidePageBackgroundAsset:Gu}}]).default;
|
22
|
+
* @license BSD-3-Clause */o=this,void 0===(r=function(){return o.WaveSurfer=function(){"use strict";var t={defaultParams:{audioContext:null,audioRate:1,autoCenter:!0,backend:"WebAudio",barHeight:1,closeAudioContext:!1,container:null,cursorColor:"#333",cursorWidth:1,dragSelection:!0,fallbackProgressHeight:4,fillParent:!0,forceDecode:!1,height:128,hideScrollbar:!1,interact:!0,loopSelection:!0,mediaContainer:null,mediaControls:!1,mediaType:"audio",minPxPerSec:20,partialRender:!1,pixelRatio:window.devicePixelRatio||screen.deviceXDPI/screen.logicalXDPI,progressColor:"#555",normalize:!1,removeMediaElementOnDestroy:!0,renderer:"MultiCanvas",scrollParent:!1,skipLength:2,splitChannels:!1,waveColor:"#999"},init:function(e){if(this.params=t.util.extend({},this.defaultParams,e),this.container="string"==typeof e.container?document.querySelector(this.params.container):this.params.container,!this.container)throw new Error("Container element not found");if(null==this.params.mediaContainer?this.mediaContainer=this.container:"string"==typeof this.params.mediaContainer?this.mediaContainer=document.querySelector(this.params.mediaContainer):this.mediaContainer=this.params.mediaContainer,!this.mediaContainer)throw new Error("Media Container element not found");this.savedVolume=0,this.isMuted=!1,this.tmpEvents=[],this.currentAjax=null,this.createDrawer(),this.createBackend(),this.createPeakCache(),this.isDestroyed=!1},createDrawer:function(){var e=this;this.drawer=Object.create(t.Drawer[this.params.renderer]),this.drawer.init(this.container,this.params),this.drawer.on("click",(function(t,n){setTimeout((function(){e.seekTo(n)}),0)})),this.drawer.on("scroll",(function(t){e.params.partialRender&&e.drawBuffer(),e.fireEvent("scroll",t)}))},createBackend:function(){var e=this;this.backend&&this.backend.destroy(),"AudioElement"==this.params.backend&&(this.params.backend="MediaElement"),"WebAudio"!=this.params.backend||t.WebAudio.supportsWebAudio()||(this.params.backend="MediaElement"),this.backend=Object.create(t[this.params.backend]),this.backend.init(this.params),this.backend.on("finish",(function(){e.fireEvent("finish")})),this.backend.on("play",(function(){e.fireEvent("play")})),this.backend.on("pause",(function(){e.fireEvent("pause")})),this.backend.on("audioprocess",(function(t){e.drawer.progress(e.backend.getPlayedPercents()),e.fireEvent("audioprocess",t)}))},createPeakCache:function(){this.params.partialRender&&(this.peakCache=Object.create(t.PeakCache),this.peakCache.init())},getDuration:function(){return this.backend.getDuration()},play:function(t,e){this.fireEvent("interaction",this.play.bind(this,t,e)),this.backend.play(t,e)},pause:function(){this.backend.isPaused()||this.backend.pause()},playPause:function(){this.backend.isPaused()?this.play():this.pause()},isPlaying:function(){return!this.backend.isPaused()},skipBackward:function(t){this.skip(-t||-this.params.skipLength)},skipForward:function(t){this.skip(t||this.params.skipLength)},skip:function(t){var e=this.getCurrentTime()||0,n=this.getDuration()||1;e=Math.max(0,Math.min(n,e+(t||0))),this.seekAndCenter(e/n)},seekAndCenter:function(t){this.seekTo(t),this.drawer.recenter(t)},seekTo:function(t){this.fireEvent("interaction",this.seekTo.bind(this,t));var e=this.backend.isPaused();e||this.backend.pause();var n=this.params.scrollParent;this.params.scrollParent=!1,this.backend.seekTo(t*this.getDuration()),this.drawer.progress(this.backend.getPlayedPercents()),e||this.backend.play(),this.params.scrollParent=n,this.fireEvent("seek",t)},stop:function(){this.pause(),this.seekTo(0),this.drawer.progress(0)},setVolume:function(t){this.backend.setVolume(t)},getVolume:function(){return this.backend.getVolume()},getCurrentTime:function(){return this.backend.getCurrentTime()},setCurrentTime:function(t){this.getDuration()>=t?this.seekTo(1):this.seekTo(t/this.getDuration())},setPlaybackRate:function(t){this.backend.setPlaybackRate(t)},getPlaybackRate:function(){return this.backend.getPlaybackRate()},toggleMute:function(){this.setMute(!this.isMuted)},setMute:function(t){t!==this.isMuted&&(t?(this.savedVolume=this.backend.getVolume(),this.backend.setVolume(0),this.isMuted=!0):(this.backend.setVolume(this.savedVolume),this.isMuted=!1))},getMute:function(){return this.isMuted},getFilters:function(){return this.backend.filters||[]},toggleScroll:function(){this.params.scrollParent=!this.params.scrollParent,this.drawBuffer()},toggleInteraction:function(){this.params.interact=!this.params.interact},getWaveColor:function(){return this.params.waveColor},setWaveColor:function(t){this.params.waveColor=t,this.drawBuffer()},getProgressColor:function(){return this.params.progressColor},setProgressColor:function(t){this.params.progressColor=t,this.drawBuffer()},getCursorColor:function(){return this.params.cursorColor},setCursorColor:function(t){this.params.cursorColor=t,this.drawer.updateCursor()},getHeight:function(){return this.params.height},setHeight:function(t){this.params.height=t,this.drawer.setHeight(t*this.params.pixelRatio)},drawBuffer:function(){var t=Math.round(this.getDuration()*this.params.minPxPerSec*this.params.pixelRatio),e=this.drawer.getWidth(),n=t,r=this.drawer.getScrollX(),o=Math.min(r+e,n);if(this.params.fillParent&&(!this.params.scrollParent||t<e)&&(r=0,o=n=e),this.params.partialRender)for(var i=this.peakCache.addRangeToPeakCache(n,r,o),a=0;a<i.length;a++)s=this.backend.getPeaks(n,i[a][0],i[a][1]),this.drawer.drawPeaks(s,n,i[a][0],i[a][1]);else{r=0,o=n;var s=this.backend.getPeaks(n,r,o);this.drawer.drawPeaks(s,n,r,o)}this.fireEvent("redraw",s,n)},zoom:function(t){this.params.minPxPerSec=t,this.params.scrollParent=!0,this.refresh(),this.drawer.recenter(this.getCurrentTime()/this.getDuration()),this.fireEvent("zoom",t)},refresh:function(){this.drawBuffer(),this.drawer.progress(this.backend.getPlayedPercents())},loadArrayBuffer:function(t){this.decodeArrayBuffer(t,function(t){this.isDestroyed||this.loadDecodedBuffer(t)}.bind(this))},loadDecodedBuffer:function(t){this.backend.load(t),this.drawBuffer(),this.fireEvent("ready")},loadBlob:function(t){var e=this,n=new FileReader;n.addEventListener("progress",(function(t){e.onProgress(t)})),n.addEventListener("load",(function(t){e.loadArrayBuffer(t.target.result)})),n.addEventListener("error",(function(){e.fireEvent("error","Error reading file")})),n.readAsArrayBuffer(t),this.empty()},load:function(t,e,n){switch(this.empty(),this.isMuted=!1,this.params.backend){case"WebAudio":return this.loadBuffer(t,e);case"MediaElement":return this.loadMediaElement(t,e,n)}},loadBuffer:function(t,e){var n=function(e){return e&&this.tmpEvents.push(this.once("ready",e)),this.getArrayBuffer(t,this.loadArrayBuffer.bind(this))}.bind(this);if(!e)return n();this.backend.setPeaks(e),this.drawBuffer(),this.tmpEvents.push(this.once("interaction",n))},loadMediaElement:function(t,e,n){var r=t;if("string"==typeof t)this.backend.load(r,this.mediaContainer,e,n);else{var o=t;this.backend.loadElt(o,e),r=o.src}this.tmpEvents.push(this.backend.once("canplay",function(){this.drawBuffer(),this.fireEvent("ready")}.bind(this)),this.backend.once("error",function(t){this.fireEvent("error",t)}.bind(this))),e&&this.backend.setPeaks(e),e&&!this.params.forceDecode||!this.backend.supportsWebAudio()||this.getArrayBuffer(r,function(t){this.decodeArrayBuffer(t,function(t){this.backend.buffer=t,this.backend.setPeaks(null),this.drawBuffer(),this.fireEvent("waveform-ready")}.bind(this))}.bind(this))},decodeArrayBuffer:function(t,e){this.arraybuffer=t,this.backend.decodeArrayBuffer(t,function(n){this.isDestroyed||this.arraybuffer!=t||(e(n),this.arraybuffer=null)}.bind(this),this.fireEvent.bind(this,"error","Error decoding audiobuffer"))},getArrayBuffer:function(e,n){var r=this,o=t.util.ajax({url:e,responseType:"arraybuffer"});return this.currentAjax=o,this.tmpEvents.push(o.on("progress",(function(t){r.onProgress(t)})),o.on("success",(function(t,e){n(t),r.currentAjax=null})),o.on("error",(function(t){r.fireEvent("error","XHR error: "+t.target.statusText),r.currentAjax=null}))),o},onProgress:function(t){if(t.lengthComputable)var e=t.loaded/t.total;else e=t.loaded/(t.loaded+1e6);this.fireEvent("loading",Math.round(100*e),t.target)},exportPCM:function(t,e,n,r){t=t||1024,r=r||0,e=e||1e4,n=n||!1;var o=this.backend.getPeaks(t,r),i=[].map.call(o,(function(t){return Math.round(t*e)/e})),a=JSON.stringify(i);return n||window.open("data:application/json;charset=utf-8,"+encodeURIComponent(a)),a},exportImage:function(t,e){return t||(t="image/png"),e||(e=1),this.drawer.getImage(t,e)},cancelAjax:function(){this.currentAjax&&(this.currentAjax.xhr.abort(),this.currentAjax=null)},clearTmpEvents:function(){this.tmpEvents.forEach((function(t){t.un()}))},empty:function(){this.backend.isPaused()||(this.stop(),this.backend.disconnectSource()),this.cancelAjax(),this.clearTmpEvents(),this.drawer.progress(0),this.drawer.setWidth(0),this.drawer.drawPeaks({length:this.drawer.getWidth()},0)},destroy:function(){this.fireEvent("destroy"),this.cancelAjax(),this.clearTmpEvents(),this.unAll(),this.backend.destroy(),this.drawer.destroy(),this.isDestroyed=!0},create:function(e){var n=Object.create(t);return n.init(e),n}};return t.util={requestAnimationFrame:(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t,e){setTimeout(t,1e3/60)}).bind(window),frame:function(e){return function(){var n=this,r=arguments;t.util.requestAnimationFrame((function(){e.apply(n,r)}))}},extend:function(t){return Array.prototype.slice.call(arguments,1).forEach((function(e){Object.keys(e).forEach((function(n){t[n]=e[n]}))})),t},debounce:function(t,e,n){var r,o,i,a=function(){i=null,n||t.apply(o,r)};return function(){o=this,r=arguments;var s=n&&!i;clearTimeout(i),(i=setTimeout(a,e))||(i=setTimeout(a,e)),s&&t.apply(o,r)}},min:function(t){var e=1/0;for(var n in t)t[n]<e&&(e=t[n]);return e},max:function(t){var e=-1/0;for(var n in t)t[n]>e&&(e=t[n]);return e},getId:function(){return"wavesurfer_"+Math.random().toString(32).substring(2)},ajax:function(e){var n=Object.create(t.Observer),r=new XMLHttpRequest,o=!1;return r.open(e.method||"GET",e.url,!0),r.responseType=e.responseType||"json",r.addEventListener("progress",(function(t){n.fireEvent("progress",t),t.lengthComputable&&t.loaded==t.total&&(o=!0)})),r.addEventListener("load",(function(t){o||n.fireEvent("progress",t),n.fireEvent("load",t),200==r.status||206==r.status?n.fireEvent("success",r.response,t):n.fireEvent("error",t)})),r.addEventListener("error",(function(t){n.fireEvent("error",t)})),r.send(),n.xhr=r,n}},t.Observer={on:function(t,e){this.handlers||(this.handlers={});var n=this.handlers[t];return n||(n=this.handlers[t]=[]),n.push(e),{name:t,callback:e,un:this.un.bind(this,t,e)}},un:function(t,e){if(this.handlers){var n=this.handlers[t];if(n)if(e)for(var r=n.length-1;r>=0;r--)n[r]==e&&n.splice(r,1);else n.length=0}},unAll:function(){this.handlers=null},once:function(t,e){var n=this,r=function(){e.apply(this,arguments),setTimeout((function(){n.un(t,r)}),0)};return this.on(t,r)},fireEvent:function(t){if(this.handlers){var e=this.handlers[t],n=Array.prototype.slice.call(arguments,1);e&&e.forEach((function(t){t.apply(null,n)}))}}},t.util.extend(t,t.Observer),t.WebAudio={scriptBufferSize:256,PLAYING_STATE:0,PAUSED_STATE:1,FINISHED_STATE:2,supportsWebAudio:function(){return!(!window.AudioContext&&!window.webkitAudioContext)},getAudioContext:function(){return t.WebAudio.audioContext||(t.WebAudio.audioContext=new(window.AudioContext||window.webkitAudioContext)),t.WebAudio.audioContext},getOfflineAudioContext:function(e){return t.WebAudio.offlineAudioContext||(t.WebAudio.offlineAudioContext=new(window.OfflineAudioContext||window.webkitOfflineAudioContext)(1,2,e)),t.WebAudio.offlineAudioContext},init:function(e){this.params=e,this.ac=e.audioContext||this.getAudioContext(),this.lastPlay=this.ac.currentTime,this.startPosition=0,this.scheduledPause=null,this.states=[Object.create(t.WebAudio.state.playing),Object.create(t.WebAudio.state.paused),Object.create(t.WebAudio.state.finished)],this.createVolumeNode(),this.createScriptNode(),this.createAnalyserNode(),this.setState(this.PAUSED_STATE),this.setPlaybackRate(this.params.audioRate),this.setLength(0)},disconnectFilters:function(){this.filters&&(this.filters.forEach((function(t){t&&t.disconnect()})),this.filters=null,this.analyser.connect(this.gainNode))},setState:function(t){this.state!==this.states[t]&&(this.state=this.states[t],this.state.init.call(this))},setFilter:function(){this.setFilters([].slice.call(arguments))},setFilters:function(t){this.disconnectFilters(),t&&t.length&&(this.filters=t,this.analyser.disconnect(),t.reduce((function(t,e){return t.connect(e),e}),this.analyser).connect(this.gainNode))},createScriptNode:function(){this.ac.createScriptProcessor?this.scriptNode=this.ac.createScriptProcessor(this.scriptBufferSize):this.scriptNode=this.ac.createJavaScriptNode(this.scriptBufferSize),this.scriptNode.connect(this.ac.destination)},addOnAudioProcess:function(){var t=this;this.scriptNode.onaudioprocess=function(){var e=t.getCurrentTime();e>=t.getDuration()?(t.setState(t.FINISHED_STATE),t.fireEvent("pause")):e>=t.scheduledPause?t.pause():t.state===t.states[t.PLAYING_STATE]&&t.fireEvent("audioprocess",e)}},removeOnAudioProcess:function(){this.scriptNode.onaudioprocess=null},createAnalyserNode:function(){this.analyser=this.ac.createAnalyser(),this.analyser.connect(this.gainNode)},createVolumeNode:function(){this.ac.createGain?this.gainNode=this.ac.createGain():this.gainNode=this.ac.createGainNode(),this.gainNode.connect(this.ac.destination)},setVolume:function(t){this.gainNode.gain.value=t},getVolume:function(){return this.gainNode.gain.value},decodeArrayBuffer:function(t,e,n){this.offlineAc||(this.offlineAc=this.getOfflineAudioContext(this.ac?this.ac.sampleRate:44100)),this.offlineAc.decodeAudioData(t,function(t){e(t)}.bind(this),n)},setPeaks:function(t){this.peaks=t},setLength:function(t){if(!this.mergedPeaks||t!=2*this.mergedPeaks.length-1+2){this.splitPeaks=[],this.mergedPeaks=[];for(var e=this.buffer?this.buffer.numberOfChannels:1,n=0;n<e;n++)this.splitPeaks[n]=[],this.splitPeaks[n][2*(t-1)]=0,this.splitPeaks[n][2*(t-1)+1]=0;this.mergedPeaks[2*(t-1)]=0,this.mergedPeaks[2*(t-1)+1]=0}},getPeaks:function(t,e,n){if(this.peaks)return this.peaks;e=e||0,n=n||t-1,this.setLength(t);for(var r=this.buffer.length/t,o=~~(r/10)||1,i=this.buffer.numberOfChannels,a=0;a<i;a++)for(var s=this.splitPeaks[a],u=this.buffer.getChannelData(a),c=e;c<=n;c++){for(var l=~~(c*r),f=~~(l+r),p=0,d=0,h=l;h<f;h+=o){var v=u[h];v>d&&(d=v),v<p&&(p=v)}s[2*c]=d,s[2*c+1]=p,(0==a||d>this.mergedPeaks[2*c])&&(this.mergedPeaks[2*c]=d),(0==a||p<this.mergedPeaks[2*c+1])&&(this.mergedPeaks[2*c+1]=p)}return this.params.splitChannels?this.splitPeaks:this.mergedPeaks},getPlayedPercents:function(){return this.state.getPlayedPercents.call(this)},disconnectSource:function(){this.source&&this.source.disconnect()},destroy:function(){this.isPaused()||this.pause(),this.unAll(),this.buffer=null,this.disconnectFilters(),this.disconnectSource(),this.gainNode.disconnect(),this.scriptNode.disconnect(),this.analyser.disconnect(),this.params.closeAudioContext&&("function"==typeof this.ac.close&&"closed"!=this.ac.state&&this.ac.close(),this.ac=null,this.params.audioContext?this.params.audioContext=null:t.WebAudio.audioContext=null,t.WebAudio.offlineAudioContext=null)},load:function(t){this.startPosition=0,this.lastPlay=this.ac.currentTime,this.buffer=t,this.createSource()},createSource:function(){this.disconnectSource(),this.source=this.ac.createBufferSource(),this.source.start=this.source.start||this.source.noteGrainOn,this.source.stop=this.source.stop||this.source.noteOff,this.source.playbackRate.value=this.playbackRate,this.source.buffer=this.buffer,this.source.connect(this.analyser)},isPaused:function(){return this.state!==this.states[this.PLAYING_STATE]},getDuration:function(){return this.buffer?this.buffer.duration:0},seekTo:function(t,e){if(this.buffer)return this.scheduledPause=null,null==t&&(t=this.getCurrentTime())>=this.getDuration()&&(t=0),null==e&&(e=this.getDuration()),this.startPosition=t,this.lastPlay=this.ac.currentTime,this.state===this.states[this.FINISHED_STATE]&&this.setState(this.PAUSED_STATE),{start:t,end:e}},getPlayedTime:function(){return(this.ac.currentTime-this.lastPlay)*this.playbackRate},play:function(t,e){if(this.buffer){this.createSource();var n=this.seekTo(t,e);t=n.start,e=n.end,this.scheduledPause=e,this.source.start(0,t,e-t),"suspended"==this.ac.state&&this.ac.resume&&this.ac.resume(),this.setState(this.PLAYING_STATE),this.fireEvent("play")}},pause:function(){this.scheduledPause=null,this.startPosition+=this.getPlayedTime(),this.source&&this.source.stop(0),this.setState(this.PAUSED_STATE),this.fireEvent("pause")},getCurrentTime:function(){return this.state.getCurrentTime.call(this)},getPlaybackRate:function(){return this.playbackRate},setPlaybackRate:function(t){t=t||1,this.isPaused()?this.playbackRate=t:(this.pause(),this.playbackRate=t,this.play())}},t.WebAudio.state={},t.WebAudio.state.playing={init:function(){this.addOnAudioProcess()},getPlayedPercents:function(){var t=this.getDuration();return this.getCurrentTime()/t||0},getCurrentTime:function(){return this.startPosition+this.getPlayedTime()}},t.WebAudio.state.paused={init:function(){this.removeOnAudioProcess()},getPlayedPercents:function(){var t=this.getDuration();return this.getCurrentTime()/t||0},getCurrentTime:function(){return this.startPosition}},t.WebAudio.state.finished={init:function(){this.removeOnAudioProcess(),this.fireEvent("finish")},getPlayedPercents:function(){return 1},getCurrentTime:function(){return this.getDuration()}},t.util.extend(t.WebAudio,t.Observer),t.MediaElement=Object.create(t.WebAudio),t.util.extend(t.MediaElement,{init:function(t){this.params=t,this.media={currentTime:0,duration:0,paused:!0,playbackRate:1,play:function(){},pause:function(){}},this.mediaType=t.mediaType.toLowerCase(),this.elementPosition=t.elementPosition,this.setPlaybackRate(this.params.audioRate),this.createTimer()},createTimer:function(){var t=this,e=function(){t.isPaused()||(t.fireEvent("audioprocess",t.getCurrentTime()),(window.requestAnimationFrame||window.webkitRequestAnimationFrame)(e))};this.on("play",e)},load:function(t,e,n,r){var o=document.createElement(this.mediaType);o.controls=this.params.mediaControls,o.autoplay=this.params.autoplay||!1,o.preload=null==r?"auto":r,o.src=t,o.style.width="100%";var i=e.querySelector(this.mediaType);i&&e.removeChild(i),e.appendChild(o),this._load(o,n)},loadElt:function(t,e){var n=t;n.controls=this.params.mediaControls,n.autoplay=this.params.autoplay||!1,this._load(n,e)},_load:function(t,e){var n=this;"function"==typeof t.load&&t.load(),t.addEventListener("error",(function(){n.fireEvent("error","Error loading media element")})),t.addEventListener("canplay",(function(){n.fireEvent("canplay")})),t.addEventListener("ended",(function(){n.fireEvent("finish")})),t.addEventListener("play",(function(){n.fireEvent("play")})),t.addEventListener("pause",(function(){n.fireEvent("pause")})),this.media=t,this.peaks=e,this.onPlayEnd=null,this.buffer=null,this.setPlaybackRate(this.playbackRate)},isPaused:function(){return!this.media||this.media.paused},getDuration:function(){var t=(this.buffer||this.media).duration;return t>=1/0&&(t=this.media.seekable.end(0)),t},getCurrentTime:function(){return this.media&&this.media.currentTime},getPlayedPercents:function(){return this.getCurrentTime()/this.getDuration()||0},getPlaybackRate:function(){return this.playbackRate||this.media.playbackRate},setPlaybackRate:function(t){this.playbackRate=t||1,this.media.playbackRate=this.playbackRate},seekTo:function(t){null!=t&&(this.media.currentTime=t),this.clearPlayEnd()},play:function(t,e){this.seekTo(t),this.media.play(),e&&this.setPlayEnd(e)},pause:function(){this.media&&this.media.pause(),this.clearPlayEnd()},setPlayEnd:function(t){var e=this;this.onPlayEnd=function(n){n>=t&&(e.pause(),e.seekTo(t))},this.on("audioprocess",this.onPlayEnd)},clearPlayEnd:function(){this.onPlayEnd&&(this.un("audioprocess",this.onPlayEnd),this.onPlayEnd=null)},getPeaks:function(e,n,r){return this.buffer?t.WebAudio.getPeaks.call(this,e,n,r):this.peaks||[]},getVolume:function(){return this.media.volume},setVolume:function(t){this.media.volume=t},destroy:function(){this.pause(),this.unAll(),this.params.removeMediaElementOnDestroy&&this.media&&this.media.parentNode&&this.media.parentNode.removeChild(this.media),this.media=null}}),t.AudioElement=t.MediaElement,t.Drawer={init:function(t,e){this.container=t,this.params=e,this.width=0,this.height=e.height*this.params.pixelRatio,this.lastPos=0,this.initDrawer(e),this.createWrapper(),this.createElements()},createWrapper:function(){this.wrapper=this.container.appendChild(document.createElement("wave")),this.style(this.wrapper,{display:"block",position:"relative",userSelect:"none",webkitUserSelect:"none",height:this.params.height+"px"}),(this.params.fillParent||this.params.scrollParent)&&this.style(this.wrapper,{width:"100%",overflowX:this.params.hideScrollbar?"hidden":"auto",overflowY:"hidden"}),this.setupWrapperEvents()},handleEvent:function(t,e){!e&&t.preventDefault();var n,r=t.targetTouches?t.targetTouches[0].clientX:t.clientX,o=this.wrapper.getBoundingClientRect(),i=this.width,a=this.getWidth();return!this.params.fillParent&&i<a?(n=(r-o.left)*this.params.pixelRatio/i||0)>1&&(n=1):n=(r-o.left+this.wrapper.scrollLeft)/this.wrapper.scrollWidth||0,n},setupWrapperEvents:function(){var t=this;this.wrapper.addEventListener("click",(function(e){var n=t.wrapper.offsetHeight-t.wrapper.clientHeight;if(0!=n){var r=t.wrapper.getBoundingClientRect();if(e.clientY>=r.bottom-n)return}t.params.interact&&t.fireEvent("click",e,t.handleEvent(e))})),this.wrapper.addEventListener("scroll",(function(e){t.fireEvent("scroll",e)}))},drawPeaks:function(t,e,n,r){this.setWidth(e)||this.clearWave(),this.params.barWidth?this.drawBars(t,0,n,r):this.drawWave(t,0,n,r)},style:function(t,e){return Object.keys(e).forEach((function(n){t.style[n]!==e[n]&&(t.style[n]=e[n])})),t},resetScroll:function(){null!==this.wrapper&&(this.wrapper.scrollLeft=0)},recenter:function(t){var e=this.wrapper.scrollWidth*t;this.recenterOnPosition(e,!0)},recenterOnPosition:function(t,e){var n=this.wrapper.scrollLeft,r=~~(this.wrapper.clientWidth/2),o=t-r,i=o-n,a=this.wrapper.scrollWidth-this.wrapper.clientWidth;0!=a&&(!e&&-r<=i&&i<r&&(o=n+(i=Math.max(-5,Math.min(5,i)))),(o=Math.max(0,Math.min(a,o)))!=n&&(this.wrapper.scrollLeft=o))},getScrollX:function(){return Math.round(this.wrapper.scrollLeft*this.params.pixelRatio)},getWidth:function(){return Math.round(this.container.clientWidth*this.params.pixelRatio)},setWidth:function(t){return this.width!=t&&(this.width=t,this.params.fillParent||this.params.scrollParent?this.style(this.wrapper,{width:""}):this.style(this.wrapper,{width:~~(this.width/this.params.pixelRatio)+"px"}),this.updateSize(),!0)},setHeight:function(t){return t!=this.height&&(this.height=t,this.style(this.wrapper,{height:~~(this.height/this.params.pixelRatio)+"px"}),this.updateSize(),!0)},progress:function(t){var e=1/this.params.pixelRatio,n=Math.round(t*this.width)*e;if(n<this.lastPos||n-this.lastPos>=e){if(this.lastPos=n,this.params.scrollParent&&this.params.autoCenter){var r=~~(this.wrapper.scrollWidth*t);this.recenterOnPosition(r)}this.updateProgress(n)}},destroy:function(){this.unAll(),this.wrapper&&(this.wrapper.parentNode==this.container&&this.container.removeChild(this.wrapper),this.wrapper=null)},initDrawer:function(){},createElements:function(){},updateCursor:function(){},updateSize:function(){},drawWave:function(t,e){},clearWave:function(){},updateProgress:function(t){}},t.util.extend(t.Drawer,t.Observer),t.Drawer.Canvas=Object.create(t.Drawer),t.util.extend(t.Drawer.Canvas,{createElements:function(){var t=this.wrapper.appendChild(this.style(document.createElement("canvas"),{position:"absolute",zIndex:1,left:0,top:0,bottom:0,pointerEvents:"none"}));if(this.waveCc=t.getContext("2d"),this.progressWave=this.wrapper.appendChild(this.style(document.createElement("wave"),{position:"absolute",zIndex:2,left:0,top:0,bottom:0,overflow:"hidden",width:"0",display:"none",boxSizing:"border-box",borderRightStyle:"solid",pointerEvents:"none"})),this.updateCursor(),this.params.waveColor!=this.params.progressColor){var e=this.progressWave.appendChild(document.createElement("canvas"));this.progressCc=e.getContext("2d")}},updateCursor:function(){this.style(this.progressWave,{borderRightWidth:this.params.cursorWidth+"px",borderRightColor:this.params.cursorColor})},updateSize:function(){var t=Math.round(this.width/this.params.pixelRatio);this.waveCc.canvas.width=this.width,this.waveCc.canvas.height=this.height,this.style(this.waveCc.canvas,{width:t+"px"}),this.style(this.progressWave,{display:"block"}),this.progressCc&&(this.progressCc.canvas.width=this.width,this.progressCc.canvas.height=this.height,this.style(this.progressCc.canvas,{width:t+"px"})),this.clearWave()},clearWave:function(){this.waveCc.clearRect(0,0,this.width,this.height),this.progressCc&&this.progressCc.clearRect(0,0,this.width,this.height)},drawBars:t.util.frame((function(e,n,r,o){var i=this;if(e[0]instanceof Array){var a=e;if(this.params.splitChannels)return this.setHeight(a.length*this.params.height*this.params.pixelRatio),void a.forEach((function(t,e){i.drawBars(t,e,r,o)}));e=a[0]}var s=1;[].some.call(e,(function(t){return t<0}))&&(s=2);var u=.5/this.params.pixelRatio,c=this.width,l=this.params.height*this.params.pixelRatio,f=l*n||0,p=l/2,d=e.length/s,h=this.params.barWidth*this.params.pixelRatio,v=Math.max(this.params.pixelRatio,~~(h/2)),g=h+v,y=1/this.params.barHeight;if(this.params.normalize){var m=t.util.max(e),b=t.util.min(e);y=-b>m?-b:m}var w=d/c;this.waveCc.fillStyle=this.params.waveColor,this.progressCc&&(this.progressCc.fillStyle=this.params.progressColor),[this.waveCc,this.progressCc].forEach((function(t){if(t)for(var n=r/w;n<o/w;n+=g){var i=e[Math.floor(n*w*s)]||0,a=Math.round(i/y*p);t.fillRect(n+u,p-a+f,h+u,2*a)}}),this)})),drawWave:t.util.frame((function(e,n,r,o){var i=this;if(e[0]instanceof Array){var a=e;if(this.params.splitChannels)return this.setHeight(a.length*this.params.height*this.params.pixelRatio),void a.forEach((function(t,e){i.drawWave(t,e,r,o)}));e=a[0]}if(![].some.call(e,(function(t){return t<0}))){for(var s=[],u=0,c=e.length;u<c;u++)s[2*u]=e[u],s[2*u+1]=-e[u];e=s}var l=.5/this.params.pixelRatio,f=this.params.height*this.params.pixelRatio,p=f*n||0,d=f/2,h=~~(e.length/2),v=1;this.params.fillParent&&this.width!=h&&(v=this.width/h);var g=1/this.params.barHeight;if(this.params.normalize){var y=t.util.max(e),m=t.util.min(e);g=-m>y?-m:y}this.waveCc.fillStyle=this.params.waveColor,this.progressCc&&(this.progressCc.fillStyle=this.params.progressColor),[this.waveCc,this.progressCc].forEach((function(t){if(t){for(t.beginPath(),t.moveTo(r*v+l,d+p),n=r;n<o;n++)i=Math.round(e[2*n]/g*d),t.lineTo(n*v+l,d-i+p);for(var n=o-1;n>=r;n--){var i=Math.round(e[2*n+1]/g*d);t.lineTo(n*v+l,d-i+p)}t.closePath(),t.fill(),t.fillRect(0,d+p-l,this.width,l)}}),this)})),updateProgress:function(t){this.style(this.progressWave,{width:t+"px"})},getImage:function(t,e){return this.waveCc.canvas.toDataURL(t,e)}}),t.Drawer.MultiCanvas=Object.create(t.Drawer),t.util.extend(t.Drawer.MultiCanvas,{initDrawer:function(t){if(this.maxCanvasWidth=null!=t.maxCanvasWidth?t.maxCanvasWidth:4e3,this.maxCanvasElementWidth=Math.round(this.maxCanvasWidth/this.params.pixelRatio),this.maxCanvasWidth<=1)throw"maxCanvasWidth must be greater than 1.";if(this.maxCanvasWidth%2==1)throw"maxCanvasWidth must be an even number.";this.hasProgressCanvas=this.params.waveColor!=this.params.progressColor,this.halfPixel=.5/this.params.pixelRatio,this.canvases=[]},createElements:function(){this.progressWave=this.wrapper.appendChild(this.style(document.createElement("wave"),{position:"absolute",zIndex:2,left:0,top:0,bottom:0,overflow:"hidden",width:"0",display:"none",boxSizing:"border-box",borderRightStyle:"solid",pointerEvents:"none"})),this.addCanvas(),this.updateCursor()},updateCursor:function(){this.style(this.progressWave,{borderRightWidth:this.params.cursorWidth+"px",borderRightColor:this.params.cursorColor})},updateSize:function(){for(var t=Math.round(this.width/this.params.pixelRatio),e=Math.ceil(t/this.maxCanvasElementWidth);this.canvases.length<e;)this.addCanvas();for(;this.canvases.length>e;)this.removeCanvas();this.canvases.forEach((function(t,e){var n=this.maxCanvasWidth+2*Math.ceil(this.params.pixelRatio/2);e==this.canvases.length-1&&(n=this.width-this.maxCanvasWidth*(this.canvases.length-1)),this.updateDimensions(t,n,this.height),this.clearWaveForEntry(t)}),this)},addCanvas:function(){var t={},e=this.maxCanvasElementWidth*this.canvases.length;t.wave=this.wrapper.appendChild(this.style(document.createElement("canvas"),{position:"absolute",zIndex:1,left:e+"px",top:0,bottom:0,height:"100%",pointerEvents:"none"})),t.waveCtx=t.wave.getContext("2d"),this.hasProgressCanvas&&(t.progress=this.progressWave.appendChild(this.style(document.createElement("canvas"),{position:"absolute",left:e+"px",top:0,bottom:0,height:"100%"})),t.progressCtx=t.progress.getContext("2d")),this.canvases.push(t)},removeCanvas:function(){var t=this.canvases.pop();t.wave.parentElement.removeChild(t.wave),this.hasProgressCanvas&&t.progress.parentElement.removeChild(t.progress)},updateDimensions:function(t,e,n){var r=Math.round(e/this.params.pixelRatio),o=Math.round(this.width/this.params.pixelRatio);t.start=t.waveCtx.canvas.offsetLeft/o||0,t.end=t.start+r/o,t.waveCtx.canvas.width=e,t.waveCtx.canvas.height=n,this.style(t.waveCtx.canvas,{width:r+"px"}),this.style(this.progressWave,{display:"block"}),this.hasProgressCanvas&&(t.progressCtx.canvas.width=e,t.progressCtx.canvas.height=n,this.style(t.progressCtx.canvas,{width:r+"px"}))},clearWave:function(){this.canvases.forEach((function(t){this.clearWaveForEntry(t)}),this)},clearWaveForEntry:function(t){t.waveCtx.clearRect(0,0,t.waveCtx.canvas.width,t.waveCtx.canvas.height),this.hasProgressCanvas&&t.progressCtx.clearRect(0,0,t.progressCtx.canvas.width,t.progressCtx.canvas.height)},drawBars:t.util.frame((function(e,n,r,o){if(e[0]instanceof Array){var i=e;if(this.params.splitChannels)return this.setHeight(i.length*this.params.height*this.params.pixelRatio),void i.forEach((function(t,e){this.drawBars(t,e,r,o)}),this);e=i[0]}var a=1;[].some.call(e,(function(t){return t<0}))&&(a=2);var s=this.width,u=this.params.height*this.params.pixelRatio,c=u*n||0,l=u/2,f=e.length/a,p=this.params.barWidth*this.params.pixelRatio,d=p+Math.max(this.params.pixelRatio,~~(p/2)),h=1/this.params.barHeight;if(this.params.normalize){var v=t.util.max(e),g=t.util.min(e);h=-g>v?-g:v}for(var y=f/s,m=r/y;m<o/y;m+=d){var b=e[Math.floor(m*y*a)]||0,w=Math.round(b/h*l);this.fillRect(m+this.halfPixel,l-w+c,p+this.halfPixel,2*w)}})),drawWave:t.util.frame((function(e,n,r,o){if(e[0]instanceof Array){var i=e;if(this.params.splitChannels)return this.setHeight(i.length*this.params.height*this.params.pixelRatio),void i.forEach((function(t,e){this.drawWave(t,e,r,o)}),this);e=i[0]}if(![].some.call(e,(function(t){return t<0}))){for(var a=[],s=0,u=e.length;s<u;s++)a[2*s]=e[s],a[2*s+1]=-e[s];e=a}var c=this.params.height*this.params.pixelRatio,l=c*n||0,f=c/2,p=1/this.params.barHeight;if(this.params.normalize){var d=t.util.max(e),h=t.util.min(e);p=-h>d?-h:d}this.drawLine(e,p,f,l,r,o);var v=e.length>0?0:this.params.fallbackProgressHeight;this.fillRect(0,f+l-this.halfPixel,this.width,this.halfPixel,v)})),drawLine:function(t,e,n,r,o,i){this.canvases.forEach((function(a){this.setFillStyles(a),this.drawLineToContext(a,a.waveCtx,t,e,n,r,o,i),this.drawLineToContext(a,a.progressCtx,t,e,n,r,o,i)}),this)},drawLineToContext:function(t,e,n,r,o,i,a,s){if(e){var u=n.length/2,c=1;this.params.fillParent&&this.width!=u&&(c=this.width/u);var l=Math.round(u*t.start),f=Math.round(u*t.end);if(!(l>s||f<a)){var p=Math.max(l,a),d=Math.min(f,s);for(e.beginPath(),e.moveTo((p-l)*c+this.halfPixel,o+i),g=p;g<d;g++){var h=n[2*g]||0,v=Math.round(h/r*o);e.lineTo((g-l)*c+this.halfPixel,o-v+i)}for(var g=d-1;g>=p;g--)h=n[2*g+1]||0,v=Math.round(h/r*o),e.lineTo((g-l)*c+this.halfPixel,o-v+i);e.closePath(),e.fill()}}},fillRect:function(t,e,n,r,o){o=o||0;for(var i=Math.floor(t/this.maxCanvasWidth),a=Math.min(Math.ceil((t+n)/this.maxCanvasWidth)+1,this.canvases.length),s=i;s<a;s++){var u=this.canvases[s],c=s*this.maxCanvasWidth,l={x1:Math.max(t,s*this.maxCanvasWidth),y1:e,x2:Math.min(t+n,s*this.maxCanvasWidth+u.waveCtx.canvas.width),y2:e+r};l.x1<l.x2&&(this.setFillStyles(u),this.fillRectToContext(u.waveCtx,l.x1-c,l.y1,l.x2-l.x1,l.y2-l.y1),this.fillRectToContext(u.progressCtx,l.x1-c,l.y1-o/2,l.x2-l.x1,l.y2-l.y1+o))}},fillRectToContext:function(t,e,n,r,o){t&&t.fillRect(e,n,r,o)},setFillStyles:function(t){t.waveCtx.fillStyle=this.params.waveColor,this.hasProgressCanvas&&(t.progressCtx.fillStyle=this.params.progressColor)},updateProgress:function(t){this.style(this.progressWave,{width:t+"px"})},getImage:function(t,e){var n=[];return this.canvases.forEach((function(r){n.push(r.wave.toDataURL(t,e))})),n.length>1?n:n[0]}}),t.Drawer.SplitWavePointPlot=Object.create(t.Drawer.Canvas),t.util.extend(t.Drawer.SplitWavePointPlot,{defaultPlotParams:{plotNormalizeTo:"whole",plotTimeStart:0,plotMin:0,plotMax:1,plotColor:"#f63",plotProgressColor:"#F00",plotPointHeight:2,plotPointWidth:2,plotSeparator:!0,plotSeparatorColor:"black",plotRangeDisplay:!1,plotRangeUnits:"",plotRangePrecision:4,plotRangeIgnoreOutliers:!1,plotRangeFontSize:12,plotRangeFontType:"Ariel",waveDrawMedianLine:!0,plotFileDelimiter:"\t"},plotTimeStart:0,plotTimeEnd:-1,plotArrayLoaded:!1,plotArray:[],plotPoints:[],plotMin:0,plotMax:1,initDrawer:function(t){var e=this;for(var n in this.defaultPlotParams)void 0===this.params[n]&&(this.params[n]=this.defaultPlotParams[n]);this.plotTimeStart=this.params.plotTimeStart,void 0!==this.params.plotTimeEnd&&(this.plotTimeEnd=this.params.plotTimeEnd),Array.isArray(t.plotArray)?(this.plotArray=t.plotArray,this.plotArrayLoaded=!0):this.loadPlotArrayFromFile(t.plotFileUrl,(function(t){e.plotArray=t,e.plotArrayLoaded=!0,e.fireEvent("plot_array_loaded")}),this.params.plotFileDelimiter)},drawPeaks:function(t,e,n,r){if(1==this.plotArrayLoaded)this.setWidth(e),this.splitChannels=!0,this.params.height=this.params.height/2,t[0]instanceof Array&&(t=t[0]),this.params.barWidth?this.drawBars(t,1,n,r):this.drawWave(t,1,n,r),this.params.height=2*this.params.height,this.calculatePlots(),this.drawPlots();else{var o=this;o.on("plot-array-loaded",(function(){o.drawPeaks(t,e,n,r)}))}},drawPlots:function(){var t=this.params.height*this.params.pixelRatio/2,e=.5/this.params.pixelRatio;for(var n in this.waveCc.fillStyle=this.params.plotColor,this.progressCc&&(this.progressCc.fillStyle=this.params.plotProgressColor),this.plotPoints){var r=parseInt(n),o=t-this.params.plotPointHeight-this.plotPoints[n]*(t-this.params.plotPointHeight),i=this.params.plotPointHeight;this.waveCc.fillRect(r,o,this.params.plotPointWidth,i),this.progressCc&&this.progressCc.fillRect(r,o,this.params.plotPointWidth,i)}this.params.plotSeparator&&(this.waveCc.fillStyle=this.params.plotSeparatorColor,this.waveCc.fillRect(0,t,this.width,e)),this.params.plotRangeDisplay&&this.displayPlotRange()},displayPlotRange:function(){var t=this.params.plotRangeFontSize*this.params.pixelRatio,e=this.plotMax.toPrecision(this.params.plotRangePrecision)+" "+this.params.plotRangeUnits,n=this.plotMin.toPrecision(this.params.plotRangePrecision)+" "+this.params.plotRangeUnits;this.waveCc.font=t.toString()+"px "+this.params.plotRangeFontType,this.waveCc.fillText(e,3,t),this.waveCc.fillText(n,3,this.height/2)},calculatePlots:function(){this.plotPoints={},this.calculatePlotTimeEnd();for(var t=[],e=-1,n=0,r=99999999999999,o=0,i=99999999999999,a=this.plotTimeEnd-this.plotTimeStart,s=0;s<this.plotArray.length;s++){var u=this.plotArray[s];if(u.value>n&&(n=u.value),u.value<r&&(r=u.value),u.time>=this.plotTimeStart&&u.time<=this.plotTimeEnd){var c=Math.round(this.width*(u.time-this.plotTimeStart)/a);if(t.push(u.value),c!==e&&t.length>0){var l=this.avg(t);l>o&&(o=l),l<i&&(i=l),this.plotPoints[e]=l,t=[]}e=c}}"whole"==this.params.plotNormalizeTo?(this.plotMin=r,this.plotMax=n):"values"==this.params.plotNormalizeTo?(this.plotMin=this.params.plotMin,this.plotMax=this.params.plotMax):(this.plotMin=i,this.plotMax=o),this.normalizeValues()},normalizeValues:function(){var t={};if("none"!==this.params.plotNormalizeTo){for(var e in this.plotPoints){var n=(this.plotPoints[e]-this.plotMin)/(this.plotMax-this.plotMin);n>1?this.params.plotRangeIgnoreOutliers||(t[e]=1):n<0?this.params.plotRangeIgnoreOutliers||(t[e]=0):t[e]=n}this.plotPoints=t}},loadPlotArrayFromFile:function(e,n,r){void 0===r&&(r="\t");var o=[],i={url:e,responseType:"text"};t.util.ajax(i).on("load",(function(t){if(200==t.currentTarget.status){for(var e=t.currentTarget.responseText.split("\n"),i=0;i<e.length;i++){var a=e[i].split(r);2==a.length&&o.push({time:parseFloat(a[0]),value:parseFloat(a[1])})}n(o)}}))},calculatePlotTimeEnd:function(){void 0!==this.params.plotTimeEnd?this.plotTimeEnd=this.params.plotTimeEnd:this.plotTimeEnd=this.plotArray[this.plotArray.length-1].time},avg:function(t){return t.reduce((function(t,e){return t+e}))/t.length}}),t.util.extend(t.Drawer.SplitWavePointPlot,t.Observer),t.PeakCache={init:function(){this.clearPeakCache()},clearPeakCache:function(){this.peakCacheRanges=[],this.peakCacheLength=-1},addRangeToPeakCache:function(t,e,n){t!=this.peakCacheLength&&(this.clearPeakCache(),this.peakCacheLength=t);for(var r=[],o=0;o<this.peakCacheRanges.length&&this.peakCacheRanges[o]<e;)o++;for(o%2==0&&r.push(e);o<this.peakCacheRanges.length&&this.peakCacheRanges[o]<=n;)r.push(this.peakCacheRanges[o]),o++;o%2==0&&r.push(n),r=r.filter((function(t,e,n){return 0==e?t!=n[e+1]:e==n.length-1?t!=n[e-1]:t!=n[e-1]&&t!=n[e+1]})),this.peakCacheRanges=this.peakCacheRanges.concat(r),this.peakCacheRanges=this.peakCacheRanges.sort((function(t,e){return t-e})).filter((function(t,e,n){return 0==e?t!=n[e+1]:e==n.length-1?t!=n[e-1]:t!=n[e-1]&&t!=n[e+1]}));var i=[];for(o=0;o<r.length;o+=2)i.push([r[o],r[o+1]]);return i},getCacheRanges:function(){for(var t=[],e=0;e<this.peakCacheRanges.length;e+=2)t.push([this.peakCacheRanges[e],this.peakCacheRanges[e+1]]);return t}},function(){var e=function(){var e=document.querySelectorAll("wavesurfer");Array.prototype.forEach.call(e,(function(e){var n=t.util.extend({container:e,backend:"MediaElement",mediaControls:!0},e.dataset);e.style.display="block";var r=t.create(n);if(e.dataset.peaks)var o=JSON.parse(e.dataset.peaks);r.load(e.dataset.url,o)}))};"complete"===document.readyState?e():window.addEventListener("load",e)}(),t}()}.apply(e,[]))||(t.exports=r)},function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var u,c=[],l=!1,f=-1;function p(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&d())}function d(){if(!l){var t=s(p);l=!0;for(var e=c.length;e;){for(u=c,c=[];++f<e;)u&&u[f].run();f=-1,e=c.length}u=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function v(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new h(t,e)),1!==c.length||l||s(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e,n){"use strict";n.r(e);var r={};n.r(r),n.d(r,"updatePageAttribute",(function(){return E})),n.d(r,"updatePageLink",(function(){return O})),n.d(r,"updateSetting",(function(){return S}));var o={};n.r(o),n.d(o,"PageWrapper",(function(){return W})),n.d(o,"PageBackground",(function(){return H})),n.d(o,"PageBackgroundImage",(function(){return Cn})),n.d(o,"PageShadow",(function(){return In})),n.d(o,"PageForeground",(function(){return Mn})),n.d(o,"PageContent",(function(){return Fn})),n.d(o,"PageScroller",(function(){return Bn})),n.d(o,"PageHeader",(function(){return Un})),n.d(o,"PageText",(function(){return Wn})),n.d(o,"PageLink",(function(){return Yn})),n.d(o,"PageThumbnail",(function(){return Jn})),n.d(o,"LazyLoadedPageThumbnail",(function(){return Zn})),n.d(o,"PlayerControls",(function(){return Ur})),n.d(o,"CloseButton",(function(){return Vr})),n.d(o,"MenuBar",(function(){return Dr})),n.d(o,"Icon",(function(){return ur})),n.d(o,"editorOnly",(function(){return Gr})),n.d(o,"withVisibilityWatching",(function(){return Br})),n.d(o,"Draggable",(function(){return Er.a})),n.d(o,"Measure",(function(){return xr.a}));var i={};n.r(i),n.d(i,"pageAttribute",(function(){return tn})),n.d(i,"pageAttributes",(function(){return en})),n.d(i,"pageIsActive",(function(){return rn})),n.d(i,"pageIsPrepared",(function(){return an})),n.d(i,"currentParentPageAttributes",(function(){return Kr})),n.d(i,"currentParentChapterAttributes",(function(){return $r})),n.d(i,"t",(function(){return Hr})),n.d(i,"setting",(function(){return Qr})),n.d(i,"file",(function(){return Ye})),n.d(i,"prop",(function(){return Vn})),n.d(i,"widgetAttributes",(function(){return to})),n.d(i,"editingWidget",(function(){return eo}));n(175),n(177),n(178),n(179),n(180),n(181),n(182),n(183),n(184),n(185),n(186),n(187),n(188),n(189),n(190),n(191),n(192),n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(202),n(203),n(79),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(218),n(219),n(220),n(221),n(222),n(223),n(225),n(226),n(228),n(229),n(230),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(243),n(244),n(245),n(246),n(247),n(248),n(249),n(250),n(251),n(252),n(253),n(254),n(255),n(257),n(258),n(259),n(260),n(261),n(262),n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(270),n(271),n(272),n(273),n(274),n(275),n(276),n(277),n(278),n(279),n(280),n(281),n(282),n(283),n(284),n(285),n(286),n(287),n(288),n(289),n(291),n(292),n(293),n(294),n(297),n(298),n(299),n(300),n(301),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(316),n(317),n(318),n(319),n(157),n(320),n(321),n(322),n(323),n(324),n(325),n(326),n(327),n(328),n(329),n(330),n(331),n(332),n(333),n(334),n(335),n(336),n(337),n(338),n(339),n(340),n(341),n(342),n(343),n(344),n(345),n(347),n(348),n(349),n(350),n(351),n(352),n(353),n(354),n(355),n(356),n(357),n(358),n(359),n(360),n(361),n(362),n(363),n(364),n(365),n(366),n(367),n(368),n(369),n(370),n(371),n(372),n(373),n(374),n(375),n(376),n(377),n(378),n(379),n(380),n(381),n(382),n(383),n(384),n(385),n(386),n(387),n(390),n(164);var a=n(4),s=(n(391),"PAGE_DID_ACTIVATE"),u="PAGE_WILL_ACTIVATE",c="PAGE_DID_DEACTIVATE",l="PAGE_WILL_DEACTIVATE",f="PAGE_DID_PRELOAD",p="PAGE_DID_PREPARE",d="PAGE_SCHEDULE_UNPREPARE",h="PAGE_DID_UNPREPARE",v="PAGE_DID_RESIZE",g="PAGE_ENHANCE",y="PAGE_CLEANUP",m="UPDATE_PAGE_ATTRIBUTE",b="UPDATE_PAGE_LINK";function w(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(h,t)}function E(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.id,n=t.name,r=t.value;return x(m,e,{name:n,value:r})}function O(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.pageId,n=t.linkId,r=t.name,o=t.value;return x(b,e,{linkId:n,name:r,value:o})}function x(t,e){return{type:t,meta:{collectionName:"pages",itemId:e},payload:arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}}}var P="SETTINGS_LOAD",k="SETTINGS_UPDATE";function _(t){var e=t.settings;return{type:P,payload:{settings:e}}}function S(t){var e=t.property,n=t.value;return{type:k,payload:{property:e,value:n}}}function T(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function j(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function A(t,e,n){return e&&j(t.prototype,e),n&&j(t,n),t}function C(t){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function I(t){return(I="function"==typeof Symbol&&"symbol"===C(Symbol.iterator)?function(t){return C(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":C(t)})(t)}function M(t,e){return!e||"object"!==I(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function R(t){return(R=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function D(t,e){return(D=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function N(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&D(t,e)}var L=n(0),B=n.n(L),F=n(5),U=n.n(F),W=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){return React.createElement("div",{className:U()("content_and_background",this.props.className)},this.props.children)}}]),e}(L.Component);function H(t){return React.createElement("div",{className:(e=t,n=e.pageHasPlayerControls,U()("page_background",{"page_background-for_page_with_player_controls":n}))},t.children);var e,n}var q=n(169),V=n.n(q);function G(t){return!!V()(t).match(/^\s*$/)}function z(t){return t.replace(/_[a-z]/g,(function(t){return t[1].toUpperCase()}))}z.keys=function(t){return Object.keys(t).reduce((function(e,n){return e[z(n)]=t[n],e}),{})},z.deep=function(t){return Array.isArray(t)?t.map(z.deep):"object"==typeof t&&t?Object.keys(t).reduce((function(e,n){return e[z(n)]=z.deep(t[n]),e}),{}):t},z.concat=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.filter((function(t){return t})).reduce((function(t,e){return t+e[0].toUpperCase()+e.slice(1)}))};var Y=z,X=function(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Object.keys(t).reduce((function(e,r){return"function"==typeof t[r]?e[r]=t[r].apply(t,n):e[r]=t[r],e}),{})}},$=n(60),K=n(120),Q=Symbol("selectorFactory"),J=Symbol("createSelector");function Z(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return nt((function(t,n){var r=e.slice(0,-1).map(et),o=e.slice(-1)[0],i=K.createSelector.apply(void 0,Object($.a)(r).concat([o]));if(t===J)return i;if(t)return i(t,n);throw"Missing state argument for selector."}))}function tt(t,e){return nt((function(){return Object(K.createStructuredSelector)(function(t){return Object.keys(t).reduce((function(e,n){return e[n]=et(t[n]),e}),{})}((e=t,Object.keys(e).reduce((function(t,n){return"function"==typeof e[n]?t[n]=e[n]:t[n]=function(){return e[n]},t}),{}))));var e}))}function et(t){return"function"==typeof t&&t[Q]?t(J):t}function nt(t){return t[Q]=!0,t}function rt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pageflow.browser;return e&&e.has(t)}function ot(t){return new Promise((function(e){var n=new Image;n.onload=e,n.onerror=e,n.src=t}))}var it=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){var t=this;return B.a.createElement("div",{className:this.cssClass(),style:this.style(),ref:function(e){return t.element=e}},this.renderStructuredData())}},{key:"componentDidUpdate",value:function(t){this.props.loaded&&!t.loaded&&function(t){var e=window.getComputedStyle(t).getPropertyValue("background-image");if(e.match(/^url/))ot(e.replace(/^url\(['"]?/,"").replace(/['"]?\)$/,""))}(this.element)}},{key:"cssClass",value:function(){return U()(this.props.className,this.props.loaded?"load_image":null,this.imageCssClass())}},{key:"imageCssClass",value:function(){return["imageFiles"==this.props.fileCollection?"image":"video_poster",this.props.fileId||"none"].join("_")}},{key:"style",value:function(){return{backgroundPosition:"".concat(this.positionCoordinate(0),"% ").concat(this.positionCoordinate(1),"%")}}},{key:"positionCoordinate",value:function(t){var e=this.props.position[t];return void 0===e?50:e}},{key:"renderStructuredData",value:function(){if(this.props.structuredDataComponent){var t=this.props.structuredDataComponent;return B.a.createElement(t,{fileCollection:this.props.fileCollection,fileId:this.props.fileId})}}}]),e}(B.a.Component);it.defaultProps={position:[50,50],fileCollection:"imageFiles"};var at=n(17),st=Object(at.c)({isPreloaded:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case f:return!0;default:return t}},isPrepared:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case p:case u:return!0;case h:return!1;default:return t}},isActive:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case u:return!0;case l:return!1;default:return t}},isActivated:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case s:return!0;case l:return!1;default:return t}},initialScrollerPosition:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case u:return e.payload.position||"top";case l:return null;default:return t}}});var ut="COLLECTION_RESET",ct="COLLECTION_ADD",lt="COLLECTION_CHANGE",ft="COLLECTION_REMOVE",pt="COLLECTION_ORDER";function dt(t){var e=t.collectionName,n=t.items;return{type:ut,meta:{collectionName:e},payload:{collectionName:e,items:n}}}function ht(t){var e=t.collectionName,n=t.attributes,r=t.order;return{type:ct,meta:{collectionName:e},payload:{attributes:n,order:r}}}function vt(t){var e=t.collectionName,n=t.attributes;return{type:lt,meta:{collectionName:e},payload:{attributes:n}}}function gt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case ct:case lt:return e.payload.attributes;default:return t}}function yt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function mt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?yt(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):yt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var bt=function(t){var e={};function n(n){return e[n]=e[n]||Object(at.c)({attributes:gt,state:Object(at.c)({custom:t[n]||function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t},common:st})}),e[n]}return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,o=gt(t.attributes,e);return n(o.type)(r(t,t.attributes,o),e)};function r(t,e,n){return e&&e.type!==n.type?mt({},t,{state:mt({},t.state,{custom:void 0})}):t}},wt=n(2),Et=n.n(wt),Ot=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.namespace;return function(e){if(n){if(!e[n])throw new Error("Cannot select from unknown namespace ".concat(n,"."));e=e[n]}return e[t].items||{}}};function xt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Pt(t,e,n){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?xt(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):xt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t,Object(a.a)({},kt(e),n))}function kt(t){return"__".concat(t,"_connectedId")}var _t=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.namespace;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.id;return function(e,o){var i=r,a=e;if(n){if(!e[n])throw new Error("Cannot select from unknown namespace ".concat(n,"."));a=e[n]}if(!a[t])throw new Error("Cannot select from unknown collection ".concat(t,"."));return"function"==typeof r&&(i=r(e,o)),(i=i||e[kt(t)])?a[t].items[i]:null}}};function St(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Tt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?St(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):St(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var jt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.idAttribute,r=void 0===n?"id":n,o=e.itemReducer,i=void 0===o?gt:o,s={order:[],items:{}};return function(){var e,n,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,u=arguments.length>1?arguments[1]:void 0;if(!u.meta||u.meta.collectionName!=t)return o;switch(u.type){case ut:return{order:u.payload.items.map((function(t){return t[r]})),items:u.payload.items.reduce((function(t,e){return t[e[r]]=i(void 0,ht({collectioName:u.payload.collectioName,attributes:e})),t}),{})};case ct:return{order:u.payload.order,items:Tt({},o.items,Object(a.a)({},u.payload.attributes[r],i(void 0,u)))};case lt:return n=u.payload.attributes[r],{order:o.order,items:Tt({},o.items,Object(a.a)({},n,i(o.items[n],u)))};case ft:return n=u.payload.attributes[r],delete(e=Tt({},o.items))[n],{order:u.payload.order,items:e};case pt:return{items:o.items,order:u.payload.order};default:if(u.meta.itemId){var c=o.items[u.meta.itemId],l=i(c,u);if(l!==c)return{order:o.order,items:Tt({},o.items,Object(a.a)({},u.meta.itemId,l))}}return o}}};function At(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ct(t,e,n){t.meta&&t.meta.collectionName==e&&!t.meta.itemId&&(t.meta=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?At(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):At(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t.meta,{itemId:n}))}function It(t,e){return t.meta&&t.meta.collectionName==e}function Mt(t){return t.meta&&t.meta.itemId}var Rt=n(3),Dt=n(7);function Nt(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var Lt=n(28),Bt=n.n(Lt),Ft=Bt.a.shape({trySubscribe:Bt.a.func.isRequired,tryUnsubscribe:Bt.a.func.isRequired,notifyNestedSubs:Bt.a.func.isRequired,isSubscribed:Bt.a.func.isRequired}),Ut=Bt.a.shape({subscribe:Bt.a.func.isRequired,dispatch:Bt.a.func.isRequired,getState:Bt.a.func.isRequired});B.a.forwardRef;var Wt=function(t){var e;void 0===t&&(t="store");var n=t+"Subscription",r=function(e){Nt(o,e);var r=o.prototype;function o(n,r){var o;return(o=e.call(this,n,r)||this)[t]=n.store,o}return r.getChildContext=function(){var e;return(e={})[t]=this[t],e[n]=null,e},r.render=function(){return L.Children.only(this.props.children)},o}(L.Component);return r.propTypes={store:Ut.isRequired,children:Bt.a.element.isRequired},r.childContextTypes=((e={})[t]=Ut.isRequired,e[n]=Ft,e),r}();function Ht(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qt(){return(qt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Vt(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}var Gt=n(172),zt=n.n(Gt),Yt=n(96),Xt=n.n(Yt),$t=n(119),Kt=null,Qt={notify:function(){}};var Jt=function(){function t(t,e,n){this.store=t,this.parentSub=e,this.onStateChange=n,this.unsubscribe=null,this.listeners=Qt}var e=t.prototype;return e.addNestedSub=function(t){return this.trySubscribe(),this.listeners.subscribe(t)},e.notifyNestedSubs=function(){this.listeners.notify()},e.isSubscribed=function(){return Boolean(this.unsubscribe)},e.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=function(){var t=[],e=[];return{clear:function(){e=Kt,t=Kt},notify:function(){for(var n=t=e,r=0;r<n.length;r++)n[r]()},get:function(){return e},subscribe:function(n){var r=!0;return e===t&&(e=t.slice()),e.push(n),function(){r&&t!==Kt&&(r=!1,e===t&&(e=t.slice()),e.splice(e.indexOf(n),1))}}}}())},e.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=Qt)},t}(),Zt=void 0!==B.a.forwardRef,te=0,ee={};function ne(){}function re(t,e){var n,r;void 0===e&&(e={});var o=e,i=o.getDisplayName,a=void 0===i?function(t){return"ConnectAdvanced("+t+")"}:i,s=o.methodName,u=void 0===s?"connectAdvanced":s,c=o.renderCountProp,l=void 0===c?void 0:c,f=o.shouldHandleStateChanges,p=void 0===f||f,d=o.storeKey,h=void 0===d?"store":d,v=o.withRef,g=void 0!==v&&v,y=Vt(o,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),m=h+"Subscription",b=te++,w=((n={})[h]=Ut,n[m]=Ft,n),E=((r={})[m]=Ft,r);return function(e){Xt()(Object($t.isValidElementType)(e),"You must pass a component to the function returned by "+u+". Instead received "+JSON.stringify(e));var n=e.displayName||e.name||"Component",r=a(n),o=qt({},y,{getDisplayName:a,methodName:u,renderCountProp:l,shouldHandleStateChanges:p,storeKey:h,withRef:g,displayName:r,wrappedComponentName:n,WrappedComponent:e}),i=function(n){function i(t,e){var o;return(o=n.call(this,t,e)||this).version=b,o.state={},o.renderCount=0,o.store=t[h]||e[h],o.propsMode=Boolean(t[h]),o.setWrappedInstance=o.setWrappedInstance.bind(Ht(Ht(o))),Xt()(o.store,'Could not find "'+h+'" in either the context or props of "'+r+'". Either wrap the root component in a <Provider>, or explicitly pass "'+h+'" as a prop to "'+r+'".'),o.initSelector(),o.initSubscription(),o}Nt(i,n);var a=i.prototype;return a.getChildContext=function(){var t,e=this.propsMode?null:this.subscription;return(t={})[m]=e||this.context[m],t},a.componentDidMount=function(){p&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},a.componentWillReceiveProps=function(t){this.selector.run(t)},a.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},a.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=ne,this.store=null,this.selector.run=ne,this.selector.shouldComponentUpdate=!1},a.getWrappedInstance=function(){return Xt()(g,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+u+"() call."),this.wrappedInstance},a.setWrappedInstance=function(t){this.wrappedInstance=t},a.initSelector=function(){var e=t(this.store.dispatch,o);this.selector=function(t,e){var n={run:function(r){try{var o=t(e.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(t){n.shouldComponentUpdate=!0,n.error=t}}};return n}(e,this.store),this.selector.run(this.props)},a.initSubscription=function(){if(p){var t=(this.propsMode?this.props:this.context)[m];this.subscription=new Jt(this.store,t,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},a.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(ee)):this.notifyNestedSubs()},a.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},a.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},a.addExtraProps=function(t){if(!(g||l||this.propsMode&&this.subscription))return t;var e=qt({},t);return g&&(e.ref=this.setWrappedInstance),l&&(e[l]=this.renderCount++),this.propsMode&&this.subscription&&(e[m]=this.subscription),e},a.render=function(){var t=this.selector;if(t.shouldComponentUpdate=!1,t.error)throw t.error;return Object(L.createElement)(e,this.addExtraProps(t.props))},i}(L.Component);return Zt&&(i.prototype.UNSAFE_componentWillReceiveProps=i.prototype.componentWillReceiveProps,delete i.prototype.componentWillReceiveProps),i.WrappedComponent=e,i.displayName=r,i.childContextTypes=E,i.contextTypes=w,i.propTypes=w,zt()(i,e)}}var oe=Object.prototype.hasOwnProperty;function ie(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!=t&&e!=e}function ae(t,e){if(ie(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!oe.call(e,n[o])||!ie(t[n[o]],e[n[o]]))return!1;return!0}function se(t){return function(e,n){var r=t(e,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function ue(t){return null!==t.dependsOnOwnProps&&void 0!==t.dependsOnOwnProps?Boolean(t.dependsOnOwnProps):1!==t.length}function ce(t,e){return function(e,n){n.displayName;var r=function(t,e){return r.dependsOnOwnProps?r.mapToProps(t,e):r.mapToProps(t)};return r.dependsOnOwnProps=!0,r.mapToProps=function(e,n){r.mapToProps=t,r.dependsOnOwnProps=ue(t);var o=r(e,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=ue(o),o=r(e,n)),o},r}}var le=[function(t){return"function"==typeof t?ce(t):void 0},function(t){return t?void 0:se((function(t){return{dispatch:t}}))},function(t){return t&&"object"==typeof t?se((function(e){return Object(at.b)(t,e)})):void 0}];var fe=[function(t){return"function"==typeof t?ce(t):void 0},function(t){return t?void 0:se((function(){return{}}))}];function pe(t,e,n){return qt({},n,t,e)}var de=[function(t){return"function"==typeof t?function(t){return function(e,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,a=!1;return function(e,n,s){var u=t(e,n,s);return a?o&&i(u,r)||(r=u):(a=!0,r=u),r}}}(t):void 0},function(t){return t?void 0:function(){return pe}}];function he(t,e,n,r){return function(o,i){return n(t(o,i),e(r,i),i)}}function ve(t,e,n,r,o){var i,a,s,u,c,l=o.areStatesEqual,f=o.areOwnPropsEqual,p=o.areStatePropsEqual,d=!1;function h(o,d){var h,v,g=!f(d,a),y=!l(o,i);return i=o,a=d,g&&y?(s=t(i,a),e.dependsOnOwnProps&&(u=e(r,a)),c=n(s,u,a)):g?(t.dependsOnOwnProps&&(s=t(i,a)),e.dependsOnOwnProps&&(u=e(r,a)),c=n(s,u,a)):y?(h=t(i,a),v=!p(h,s),s=h,v&&(c=n(s,u,a)),c):c}return function(o,l){return d?h(o,l):(s=t(i=o,a=l),u=e(r,a),c=n(s,u,a),d=!0,c)}}function ge(t,e){var n=e.initMapStateToProps,r=e.initMapDispatchToProps,o=e.initMergeProps,i=Vt(e,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(t,i),s=r(t,i),u=o(t,i);return(i.pure?ve:he)(a,s,u,t,i)}function ye(t,e,n){for(var r=e.length-1;r>=0;r--){var o=e[r](t);if(o)return o}return function(e,r){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function me(t,e){return t===e}var be,we,Ee,Oe,xe,Pe,ke,_e,Se,Te,je,Ae,Ce=(Ee=(we=void 0===be?{}:be).connectHOC,Oe=void 0===Ee?re:Ee,xe=we.mapStateToPropsFactories,Pe=void 0===xe?fe:xe,ke=we.mapDispatchToPropsFactories,_e=void 0===ke?le:ke,Se=we.mergePropsFactories,Te=void 0===Se?de:Se,je=we.selectorFactory,Ae=void 0===je?ge:je,function(t,e,n,r){void 0===r&&(r={});var o=r,i=o.pure,a=void 0===i||i,s=o.areStatesEqual,u=void 0===s?me:s,c=o.areOwnPropsEqual,l=void 0===c?ae:c,f=o.areStatePropsEqual,p=void 0===f?ae:f,d=o.areMergedPropsEqual,h=void 0===d?ae:d,v=Vt(o,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),g=ye(t,Pe,"mapStateToProps"),y=ye(e,_e,"mapDispatchToProps"),m=ye(n,Te,"mergeProps");return Oe(Ae,qt({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:g,initMapDispatchToProps:y,initMergeProps:m,pure:a,areStatesEqual:u,areOwnPropsEqual:l,areStatePropsEqual:p,areMergedPropsEqual:h},v))});function Ie(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var Me=function(t){var e=function(e){function n(){return T(this,n),M(this,R(n).apply(this,arguments))}return N(n,e),A(n,[{key:"getChildContext",value:function(){return Object(a.a)({},kt(t),this.props.itemId)}},{key:"render",value:function(){return this.props.children}}]),n}(B.a.Component);return e.childContextTypes=Object(a.a)({},kt(t),B.a.PropTypes.number),e};function Re(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var De=function(t,e,n){var r=Y.deep(t.reduce((function(t,n){if("object"==typeof n){var r=Object.keys(n)[0],o=n[r];t[r]=e[o]}else t[n]=e[n];return t}),{}));return n?function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Re(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Re(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},r,{},Y.deep(n)):r},Ne=function(t){var e=t.collection,n=t.dispatch,r=t.collectionName,o=t.idAttribute,i=void 0===o?"id":o,a=t.attributes,s=void 0===a?["id"]:a,u=t.includeConfiguration,c=void 0!==u&&u;n(dt({collectionName:r,items:e.map(f)})),e.on("add",(function(t){t.isNew()||n(ht({collectionName:r,attributes:f(t)}))})),e.on("change:id",(function(t){n(ht({collectionName:r,attributes:f(t),order:e.pluck(i)}))})),e.on("change",(function(t){(function(t){return l.some((function(e){return t.hasChanged(e)}))})(t)&&n(vt({collectionName:r,attributes:f(t)}))})),c&&e.on("change:configuration",(function(t){n(vt({collectionName:r,attributes:f(t)}))})),e.on("remove",(function(t){setTimeout((function(){n(function(t){var e=t.collectionName,n=t.attributes,r=t.order;return{type:ft,meta:{collectionName:e},payload:{attributes:n,order:r}}}({collectionName:r,attributes:f(t),order:e.pluck(i)}))}),0)})),e.on("sort",(function(){n(function(t){var e=t.collectionName,n=t.order;return{type:pt,meta:{collectionName:e},payload:{order:n}}}({collectionName:r,order:e.pluck(i)}))}));var l=s.map((function(t){return"object"==typeof t?function(t){return t[Object.keys(t)[0]]}(t):t}));function f(t){return De(s,t.attributes,c&&t.configuration.attributes)}},Le=function(t){var e=t.collection,n=t.collectionName,r=t.dispatch,o=t.attributes,i=void 0===o?["id"]:o,a=t.includeConfiguration,s=void 0!==a&&a;r(dt({collectionName:n,items:e.map((function(t){return De(i,t,s&&t.configuration)}))}))},Be=n(50),Fe=n.n(Be),Ue=function(t){var e=t.collection,n=t.collectionName,r=t.dispatch,o=t.idAttribute,i=t.attributes,a=t.includeConfiguration;(Fe.a.Collection&&e instanceof Fe.a.Collection?Ne:Le)({collection:e,collectionName:n,dispatch:r,idAttribute:o,attributes:i,includeConfiguration:a})};function We(t){var e=t.candidates,n=t.page,r=t.fileExists;return e.find((function(t){if(t.condition&&!function(t,e){var n=e[Y(t.attribute)];return t.negated?n!=t.value:n==t.value}(t.condition,n))return!1;var e=He(n,t);return r(Y(t.collectionName),e)}))}function He(t,e){return"id"in e?e.id:t[Y(e.attribute)]}function qe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var Ve=function(t,e,n){if(!e)return null;if(!n[t])throw new Error("No file url templates found for ".concat(t));return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?qe(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qe(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({urls:(e.variants||Object.keys(n[t])).reduce((function(r,o){var i=function(t,e,n,r){var o=r[t][n];if(o)return o.replace(":id_partition",(i=e.id,function(t,e){return t.replace(/./g,(function(t,e,n){return e&&(n.length-e)%3==0?"/"+t:t}))}((a=i,s=9,(Array(s).fill(0).join("")+a).slice(-s))))).replace(":basename",e.basename);var i,a,s}(t,e,o,n);return i&&(r[o]=i),r}),{})},e)};function Ge(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var ze=function(t,e,n){if(!e)return null;if(!n[t])throw new Error("Could not find model type for collection name ".concat(t));return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ge(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ge(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},e,{collectionName:t,modelType:n[t]})};function Ye(t,e){return Z(_t(t,{namespace:"files"})(e),(function(t){return t.fileUrlTemplates}),(function(t){return t.modelTypes}),(function(e,n,r){return $e(t,e,n,r)}))}function Xe(){return Z((function(t){return t.files}),(function(t){return function(e,n){return n&&!!_t(e)({id:n})(t)}}))}function $e(t,e,n,r){return ze(t,Ve(t,e,n),r)}function Ke(t){var e=t.page;return function(t,n){var r="function"==typeof e?e(n):e;return r?t.pageTypes[Y(r.type)]:null}}var Qe=_t("pages"),Je=function(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).namespace;return function(n){if(e){if(!n[e])throw new Error("Cannot select from unknown namespace ".concat(e,"."));n=n[e]}var r=n[t];return r.items[r.order[0]]}}("pages");function Ze(t){return Z(Je,(function(e){return e&&e.attributes[t]}))}function tn(t,e){return Z(Qe(e),(function(e){return e&&e.attributes[t]}))}function en(t){return Z(Qe(t),(function(t){return t&&t.attributes}))}function nn(t,e){return Z(Qe(e),(function(e){return e&&e.state.custom[t]}))}function rn(t){return sn("isActive",t)}function on(t){return sn("isPreloaded",t)}function an(t){return sn("isPrepared",t)}function sn(t,e){return Z(Qe(e),(function(e){return e&&e.state.common[t]}))}var un=Et.a.mark(ln),cn=Et.a.mark(fn);function ln(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeLatest)([d,p,u],fn);case 2:case"end":return t.stop()}}),un)}function fn(t){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.type!=d){e.next=5;break}return e.next=3,Object(Rt.call)(Dt.delay,5e3);case 3:return e.next=5,Object(Rt.put)(w());case 5:case"end":return e.stop()}}),cn)}var pn=Et.a.mark(dn);function dn(t){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t instanceof Fe.a.Collection){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,Object(Dt.takeEvery)(m,Et.a.mark((function e(n){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Rt.call)(vn,{pagesCollection:t,id:Mt(n),name:n.payload.name,value:n.payload.value});case 2:case"end":return e.stop()}}),e)})));case 4:return e.next=6,Object(Dt.takeEvery)(b,Et.a.mark((function e(n){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Rt.call)(hn,{pagesCollection:t,pageId:Mt(n),linkId:n.payload.linkId,name:n.payload.name,value:n.payload.value});case 2:case"end":return e.stop()}}),e)})));case 6:case"end":return e.stop()}}),pn)}function hn(t){var e=t.pagesCollection,n=t.pageId,r=t.linkId,o=t.name,i=t.value,a=gn(e,n).pageLinks().get(r);if(!a)throw new Error("Could not find page link with id ".concat(r," in page with perma id ").concat(n,"."));a.set(o,i)}function vn(t){var e=t.pagesCollection,n=t.id,r=t.name,o=t.value;gn(e,n).configuration.set(r,o)}function gn(t,e){var n=t.where({perma_id:e})[0];if(!n)throw new Error("Could not find page with perma id ".concat(e,"."));return n}var yn=function(t){var e=t.pages,n=t.pageTypeSagas;return(Et.a.mark((function t(){var r;return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.delegateYield(ln(),"t0",1);case 1:return t.delegateYield(dn(e),"t1",2);case 2:return t.next=4,Object(Dt.takeEvery)(g,Et.a.mark((function t(){var e,o;return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(tn("type"));case 2:if(e=t.sent,!(o=n[e])){t.next=8;break}return t.next=7,Object(Rt.fork)(o);case 7:r=t.sent;case 8:case"end":return t.stop()}}),t)})));case 4:return t.next=6,Object(Dt.takeEvery)(y,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!r){t.next=3;break}return t.next=3,Object(Rt.cancel)(r);case 3:case"end":return t.stop()}}),t)})));case 6:case"end":return t.stop()}}),t)})))},mn=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"getChildContext",value:function(){return{mediaContext:this.props.mediaContext}}},{key:"render",value:function(){return this.props.children}}]),e}(B.a.Component);mn.childContextTypes={mediaContext:B.a.PropTypes.object};var bn=n(42),wn=n.n(bn),En=Me("pages"),On=function(t){var e=t.Component,n=t.store,r=t.selectTargetElement,o=void 0===r?function(t){return t[0]}:r;return{scroller:!1,enhance:function(t,r){wn.a.render(B.a.createElement(Wt,{store:n},B.a.createElement(En,{itemId:xn(t)},B.a.createElement(mn,{mediaContext:{page:t.page("instance")}},B.a.createElement(e,null)))),o(t)),n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(g,t)}({id:xn(t)}))},preload:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(f,t)}({id:xn(t)}))},prepare:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(p,t)}({id:xn(t)}))},unprepare:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(d,t)}({id:xn(t)}))},activating:function(t,e,r){n.dispatch(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.id,n=t.position;return x(u,e,{position:n})}({id:xn(t),position:r.position}))},activated:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(s,t)}({id:xn(t)}))},deactivating:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(l,t)}({id:xn(t)}))},deactivated:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(c,t)}({id:xn(t)}))},resize:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(v,t)}({id:xn(t)}))},update:function(t,e){pageflow.commonPageCssClasses.updateCommonPageCssClasses(t,e)},cleanup:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(y,t)}({id:xn(t)})),wn.a.unmountComponentAtNode(t[0])}}};function xn(t){return parseInt(t.attr("id"),10)}function Pn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function kn(t,e){return Object.keys(e).reduce((function(n,r){return"function"==typeof t[r]?n[r]=function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return t[r].apply(this,o),e[r].apply(this,o)}:n[r]=e[r],n}),function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Pn(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Pn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t))}var _n,Sn,Tn={init:function(t){var e=t.pages,n=t.dispatch;Ue({collection:e,collectionName:"pages",dispatch:n,idAttribute:"perma_id",attributes:["perma_id",{type:"template"},"chapter_id"],includeConfiguration:!0})},createReducers:function(t){var e=t.pageTypes,n=(void 0===e?[]:e).reduce((function(t,e){var n=e.name,r=e.reducer;return t[n]=r,t}),{});return{pages:jt("pages",{idAttribute:"permaId",itemReducer:bt(n)})}},createMiddleware:function(){return function t(e){var n,r=e.getState,o=e.dispatch,i=(n=[],{subscribe:function(t){return n.push(t),function(){return function(t,e){var n=t.indexOf(e);n>=0&&t.splice(n,1)}(n,t)}},emit:function(t){for(var e=n.slice(),r=0,o=e.length;r<o;r++)e[r](t)}});return t.getState=r,t.dispatch=o,t.subscribe=i.subscribe,function(t){return function(e){var n=t(e);return i.emit(e),n}}}},createSaga:function(t){var e=t.pages,n=t.pageTypes,r=void 0===n?[]:n,o=t.middleware,i=r.reduce((function(t,e){var n=e.name,r=e.saga;return t[n]=r,t}),{});return function(t,e){var n=Et.a.mark(l),r=Et.a.mark(f),o=Et.a.mark(p),i=Et.a.mark(d),a=Et.a.mark(h),s=e.itemSaga,u=e.middleware,c=Ot(t);return l;function l(){var t;return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t={},e.next=3,Object(Dt.takeEvery)([ut,ct,ft],f,t);case 3:case"end":return e.stop()}}),n)}function f(t){var e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(Rt.select)(c);case 2:return e=n.sent,n.delegateYield(p(e,t),"t0",4);case 4:return n.delegateYield(d(e,t),"t1",5);case 5:case"end":return n.stop()}}),r)}function p(t,e){return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object.keys(e).map((function(n){if(!(n in t))return Object(Rt.cancel)(e[n])}));case 2:case"end":return n.stop()}}),o)}function d(t,e){var n;return Et.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,Object.keys(t).map((function(t){if(!e[t])return Object(Rt.fork)(h,parseInt(t,10))}));case 2:n=r.sent,Object.keys(t).forEach((function(t,r){e[t]||(e[t]=n[r])}));case 4:case"end":return r.stop()}}),i)}function h(e){var n;return Et.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=Object(Dt.runSaga)(s(),{subscribe:function(n){return u.subscribe((function(r){It(r,t)&&Mt(r)!=e||n(r)}))},dispatch:function(n){Ct(n,t,e),u.dispatch(n)},getState:function(){return Pt(u.getState(),t,e)}}),r.prev=1,r.next=4,Object(Rt.call)((function(){return n.done}));case 4:return r.prev=4,n.cancel(),r.finish(4);case 7:case"end":return r.stop()}}),a,null,[[1,,4,7]])}}("pages",{itemSaga:yn({pages:e,pageTypeSagas:i}),middleware:o})}},jn=(Sn=kt(_n="pages"),function(t,e,n){var r=Ce(t?function(e,n){var r=t(Pt(e,_n,n[Sn]),n);return"function"==typeof r?function(t,e){return r(Pt(t,_n,e[Sn]),e)}:r}:null,e?function(t,n){var r=function(e){return Ct(e,_n,n[Sn]),t(e)};return"function"==typeof e?e(r,n):Object(at.b)(e,r)}:null,n);return function(t){var e=r(t),n=function(t){function n(){return T(this,n),M(this,R(n).apply(this,arguments))}return N(n,t),A(n,[{key:"render",value:function(){var t=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ie(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ie(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},this.props,Object(a.a)({},Sn,this.context[Sn]));return B.a.createElement(e,t)}}]),n}(B.a.Component);return n.contextTypes=Object(a.a)({},Sn,B.a.PropTypes.number),n}});var An=jn(tt({loaded:on()}))(it),Cn=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){var t=this.props.page,e=Y.concat(this.props.propertyNamePrefix,this.props.propertyBaseName);return B.a.createElement(An,{fileId:t["".concat(e,"Id")],fileCollection:this.props.fileCollection,position:[t["".concat(e,"X")],t["".concat(e,"Y")]],className:"background background_image",structuredDataComponent:this.props.structuredDataComponent})}}]),e}(B.a.Component);Cn.defaultProps={propertyBaseName:"backgroundImage"};var In=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){return B.a.createElement("div",{className:"shadow_wrapper"},B.a.createElement("div",{className:U()("shadow",this.props.className),style:this.style()}))}},{key:"style",value:function(){if("gradientOpacity"in this.props.page)return{opacity:this.props.page.gradientOpacity/100}}}]),e}(B.a.Component),Mn=function(t){return B.a.createElement("div",{className:"content",onTouchStart:t.onInteraction,onMouseMove:t.onInteraction},t.children)},Rn=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){var t=this;return React.createElement("div",{className:"scroller-wrapper",ref:function(e){return t.wrapperElement=e}},React.createElement("div",{ref:function(e){return t.scrollerElement=e},className:U()("scroller",this.props.className),style:this.props.style},React.createElement("div",null,this.props.children)))}},{key:"componentDidMount",value:function(){if("undefined"!=typeof jQuery){var t=jQuery(this.scrollerElement);t.scroller({eventListenerTarget:this.wrapperElement}),this.scroller=t.scroller("instance")}}},{key:"componentDidUpdate",value:function(){this.scroller.refresh()}},{key:"enable",value:function(){this.scroller.enable(),this.scroller.afterAnimationHook()}},{key:"disable",value:function(){this.scroller.disable()}},{key:"resetPosition",value:function(t){this.scroller.resetPosition(t)}}]),e}(L.Component),Dn=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"componentWillReceiveProps",value:function(t){!this.props.enabled&&t.enabled?this.refs.scroller.enable():this.props.enabled&&!t.enabled&&this.refs.scroller.disable(),this.props.initialScrollerPosition!==t.initialScrollerPosition&&t.initialScrollerPosition&&this.refs.scroller.resetPosition({position:t.initialScrollerPosition})}},{key:"getChildContext",value:function(){var t=this;return this._pageScroller=this._pageScroller||{disable:function(){t.refs.scroller.disable()},enable:function(){t.refs.scroller.enable()}},{pageScroller:this._pageScroller}}},{key:"render",value:function(){return B.a.createElement(Rn,{ref:"scroller",className:(t=this.props,U()(t.className,{"scroller-clipped_bottom":!!t.marginBottom})),style:Nn(this.props)},B.a.createElement("div",{className:"content_wrapper"},this.props.children));var t}}]),e}(B.a.Component);function Nn(t){if(t.marginBottom)return{bottom:t.marginBottom}}Dn.childContextTypes={pageScroller:B.a.PropTypes.object};var Ln,Bn=jn(tt({enabled:sn("isActivated",Ln),initialScrollerPosition:function(t){return sn("initialScrollerPosition",t)}()}))(Dn),Fn=function(t){return React.createElement(Mn,null,React.createElement(Bn,null,t.children))},Un=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){return B.a.createElement("h3",{className:"page_header"},B.a.createElement("span",{className:"page_header-tagline"},this.props.page.tagline),B.a.createElement("span",{className:"page_header-title"},this.props.page.title),B.a.createElement("span",{className:"page_header-subtitle"},this.props.page.subtitle))}}]),e}(B.a.Component);function Wn(t){return B.a.createElement("div",{className:Hn(t)},B.a.createElement("div",{className:"paragraph",dangerouslySetInnerHTML:qn(t)}),t.children)}function Hn(t){return U()("page_text",Object(a.a)({},"page_text-margin_".concat(t.marginBottom),t.marginBottom!=Wn.defaultProps.marginBottom))}function qn(t){return{__html:t.page.text}}function Vn(t){return function(e,n){var r=t.split(".");if(!(r[0]in n))throw new Error("Missing required prop ".concat(r[0],"."));return r.reduce((function(t,e){return t&&t[e]}),n)}}function Gn(t){return function(e,n,r){return rt(t,r)}}Wn.defaultProps={marginBottom:"for_scroll_indicator_on_phone"};var zn=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){return B.a.createElement("a",{href:this._href(),className:this.props.className,onClick:this._handleClick.bind(this)},this.props.children)}},{key:"_href",value:function(){return this._targetPage()?"#"+this._targetPage().permaId:"#missing"}},{key:"_handleClick",value:function(t){this._targetPage()&&pageflow.slides.goToByPermaId(this._targetPage().permaId,{transition:this.props.pageLink.pageTransition}),t.preventDefault()}},{key:"_targetPage",value:function(){return this.props.targetPage}}]),e}(B.a.Component),Yn=Ce(tt({targetPage:en({id:Vn("pageLink.targetPageId")})}))(zn);function Xn(t){return React.createElement("div",{className:$n(t)})}function $n(t){return U()({load_image:t.lazy&&t.loaded},t.className,(e=t.pageType)?"is_".concat(e.name):"is_dangling",function(t){var e=We({candidates:Kn(t),page:t.page,fileExists:t.fileExists});if(e)return function(t,e){return[t.lazy?"lazy":null,e.cssClassPrefix,t.imageStyle,He(t.page,e)].filter(Boolean).join("_")}(t,e)}(t));var e}function Kn(t){return[Qn(t)].concat(Object($.a)((e=t.pageType)?e.thumbnailCandidates:[]));var e}function Qn(t){return{id:t.customThumbnailId,cssClassPrefix:"pageflow_image_file",collectionName:"image_files"}}Xn.defaultProps={imageStyle:"navigation_thumbnail_large"};var Jn=jn(tt({pageType:Ke({page:function(t){return t.page}}),fileExists:Xe()}))(Xn),Zn=jn(tt({loaded:on(),lazy:!0}))(Jn);function tr(t){return U()("add_info_box",{empty:er(t),title_empty:G(t.title),description_empty:G(t.description),"add_info_box-hidden_during_playback":t.hiddenDuringPlayback})}function er(t){return G(t.title)&&G(t.description)}var nr=function(t){return React.createElement("div",{className:tr(t)},function(t){if(!G(t.title))return React.createElement("h3",null,t.title)}(t),function(t){if(!G(t.description))return React.createElement("p",{dangerouslySetInnerHTML:{__html:t.description}})}(t))};function rr(t){return React.createElement("div",{className:U()("controls",t.className),"data-role":"player_controls",onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave,onFocus:t.onFocus,onBlur:t.onBlur},t.children)}function or(t){return B.a.createElement("svg",{className:t.className,version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:t.width,height:t.height,viewBox:"".concat(t.viewBoxLeft," ").concat(t.viewBoxTop," ").concat(t.viewBoxWidth," ").concat(t.viewBoxHeight)},t.children)}or.defaultProps={width:20,height:20,viewBoxLeft:0,viewBoxTop:0};var ir=or,ar={Checkmark:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:512,viewBoxHeight:512}),React.createElement("polygon",{points:"434.442,58.997 195.559,297.881 77.554,179.88 0,257.438 195.559,453.003 512,136.551 "}))},CircleWithNotch:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:1e3,viewBoxHeight:1e3}),React.createElement("path",{d:"M990,497.6c0,66.4-13,129.8-38.8,190.3c-25.9,60.5-60.7,112.7-104.4,156.4C803,888,750.9,922.8,690.3,948.7c-60.5,25.9-124,38.8-190.3,38.8s-129.8-12.9-190.3-38.8S197,888,153.3,844.3c-43.7-43.7-78.5-95.9-104.4-156.4C22.9,627.4,10,563.9,10,497.6c0-80.9,18.4-156.5,55.2-226.7c36.8-70.2,87.2-128,151.2-173.4s135.2-73.8,213.6-85v142.2c-80.6,16.4-147.4,56.7-200.4,120.9c-53,64.2-79.5,138.2-79.6,222c0,47.4,9.3,92.7,27.9,135.9c18.6,43.2,43.4,80.4,74.6,111.6c31.2,31.2,68.4,56.1,111.6,74.6c43.2,18.5,88.5,27.8,135.9,27.9c47.4,0,92.7-9.2,135.9-27.9C679,801,716.2,776.1,747.4,745c31.2-31.1,56-68.3,74.6-111.6c18.6-43.3,27.9-88.6,27.9-135.9c0-83.9-26.5-157.9-79.6-222C717.2,211.3,650.4,171,569.9,154.6V12.5c78.4,11.3,149.6,39.6,213.6,85c64,45.4,114.4,103.2,151.2,173.4c36.8,70.2,55.2,145.7,55.2,226.7H990z"}))},Disk:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:24,viewBoxHeight:24}),React.createElement("circle",{cx:"12",cy:"12",r:"12"}))},Gear:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:24,viewBoxHeight:24}),React.createElement("path",{d:"M21.312,14.056l-1.691-0.98c0,0-0.472-0.216-0.446-1.073c0,0-0.128-0.961,0.478-1.293l1.661-1.014 c0,0,0.546-0.245,0.313-0.818l-0.707-1.598c0,0-0.229-0.625-0.902-0.423l-1.93,0.615c0,0-0.666-0.009-1.078-0.458 c0,0-0.687-0.662-0.476-1.229l0.445-1.924c0,0,0.114-0.563-0.312-0.768l-1.995-0.757c0,0-0.43-0.026-0.562,0.305l-1.122,2.006 c0,0-0.524,0.437-1.248,0.292c0,0-0.752-0.072-0.928-0.253c0,0-1.135-1.916-1.19-2.015c0,0-0.21-0.437-0.65-0.262L7.144,3.176 c0,0-0.367,0.229-0.275,0.559l0.649,2.441c0,0-0.139,0.597-0.561,0.924c0,0-0.745,0.55-1.104,0.483L3.858,7.1 c0,0-0.578-0.207-0.805,0.294L2.306,9.232c0,0-0.143,0.38,0.251,0.616l1.96,1.123c0,0,0.624,0.286,0.441,1.38 c0,0,0.037,0.804-0.756,1.24c-0.793,0.437-1.476,0.875-1.476,0.875s-0.437,0.21-0.249,0.681c0.189,0.471,0.895,1.811,0.895,1.811 s0.131,0.336,0.762,0.091l1.723-0.466c0,0,0.5-0.151,1.031,0.319c0,0,0.741,0.504,0.687,0.919l-0.48,2.433 c0,0-0.157,0.411,0.312,0.676l1.929,0.733c0,0,0.538,0.052,0.68-0.389l0.84-1.532c0,0,0.278-0.669,1.177-0.625 c0,0,0.909-0.081,1.227,0.407l1.101,1.833c0,0,0.199,0.466,0.791,0.188l1.709-0.728c0,0,0.479-0.315,0.333-0.743l-0.533-1.853 c0,0-0.238-0.5,0.259-1.055c0,0,0.533-0.876,1.27-0.701l2.043,0.487c0,0,0.424,0.187,0.793-0.413l0.659-1.639 C21.685,14.901,21.886,14.313,21.312,14.056z M8.542,13.474c-0.824-1.931,0.073-4.166,2.004-4.989 c1.931-0.826,4.165,0.073,4.988,2.004c0.825,1.931-0.073,4.164-2.005,4.989C11.599,16.303,9.365,15.404,8.542,13.474z"}))},Info:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxLeft:5,viewBoxTop:5,viewBoxWidth:145,viewBoxHeight:145}),React.createElement("path",{d:"m80 15c-35.88 0-65 29.12-65 65s29.12 65 65 65 65-29.12 65-65-29.12-65-65-65zm0 10c30.36 0 55 24.64 55 55s-24.64 55-55 55-55-24.64-55-55 24.64-55 55-55z"}),React.createElement("path",{d:"m57.373 18.231a9.3834 9.1153 0 1 1 -18.767 0 9.3834 9.1153 0 1 1 18.767 0z",transform:"matrix(1.1989 0 0 1.2342 21.214 28.75)"}),React.createElement("path",{d:"m90.665 110.96c-0.069 2.73 1.211 3.5 4.327 3.82l5.008 0.1v5.12h-39.073v-5.12l5.503-0.1c3.291-0.1 4.082-1.38 4.327-3.82v-30.813c0.035-4.879-6.296-4.113-10.757-3.968v-5.074l30.665-1.105"}))},Pause:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:512,viewBoxHeight:512}),React.createElement("path",{d:"M162.642 148.337h86.034v215.317h-86.034v-215.316z"}),React.createElement("path",{d:"M293.356 148.337h86.002v215.317h-86.002v-215.316z"}))},Play:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:512,viewBoxHeight:512}),React.createElement("path",{d:"M152.443 136.417l207.114 119.573-207.114 119.593z"}))},Subtitles:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:1200,viewBoxHeight:1200}),React.createElement("path",{transform:"translate(100,100)",d:"M893.4,599V500H401.1V599H893.4z M893.4,794.5v-98.9H695.5v98.9H893.4z M598.9,794.5v-98.9H106.6v98.9H598.9z M106.6,500V599h197.8V500H106.6z M893.4,106.7c26.1,0,48.7,10,67.9,29.9s28.8,42.9,28.8,69v588.9c0,26.1-9.6,49.1-28.8,69c-19.2,19.9-41.8,29.9-67.9,29.9H106.6c-26.1,0-48.7-10-67.9-29.9c-19.2-19.9-28.8-42.9-28.8-69V205.5c0-26.1,9.6-49.1,28.8-69s41.8-29.9,67.9-29.9H893.4z"}))}},sr={toggleInfoBox:ar.Info,mediaQuality:ar.Gear,textTracks:ar.Subtitles,activeMenuItem:ar.Checkmark,loadingSpinner:ar.CircleWithNotch,play:ar.Play,pause:ar.Pause};function ur(t){var e=sr[t.name];if(!e)throw new Error('No icon registered for "'.concat(t.name,'".'));return B.a.createElement(e,t)}var cr=function(t){return React.createElement("div",{className:"vjs-loading-spinner"},React.createElement(ur,{name:"loadingSpinner"}))},lr=function(t){return jn(tt({id:Z(rn(),(function(t){return t?"firstContent":void 0}))}))(t)};var fr=lr((function(t){return React.createElement("a",{className:pr(t),href:"#",tabIndex:"4",id:t.id,title:t.title,onClick:dr(t)},function(t){return t.iconName?React.createElement(ur,{name:t.iconName}):React.createElement("span",null)}(t))}));function pr(t){return U()("vjs-play-control",{"vjs-playing":t.isPlaying},{"player_controls-play_button-custom_icon":!!t.iconName})}function dr(t){return function(e){t.onClick&&t.onClick(e),e.preventDefault()}}function hr(t){return React.createElement("div",{className:U()(t.className)},function(t){if(isNaN(t))return vr;var e=Math.floor(t)%60,n=Math.floor(t/60)%60,r=Math.floor(t/60/60);return r>0?"".concat(r,":").concat(gr(n),":").concat(gr(e)):"".concat(n,":").concat(gr(e))}(t.value))}var vr="-:--";function gr(t){return t<10?"0"+t:t}hr.defaultProps={value:0};var yr=function(t){return React.createElement(hr,{className:"vjs-current-time",value:t.currentTime})},mr=function(t){return React.createElement("div",{className:"vjs-time-divider"},"/")},br=function(t){return React.createElement(hr,{className:"vjs-duration",value:t.duration})},wr=n(95),Er=n.n(wr),Or=n(32),xr=n.n(Or),Pr=37,kr=39,_r=function(t){function e(t,n){var r;return T(this,e),(r=M(this,R(e).call(this,t,n))).state={handleWidth:null,progressHolderWidth:null},r.measureProgressHolder=function(t){var e=t.width;r.setState({progressHolderWidth:e})},r.measureHandle=function(t){var e=t.width;r.setState({handleWidth:e})},r.handleStop=function(t,e){r.props.onSeek&&r.props.onSeek(r.positionToTime(e.x))},r.handleDrag=function(t,e){r.props.onScrub&&r.props.onScrub(r.positionToTime(e.x))},r.handleKeyDown=function(t){var e;t.keyCode==Pr?e=Math.max(0,r.props.currentTime-1):t.keyCode==kr&&(e=Math.min(r.props.currentTime+1,r.props.duration||1/0)),r.prop.onSeek&&r.props.onSeek(e)},r}return N(e,t),A(e,[{key:"positionToTime",value:function(t){return this.props.duration&&this.state.progressHolderWidth?Math.max(0,Math.min(1,t/this.state.progressHolderWidth))*this.props.duration:0}},{key:"render",value:function(){return B.a.createElement("div",{className:"vjs-progress-control",tabIndex:"4",onKeyDown:this.handleKeyDown},B.a.createElement(xr.a,{whitelist:["width"],onMeasure:this.measureProgressHolder},B.a.createElement(wr.DraggableCore,{onStart:this.handleDrag,onDrag:this.handleDrag,onStop:this.handleStop},B.a.createElement("div",{className:"vjs-progress-holder"},B.a.createElement("div",{className:"vjs-load-progress",style:{width:Sr(this.loadProgress())}}),B.a.createElement("div",{className:"vjs-play-progress",style:{width:Sr(this.playProgress())}}),B.a.createElement(xr.a,{whitelist:["width"],onMeasure:this.measureHandle},B.a.createElement("div",{className:"vjs-seek-handle",style:{left:this.handlePosition()}}))))))}},{key:"handlePosition",value:function(){return this.state.handleWidth&&this.state.progressHolderWidth?(this.state.progressHolderWidth-this.state.handleWidth)*this.playProgress():Sr(this.playProgress())}},{key:"loadProgress",value:function(){return this.props.duration>0?this.props.bufferedEnd/this.props.duration:0}},{key:"playProgress",value:function(){return this.props.duration>0?this.props.currentTime/this.props.duration:0}}]),e}(B.a.Component);function Sr(t){return t>0?100*t+"%":0}_r.defaultProps={currentTime:0,bufferedEnd:0};var Tr=function(t){function e(t,n){var r;return T(this,e),(r=M(this,R(e).call(this,t,n))).state={subMenuVisible:!1},r.onLinkClick=function(t){t.preventDefault(),r.props.subMenuItems.length>0&&r.setState({subMenuVisible:!0}),r.props.onClick&&r.props.onClick()},r.onMouseEnter=function(){r.props.subMenuItems.length>0&&r.setState({subMenuVisible:!0}),r.props.onMouseEnter&&r.props.onMouseEnter()},r.onMouseLeave=function(){r.closeMenu(),r.props.onMouseEnter&&r.props.onMouseLeave()},r.onFocus=function(){clearTimeout(r.closeMenuTimeout)},r.onBlur=function(){clearTimeout(r.closeMenuTimeout),r.closeMenuTimeout=setTimeout((function(){r.closeMenu()}),100)},r.closeMenu=function(){r.setState({subMenuVisible:!1})},r}return N(e,React.Component),A(e,[{key:"render",value:function(){var t=this,e=this.props;return React.createElement("div",{className:jr(e,this.state.subMenuVisible),ref:function(e){return t.wrapper=e},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onFocus:this.onFocus,onBlur:this.onBlur},React.createElement("a",{className:Ir(e,"link"),href:"#",tabIndex:"4",title:e.title,onClick:this.onLinkClick},React.createElement(ur,{className:Ir(e,"icon"),name:e.iconName})),function(t,e){if(t.subMenuItems.length>0)return React.createElement("ul",{className:"player_controls-menu_bar_button_sub_menu"},function(t,e){return t.subMenuItems.map((function(n){return React.createElement("li",{className:Ar(n),key:n.value},React.createElement("a",{className:"player_controls-menu_bar_button_sub_menu_item_link",href:"#",tabIndex:"4",onClick:Cr(t,n.value,e)},function(t){if(t.active)return React.createElement(ur,{className:"player_controls-menu_bar_button_sub_menu_item_icon",name:"activeMenuItem"})}(n),n.label,function(t,e){if(e.annotation)return React.createElement("span",{className:Ir(t,"sub_menu_item_annotation")},e.annotation)}(t,n)))}))}(t,e))}(e,this.closeMenu))}}]),e}();function jr(t,e){return U()({"player_controls-menu_bar_button-sub_menu_visible":e},Ir(t))}function Ar(t){return U()("player_controls-menu_bar_button_sub_menu_item",{"player_controls-menu_bar_button_sub_menu_item-active":t.active})}function Cr(t,e,n){return function(r){r.preventDefault(),n(),t.onSubMenuItemClick&&t.onSubMenuItemClick(e)}}function Ir(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return U()(["player_controls-menu_bar_button"].concat(n).join("_"),[t.className].concat(n).join("_"))}function Mr(t){return t.items.length<2?React.createElement("noscript",null):React.createElement(Tr,{className:"player_controls-quality_menu_button",title:t.buttonTitle,iconName:"mediaQuality",subMenuItems:t.items,onSubMenuItemClick:t.onItemClick})}function Rr(t){return t.items.length<2?React.createElement("noscript",null):React.createElement(Tr,{className:"player_controls-text_tracks_menu_button",title:t.buttonTitle,iconName:"textTracks",subMenuItems:t.items,onSubMenuItemClick:t.onItemClick})}function Dr(t){return React.createElement("div",{className:Nr(t)},function(t){return t.additionalButtons.map((function(e){return React.createElement(Tr,{title:e.label,iconName:e.iconName,className:e.className,key:e.name,onClick:Lr(t.onAdditionalButtonClick,e.name),onMouseEnter:Lr(t.onAdditionalButtonMouseEnter,e.name),onMouseLeave:Lr(t.onAdditionalButtonMouseLeave,e.name)})}))}(t),React.createElement(Rr,{buttonTitle:t.textTracksMenuButtonTitle,items:t.textTracksMenuItems,onItemClick:t.onTextTracksMenuItemClick}),React.createElement(Mr,{buttonTitle:t.qualityMenuButtonTitle,items:t.qualityMenuItems,onItemClick:t.onQualityMenuItemClick}))}function Nr(t){return U()(t.className,"player_controls-menu_bar",{"player_controls-menu_bar-hidden_on_phone":t.hiddenOnPhone,"player_controls-menu_bar-stand_alone":t.standAlone,"player_controls-menu_bar-inverted":t.inverted})}function Lr(t,e){if(t)return function(){return t(e)}}function Br(t){return function(e){function n(t){var e;return T(this,n),(e=M(this,R(n).call(this,t))).checkVisibility=function(){var t=window.getComputedStyle(e.element);e.lastVisibility!=t.visibility&&("visible"==t.visibility&&"none"!=t.display?e.props.onVisible&&e.props.onVisible():e.props.onHidden&&e.props.onHidden()),e.lastVisibility=t.visibility},e}return N(n,e),A(n,[{key:"componentDidMount",value:function(){this.element=wn.a.findDOMNode(this),this.updateInterval()}},{key:"componentDidUpdate",value:function(){this.updateInterval()}},{key:"componentWillUnmount",value:function(){clearInterval(this.interval),this.interval=null,this.element=null}},{key:"updateInterval",value:function(){this.props.watchVisibility&&!this.interval?this.interval=setInterval(this.checkVisibility,50):!this.props.watchVisibility&&this.interval&&(clearInterval(this.interval),this.interval=null)}},{key:"render",value:function(){return B.a.createElement(t,this.props)}}]),n}(B.a.Component)}function Fr(t){return U()("vjs-control-bar",{with_quality_menu_present:t.qualityMenuItems&&t.qualityMenuItems.length>=2,with_text_tracks_menu_present:t.textTracksMenuItems&&t.textTracksMenuItems.length>=2})}Tr.defaultProps={subMenuItems:[]},Mr.defaultProps={items:[]},Rr.defaultProps={items:[]},Dr.defaultProps={additionalButtons:[],standAlone:!0};var Ur=Br((function(t){return B.a.createElement(rr,t,B.a.createElement("span",{className:"hint"},t.hint),B.a.createElement(nr,Object.assign({},t.infoBox,{hiddenDuringPlayback:t.infoBoxHiddenDuringPlayback})),B.a.createElement("div",{className:Fr(t)},function(t){if(t.isLoading)return B.a.createElement(cr,t)}(t),B.a.createElement("div",{className:"play_button"},B.a.createElement(fr,{title:t.playButtonTitle,iconName:t.playButtonIconName,isPlaying:t.isPlaying,onClick:t.onPlayButtonClick})),function(t){if(t.hasProgress)return B.a.createElement("div",{className:"player_controls-progress"},B.a.createElement(yr,t),B.a.createElement(mr,null),B.a.createElement(br,t),B.a.createElement(_r,t))}(t),B.a.createElement("div",{className:"control_bar_text"},t.controlBarText)),B.a.createElement(Dr,{standAlone:!1,additionalButtons:t.additionalMenuBarButtons,onAdditionalButtonClick:t.onAdditionalButtonClick,onAdditionalButtonMouseEnter:t.onAdditionalButtonMouseEnter,onAdditionalButtonMouseLeave:t.onAdditionalButtonMouseLeave,qualityMenuButtonTitle:t.qualityMenuButtonTitle,qualityMenuItems:t.qualityMenuItems,onQualityMenuItemClick:t.onQualityMenuItemClick,textTracksMenuButtonTitle:t.textTracksMenuButtonTitle,textTracksMenuItems:t.textTracksMenuItems,onTextTracksMenuItemClick:t.onTextTracksMenuItemClick}))}));function Wr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var Hr=Z(qr,(function(t){return function(e,n){return I18n.t(e,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Wr(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Wr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({locale:t},n))}}));function qr(t){return t.i18n.locale}var Vr=Ce(tt({t:Hr}))((function(t){return React.createElement("div",{className:"close_button text_hidden_only",tabIndex:"4",title:t.t("pageflow.public.close"),onClick:t.onClick},React.createElement("div",{className:"label"},t.t("pageflow.public.close")))})),Gr=function(t){return PAGEFLOW_EDITOR?t:function(){return!1}},zr=_t("chapters");var Yr=zr,Xr=_t("storylines");function $r(){return function(t,e){var n=Kr()(t,e);return n?Yr({id:n.chapterId})(t,e):null}}function Kr(){return function(t,e){return en({id:function(t,e){return Z(Xr(e),(function(e){return e&&e[t]}))}("parentPagePermaId",{id:function(t,e){return Z(zr(e),(function(e){return e&&e[t]}))}("storylineId",{id:tn("chapterId",{id:t.currentPageId})(t,e)})(t,e)})(t,e)})(t,e)}}function Qr(t){var e=t.property;return function(t){return t.settings[e]}}var Jr=_t("widgets");function Zr(t,e){var n=e.role;return Z(Jr({id:n}),(function(e){return e&&e[t]}))}function to(t){var e=t.role;return Z(Jr({id:e}),(function(t){return t}))}function eo(t){var e=t.role;return Z(Jr({id:e}),(function(t){return!(!t||!t.editing)}))}var no=function(t){return U()({is_playing:t.shouldPlay,is_playing_delayed:t.hasBeenPlayingJustNow,is_paused:!t.shouldPlay})},ro="MEDIA_TOGGLE_PLAYING",oo="MEDIA_PLAY",io="MEDIA_PLAY_AND_FADE_IN",ao="MEDIA_PAUSE",so="MEDIA_FADE_OUT_AND_PAUSE",uo="CHANGE_VOLUME_FACTOR",co="MEDIA_PLAY_FAILED",lo="MEDIA_PLAYING_MUTED",fo="MEDIA_SCRUB_TO",po="MEDIA_SEEK_TO",ho="MEDIA_PREBUFFER",vo="MEDIA_PREBUFFERED",go="MEDIA_ABORT_PREBUFFERING",yo="MEDIA_BUFFER_UNDERRUN",mo="MEDIA_BUFFER_UNDERRUN_CONTINUE",bo="MEDIA_META_DATA_LOADED",wo="MEDIA_PROGRESS",Eo="MEDIA_PLAYING",Oo="MEDIA_PAUSED",xo="MEDIA_TIME_UPDATE",Po="MEDIA_ENDED",ko="MEDIA_SEEKING",_o="MEDIA_SEEKED",So="MEDIA_WAITING",To="MEDIA_HAS_NOT_BEEN_PLAYING_FOR_A_MOMENT",jo="MEDIA_USER_INTERACTION",Ao="MEDIA_USER_IDLE",Co="MEDIA_CONTROLS_ENTERED",Io="MEDIA_CONTROLS_LEFT",Mo="MEDIA_FOCUS_ENTERED_CONTROLS",Ro="MEDIA_FOCUS_LEFT_CONTROLS",Do="MEDIA_CONTROLS_HIDDEN",No="SHOW_INFO_BOX_DURING_PLAYBACK",Lo="HIDE_INFO_BOX_DURING_PLAYBACK",Bo="TOGGLE_INFO_BOX_DURING_PLAYBACK",Fo="MEDIA_SAVE_MEDIA_ELEMENT_ID",Uo="MEDIA_DISCARD_MEDIA_ELEMENT_ID";function Wo(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope,e=void 0===t?"default":t;return{togglePlaying:function(){return n(ro)},play:function(){return n(oo)},playAndFadeIn:function(t){var e=t.fadeDuration;return n(io,{fadeDuration:e})},pause:function(){return n(ao)},fadeOutAndPause:function(t){var e=t.fadeDuration;return n(so,{fadeDuration:e})},changeVolumeFactor:function(t,e){var r=e.fadeDuration;return n(uo,{volumeFactor:t,fadeDuration:r})},playFailed:function(){return n(co)},playingMuted:function(){return n(lo)},scrubTo:function(t){return n(fo,{time:t})},seekTo:function(t){return n(po,{time:t})},prebuffer:function(){return n(ho)},prebuffered:function(){return n(vo)},abortPrebuffering:function(){return n(go)},bufferUnderrun:function(){return n(yo)},bufferUnderrunContinue:function(){return n(mo)},playing:function(){return n(Eo)},paused:function(){return n(Oo)},timeUpdate:function(t){var e=t.currentTime,r=t.duration;return n(xo,{currentTime:e,duration:r})},metaDataLoaded:function(t){var e=t.currentTime,r=t.duration;return n(bo,{currentTime:e,duration:r})},progress:function(t){var e=t.bufferedEnd;return n(wo,{bufferedEnd:e})},ended:function(){return n(Po)},seeking:function(){return n(ko)},seeked:function(){return n(_o)},waiting:function(){return n(So)},hasNotBeenPlayingForAMoment:function(t){return n(To)},userInteraction:function(){return n(jo)},userIdle:function(){return n(Ao)},controlsEntered:function(){return n(Co)},controlsLeft:function(){return n(Io)},focusEnteredControls:function(){return n(Mo)},focusLeftControls:function(){return n(Ro)},controlsHidden:function(){return n(Do)},showInfoBoxDuringPlayback:function(){return n(No)},hideInfoBoxDuringPlayback:function(){return n(Lo)},toggleInfoBoxDuringPlayback:function(){return n(Bo)},saveMediaElementId:function(t){return n(Fo,{id:t})},discardMediaElementId:function(){return n(Uo)}};function n(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:t,meta:{collectionName:"pages",mediaScope:e},payload:n}}}function Ho(t){return S({property:"textTrack",value:t?{srclang:t.srclang,kind:t.kind}:{}})}function qo(t){return t.backgroundMedia.muted}function Vo(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Go(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope;return nn("media.".concat(void 0===t?"default":t))}function zo(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope,e=void 0===t?"default":t;return function(t){return Object(at.b)(Wo({scope:e}),t)}}function Yo(t){var e=t.file,n=t.defaultTextTrackFileId,r=void 0===n?function(){}:n;return Z(Qr({property:"textTrack"}),Qr({property:"volume"}),Hr,qr,function(t,e){var n=e.parent;return Z(Ot(t,{namespace:"files"}),n,(function(t){return t.fileUrlTemplates}),(function(t){return t.modelTypes}),(function(e,n,r,o){return n?Object.keys(e).reduce((function(i,a){var s=e[a];return s.id&&s.parentFileId==n.id&&s.parentFileModelType==n.modelType&&i.push($e(t,s,r,o)),i}),[]):[]}))}("textTrackFiles",{parent:e}),r,(function(t,e,n,r,o,i){t=t||{};var s=o.map((function(t){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Vo(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Vo(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({displayLabel:Xo(t,n)},t)})),u=function(t,e,n,r){if(e){var o=t.find((function(t){return t.permaId==e}));if(o)return o}var i=t.find((function(t){return"subtitles"==t.kind&&t.srclang==n})),a=0==r&&t.find((function(t){return"captions"==t.kind}));return i||a}(s,i,r,e);return{files:s.sort((function(t,e){return(t.displayLabel||"").localeCompare(e.displayLabel||"")})),autoFile:u,activeFileId:$o(s,u,t),mode:"off"==t.kind?"off":t.kind?"user":"auto"}}))}function Xo(t,e){return t.label||e("pageflow.public.languages."+t.srclang||!1,{defaultValue:e("pageflow.public.languages.unknown")})}function $o(t,e,n){if("off"==n.kind)return null;var r=t.find((function(t){return t.srclang==n.srclang&&t.kind==n.kind}));return r?r.id:e&&e.id}function Ko(t){return Z(t.autoplayWhenBackgroundMediaMuted,Qo({id:t.id}),qo,(function(t,e,n){return e&&(!n||t)}))}function Qo(t){return Z(tn("autoplay",t),(function(t){return!1!==t}))}function Jo(t){var e=t.playerActions,n=t.playerState,r=t.playerControlsComponent;return B.a.createElement(r,Object.assign({hasProgress:!0,controlBarText:t.controlBarText,isLoading:n.isLoading||n.bufferUnderrun,isPlaying:n.shouldPlay,currentTime:void 0!==n.scrubbingAt?n.scrubbingAt:n.currentTime,bufferedEnd:n.bufferedEnd,duration:n.duration,mediaElementId:n.mediaElementId,onPlayButtonClick:e.togglePlaying,onScrub:e.scrubTo,onSeek:e.seekTo,onMouseEnter:e.controlsEntered,onMouseLeave:e.controlsLeft,onFocus:e.focusEnteredControls,onBlur:e.focusLeftControls,watchVisibility:n.isPlaying,onHidden:e.controlsHidden,additionalMenuBarButtons:ei(t),infoBoxHiddenDuringPlayback:ni(t),onAdditionalButtonMouseEnter:e.showInfoBoxDuringPlayback,onAdditionalButtonMouseLeave:e.hideInfoBoxDuringPlayback,onAdditionalButtonClick:e.toggleInfoBoxDuringPlayback,qualityMenuItems:oi(t.qualities,t.file,t.activeQuality,t.t),qualityMenuButtonTitle:t.t("pageflow.public.media_quality"),onQualityMenuItemClick:t.updateVideoQualitySetting,textTracksMenuItems:ri(t.textTracks,t.t),textTracksMenuButtonTitle:t.t("pageflow.public.text_tracks"),onTextTracksMenuItemClick:function(e){"off"==e?t.updateTextTrackSettings({kind:"off"}):t.updateTextTrackSettings(t.textTracks.files.find((function(t){return t.id==e})))}},t,{className:ti(n)}))}Jo.defaultProps={playerControlsComponent:Ur,qualities:[],textTracks:{files:[]}};var Zo=Ce(tt({activeQuality:Qr({property:"videoQuality"}),t:Hr}),{updateTextTrackSettings:Ho,updateVideoQualitySetting:function(t){return S({property:"videoQuality",value:t})}})(Jo);function ti(t){return U()(no(t))}function ei(t){var e=t.t;return er(t.infoBox)?[]:[{name:"toggleInfoBox",className:"player_controls-toggle_info_box_menu_button",label:e("pageflow.public.toggle_info_box"),iconName:"toggleInfoBox"}]}function ni(t){var e=t.playerState;return void 0===e.infoBoxHiddenDuringPlayback?!!t.textTracks.activeFileId:e.infoBoxHiddenDuringPlayback}function ri(t,e){if(!t.files.length)return[];var n={value:"off",label:e("pageflow.public.text_track_modes.none"),active:"off"==t.mode};return[{value:"auto",label:t.autoFile?e("pageflow.public.text_track_modes.auto",{label:t.autoFile.displayLabel}):e("pageflow.public.text_track_modes.auto_off"),active:"auto"==t.mode},n].concat(t.files.map((function(e){return{value:e.id,label:e.displayLabel,active:"user"==t.mode&&e.id==t.activeFileId}})))}function oi(t,e,n,r){return n=n||"auto",function(t,e){if(!e)return[];return t.filter((function(t){return!!e.urls[t]||"auto"==t}))}(t,e).map((function(t){return{value:t,label:r("pageflow.public.video_qualities.labels.".concat(t)),annotation:r("pageflow.public.video_qualities.annotations.".concat(t),{defaultValue:""}),active:t==n}}))}function ii(t){return function(e){return e.entry[t]}}function ai(t){var e=t.entrySlug,n=t.file,r="videoFiles"==n.collectionName?"videos":"audio";return"/".concat(e,"/").concat(r,"/").concat(n.id)}var si=Ce(tt({t:Hr,entrySlug:ii("slug")}))((function(t){return t.file?React.createElement("p",{className:"non_js_video"},React.createElement("a",{href:ai(t),target:"_blank"},(n=(e=t).file,r=e.t,o="videoFiles"==n.collectionName?"video":"audio",r("pageflow.public.open_".concat(o))))):React.createElement("noscript",null);var e,n,r,o})),ui=Z(nn("media.pageScrollerMargin"),(function(t){return t&&t.bottom}));function ci(t){var e=t.page,n=t.playerState,r={title:e.additionalTitle,description:e.additionalDescription};return React.createElement(W,{className:pi(t.className,fi(t),t.textTracks,n)},React.createElement(H,{pageHasPlayerControls:!0},t.children,React.createElement(In,{page:e,className:no(n)})),React.createElement(Mn,{onInteraction:function(){return n.userIsIdle&&t.playerActions.userInteraction()},classNames:no(n)},React.createElement(Zo,{file:t.file,textTracks:t.textTracks,playerState:n,playerActions:t.playerActions,qualities:t.qualities,controlBarText:t.controlBarText,infoBox:r,playerControlsComponent:t.playerControlsComponent}),React.createElement(Bn,{className:no(n),marginBottom:t.dynamicPageScrollerMargin&&t.pageScrollerMarginBottom},React.createElement(Un,{page:e}),React.createElement(Xi,{page:e}),React.createElement(Wn,{page:e,marginBottom:t.dynamicPageScrollerMargin?"none":"for_player_controls"},React.createElement(si,{file:t.file})))))}ci.defaultProps={playerControlsCanOverlapPageText:!0};var li=jn(tt({pageScrollerMarginBottom:ui,textTracks:Yo({file:Vn("file"),defaultTextTrackFileId:Vn("page.defaultTextTrackFileId")}),hasAutoplaySupport:Gn("autoplay support"),shouldAutoplay:Ko({id:Vn("page.permaId"),autoplayWhenBackgroundMediaMuted:Vn("autoplayWhenBackgroundMediaMuted")})}))(ci);function fi(t){return t.shouldAutoplay&&t.hasAutoplaySupport&&!t.playerState.playFailed}function pi(t,e,n,r){return U()(t,{has_text_tracks:!!n.activeFileId,is_idle:r.isPlaying&&r.userIsIdle,is_control_bar_focused:r.focusInsideControls,is_control_bar_hovered:r.userHoveringControls,is_control_bar_hidden:r.controlsHidden,unplayed:r.unplayed&&!e,should_play:r.shouldPlay,has_played:r.hasPlayed})}var di=jn(tt({pageIsPrepared:an(),pageIsPreloaded:on(),atmoDuringPlayback:tn("atmoDuringPlayback"),defaultTextTrackFileId:tn("defaultTextTrackFileId")}))((function(t){if(t.file&&t.file.isReady){var e=t.structuredDataComponent||function(){return null};return React.createElement("div",{style:{height:"100%"}},function(t){if(t.pageIsPrepared){var e=t.playerComponent;return React.createElement(e,{file:t.file,posterImageFile:t.posterImageFile,playerState:t.playerState,playerActions:t.playerActions,atmoDuringPlayback:t.atmoDuringPlayback,fit:t.fit,position:t.position,loop:t.loop,muted:t.muted,playsInline:t.playsInline,defaultTextTrackFileId:t.defaultTextTrackFileId,textTracksEnabled:t.textTracksEnabled,textTrackPosition:t.textTrackPosition})}if(t.preloadComponent&&t.pageIsPreloaded){var n=t.preloadComponent;return React.createElement(n,{file:t.file,posterImageFile:t.posterImageFile})}return React.createElement("noscript",null)}(t),React.createElement(e,{file:t.file}))}return React.createElement("noscript",null)})),hi=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){var t=this;return B.a.createElement("div",{ref:function(e){return t.containerElement=e},dangerouslySetInnerHTML:this.mediaTagHTML()})}},{key:"shouldComponentUpdate",value:function(t){return t.tagName!==this.props.tagName||t.poster!==this.props.poster||t.loop!==this.props.loop||t.muted!==this.props.muted||t.playsInline!==this.props.playsInline||!vi(t.sources,this.props.sources)||!vi(t.tracks,this.props.tracks)}},{key:"componentDidMount",value:function(){this.triggerOnSetup()}},{key:"componentWillUpdate",value:function(){this.triggerOnDispose()}},{key:"componentDidUpdate",value:function(){this.triggerOnSetup()}},{key:"componentWillUnmount",value:function(){this.triggerOnDispose()}},{key:"triggerOnSetup",value:function(){this.props.onSetup&&this.props.onSetup(this.containerElement.firstElementChild)}},{key:"triggerOnDispose",value:function(){this.props.onDispose&&this.props.onDispose()}},{key:"mediaTagHTML",value:function(){var t=document.createElement("div"),e=document.createElement(this.props.tagName);return e.setAttribute("preload","none"),e.setAttribute("crossorigin","anonymous"),e.setAttribute("alt",this.props.alt),this.props.poster&&e.setAttribute("data-poster",this.props.poster),this.props.loop&&e.setAttribute("loop","true"),this.props.muted&&e.setAttribute("muted","true"),this.props.playsInline&&e.setAttribute("playsinline","true"),this.props.sources.forEach((function(t){var n=document.createElement("source");n.setAttribute("src",t.src),n.setAttribute("type",t.type),e.appendChild(n)})),this.props.tracks.forEach((function(t){var n=document.createElement("track");n.setAttribute("src",t.src),n.setAttribute("id",t.id),n.setAttribute("kind",t.kind),n.setAttribute("srclang",t.srclang),n.setAttribute("label",t.label),e.appendChild(n)})),t.appendChild(e),{__html:t.innerHTML.replace('preload="none"','preload="auto"')}}}]),e}(B.a.Component);function vi(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++){var r=t[n],o=e[n];if(Object.keys(r).length!==Object.keys(o).length)return!1;for(var i in r)if(r[i]!==o[i])return!1}return!0}function gi(t,e){e.emulateTextTracksDisplay;var n=e.atmoSettings,r=e.mediaContext,o=e.playsInline,i="audio"==t.tagName.toLowerCase(),a=new pageflow.VideoPlayer(t,{controlBar:!1,loadingSpinner:!1,bigPlayButton:!1,errorDisplay:!1,textTrackSettings:!1,poster:t.getAttribute("data-poster"),html5:{nativeCaptions:!i&&pageflow.browser.has("iphone platform")},bufferUnderrunWaiting:!0,useSlimPlayerControlsDuringPhonePlayback:!o&&!i,fullscreenDuringPhonePlayback:!o&&!i,fallbackToMutedAutoplay:!i,volumeFading:!0,hooks:pageflow.atmo.createMediaPlayerHooks(n),mediaEvents:!0,context:r});return a.textTrackSettings={getValues:function(){return{}}},a.addClass("video-js"),a.addClass("player"),a}hi.defaultProps={tagName:"video",sources:[],tracks:[]};var yi=function(t,e){t.on("loadedmetadata",(function(){return e.metaDataLoaded({currentTime:t.currentTime(),duration:t.duration()})})),t.on("progress",(function(){return e.progress({bufferedEnd:t.bufferedEnd()})})),t.on("play",e.playing),t.on("playfailed",e.playFailed),t.on("playmuted",e.playingMuted),t.on("pause",e.paused),t.on("waiting",e.waiting),t.on("seeking",e.seeking),t.on("seeked",e.seeked),t.on("bufferunderrun",e.bufferUnderrun),t.on("bufferunderruncontinue",e.bufferUnderrunContinue),t.on("timeupdate",(function(){return e.timeUpdate({currentTime:t.currentTime(),duration:t.duration()})})),t.on("ended",e.ended)};function mi(t,e,n){t.one("timeupdate",(function(){bi(t,null,e(),n())}))}function bi(t,e,n,r){e!=n&&function(t,e){[].slice.call(t.textTracks()).forEach((function(t){t.id=="text_track_file_".concat(e)?t.mode="showing":t.mode="disabled"}))}(t,n),function(t,e){t.updateCueLineSettings(e)}(t,r)}var wi,Ei=function(t){var e=t.tagName,n=t.sources,r=t.poster,o=void 0===r?function(){}:r,i=t.emulateTextTracksDisplay,a=void 0!==i&&i,s=t.createPlayer,u=void 0===s?gi:s,c=function(t){function r(t,n){var o;return T(this,r),(o=M(this,R(r).call(this,t,n))).displaysTextTracksInNativePlayer=o.props.hasNativeVideoPlayer&&"video"==e,o.initiallyMuted=o.props.muted,o.updateAtmoSettings(),o.setupMediaTag=function(e){o.player=u(e,{emulateTextTracksDisplay:a,atmoSettings:o.atmoSettings,mediaContext:o.context.mediaContext,playsInline:t.playsInline}),o.player.ready((function(){var t,n,r,i,a,s;o.props.playerActions.saveMediaElementId(e.id),t=o.player,n=function(){return o.props.playerState},r=o.props.playerActions,i=o.prevFileId,a=o.props.file.id,s=n(),a===i&&s.currentTime>0&&t.currentTime(s.currentTime),s.shouldPrebuffer&&t.prebuffer().then(r.prebuffered),s.isPlaying&&t.play(),t.on("canplay",(function(){n().shouldPlay&&t.paused()&&t.play()})),o.displaysTextTracksInNativePlayer||function(t,e,n){t.on("pause",(function(){mi(t,e,n)})),t.textTracks().on("addtrack",(function(){bi(t,null,e(),n())})),bi(t,null,e(),n()),mi(t,e,n)}(o.player,(function(){return o.props.textTracks.activeFileId}),(function(){return o.props.textTrackPosition})),yi(o.player,o.props.playerActions),o.prevFileId=o.props.file.id}),!0)},o.disposeMediaTag=function(){o.player.dispose(),o.player=null,o.props.playerActions.discardMediaElementId()},o}return N(r,t),A(r,[{key:"componentDidUpdate",value:function(t){var e=this;this.player&&(this.player.ready((function(){var n,r,o;n=e.player,r=t.muted,o=e.props.muted,r!==o&&n.muted(o),function(t,e,n,r){e!==n&&t.changeVolumeFactor(n,r)}(e.player,t.playerState.volumeFactor,e.props.playerState.volumeFactor,e.props.playerState.volumeFactorFadeDuration),function(t,e,n,r){!e.shouldPrebuffer&&n.shouldPrebuffer&&t.prebuffer().then((function(){return setTimeout(r.prebuffered,0)})),!e.shouldPlay&&n.shouldPlay?n.fadeDuration?t.playAndFadeIn(n.fadeDuration):t.play():e.shouldPlay&&!n.shouldPlay&&n.isPlaying&&(n.fadeDuration?t.fadeOutAndPause(n.fadeDuration):t.pause()),void 0!==n.shouldSeekTo&&n.shouldSeekTo!==e.shouldSeekTo&&t.currentTime(n.shouldSeekTo)}(e.player,t.playerState,e.props.playerState,e.props.playerActions)}),!0),this.displaysTextTracksInNativePlayer||bi(this.player,t.textTracks.activeFileId,this.props.textTracks.activeFileId,this.props.textTrackPosition),this.updateAtmoSettings())}},{key:"updateAtmoSettings",value:function(){this.atmoSettings=this.atmoSettings||{},this.atmoSettings.atmo_during_playback=this.props.atmoDuringPlayback}},{key:"render",value:function(){return B.a.createElement(hi,{tagName:e,sources:n(this.props.file,this.props.quality,{hasHighBandwidth:this.props.hasHighBandwidth}),tracks:(t=this.props.textTracks.files,r=this.props.textTracksEnabled,r?t.filter((function(t){return t.isReady})).map((function(t){return{id:"text_track_file_".concat(t.id),kind:t.kind,label:t.displayLabel,srclang:t.srclang,src:t.urls.vtt}})):[]),poster:o(this.props.file,this.props.posterImageFile),loop:this.props.loop,muted:this.initiallyMuted,playsInline:this.props.playsInline,alt:this.props.file.alt,onSetup:this.setupMediaTag,onDispose:this.disposeMediaTag});var t,r}}]),r}(B.a.Component);c.contextTypes={mediaContext:B.a.PropTypes.object},c.defaultProps={textTracksEnabled:!0,textTracks:{files:[]}};var l=Ce(tt({textTracks:Yo({file:Vn("file"),defaultTextTrackFileId:Vn("defaultTextTrackFileId")}),quality:Qr({property:"videoQuality"}),hasNativeVideoPlayer:Gn("native video player"),hasHighBandwidth:Gn("high bandwidth"),textTrackPosition:xi}),{updateTextTrackSettings:Ho})(c);return l.WrappedComponent=c,l},Oi=(wi="slimPlayerControls",function(t){return t.widgetPresence[wi]});function xi(t,e){var n=e.playerState,r=e.textTrackPosition;return r||(Oi(t)?n.controlsHidden?"auto.lazy":"auto.translated":n.controlsHidden?"auto.lazy":"top")}var Pi=Ei({tagName:"audio",sources:function(t){return[{type:"audio/ogg",src:"".concat(t.urls.ogg,"?u=1")},{type:"audio/mp4",src:"".concat(t.urls.m4a,"?u=1")},{type:"audio/mp3",src:"".concat(t.urls.mp3,"?u=1")}]},emulateTextTracksDisplay:!0});function ki(t,e){return e&&e.match(/^\/\//)?"".concat(t,":").concat(e):e}function _i(t){var e=Math.round(t/1e3)%60,n=Math.floor(t/1e3/60)%60,r=Math.floor(t/1e3/60/60),o="PT";return r>0&&(o+="".concat(r,"H")),n>0&&(o+="".concat(n,"M")),(e>0||0==n&&0==r)&&(o+="".concat(e,"S")),o}var Si,Ti=Ce(tt({isEnabled:(Si="structured_data",function(t){return t.features.indexOf(Si)>=0})}))((function(t){var e=t.data;return t.isEnabled?React.createElement("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(e)}}):null}));var ji=Ce(tt({entryPublishedAt:ii("publishedAt")}))((function(t){var e=t.file,n=t.entryPublishedAt,r={"@context":"http://schema.org","@type":"AudioObject",name:e.basename,description:e.alt,url:ki("https",e.urls.mp3),duration:_i(e.durationInMs),datePublished:n,uploadDate:e.createdAt,copyrightHolder:{"@type":"Organization",name:e.rights}};return React.createElement(Ti,{data:r})}));function Ai(t){return React.createElement(di,Object.assign({},t,{playerComponent:Pi,structuredDataComponent:ji}))}var Ci=function(t,e,n,r){if(r&&r.height&&e&&"contain"!=e){var o,i,a,s=t.width/t.height;if("width"==(r.width/r.height>s?"width":"height")?(o=(i=r.height)*s,a=r.width/o):(i=(o=r.width)/s,a=r.height/i),!("smart_contain"==e&&a>1.2)){var u=o*a,c=i*a,l=void 0!==n[0]&&"cover"==e?n[0]:50,f=void 0!==n[1]&&"cover"==e?n[1]:50;return{left:(r.width-u)*l/100,top:(r.height-c)*f/100,width:u,height:c}}}};function Ii(t,e){if(t&&e){var n=Math.max(0,-t.left),r=Math.max(0,t.width-e.width+t.left),o=Math.max(0,-t.top),i=Math.max(0,t.height-e.height+t.top);return["cue_offset","cue_offset_".concat(Math.ceil(i/10)),"cue_margin_left_".concat(Math.ceil(n/10)),"cue_margin_right_".concat(Math.ceil(r/10)),"cue_margin_top_".concat(Math.ceil(o/10)),"cue_margin_bottom_".concat(Math.ceil(i/10))].join(" ")}}function Mi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ri(t){return B.a.createElement(xr.a,{whitelist:["width","height"],cloneOptions:{noCloneOnZeroDimension:!0}},(function(e){return function(t,e){var n=Ci(t.videoFile,t.fit,t.position,e);return B.a.createElement("div",{className:"uncropped_media_wrapper"},B.a.createElement("div",{className:Ii(n,e),style:Di(n)},t.children))}(t,e)}))}function Di(t){return t&&function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Mi(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Mi(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({position:"absolute"},t)}var Ni=Ei({tagName:"video",sources:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.hasHighBandwidth;if("auto"==(e=e||"auto")){var o=r?"high":"medium",i=[{type:"application/x-mpegURL",src:"".concat(t.urls["hls-playlist"],"?u=1")},{type:"video/mp4",src:"".concat(t.urls[o],"?u=1")}];return t.urls["dash-playlist"]&&(i=[{type:"application/dash+xml",src:"".concat(t.urls["dash-playlist"])}].concat(i)),i}return t.urls[e]||(e="high"),[{type:"video/mp4",src:"".concat(t.urls[e],"?u=1")}]},poster:Fi});function Li(t){return B.a.createElement(Ri,{videoFile:t.file,fit:t.fit,position:t.position},B.a.createElement(Ni,{file:t.file,posterImageFile:t.posterImageFile,playerState:t.playerState,playerActions:t.playerActions,atmoDuringPlayback:t.atmoDuringPlayback,defaultTextTrackFileId:t.defaultTextTrackFileId,textTracksEnabled:t.textTracksEnabled,loop:t.loop,muted:t.muted,playsInline:t.playsInline}))}var Bi=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.file,n=t.posterImageFile,r=t.preloadImage,o=Fi(e,n);o&&r(o)}},{key:"render",value:function(){return null}}]),e}(B.a.Component);function Fi(t,e){var n=rt("mobile platform")?"medium":"large";return e?e.urls[n]:t.urls["poster_".concat(n)]}Bi.defaultProps={preloadImage:ot};var Ui=Ce(tt({entryPublishedAt:ii("publishedAt")}))((function(t){var e=t.file,n=t.entryPublishedAt,r={"@context":"http://schema.org","@type":"VideoObject",name:e.basename,description:e.alt,url:ki("https",e.urls.high),thumbnailUrl:ki("https",e.urls.poster_medium),width:e.width,height:e.height,duration:_i(e.durationInMs),datePublished:n,uploadDate:e.createdAt,copyrightHolder:{"@type":"Organization",name:e.rights}};return React.createElement(Ti,{data:r})}));var Wi=Ce(tt({file:Ye("videoFiles",{id:Vn("videoFileId")}),posterImageFile:Ye("imageFiles",{id:Vn("posterImageFileId")}),muted:function(t,e){return e.muted||qo(t)}}))((function(t){return React.createElement(di,Object.assign({},t,{playerComponent:Li,preloadComponent:Bi,structuredDataComponent:Ui}))}));function Hi(t){var e=t.page,n=Y.concat(t.propertyNamePrefix,t.videoPropertyBaseName),r=Y.concat(t.propertyNamePrefix,t.posterImagePropertyBaseName);return React.createElement(Wi,{videoFileId:e["".concat(n,"Id")],posterImageFileId:e["".concat(r,"Id")],playerState:t.playerState,playerActions:t.playerActions,fit:t.fit,position:[e["".concat(n,"X")],e["".concat(n,"Y")]],textTracksEnabled:t.textTracksEnabled,loop:t.loop,muted:t.muted,playsInline:t.playsInline})}Hi.defaultProps={videoPropertyBaseName:"videoFile",posterImagePropertyBaseName:"posterImage",fit:"smart_contain"};var qi=Ce(tt({fileExists:Xe()}))((function(t){var e=function(t){return(e=t.propertyNamePrefix,[{propertyBaseName:Y.concat(e,"mobilePosterImage"),collection:"imageFiles"},{propertyBaseName:Y.concat(e,"posterImage"),collection:"imageFiles"},{propertyBaseName:Y.concat(e,"videoFile"),collection:"videoFiles"}]).find((function(e){return t.fileExists(e.collection,t.page["".concat(e.propertyBaseName,"Id")])}));var e}(t);return e?React.createElement(Cn,{page:t.page,propertyBaseName:e.propertyBaseName,fileCollection:e.collection}):React.createElement("noscript",null)}));var Vi=Ce(tt({fileExists:Xe(),hasMobilePlatform:Gn("mobile platform"),hasAutoplaySupport:Gn("autoplay support")}))((function(t){return t.hasMobilePlatform&&function(t){var e=Y.concat(t.propertyNamePrefix,"mobilePosterImageId");return t.fileExists("imageFiles",t.page[e])}(t)?React.createElement(qi,{page:t.page,propertyNamePrefix:t.propertyNamePrefix}):React.createElement(Hi,Object.assign({loop:!0,fit:"cover",muted:!t.hasAutoplaySupport,playsInline:!0,textTracksEnabled:!1},t))}));var Gi=Ce(tt({file:Ye("imageFiles",{id:Vn("fileId")}),entryPublishedAt:ii("publishedAt")}))((function(t){var e=t.file,n=t.entryPublishedAt;if(e){var r={"@context":"http://schema.org","@type":"ImageObject",name:e.basename,description:e.alt,url:ki("https",e.urls.large),width:e.width,height:e.height,datePublished:n,uploadDate:e.createdAt,copyrightHolder:{"@type":"Organization",name:e.rights}};return React.createElement(Ti,{data:r})}return null}));var zi=jn(tt({page:en(),playerState:Go({scope:"background"})}),X({playerActions:zo({scope:"background"})}))((function(t){var e=t.page,n=t.playerState,r=t.playerActions,o=t.propertyNamePrefix;return"video"==e[Y.concat(o,"backgroundType")]?React.createElement(Vi,{page:e,playerState:n,playerActions:r,propertyNamePrefix:o}):React.createElement(Cn,{page:e,propertyNamePrefix:o,structuredDataComponent:Gi})}));function Yi(t){return React.createElement(H,null,React.createElement(zi,{propertyNamePrefix:t.propertyNamePrefix}),React.createElement(In,{page:t.page}))}var Xi=Ce(tt({isEntryReady:function(t){return!!t.entry.isReady}}))((function(t){var e=t.page;return t.isEntryReady?"video"==e.backgroundType||"video"==e.type?React.createElement($i,{videoId:e.videoFileId,posterImageId:e.posterImageId}):React.createElement(Ki,{imageId:e.backgroundImageId}):null})),$i=Ce(tt({videoFile:Ye("videoFiles",{id:Vn("videoId")}),posterImageFile:Ye("imageFiles",{id:Vn("posterImageId")})}))((function(t){var e=t.videoFile,n=t.posterImageFile;return n?React.createElement(Qi,{file:n}):React.createElement(Qi,{file:e})})),Ki=jn(tt({file:Ye("imageFiles",{id:Vn("imageId")}),pageIsPrepared:an()}))(Qi);function Qi(t){var e=t.file;return e&&e.isReady&&an?React.createElement("img",{src:e.urls.print,alt:e.alt,className:"print_image"}):React.createElement("noscript",null)}function Ji(t){return React.createElement("div",{className:"waveform_player_controls-info_box"},function(t){if(!G(t.title))return React.createElement("h3",{className:Zi(t)},t.title)}(t),function(t){if(!G(t.description))return React.createElement("p",{className:"waveform_player_controls-info_box-description",dangerouslySetInnerHTML:{__html:t.description}})}(t))}function Zi(t){var e=!G(t.title)&&!G(t.description);return U()("waveform_player_controls-info_box-title",{"waveform_player_controls-info_box-title-with_separator":e})}var ta="MEDIA_PAGE_SCROLLER_MARGIN_SET_BOTTOM";var ea=jn(null,{setPageScrollerMarginBottom:function(t){return{type:ta,payload:{value:t},meta:{collectionName:"pages"}}}})((function(t){return React.createElement(xr.a,{whitelist:["height"],onMeasure:function(e){var n=e.height;return t.setPageScrollerMarginBottom(n)}},React.createElement("div",{className:"waveform_player_controls-container"},t.children))}));var na=lr((function(t){return React.createElement("a",{href:"#",className:ra(t),id:t.id,tabIndex:"4",title:t.title,onClick:oa(t)},React.createElement(ur,{name:t.isPlaying?"pause":"play"}))}));function ra(t){return U()("waveform_player_controls-play_button",{"waveform_player_controls-play_button-inverted":t.inverted})}function oa(t){return function(e){e.preventDefault(),t.onClick&&t.onClick()}}var ia=n(173),aa=n.n(ia),sa="rgba(170, 170, 170, 1)",ua="rgba(0, 0, 0, 0.5)",ca="#fff",la="#888";var fa=jn(tt({pageIsPrepared:an(),waveformColor:tn("waveformColor"),mainColor:function(t){return t.theme.mainColor}}))((function(t){return t.pageIsPrepared&&t.mediaElementId?React.createElement(xr.a,{whitelist:["height"]},(function(e){var n=e.height;return React.createElement("div",{className:"waveform_player_controls-wave"},React.createElement("div",{className:"waveform_player_controls-wave_wrapper"},React.createElement(aa.a,{mediaElt:"#".concat(t.mediaElementId),options:{normalize:!0,removeMediaElementOnDestroy:!1,hideScrollbar:!0,progressColor:t.waveformColor||t.mainColor,waveColor:t.inverted?ua:sa,cursorColor:t.inverted?la:ca,height:n}}),React.createElement(na,{isPlaying:t.isPlaying,title:t.playButtonTitle,inverted:t.inverted,onClick:t.onPlayButtonClick})))})):null}));function pa(t){return React.createElement("div",{className:"waveform_player_controls-times_display"},React.createElement(hr,{value:t.currentTime,className:"waveform_player_controls-times_display-current_time"}),"/",React.createElement(hr,{value:t.duration,className:"waveform_player_controls-times_display-duration"}))}var da=jn(tt({inverted:tn("invert")}))((function(t){return React.createElement("div",{className:ha(t)},React.createElement(ea,null,React.createElement(fa,{isPlaying:t.isPlaying,inverted:t.inverted,playButtonTitle:t.playButtonTitle,mediaElementId:t.mediaElementId,onPlayButtonClick:t.onPlayButtonClick}),React.createElement(pa,{currentTime:t.currentTime,duration:t.duration}),React.createElement(Ji,t.infoBox)),React.createElement(Dr,{inverted:t.inverted,qualityMenuButtonTitle:t.qualityMenuButtonTitle,qualityMenuItems:t.qualityMenuItems,onQualityMenuItemClick:t.onQualityMenuItemClick,textTracksMenuButtonTitle:t.textTracksMenuButtonTitle,textTracksMenuItems:t.textTracksMenuItems,hiddenOnPhone:!t.isPlaying,onTextTracksMenuItemClick:t.onTextTracksMenuItemClick}))}));function ha(t){return U()("waveform_player_controls",{"waveform_player_controls-inverted":t.inverted})}var va="HOTKEY_SPACE",ga="HOTKEY_TAB";function ya(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ma(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ya(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ya(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ba=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.scope,n=void 0===e?"default":e;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;if(e.meta&&e.meta.mediaScope&&e.meta.mediaScope!==n)return t;switch(e.type){case u:return ma({},t,{hasPlayed:!1,unplayed:!0,infoBoxHiddenDuringPlayback:void 0,userIsIdle:!1});case l:return ma({},t,{shouldPrebuffer:!1});case oo:return ma({},t,{shouldPlay:!0,playFailed:!1,hasBeenPlayingJustNow:!0,unplayed:!1,fadeDuration:null,isLoading:!0});case Eo:return ma({},t,{shouldPlay:!0,isPlaying:!0});case co:return ma({},t,{shouldPlay:!1,playFailed:!0,hasBeenPlayingJustNow:!1,unplayed:!0,fadeDuration:null,isLoading:!1});case io:return ma({},t,{shouldPlay:!0,hasBeenPlayingJustNow:!0,fadeDuration:e.payload.fadeDuration,isLoading:!0});case ao:return ma({},t,{shouldPlay:!1,fadeDuration:null,isLoading:!1});case Oo:return t.bufferUnderrun?ma({},t,{isPlaying:!1,hasPlayed:!0}):ma({},t,{shouldPlay:!1,isPlaying:!1,fadeDuration:null,isLoading:!1});case so:return ma({},t,{shouldPlay:!1,fadeDuration:e.payload.fadeDuration,isLoading:!1});case uo:return ma({},t,{volumeFactor:e.payload.volumeFactor,volumeFactorFadeDuration:e.payload.fadeDuration});case ho:return ma({},t,{shouldPrebuffer:!0});case vo:return ma({},t,{shouldPrebuffer:!1});case So:return ma({},t,{isLoading:!0});case yo:return ma({},t,{bufferUnderrun:!0});case mo:return ma({},t,{bufferUnderrun:!1});case fo:return ma({},t,{scrubbingAt:e.payload.time});case po:return ma({},t,{shouldSeekTo:e.payload.time});case ko:return ma({},t,{isLoading:!0});case _o:return ma({},t,{scrubbingAt:void 0,isLoading:!1});case bo:return ma({},t,{currentTime:e.payload.currentTime,duration:e.payload.duration});case wo:return ma({},t,{bufferedEnd:e.payload.bufferedEnd});case xo:return ma({},t,{currentTime:e.payload.currentTime,duration:e.payload.duration,isLoading:!1});case Po:return ma({},t,{shouldPlay:!1,isPlaying:!1});case To:return ma({},t,{hasBeenPlayingJustNow:!1});case ga:case jo:return ma({},t,{userIsIdle:!1,controlsHidden:!1});case Ao:return ma({},t,{userIsIdle:!0});case Co:return ma({},t,{userHoveringControls:!0});case Io:return ma({},t,{userHoveringControls:!1});case Mo:return ma({},t,{focusInsideControls:!0});case Ro:return ma({},t,{focusInsideControls:!1});case Do:return ma({},t,{controlsHidden:!0,infoBoxHiddenDuringPlayback:!0});case Lo:return ma({},t,{infoBoxHiddenDuringPlayback:!0});case No:return ma({},t,{infoBoxHiddenDuringPlayback:!1});case Bo:return ma({},t,{infoBoxHiddenDuringPlayback:!t.infoBoxHiddenDuringPlayback});case Fo:return ma({},t,{mediaElementId:e.payload.id});case Uo:return ma({},t,{mediaElementId:null});default:return t}}};function wa(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ea(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?wa(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wa(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Oa=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case ta:return Ea({},t,{bottom:e.payload.value});default:return t}},xa=Et.a.mark(ka),Pa=Et.a.mark(_a);function ka(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)([va,ro],_a,Wo());case 2:case"end":return t.stop()}}),xa)}function _a(t){var e,n;return Et.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return e=t.play,n=t.pause,r.next=3,Object(Rt.select)(Go());case 3:if(!r.sent.shouldPlay){r.next=9;break}return r.next=7,Object(Rt.put)(n());case 7:r.next=13;break;case 9:return r.next=11,Object(Rt.call)((function(){return pageflow.backgroundMedia.unmute()}));case 11:return r.next=13,Object(Rt.put)(e());case 13:case"end":return r.stop()}}),Pa)}var Sa=Et.a.mark(ja),Ta=Et.a.mark(Aa);function ja(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)([co,lo],Aa);case 2:case"end":return t.stop()}}),Sa)}function Aa(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.call)((function(){return pageflow.backgroundMedia.mute()}));case 2:case"end":return t.stop()}}),Ta)}var Ca="BACKGROUND_MEDIA_MUTE",Ia="BACKGROUND_MEDIA_UNMUTE";function Ma(){return{type:Ia}}var Ra=Et.a.mark(Ha),Da=Et.a.mark(qa),Na=Et.a.mark(Va),La=Et.a.mark(Ga),Ba=Wo(),Fa=Ba.play,Ua=Ba.prebuffer,Wa=Ba.waiting;function Ha(t){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Dt.takeEvery)(s,Et.a.mark((function e(n){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,[Object(Rt.race)({task:Object(Rt.call)(Va,t),cancel:Object(Rt.take)(l)}),Object(Rt.race)({task:Object(Rt.call)(qa,t),cancel:Object(Rt.take)(l)})];case 2:case"end":return e.stop()}}),e)})));case 2:case"end":return e.stop()}}),Ra)}function qa(t){var e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.t0=t.retryOnUnmute,!n.t0){n.next=5;break}return n.next=4,Object(Rt.select)(Qo());case 4:n.t0=n.sent;case 5:if(!n.t0){n.next=12;break}return n.next=8,Object(Rt.race)({unmute:Object(Rt.take)(Ia),cancel:Object(Rt.take)(l)});case 8:if(e=n.sent,!e.unmute){n.next=12;break}return n.delegateYield(Va(t),"t1",12);case 12:case"end":return n.stop()}}),Da)}function Va(t){var e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.delegateYield(Ga(t),"t0",1);case 1:if(!(e=n.t0)){n.next=5;break}return n.next=5,Object(Rt.put)(Wa());case 5:return n.next=7,[Object(Rt.take)(vo),Object(Rt.put)(Ua())];case 7:if(!e){n.next=12;break}return n.next=10,Object(Rt.call)(Dt.delay,1e3);case 10:return n.next=12,Object(Rt.put)(Fa());case 12:case"end":return n.stop()}}),Na)}function Ga(t){var e,n,r;return Et.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return e=t.canAutoplay,n=t.autoplayWhenBackgroundMediaMuted,o.next=3,Object(Rt.select)(Ko({autoplayWhenBackgroundMediaMuted:function(){return n}}));case 3:return r=o.sent,o.abrupt("return",r&&e);case 5:case"end":return o.stop()}}),La)}var za=Et.a.mark(Ya);function Ya(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(oo,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(rn());case 2:if(!t.sent){t.next=5;break}return t.next=5,Object(Rt.call)(Xa);case 5:case"end":return t.stop()}}),t)})));case 2:return t.next=4,Object(Dt.takeEvery)([ao,Po],Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(rn());case 2:if(!t.sent){t.next=5;break}return t.next=5,Object(Rt.call)($a);case 5:case"end":return t.stop()}}),t)})));case 4:case"end":return t.stop()}}),za)}function Xa(){pageflow.events.trigger("scroll_indicator:disable")}function $a(){pageflow.events.trigger("scroll_indicator:enable")}var Ka=Et.a.mark(Qa);function Qa(){var t,e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=Wo(),e=t.hasNotBeenPlayingForAMoment,n.next=3,Object(Dt.takeEvery)([ao,Po],Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.race)({task:Object(Rt.call)(Et.a.mark((function t(n){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.call)(Dt.delay,700);case 2:return t.next=4,Object(Rt.put)(e(!1));case 4:case"end":return t.stop()}}),t)}))),cancel:Object(Rt.take)(Eo)});case 2:case"end":return t.stop()}}),t)})));case 3:case"end":return n.stop()}}),Ka)}var Ja=Et.a.mark(ts),Za=Et.a.mark(es);function ts(){var t,e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=Wo(),e=t.userIdle,n.next=3,Object(Dt.takeLatest)([oo,jo,ga],es,e);case 3:case"end":return n.stop()}}),Ja)}function es(t){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Rt.call)(Dt.delay,3e3);case 2:return e.next=4,Object(Rt.put)(t());case 4:case"end":return e.stop()}}),Za)}var ns=Et.a.mark(rs);function rs(){var t,e,n,r,o=arguments;return Et.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return t=o.length>0&&void 0!==o[0]?o[0]:{},e=t.scope,n=Wo({scope:e}),r=n.fadeOutAndPause,i.next=4,Object(Dt.takeEvery)(c,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.put)(r({fadeDuration:400}));case 2:case"end":return t.stop()}}),t)})));case 4:case"end":return i.stop()}}),ns)}var os=Et.a.mark(is);function is(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(Po,Et.a.mark((function t(){var e,n;return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(tn("autoChangePageOnEnded"));case 2:return e=t.sent,t.next=5,Object(Rt.select)(rn());case 5:if(n=t.sent,!e||!n){t.next=9;break}return t.next=9,Object(Rt.call)(as);case 9:case"end":return t.stop()}}),t)})));case 2:case"end":return t.stop()}}),os)}function as(){pageflow.slides.next()}var ss=Et.a.mark(ls);function us(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function cs(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?us(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):us(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ls(){var t,e,n=arguments;return Et.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e=[ka(),ja(),Ya()],t.playsInNativePlayer&&t.playsInNativePlayer()||e.push([is(),rs(),Qa()]),rt("mobile platform")||e.push([Ha(cs({},t,{canAutoplay:rt("autoplay support")}))]),t.hideControls&&e.push([ts()]),r.next=7,e;case 7:case"end":return r.stop()}}),ss)}var fs=Et.a.mark(hs),ps=Et.a.mark(vs),ds=Et.a.mark(gs);function hs(){var t,e,n,r=arguments;return Et.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e=t.scope,n=Wo({scope:e}),o.next=4,Object(Dt.takeEvery)(u,Et.a.mark((function t(e){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,[Object(Rt.race)({task:[Object(Rt.put)(n.prebuffer()),Object(Rt.call)(vs,n),Object(Rt.call)(gs,n)],cancel:Object(Rt.take)(l)})];case 2:case"end":return t.stop()}}),t)})));case 4:case"end":return o.stop()}}),fs)}function vs(t){var e,n;return Et.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t.prebuffer,e=t.changeVolumeFactor,n=t.play,r.next=3,Object(Rt.put)(e(0,{fadeDuration:0}));case 3:return r.next=5,Object(Rt.take)(vo);case 5:return r.next=7,Object(Rt.put)(n());case 7:case"end":return r.stop()}}),ps)}function gs(t){var e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=t.changeVolumeFactor,n.next=3,[Object(Rt.take)(vo),Object(Rt.take)(s)];case 3:return n.next=5,Object(Rt.put)(e(1,{fadeDuration:1e3}));case 5:case"end":return n.stop()}}),ds)}function ys(t){return{reducers:{"media.default":ba({scope:"default"}),"media.pageScrollerMargin":Oa},saga:Et.a.mark((function e(){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ls(t);case 2:case"end":return e.stop()}}),e)}))}}var ms={reducers:{"media.background":ba({scope:"background"})},saga:Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,[hs({scope:"background"}),rs({scope:"background"}),ja()];case 2:case"end":return t.stop()}}),t)}))};var bs=function(t){function e(t,n){var r;return T(this,e),(r=M(this,R(e).call(this,t,n))).onPlayButtonClick=function(){pageflow.hideText.activate(),r.props.onEnterBackground&&r.props.onEnterBackground()},r.onCloseButtonClick=function(){pageflow.hideText.deactivate(),r.props.onLeaveBackground&&r.props.onLeaveBackground()},r}return N(e,t),A(e,[{key:"render",value:function(){var t=this.props.page;return B.a.createElement(W,{className:U()({unplayed:!this.props.textHasBeenHidden},"hide_content_with_text")},B.a.createElement(Vr,{onClick:this.onCloseButtonClick}),B.a.createElement(Dr,{additionalButtons:this.props.additionalMenuBarButtons,onAdditionalButtonClick:this.props.onAdditionalButtonClick,qualityMenuButtonTitle:this.props.qualityMenuButtonTitle,qualityMenuItems:this.props.qualityMenuItems,onQualityMenuItemClick:this.props.onQualityMenuItemClick,hiddenOnPhone:this.props.textHasBeenHidden&&!this.props.textIsHidden}),B.a.createElement(H,{pageHasPlayerControls:!0},B.a.createElement("div",{className:"uncropped_media_wrapper"},this.props.children),B.a.createElement(In,{page:t})),B.a.createElement(Mn,null,B.a.createElement(Ur,{playButtonTitle:"Starten",playButtonIconName:this.props.playButtonIconName,controlBarText:t.controlBarText||this.props.defaultControlBarText,onPlayButtonClick:this.onPlayButtonClick,infoBox:{title:t.additionalTitle,description:t.additionalDescription}}),B.a.createElement(Bn,null,B.a.createElement(Un,{page:t}),B.a.createElement(Wn,{page:t}))))}}]),e}(B.a.Component),ws=jn(tt({textIsHidden:function(t){return t.hideText.isActive},textHasBeenHidden:function(t){return t.hideText.hasBeenActive}}))(bs),Es="HIDE_TEXT_ACTIVATE",Os="HIDE_TEXT_DEACTIVATE";var xs=Et.a.mark(Ps);function Ps(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(Os,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(rn());case 2:if(!t.sent){t.next=5;break}return t.next=5,Object(Rt.call)(ks);case 5:case"end":return t.stop()}}),t)})));case 2:case"end":return t.stop()}}),xs)}function ks(){pageflow.events.trigger("scroll_indicator:enable")}var _s={name:"interactivePageBackground",saga:Ps};function Ss(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function Ts(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function js(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ts(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ts(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var As=new function(){var t=[];this.register=function(e,n){var r=n.component,o=n.reduxModules,i=void 0===o?[]:o,a=Ss(n,["component","reduxModules"]);r||c("Requires component option to be present"),Array.isArray(i)||c("Expected reduxModules option to be an array.");var s=[],u=i.reduce((function(t,e){return"object"==typeof e&&3==new Set(Object.keys(e).concat(["name","reducers","saga"])).size||c("Expected redux module to be object with name, reducers and saga properties at most."),e.reducers&&"object"!=typeof e.reducers&&c("Expected reducers property of ".concat(e.name," reduxModule to be object.")),e.saga&&s.push(e.saga),js({},t,{},e.reducers)}),{});function c(t){throw new Error("".concat(t," Check registerPageType call of ").concat(e," page type."))}t.push(js({name:e,component:r,reducer:Object.keys(u).length?Object(at.c)(u):void 0,saga:Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,s.map((function(t){return t()}));case 2:case"end":return t.stop()}}),t)}))},a))},this.forEach=function(){return t.forEach.apply(t,arguments)},this.reduce=function(){return t.reduce.apply(t,arguments)},this.findByName=function(e){return t.find((function(t){var n=t.name;t.component;return n==e}))}},Cs=As.register;function Is(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ms(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Is(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Is(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Rs=new function(){var t=[];this.register=function(e,n){var r=n.component;t.push({name:e,component:r})},this.findByName=function(e){var n=t.find((function(t){return t.name==e}));if(!n)throw'Widget type with name "'.concat(e,'" not found.');return n},this.forEach=function(){t.forEach.apply(t,arguments)}},Ds=Rs.register,Ns=n(174),Ls={muted:!1},Bs=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ls,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Ca:return{muted:!0};case Ia:return{muted:!1};default:return t}};function Fs(t){var e=t.t,n=t.muted,r=t.unmute;return n?B.a.createElement("div",{className:"background_media_unmute_button"},B.a.createElement("a",{title:e("pageflow.public.mute_off"),onClick:function(){new pageflow.AudioPlayer([{src:pageflow.assetUrls.unmuteSound,type:"audio/mpeg"}],{codecs:["mp3"]}).play(),r()},href:"#"})):null}var Us={init:function(t){var e=t.isServerSide,n=t.events,r=t.dispatch;e||(n.on("background_media:mute",(function(t){return r({type:Ca})})),n.on("background_media:unmute",(function(t){return r(Ma())})))},createReducers:function(){return{backgroundMedia:Bs}},createSaga:function(t){var e=t.backgroundMedia;return(Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(Ia,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.call)((function(){return e.unmute()}));case 2:case"end":return t.stop()}}),t)})));case 2:case"end":return t.stop()}}),t)})))}};function Ws(t){return t.cookieNotice.visible}function Hs(t){return t.theming.privacy_link_url}var qs="COOKIE_NOTICE_REQUEST",Vs="COOKIE_NOTICE_DISMISS";function Gs(){return{type:Vs}}function zs(t){var e=t.isCookieNoticeVisible,n=t.editing,r=t.t,o=t.dismiss;return e||n?B.a.createElement("div",{className:"cookie_notice_bar"},B.a.createElement("div",{className:"cookie_notice_bar-content"},function(t){var e=t.privacyLinkUrl,n=t.t,r=t.locale,o=n("pageflow.public.cookie_notice_html",{privacyLinkUrl:"".concat(e,"?lang=").concat(r)});return B.a.createElement("span",{className:"cookie_notice_bar-text",dangerouslySetInnerHTML:{__html:o}})}(t),B.a.createElement("a",{className:"cookie_notice_bar-dismiss",onClick:o},r("pageflow.public.dismiss_cookie_notice")))):B.a.createElement("noscript",null)}function Ys(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Xs(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ys(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ys(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var $s=function(t){var e={dismissed:t.hasBeenDismissed,visible:!1};return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case qs:return t.dismissed?t:Xs({},t,{visible:!0});case Vs:return{dismissed:!0,visible:!1};default:return t}}},Ks={init:function(t){var e=t.isServerSide,n=t.events,r=t.dispatch;e||n.on("cookie_notice:request",(function(){return r({type:qs})}))},createReducers:function(t){var e=t.cookies;return{cookieNotice:$s({hasBeenDismissed:e&&e.hasItem("cookie_notice_dismissed")})}},createSaga:function(t){var e=t.widgetsApi,n=t.cookies;return(Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(qs,Et.a.mark((function t(){var n;return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(Ws);case 2:if(!t.sent){t.next=10;break}return t.next=5,Object(Rt.cps)(Qs,e);case 5:return n=t.sent,t.next=8,Object(Rt.take)(Vs);case 8:return t.next=10,Object(Rt.call)(n);case 10:case"end":return t.stop()}}),t)})));case 2:return t.next=4,Object(Dt.takeEvery)(Vs,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.call)((function(){n.setItem("cookie_notice_dismissed",!0)}));case 2:case"end":return t.stop()}}),t)})));case 4:case"end":return t.stop()}}),t)})))}};function Qs(t,e){t.use({name:"cookie_notice_bar_visible",insteadOf:"cookie_notice_bar"},(function(t){return e(null,t)}))}var Js={createReducers:function(t){var e=t.enabledFeatureNames;return{features:function(){return e}}}},Zs="THEMING_INIT";var tu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Zs:return e.payload.theming;default:return t}},eu={init:function(t){var e=t.theming;(0,t.dispatch)(function(t){return{type:Zs,payload:{theming:t}}}(e))},createReducers:function(){return{theming:tu}}},nu={init:function(t){var e=t.storylines,n=t.dispatch;Ue({collection:e,collectionName:"storylines",dispatch:n,attributes:["id"],includeConfiguration:!0})},createReducers:function(){return{storylines:jt("storylines")}}},ru={init:function(t){var e=t.chapters,n=t.dispatch;Ue({collection:e,collectionName:"chapters",dispatch:n,attributes:["id","title","position","storyline_id"]})},createReducers:function(){return{chapters:jt("chapters")}}},ou="PAGE_TYPES_INIT";var iu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case ou:return e.payload.pageTypes;default:return t}},au={createReducers:function(){return{pageTypes:iu}},init:function(t){var e=t.pageTypesSeed;(0,t.dispatch)(function(t){var e=t.pageTypes;return{type:ou,payload:{pageTypes:e}}}({pageTypes:Y.deep(e)}))}},su="CURRENT_PAGE_CHANGE";var uu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case su:return e.payload.id;default:return t}},cu=function(t,e){t.on("page:change",(function(t){return e(function(t){var e=t.id;return{type:su,payload:{id:e}}}({id:t.getPermaId()}))}))},lu={init:function(t){var e=t.isServerSide,n=t.events,r=t.dispatch;e||cu(n,r)},createReducers:function(){return{currentPageId:uu}}},fu={init:function(t){var e=t.files,n=t.dispatch;Object.keys(e).forEach((function(t){Ue({collection:e[t],collectionName:Y(t),dispatch:n,idAttribute:"perma_id",attributes:["id","perma_id","basename","variants","is_ready","parent_file_id","parent_file_model_type","width","height","duration_in_ms","rights","created_at"],includeConfiguration:!0})}))},createReducers:function(t){var e=t.files,n=t.fileUrlTemplates,r=void 0===n?{}:n,o=t.modelTypes,i=void 0===o?{}:o;return r=Y.keys(r),i=Y.keys(i),{files:Object(at.c)(Object.keys(e).reduce((function(t,e){return t[e=Y(e)]=jt(e,{idAttribute:"permaId"}),t}),{})),fileUrlTemplates:function(t){return r},modelTypes:function(t){return i}}}},pu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case P:return e.payload.settings;default:return t}},du={init:function(t){var e=t.isServerSide,n=t.settings,r=t.dispatch;e||(r(_({settings:n.toJSON()})),n.on("change",(function(){return r(_({settings:n.toJSON()}))})))},createReducers:function(){return{settings:pu}},createSaga:function(t){var e=t.settings;return(Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(k,Et.a.mark((function t(n){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.call)([e,e.set],n.payload.property,n.payload.value);case 2:case"end":return t.stop()}}),t)})));case 2:case"end":return t.stop()}}),t)})))}};var hu="I18N_INIT";var vu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case hu:return{locale:e.payload.locale};default:return t}},gu={createReducers:function(){return{i18n:vu}},init:function(t){var e=t.locale;(0,t.dispatch)(function(t){var e=t.locale;return{type:hu,payload:{locale:e}}}({locale:e}))}},yu="ENTRY_UPDATE",mu="ENTRY_READY";function bu(t){var e=t.entry;return{type:yu,payload:{entry:e}}}function wu(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Eu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?wu(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wu(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Ou=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case yu:return Eu({},t,{},e.payload.entry);case mu:return Eu({},t,{isReady:!0});default:return t}},xu={init:function(t){var e=t.entry,n=t.dispatch,r=t.events;t.isServerSide||r.once("ready",(function(){return n({type:mu})})),Fe.a.Model&&e instanceof Fe.a.Model?function(t){var e=t.entry,n=t.dispatch;Pu({entry:e,dispatch:n}),e.metadata.on("change:title",(function(){Pu({entry:e,dispatch:n})}))}({entry:e,dispatch:n}):function(t){var e=t.entry;(0,t.dispatch)(bu({entry:{slug:e.slug,title:e.title,publishedAt:e.published_at}}))}({entry:e,dispatch:n})},createReducers:function(){return{entry:Ou}}};function Pu(t){var e=t.entry;(0,t.dispatch)(bu({entry:{slug:e.get("slug"),title:e.metadata.get("title")||e.get("entry_title"),publishedAt:null}}))}var ku={init:function(t){var e=t.isServerSide,n=t.window,r=t.getState,o=t.dispatch;e||n.addEventListener("keydown",(function(t){var e=r().currentPageId;32==t.keyCode?o(function(t){var e=t.currentPageId;return x(va,e)}({currentPageId:e})):9==t.keyCode&&o(function(t){var e=t.currentPageId;return x(ga,e)}({currentPageId:e}))}))}},_u=function(t,e){t.on("activate",(function(t){return e({type:Es})})),t.on("deactivate",(function(t){return e({type:Os})}))};function Su(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Tu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Su(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Su(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ju={isActive:!1,hasBeenActive:!1},Au=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ju,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Es:return{isActive:!0,hasBeenActive:!0};case Os:return Tu({},t,{isActive:!1});case su:return Tu({},t,{hasBeenActive:!1});default:return t}},Cu={init:function(t){var e=t.isServerSide,n=t.hideText,r=t.dispatch;e||_u(n,r)},createReducers:function(){return{hideText:Au}}},Iu={init:function(t){var e=t.widgets,n=t.dispatch;Ue({collection:e,collectionName:"widgets",dispatch:n,attributes:["role","type_name","editing"],includeConfiguration:!0})},createReducers:function(){return{widgets:jt("widgets",{idAttribute:"role"})}}};var Mu="WIDGETS_LOAD";var Ru=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Mu:return e.payload.widgets;default:return t}},Du={init:function(t){var e=t.isServerSide,n=t.events,r=t.widgetsApi,o=t.dispatch;function i(){o(function(t){var e=t.widgets;return{type:Mu,payload:{widgets:e}}}({widgets:{classicPlayerControls:r.isPresent("classic_player_controls"),slimPlayerControls:r.isPresent("slim_player_controls")}}))}e||(n.on("widgets:update",i),i())},createReducers:function(){return{widgetPresence:Ru}}},Nu="THEME_INIT";var Lu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Nu:return e.payload;default:return t}},Bu={createReducers:function(){return{theme:Lu}},init:function(t){var e,n=t.dispatch;if(!t.isServerSide){var r=document.getElementById("theme_probe-main_color");n((e={mainColor:window.getComputedStyle(r)["background-color"]},{type:Nu,payload:e}))}}};function Fu(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var Uu=function(t){var e=!!t.storylines,n=!t.settings,r=t.seed,o=e?t:r,i={isServerSide:n,locale:r.locale,entry:o.entry,enabledFeatureNames:r.enabled_feature_names,fileUrlTemplates:r.file_url_templates,modelTypes:r.file_model_types,pageTypesSeed:r.page_types,pageTypes:As,theming:r.theming,files:o.files||{},storylines:o.storylines,chapters:o.chapters,pages:o.pages,widgets:e?t.entry.widgets:r.widgets,cookies:t.cookies,hideText:t.hideText,events:t.events,settings:t.settings,widgetsApi:t.widgets,backgroundMedia:t.backgroundMedia,window:n?null:window},s=Object(Ns.a)([Us,Ks,Js,gu,eu,xu,lu,nu,ru,Tn,fu,du,Cu,Iu,Du,au,ku,Bu],i);return n||(As.forEach((function(e){return t.pageType.register(e.name,function(t){return kn(On(t),t.mixin||{})}(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Fu(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Fu(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},e,{Component:e.component,store:s})))})),Rs.forEach((function(e){var n=e.name,r=e.component;return t.widgetTypes.register(n,function(t,e){return{enhance:function(n){wn.a.render(React.createElement(Wt,{store:e},React.createElement(t,null)),n[0])}}}(r,s))}))),s},Wu=Me("pages"),Hu=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"componentWillMount",value:function(){this.store=Uu({seed:this.props.resolverSeed}),this.pageComponent=As.findByName(this.props.pageType).component}},{key:"render",value:function(t){var e=this.pageComponent;return B.a.createElement(Wt,{store:this.store},B.a.createElement(Wu,{itemId:this.props.pageId},B.a.createElement(e,null)))}}]),e}(B.a.Component),qu=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"componentWillMount",value:function(){this.store=Uu({seed:this.props.resolverSeed}),this.widgetComponent=Rs.findByName(this.props.widgetTypeName).component}},{key:"render",value:function(t){var e=this.widgetComponent;return B.a.createElement(Wt,{store:this.store},B.a.createElement(e,null))}}]),e}(B.a.Component),Vu=Me("pages"),Gu=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"componentWillMount",value:function(){this.store=Uu({seed:this.props.resolverSeed})}},{key:"render",value:function(t){return B.a.createElement(Wt,{store:this.store},B.a.createElement(Vu,{itemId:this.props.pageId},B.a.createElement(zi,null)))}}]),e}(B.a.Component);function zu(t){var e=t.page.audioPlayerControlsVariant;return React.createElement(li,{className:"audio_page supports_text_position_center",page:t.page,file:t.audioFile,playerState:t.playerState,playerActions:t.playerActions,controlBarText:t.t("pageflow.public.start_audio"),playerControlsComponent:Yu(e),dynamicPageScrollerMargin:"waveform"==e,autoplayWhenBackgroundMediaMuted:!1},React.createElement(zi,null),React.createElement(Ai,{file:t.audioFile,playerState:t.playerState,playerActions:t.playerActions,textTrackPosition:Xu(e)}))}function Yu(t){return"waveform"==t?da:Ur}function Xu(t){if("waveform"==t)return"top"}function $u(t){var e=t.page;return React.createElement(W,{className:"supports_text_position_center"},React.createElement(Yi,{page:e}),React.createElement(Mn,null,React.createElement(Bn,null,React.createElement(Un,{page:e}),React.createElement(Xi,{page:e}),React.createElement(Wn,{page:e}))))}var Ku=["auto","4k","fullhd","medium"];function Qu(t){return React.createElement(li,{className:"video_page supports_text_position_center",page:t.page,file:t.videoFile,qualities:Ku,playerState:t.playerState,playerActions:t.playerActions,controlBarText:t.t("pageflow.public.start_video"),autoplayWhenBackgroundMediaMuted:!0},React.createElement(Hi,{page:t.page,playerState:t.playerState,playerActions:t.playerActions}),React.createElement(qi,{page:t.page}))}var Ju={position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundColor:"#3b5159"},Zu=function(t){function e(t){var n;return T(this,e),(n=M(this,R(e).call(this,t))).state={fading:!1,hidden:!1},n}return N(e,t),A(e,[{key:"componentDidMount",value:function(){var t=this;PAGEFLOW_EDITOR?this.setState({hidden:!0}):this.fadeTimeout=setTimeout((function(){pageflow.ready.then((function(){t.setState({fading:!0}),t.hiddenTimeout=setTimeout((function(){t.setState({hidden:!0})}),1e3)}))}),1e3)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.fadeTimeout),clearTimeout(this.hiddenTimeout)}},{key:"render",value:function(){var t=this.props.editing,e=this.state,n=e.hidden,r=e.fading;return t||!n?B.a.createElement("div",{className:U()("loading_spinner",{fade:!t&&r}),onTouchMove:tc,style:Ju},B.a.createElement("div",{className:"loading_inner"},B.a.createElement("div",{className:"left_circle"}),B.a.createElement("div",{className:"right_circle"}),B.a.createElement("div",{className:"loading_spinner_inner"},B.a.createElement("div",null)))):B.a.createElement("noscript",null)}}]),e}(B.a.Component);function tc(t){t.preventDefault()}var ec=function(t){function e(t){var n;return T(this,e),(n=M(this,R(e).call(this,t))).state={hidden:!1,animating:!0},n}return N(e,t),A(e,[{key:"componentDidMount",value:function(){var t=this;PAGEFLOW_EDITOR?this.setState({hidden:!0}):pageflow.delayedStart.waitFor((function(e){t.resolveDelayedStart=e}))}},{key:"hideOrLoop",value:function(t){var e=this;t.target===t.currentTarget&&(PAGEFLOW_EDITOR?(this.setState({animating:!1}),setTimeout((function(){e.setState({animating:!0})}),1e3)):(this.setState({hidden:!0}),this.resolveDelayedStart()))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.hiddenTimeout)}},{key:"render",value:function(){var t=this,e=this.props.editing,n=this.state,r=n.hidden,o=n.animating,i=oc(this.props),a=B.a.createElement("div",{className:U()("media_loading_spinner-logo",{"media_loading_spinner-logo-invert":i})});return this.props.removeLogo&&(a=""),e||!r?B.a.createElement("div",{className:U()("media_loading_spinner",{"media_loading_spinner-fade":o},{"media_loading_spinner-invert":i}),onAnimationEnd:function(e){return t.hideOrLoop(e)},onTouchMove:nc,style:ic(this.props)},a,B.a.createElement("div",{className:"media_loading_spinner-image",style:rc(this.props)}),this.props.children):B.a.createElement("noscript",null)}}]),e}(B.a.Component);function nc(t){t.preventDefault()}function rc(t){var e=t.firstPageBackgroundImageUrl,n=t.backgroundImage,r=t.blurStrength,o=n?n.urls.medium:e;if(o)return{backgroundImage:'url("'.concat(o,'")'),filter:"blur("+r+"px)"}}function oc(t){return t.backgroundImage||null!=t.invert?t.invert:t.firstPageInvert}function ic(t){return{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:100,backgroundColor:oc(t)?"#fff":"#000"}}var ac=Ce(tt({editing:eo({role:"loading_spinner"}),firstPageInvert:Ze("invert"),firstPageBackgroundImageUrl:function(t){var e=t.page,n=t.variant,r=void 0===n?"medium":n;return Z(e,Xe(),(function(t){return t}),(function(t,e,n){if(t){var o=We({candidates:Ke({page:t})(n).thumbnailCandidates,page:t,fileExists:e});if(o){var i=Ye(Y(o.collectionName),{id:He(t,o)});return"image_files"==o.collectionName?i(n).urls[r]:"video_files"==o.collectionName?i(n).urls["poster_".concat(r)]:void 0}}}))}({variant:"medium",page:Z(Je,(function(t){return t&&t.attributes}))}),backgroundImage:Ye("imageFiles",{id:Zr("customBackgroundImageId",{role:"loading_spinner"})}),invert:Zr("invert",{role:"loading_spinner"}),removeLogo:Zr("removeLogo",{role:"loading_spinner"}),blurStrength:Zr("blurStrength",{role:"loading_spinner"})}))(ec);var sc=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){var t=this.props,e=t.title,n=t.subtitle,r=t.entryTitle,o=oc(this.props);return B.a.createElement(ac,null,B.a.createElement("div",{className:U()("media_loading_spinner-titles",{"media_loading_spinner-invert":o})},B.a.createElement("div",{className:"media_loading_spinner-title"},e||r),B.a.createElement("div",{className:"media_loading_spinner-subtitle"},n)))}}]),e}(B.a.Component);var uc=n(97),cc=n.n(uc);function lc(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}Cs("background_image",{component:jn(tt({page:en()}))($u),reduxModules:[ms]}),Cs("video",{component:jn(tt({page:en(),videoFile:Ye("videoFiles",{id:tn("videoFileId")}),playerState:Go(),t:Hr}),X({playerActions:zo()}))(Qu),reduxModules:[ys({hideControls:!0,autoplayWhenBackgroundMediaMuted:!0,playsInNativePlayer:Gn("native video player")})]}),Cs("audio",{component:jn(tt({page:en(),audioFile:Ye("audioFiles",{id:tn("audioFileId")}),playerState:Go(),t:Hr}),X({playerActions:zo()}))(zu),reduxModules:[ys({retryOnUnmute:!0}),ms]}),Ds("cookie_notice_bar",{component:Ce(tt({isCookieNoticeVisible:Ws,privacyLinkUrl:Hs,editing:eo({role:"cookie_notice"}),t:Hr,locale:qr}),{dismiss:Gs})(zs)}),Ds("unmute_button",{component:Ce(tt({t:Hr,muted:qo}),{unmute:Ma})(Fs)}),Ds("classic_loading_spinner",{component:Ce(tt({editing:eo({role:"loading_spinner"})}))(Zu)}),Ds("title_loading_spinner",{component:Ce(tt({firstPageInvert:Ze("invert"),backgroundImage:Ye("imageFiles",{id:Zr("customBackgroundImageId",{role:"loading_spinner"})}),entryTitle:ii("title"),title:Zr("title",{role:"loading_spinner"}),subtitle:Zr("subtitle",{role:"loading_spinner"}),removeLogo:Zr("removeLogo",{role:"loading_spinner"}),invert:Zr("invert",{role:"loading_spinner"})}))(sc)}),Ds("media_loading_spinner",{component:ac}),cc.a.events&&cc.a.events.on("seed:loaded",(function(){return Uu(cc.a)}));e.default={components:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?lc(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):lc(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({MediaPageBackground:Yi,PageWithInteractiveBackground:ws},o),actions:r,selectors:i,registerPageType:Cs,registerPageTypeWithDefaultBackground:function(t,e){Cs(t,{component:zi,selectTargetElement:function(t){return t.find(".page_background_asset")[0]},mixin:Ms({scroller:!0},e),reduxModules:[ms]})},registerWidgetType:Ds,mediaReduxModule:ys,mediaPageBackgroundReduxModule:ms,pageWithInteractiveBackgroundReduxModule:_s,iconMapping:sr,SvgIcon:ir,classNames:U.a,connect:Ce,connectInPage:jn,combineReducers:at.c,combine:X,ServerSidePage:Hu,ServerSideWidget:qu,ServerSidePageBackgroundAsset:Gu}}]).default;
|
@@ -8,7 +8,7 @@ pageflow="object"==typeof pageflow?pageflow:{},pageflow.react=function(e){var t=
|
|
8
8
|
Copyright (c) 2016 Jed Watson.
|
9
9
|
Licensed under the MIT License (MIT), see
|
10
10
|
http://jedwatson.github.io/classnames
|
11
|
-
*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r))e.push(o.apply(null,r));else if("object"===i)for(var a in r)n.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}void 0!==e&&e.exports?e.exports=o:void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.matchesSelector=s,t.matchesSelectorAndParentsTo=function(e,t,n){var r=e;do{if(s(r,t))return!0;if(r===n)return!1;r=r.parentNode}while(r);return!1},t.addEvent=function(e,t,n){e&&(e.attachEvent?e.attachEvent("on"+t,n):e.addEventListener?e.addEventListener(t,n,!0):e["on"+t]=n)},t.removeEvent=function(e,t,n){e&&(e.detachEvent?e.detachEvent("on"+t,n):e.removeEventListener?e.removeEventListener(t,n,!0):e["on"+t]=null)},t.outerHeight=function(e){var t=e.clientHeight,n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,i.int)(n.borderTopWidth),t+=(0,i.int)(n.borderBottomWidth)},t.outerWidth=function(e){var t=e.clientWidth,n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,i.int)(n.borderLeftWidth),t+=(0,i.int)(n.borderRightWidth)},t.innerHeight=function(e){var t=e.clientHeight,n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,i.int)(n.paddingTop),t-=(0,i.int)(n.paddingBottom)},t.innerWidth=function(e){var t=e.clientWidth,n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,i.int)(n.paddingLeft),t-=(0,i.int)(n.paddingRight)},t.offsetXYFromParent=function(e,t){var n=t===t.ownerDocument.body?{left:0,top:0}:t.getBoundingClientRect(),r=e.clientX+t.scrollLeft-n.left,o=e.clientY+t.scrollTop-n.top;return{x:r,y:o}},t.createCSSTransform=function(e){var t=e.x,n=e.y;return function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},(0,a.browserPrefixToKey)("transform",u.default),"translate("+t+"px,"+n+"px)")},t.createSVGTransform=function(e){var t=e.x,n=e.y;return"translate("+t+","+n+")"},t.getTouch=function(e,t){return e.targetTouches&&(0,i.findInArray)(e.targetTouches,(function(e){return t===e.identifier}))||e.changedTouches&&(0,i.findInArray)(e.changedTouches,(function(e){return t===e.identifier}))},t.getTouchIdentifier=function(e){return e.targetTouches&&e.targetTouches[0]?e.targetTouches[0].identifier:e.changedTouches&&e.changedTouches[0]?e.changedTouches[0].identifier:void 0},t.addUserSelectStyles=function(e){var t=e.getAttribute("style")||"";d.test(t)||e.setAttribute("style",t+p)},t.removeUserSelectStyles=function(e){var t=e.getAttribute("style")||"";e.setAttribute("style",t.replace(d,""))},t.styleHacks=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r({touchAction:"none"},e)};var o,i=n(14),a=n(15),u=(o=a)&&o.__esModule?o:{default:o},c="";function s(e,t){return c||(c=(0,i.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],(function(t){return(0,i.isFunction)(e[t])}))),e[c].call(e,t)}var l=(0,a.getPrefix)("user-select"),f=(0,a.browserPrefixToStyle)("user-select",l),p=";"+f+": none;",d=new RegExp(";?"+f+": none;")},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findInArray=function(e,t){for(var n=0,r=e.length;n<r;n++)if(t.apply(t,[e[n],n,e]))return e[n]},t.isFunction=function(e){return"function"==typeof e||"[object Function]"===Object.prototype.toString.call(e)},t.isNum=function(e){return"number"==typeof e&&!isNaN(e)},t.int=function(e){return parseInt(e,10)},t.dontSetMe=function(e,t,n){if(e[t])return new Error("Invalid prop "+t+" passed to "+n+" - do not set this, set it on the child.")}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPrefix=r,t.browserPrefixToKey=o,t.browserPrefixToStyle=function(e,t){return t?"-"+t.toLowerCase()+"-"+e:e};var n=["Moz","Webkit","O","ms"];function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window||void 0===window.document)return"";var t=window.document.documentElement.style;if(e in t)return"";for(var r=0;r<n.length;r++)if(o(e,n[r])in t)return n[r];return""}function o(e,t){return t?""+t+function(e){for(var t="",n=!0,r=0;r<e.length;r++)n?(t+=e[r].toUpperCase(),n=!1):"-"===e[r]?n=!0:t+=e[r];return t}(e):e}t.default=r()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBoundPosition=function(e,t,n){if(!e.props.bounds)return[t,n];var r=e.props.bounds;r="string"==typeof r?r:function(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}(r);var i=a.default.findDOMNode(e);if("string"==typeof r){var c=i.ownerDocument,s=c.defaultView,l=void 0;if("parent"===r)l=i.parentNode;else if(!(l=c.querySelector(r)))throw new Error('Bounds selector "'+r+'" could not find an element.');var f=s.getComputedStyle(i),p=s.getComputedStyle(l);r={left:-i.offsetLeft+(0,o.int)(p.paddingLeft)+(0,o.int)(f.marginLeft),top:-i.offsetTop+(0,o.int)(p.paddingTop)+(0,o.int)(f.marginTop),right:(0,u.innerWidth)(l)-(0,u.outerWidth)(i)-i.offsetLeft+(0,o.int)(p.paddingRight)-(0,o.int)(f.marginRight),bottom:(0,u.innerHeight)(l)-(0,u.outerHeight)(i)-i.offsetTop+(0,o.int)(p.paddingBottom)-(0,o.int)(f.marginBottom)}}return(0,o.isNum)(r.right)&&(t=Math.min(t,r.right)),(0,o.isNum)(r.bottom)&&(n=Math.min(n,r.bottom)),(0,o.isNum)(r.left)&&(t=Math.max(t,r.left)),(0,o.isNum)(r.top)&&(n=Math.max(n,r.top)),[t,n]},t.snapToGrid=function(e,t,n){var r=Math.round(t/e[0])*e[0],o=Math.round(n/e[1])*e[1];return[r,o]},t.canDragX=function(e){return"both"===e.props.axis||"x"===e.props.axis},t.canDragY=function(e){return"both"===e.props.axis||"y"===e.props.axis},t.getControlPosition=function(e,t,n){var r="number"==typeof t?(0,u.getTouch)(e,t):null;if("number"==typeof t&&!r)return null;var o=a.default.findDOMNode(n),i=n.props.offsetParent||o.offsetParent||o.ownerDocument.body;return(0,u.offsetXYFromParent)(r||e,i)},t.createCoreData=function(e,t,n){var r=e.state;return(0,o.isNum)(r.lastX)?{node:a.default.findDOMNode(e),deltaX:t-r.lastX,deltaY:n-r.lastY,lastX:r.lastX,lastY:r.lastY,x:t,y:n}:{node:a.default.findDOMNode(e),deltaX:0,deltaY:0,lastX:t,lastY:n,x:t,y:n}},t.createDraggableData=function(e,t){return{node:t.node,x:e.state.x+t.deltaX,y:e.state.y+t.deltaY,deltaX:t.deltaX,deltaY:t.deltaY,lastX:e.state.x,lastY:e.state.y}};var r,o=n(14),i=n(11),a=(r=i)&&r.__esModule?r:{default:r},u=n(13)},function(e,t,n){(function(e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=p(n(2)),a=p(n(3)),u=p(n(11)),c=n(13),s=n(16),l=n(14),f=p(n(19));function p(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var h={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}},v=h.mouse,g=function(e){function t(){var e,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),l=0;l<i;l++)a[l]=arguments[l];return n=o=d(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),o.state={dragging:!1,lastX:NaN,lastY:NaN,touchIdentifier:null},o.handleDragStart=function(e){if(o.props.onMouseDown(e),!o.props.allowAnyClick&&"number"==typeof e.button&&0!==e.button)return!1;var t=u.default.findDOMNode(o),n=t.ownerDocument;if(!(o.props.disabled||!(e.target instanceof n.defaultView.Node)||o.props.handle&&!(0,c.matchesSelectorAndParentsTo)(e.target,o.props.handle,t)||o.props.cancel&&(0,c.matchesSelectorAndParentsTo)(e.target,o.props.cancel,t))){var r=(0,c.getTouchIdentifier)(e);o.setState({touchIdentifier:r});var i=(0,s.getControlPosition)(e,r,o);if(null!=i){var a=i.x,l=i.y,p=(0,s.createCoreData)(o,a,l);(0,f.default)("DraggableCore: handleDragStart: %j",p),(0,f.default)("calling",o.props.onStart),!1!==o.props.onStart(e,p)&&(o.props.enableUserSelectHack&&(0,c.addUserSelectStyles)(n.body),o.setState({dragging:!0,lastX:a,lastY:l}),(0,c.addEvent)(n,v.move,o.handleDrag),(0,c.addEvent)(n,v.stop,o.handleDragStop))}}},o.handleDrag=function(e){"touchmove"===e.type&&e.preventDefault();var t=(0,s.getControlPosition)(e,o.state.touchIdentifier,o);if(null!=t){var n=t.x,i=t.y;if(Array.isArray(o.props.grid)){var a=n-o.state.lastX,u=i-o.state.lastY,c=(0,s.snapToGrid)(o.props.grid,a,u),l=r(c,2);if(a=l[0],u=l[1],!a&&!u)return;n=o.state.lastX+a,i=o.state.lastY+u}var p=(0,s.createCoreData)(o,n,i);if((0,f.default)("DraggableCore: handleDrag: %j",p),!1!==o.props.onDrag(e,p))o.setState({lastX:n,lastY:i});else try{o.handleDragStop(new MouseEvent("mouseup"))}catch(e){var d=document.createEvent("MouseEvents");d.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),o.handleDragStop(d)}}},o.handleDragStop=function(e){if(o.state.dragging){var t=(0,s.getControlPosition)(e,o.state.touchIdentifier,o);if(null!=t){var n=t.x,r=t.y,i=(0,s.createCoreData)(o,n,r),a=u.default.findDOMNode(o).ownerDocument;o.props.enableUserSelectHack&&(0,c.removeUserSelectStyles)(a.body),(0,f.default)("DraggableCore: handleDragStop: %j",i),o.setState({dragging:!1,lastX:NaN,lastY:NaN}),o.props.onStop(e,i),(0,f.default)("DraggableCore: Removing handlers"),(0,c.removeEvent)(a,v.move,o.handleDrag),(0,c.removeEvent)(a,v.stop,o.handleDragStop)}}},o.onMouseDown=function(e){return v=h.mouse,o.handleDragStart(e)},o.onMouseUp=function(e){return v=h.mouse,o.handleDragStop(e)},o.onTouchStart=function(e){return v=h.touch,o.handleDragStart(e)},o.onTouchEnd=function(e){return v=h.touch,o.handleDragStop(e)},d(o,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentWillUnmount",value:function(){var e=u.default.findDOMNode(this).ownerDocument;(0,c.removeEvent)(e,h.mouse.move,this.handleDrag),(0,c.removeEvent)(e,h.touch.move,this.handleDrag),(0,c.removeEvent)(e,h.mouse.stop,this.handleDragStop),(0,c.removeEvent)(e,h.touch.stop,this.handleDragStop),this.props.enableUserSelectHack&&(0,c.removeUserSelectStyles)(e.body)}},{key:"render",value:function(){return i.default.cloneElement(i.default.Children.only(this.props.children),{style:(0,c.styleHacks)(this.props.children.props.style),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}]),t}(i.default.Component);g.displayName="DraggableCore",g.propTypes={allowAnyClick:a.default.bool,disabled:a.default.bool,enableUserSelectHack:a.default.bool,offsetParent:function(t,n){if(e.browser&&t[n]&&1!==t[n].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:a.default.arrayOf(a.default.number),handle:a.default.string,cancel:a.default.string,onStart:a.default.func,onDrag:a.default.func,onStop:a.default.func,onMouseDown:a.default.func,className:l.dontSetMe,style:l.dontSetMe,transform:l.dontSetMe},g.defaultProps={allowAnyClick:!1,cancel:null,disabled:!1,enableUserSelectHack:!0,offsetParent:null,handle:null,grid:null,transform:null,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){}},t.default=g}).call(t,n(18))},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,s=[],l=!1,f=-1;function p(){l&&c&&(l=!1,c.length?s=c.concat(s):f=-1,s.length&&d())}function d(){if(!l){var e=u(p);l=!0;for(var t=s.length;t;){for(c=s,s=[];++f<t;)c&&c[f].run();f=-1,t=s.length}c=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function v(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new h(e,t)),1!==s.length||l||u(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){}}])},e.exports=r(n(0),n(19))},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,u){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,i,a,u],l=0;(c=new Error(t.replace(/%s/g,(function(){return s[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t){e.exports=pageflow},function(e,t,n){var r=n(8),o=n(9),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,n){var r=n(8),o=n(22);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(35),o=n(50),i=n(101),a=n(10);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(12),o=n(15),i=n(10),a=n(65);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),u=r.length,c=0;u>c;)o.f(e,n=r[c++],t[n]);return e}},function(e,t,n){var r,o,i=n(8),a=n(76),u=i.process,c=u&&u.versions,s=c&&c.v8;s?o=(r=s.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},function(e,t,n){"use strict";var r=n(16),o=n(45),i=n(14);e.exports=function(e){for(var t=r(this),n=i(t.length),a=arguments.length,u=o(a>1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,s=void 0===c?n:o(c,n);s>u;)t[u++]=e;return t}},function(e,t,n){var r=n(13),o=n(68),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},function(e,t,n){"use strict";var r=n(1),o=n(136),i=n(38),a=n(55),u=n(37),c=n(22),s=n(21),l=n(13),f=n(44),p=n(68),d=n(137),h=d.IteratorPrototype,v=d.BUGGY_SAFARI_ITERATORS,g=l("iterator"),y=function(){return this};e.exports=function(e,t,n,l,d,m,b){o(n,t,l);var w,O,E,_=function(e){if(e===d&&j)return j;if(!v&&e in k)return k[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},x=t+" Iterator",P=!1,k=e.prototype,S=k[g]||k["@@iterator"]||d&&k[d],j=!v&&S||_(d),T="Array"==t&&k.entries||S;if(T&&(w=i(T.call(new e)),h!==Object.prototype&&w.next&&(f||i(w)===h||(a?a(w,h):"function"!=typeof w[g]&&c(w,g,y)),u(w,x,!0,!0),f&&(p[x]=y))),"values"==d&&S&&"values"!==S.name&&(P=!0,j=function(){return S.call(this)}),f&&!b||k[g]===j||c(k,g,j),p[t]=j,d)if(O={values:_("values"),keys:m?j:_("keys"),entries:_("entries")},b)for(E in O)!v&&!P&&E in k||s(k,E,O[E]);else r({target:t,proto:!0,forced:v||P},O);return O}},function(e,t,n){var r=n(6);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){var r=n(14),o=n(109),i=n(24),a=Math.ceil,u=function(e){return function(t,n,u){var c,s,l=String(i(t)),f=l.length,p=void 0===u?" ":String(u),d=r(n);return d<=f||""==p?l:(c=d-f,(s=o.call(p,a(c/p.length))).length>c&&(s=s.slice(0,c)),e?l+s:s+l)}};e.exports={start:u(!1),end:u(!0)}},function(e,t,n){"use strict";var r=n(31),o=n(24);e.exports="".repeat||function(e){var t=String(o(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t,n){var r,o,i,a=n(8),u=n(6),c=n(33),s=n(46),l=n(128),f=n(97),p=n(152),d=a.location,h=a.setImmediate,v=a.clearImmediate,g=a.process,y=a.MessageChannel,m=a.Dispatch,b=0,w={},O=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},E=function(e){return function(){O(e)}},_=function(e){O(e.data)},x=function(e){a.postMessage(e+"",d.protocol+"//"+d.host)};h&&v||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return w[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},v=function(e){delete w[e]},"process"==c(g)?r=function(e){g.nextTick(E(e))}:m&&m.now?r=function(e){m.now(E(e))}:y&&!p?(i=(o=new y).port2,o.port1.onmessage=_,r=s(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||u(x)?r="onreadystatechange"in f("script")?function(e){l.appendChild(f("script")).onreadystatechange=function(){l.removeChild(this),O(e)}}:function(e){setTimeout(E(e),0)}:(r=x,a.addEventListener("message",_,!1))),e.exports={set:h,clear:v}},function(e,t,n){var r=n(9),o=n(33),i=n(13)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,n){var r=n(112);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(13)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t,n){"use strict";var r=n(88).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r=n(6),o=n(84);e.exports=function(e){return r((function(){return!!o[e]()||"
"!="
"[e]()||o[e].name!==e}))}},function(e,t,n){var r=n(8),o=n(6),i=n(77),a=n(11).NATIVE_ARRAY_BUFFER_VIEWS,u=r.ArrayBuffer,c=r.Int8Array;e.exports=!a||!o((function(){c(1)}))||!o((function(){new c(-1)}))||!i((function(e){new c,new c(null),new c(1.5),new c(e)}),!0)||o((function(){return 1!==new c(new u(2),1,void 0).length}))},function(e,t,n){"use strict";e.exports=n(398)},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function o(e,t){return e===t}function i(e){var t=arguments.length<=1||void 0===arguments[1]?o:arguments[1],n=null,r=null;return function(){for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return null!==n&&n.length===i.length&&i.every((function(e,r){return t(e,n[r])}))||(r=e.apply(void 0,i)),n=i,r}}function a(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"==typeof e}))){var n=t.map((function(e){return typeof e})).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+n+"]")}return t}function u(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return function(){for(var t=arguments.length,o=Array(t),i=0;i<t;i++)o[i]=arguments[i];var u=0,c=o.pop(),s=a(o),l=e.apply(void 0,[function(){return u++,c.apply(void 0,arguments)}].concat(n)),f=function(e,t){for(var n=arguments.length,o=Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];var a=s.map((function(n){return n.apply(void 0,[e,t].concat(o))}));return l.apply(void 0,r(a))};return f.resultFunc=c,f.recomputations=function(){return u},f.resetRecomputations=function(){return u=0},f}}t.__esModule=!0,t.defaultMemoize=i,t.createSelectorCreator=u,t.createStructuredSelector=function(e){var t=arguments.length<=1||void 0===arguments[1]?c:arguments[1];if("object"!=typeof e)throw new Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);var n=Object.keys(e);return t(n.map((function(t){return e[t]})),(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce((function(e,t,r){return e[n[r]]=t,e}),{})}))};var c=t.createSelector=u(i)},function(e,t,n){"use strict";(function(e,r){var o,i=n(169);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=Object(i.a)(o);t.a=a}).call(this,n(73),n(390)(e))},function(e,t,n){var r=n(12),o=n(6),i=n(97);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(54);e.exports=r("native-function-to-string",Function.toString)},function(e,t,n){var r=n(8),o=n(122),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o.call(i))},function(e,t,n){var r=n(18),o=n(99),i=n(23),a=n(15);e.exports=function(e,t){for(var n=o(t),u=a.f,c=i.f,s=0;s<n.length;s++){var l=n[s];r(e,l)||u(e,l,c(t,l))}}},function(e,t,n){e.exports=n(8)},function(e,t,n){var r=n(18),o=n(25),i=n(63).indexOf,a=n(62);e.exports=function(e,t){var n,u=o(e),c=0,s=[];for(n in u)!r(a,n)&&r(u,n)&&s.push(n);for(;t.length>c;)r(u,n=t[c++])&&(~i(s,n)||s.push(n));return s}},function(e,t,n){var r=n(6);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(e,t,n){var r=n(35);e.exports=r("document","documentElement")},function(e,t,n){var r=n(25),o=n(50).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){t.f=n(13)},function(e,t,n){"use strict";var r=n(16),o=n(45),i=n(14),a=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),u=i(n.length),c=o(e,u),s=o(t,u),l=arguments.length>2?arguments[2]:void 0,f=a((void 0===l?u:o(l,u))-s,u-c),p=1;for(s<c&&c<s+f&&(p=-1,s+=f-1,c+=f-1);f-- >0;)s in n?n[c]=n[s]:delete n[c],c+=p,s+=p;return n}},function(e,t,n){"use strict";var r=n(51),o=n(14),i=n(46),a=function(e,t,n,u,c,s,l,f){for(var p,d=c,h=0,v=!!l&&i(l,f,3);h<u;){if(h in n){if(p=v?v(n[h],h,t):n[h],s>0&&r(p))d=a(e,t,p,o(p.length),d,s-1)-1;else{if(d>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[d]=p}d++}h++}return d};e.exports=a},function(e,t,n){"use strict";var r=n(20).forEach,o=n(40);e.exports=o("forEach")?function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}:[].forEach},function(e,t,n){"use strict";var r=n(46),o=n(16),i=n(135),a=n(105),u=n(14),c=n(52),s=n(69);e.exports=function(e){var t,n,l,f,p,d=o(e),h="function"==typeof this?this:Array,v=arguments.length,g=v>1?arguments[1]:void 0,y=void 0!==g,m=0,b=s(d);if(y&&(g=r(g,v>2?arguments[2]:void 0,2)),null==b||h==Array&&a(b))for(n=new h(t=u(d.length));t>m;m++)c(n,m,y?g(d[m],m):d[m]);else for(p=(f=b.call(d)).next,n=new h;!(l=p.call(f)).done;m++)c(n,m,y?i(f,g,[l.value,m],!0):l.value);return n.length=m,n}},function(e,t,n){var r=n(10);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){"use strict";var r=n(137).IteratorPrototype,o=n(39),i=n(43),a=n(37),u=n(68),c=function(){return this};e.exports=function(e,t,n){var s=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,s,!1,!0),u[s]=c,e}},function(e,t,n){"use strict";var r,o,i,a=n(38),u=n(22),c=n(18),s=n(13),l=n(44),f=s("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),l||c(r,f)||u(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},function(e,t,n){var r=n(9);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){"use strict";var r=n(25),o=n(31),i=n(14),a=n(40),u=Math.min,c=[].lastIndexOf,s=!!c&&1/[1].lastIndexOf(1,-0)<0,l=a("lastIndexOf");e.exports=s||l?function(e){if(s)return c.apply(this,arguments)||0;var t=r(this),n=i(t.length),a=n-1;for(arguments.length>1&&(a=u(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:c},function(e,t,n){var r=n(31),o=n(14);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length or index");return n}},function(e,t,n){"use strict";var r=n(32),o=n(9),i=[].slice,a={},u=function(e,t,n){if(!(t in a)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";a[t]=Function("C,a","return new C("+r.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?u(t,r.length,r):t.apply(e,r)};return o(t.prototype)&&(a.prototype=t.prototype),a}},function(e,t,n){"use strict";var r=n(15).f,o=n(39),i=n(57),a=n(46),u=n(48),c=n(72),s=n(106),l=n(56),f=n(12),p=n(53).fastKey,d=n(30),h=d.set,v=d.getterFor;e.exports={getConstructor:function(e,t,n,s){var l=e((function(e,r){u(e,l,t),h(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),f||(e.size=0),null!=r&&c(r,e[s],e,n)})),d=v(t),g=function(e,t,n){var r,o,i=d(e),a=y(e,t);return a?a.value=n:(i.last=a={index:o=p(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),f?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},y=function(e,t){var n,r=d(e),o=p(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return i(l.prototype,{clear:function(){for(var e=d(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,f?e.size=0:this.size=0},delete:function(e){var t=d(this),n=y(this,e);if(n){var r=n.next,o=n.previous;delete t.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),t.first==n&&(t.first=r),t.last==n&&(t.last=o),f?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=d(this),r=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!y(this,e)}}),i(l.prototype,n?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),f&&r(l.prototype,"size",{get:function(){return d(this).size}}),l},setStrong:function(e,t,n){var r=t+" Iterator",o=v(t),i=v(r);s(e,t,(function(e,t){h(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),l(t)}}},function(e,t){var n=Math.log;e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:n(1+e)}},function(e,t,n){var r=n(9),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function(e,t,n){var r=n(8),o=n(58).trim,i=n(84),a=r.parseFloat,u=1/a(i+"-0")!=-1/0;e.exports=u?function(e){var t=o(String(e)),n=a(t);return 0===n&&"-"==t.charAt(0)?-0:n}:a},function(e,t,n){var r=n(8),o=n(58).trim,i=n(84),a=r.parseInt,u=/^[+-]?0[Xx]/,c=8!==a(i+"08")||22!==a(i+"0x16");e.exports=c?function(e,t){var n=o(String(e));return a(n,t>>>0||(u.test(n)?16:10))}:a},function(e,t,n){var r=n(33);e.exports=function(e){if("number"!=typeof e&&"Number"!=r(e))throw TypeError("Incorrect invocation");return+e}},function(e,t,n){"use strict";var r=n(12),o=n(6),i=n(65),a=n(101),u=n(74),c=n(16),s=n(60),l=Object.assign;e.exports=!l||o((function(){var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||"abcdefghijklmnopqrst"!=i(l({},t)).join("")}))?function(e,t){for(var n=c(e),o=arguments.length,l=1,f=a.f,p=u.f;o>l;)for(var d,h=s(arguments[l++]),v=f?i(h).concat(f(h)):i(h),g=v.length,y=0;g>y;)d=v[y++],r&&!p.call(h,d)||(n[d]=h[d]);return n}:l},function(e,t,n){var r=n(12),o=n(65),i=n(25),a=n(74).f,u=function(e){return function(t){for(var n,u=i(t),c=o(u),s=c.length,l=0,f=[];s>l;)n=c[l++],r&&!a.call(u,n)||f.push(e?[n,u[n]]:u[n]);return f}};e.exports={entries:u(!0),values:u(!1)}},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){var r=n(8);e.exports=r.Promise},function(e,t,n){var r=n(76);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){var r,o,i,a,u,c,s,l,f=n(8),p=n(23).f,d=n(33),h=n(111).set,v=n(152),g=f.MutationObserver||f.WebKitMutationObserver,y=f.process,m=f.Promise,b="process"==d(y),w=p(f,"queueMicrotask"),O=w&&w.value;O||(r=function(){var e,t;for(b&&(e=y.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():i=void 0,e}}i=void 0,e&&e.enter()},b?a=function(){y.nextTick(r)}:g&&!v?(u=!0,c=document.createTextNode(""),new g(r).observe(c,{characterData:!0}),a=function(){c.data=u=!u}):m&&m.resolve?(s=m.resolve(void 0),l=s.then,a=function(){l.call(s,r)}):a=function(){h.call(f,r)}),e.exports=O||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},function(e,t,n){var r=n(10),o=n(9),i=n(155);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(32),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},function(e,t,n){"use strict";var r=n(88).charAt,o=n(30),i=n(106),a=o.set,u=o.getterFor("String Iterator");i(String,"String",(function(e){a(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=u(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(76);e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r)},function(e,t,n){var r=n(344);e.exports=function(e,t){var n=r(e);if(n%t)throw RangeError("Wrong offset");return n}},function(e,t,n){var r=n(16),o=n(14),i=n(69),a=n(105),u=n(46),c=n(11).aTypedArrayConstructor;e.exports=function(e){var t,n,s,l,f,p,d=r(e),h=arguments.length,v=h>1?arguments[1]:void 0,g=void 0!==v,y=i(d);if(null!=y&&!a(y))for(p=(f=y.call(d)).next,d=[];!(l=p.call(f)).done;)d.push(l.value);for(g&&h>2&&(v=u(v,arguments[2],2)),n=o(d.length),s=new(c(this))(n),t=0;n>t;t++)s[t]=g?v(d[t],t):d[t];return s}},function(e,t,n){"use strict";var r=n(57),o=n(53).getWeakData,i=n(10),a=n(9),u=n(48),c=n(72),s=n(20),l=n(18),f=n(30),p=f.set,d=f.getterFor,h=s.find,v=s.findIndex,g=0,y=function(e){return e.frozen||(e.frozen=new m)},m=function(){this.entries=[]},b=function(e,t){return h(e.entries,(function(e){return e[0]===t}))};m.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var n=b(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=v(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,s){var f=e((function(e,r){u(e,f,t),p(e,{type:t,id:g++,frozen:void 0}),null!=r&&c(r,e[s],e,n)})),h=d(t),v=function(e,t,n){var r=h(e),a=o(i(t),!0);return!0===a?y(r).set(t,n):a[r.id]=n,e};return r(f.prototype,{delete:function(e){var t=h(this);if(!a(e))return!1;var n=o(e);return!0===n?y(t).delete(e):n&&l(n,t.id)&&delete n[t.id]},has:function(e){var t=h(this);if(!a(e))return!1;var n=o(e);return!0===n?y(t).has(e):n&&l(n,t.id)}}),r(f.prototype,n?{get:function(e){var t=h(this);if(a(e)){var n=o(e);return!0===n?y(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return v(this,e,t)}}:{add:function(e){return v(this,e,!0)}}),f}}},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,n){var r=n(6),o=n(13),i=n(44),a=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},function(e,t,n){"use strict";n(78);var r=n(1),o=n(35),i=n(162),a=n(21),u=n(57),c=n(37),s=n(136),l=n(30),f=n(48),p=n(18),d=n(46),h=n(70),v=n(10),g=n(9),y=n(39),m=n(43),b=n(387),w=n(69),O=n(13),E=o("fetch"),_=o("Headers"),x=O("iterator"),P=l.set,k=l.getterFor("URLSearchParams"),S=l.getterFor("URLSearchParamsIterator"),j=/\+/g,T=Array(4),A=function(e){return T[e-1]||(T[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},I=function(e){try{return decodeURIComponent(e)}catch(t){return e}},M=function(e){var t=e.replace(j," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(A(n--),I);return t}},N=/[!'()~]|%20/g,C={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},D=function(e){return C[e]},R=function(e){return encodeURIComponent(e).replace(N,D)},L=function(e,t){if(t)for(var n,r,o=t.split("&"),i=0;i<o.length;)(n=o[i++]).length&&(r=n.split("="),e.push({key:M(r.shift()),value:M(r.join("="))}))},B=function(e){this.entries.length=0,L(this.entries,e)},F=function(e,t){if(e<t)throw TypeError("Not enough arguments")},U=s((function(e,t){P(this,{type:"URLSearchParamsIterator",iterator:b(k(e).entries),kind:t})}),"Iterator",(function(){var e=S(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),H=function(){f(this,H,"URLSearchParams");var e,t,n,r,o,i,a,u,c,s=arguments.length>0?arguments[0]:void 0,l=this,d=[];if(P(l,{type:"URLSearchParams",entries:d,updateURL:function(){},updateSearchParams:B}),void 0!==s)if(g(s))if("function"==typeof(e=w(s)))for(n=(t=e.call(s)).next;!(r=n.call(t)).done;){if((a=(i=(o=b(v(r.value))).next).call(o)).done||(u=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");d.push({key:a.value+"",value:u.value+""})}else for(c in s)p(s,c)&&d.push({key:c,value:s[c]+""});else L(d,"string"==typeof s?"?"===s.charAt(0)?s.slice(1):s:s+"")},W=H.prototype;u(W,{append:function(e,t){F(arguments.length,2);var n=k(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){F(arguments.length,1);for(var t=k(this),n=t.entries,r=e+"",o=0;o<n.length;)n[o].key===r?n.splice(o,1):o++;t.updateURL()},get:function(e){F(arguments.length,1);for(var t=k(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){F(arguments.length,1);for(var t=k(this).entries,n=e+"",r=[],o=0;o<t.length;o++)t[o].key===n&&r.push(t[o].value);return r},has:function(e){F(arguments.length,1);for(var t=k(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){F(arguments.length,1);for(var n,r=k(this),o=r.entries,i=!1,a=e+"",u=t+"",c=0;c<o.length;c++)(n=o[c]).key===a&&(i?o.splice(c--,1):(i=!0,n.value=u));i||o.push({key:a,value:u}),r.updateURL()},sort:function(){var e,t,n,r=k(this),o=r.entries,i=o.slice();for(o.length=0,n=0;n<i.length;n++){for(e=i[n],t=0;t<n;t++)if(o[t].key>e.key){o.splice(t,0,e);break}t===n&&o.push(e)}r.updateURL()},forEach:function(e){for(var t,n=k(this).entries,r=d(e,arguments.length>1?arguments[1]:void 0,3),o=0;o<n.length;)r((t=n[o++]).value,t.key,this)},keys:function(){return new U(this,"keys")},values:function(){return new U(this,"values")},entries:function(){return new U(this,"entries")}},{enumerable:!0}),a(W,x,W.entries),a(W,"toString",(function(){for(var e,t=k(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(R(e.key)+"="+R(e.value));return n.join("&")}),{enumerable:!0}),c(H,"URLSearchParams"),r({global:!0,forced:!i},{URLSearchParams:H}),i||"function"!=typeof E||"function"!=typeof _||r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,o=[e];return arguments.length>1&&(t=arguments[1],g(t)&&(n=t.body,"URLSearchParams"===h(n)&&((r=t.headers?new _(t.headers):new _).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=y(t,{body:m(0,String(n)),headers:m(0,r)}))),o.push(t)),E.apply(this,o)}}),e.exports={URLSearchParams:H,getState:k}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(91);Object.defineProperty(t,"take",{enumerable:!0,get:function(){return r.take}}),Object.defineProperty(t,"takem",{enumerable:!0,get:function(){return r.takem}}),Object.defineProperty(t,"put",{enumerable:!0,get:function(){return r.put}}),Object.defineProperty(t,"race",{enumerable:!0,get:function(){return r.race}}),Object.defineProperty(t,"call",{enumerable:!0,get:function(){return r.call}}),Object.defineProperty(t,"apply",{enumerable:!0,get:function(){return r.apply}}),Object.defineProperty(t,"cps",{enumerable:!0,get:function(){return r.cps}}),Object.defineProperty(t,"fork",{enumerable:!0,get:function(){return r.fork}}),Object.defineProperty(t,"spawn",{enumerable:!0,get:function(){return r.spawn}}),Object.defineProperty(t,"join",{enumerable:!0,get:function(){return r.join}}),Object.defineProperty(t,"cancel",{enumerable:!0,get:function(){return r.cancel}}),Object.defineProperty(t,"select",{enumerable:!0,get:function(){return r.select}}),Object.defineProperty(t,"actionChannel",{enumerable:!0,get:function(){return r.actionChannel}}),Object.defineProperty(t,"cancelled",{enumerable:!0,get:function(){return r.cancelled}}),Object.defineProperty(t,"flush",{enumerable:!0,get:function(){return r.flush}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TASK_CANCEL=t.CHANNEL_END=t.NOT_ITERATOR_ERROR=void 0,t.default=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return r.noop},d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.noop,v=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r.noop,g=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},y=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,m=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"anonymous",b=arguments[7];(0,r.check)(t,r.is.iterator,l);var w=g.sagaMonitor,O=g.logger,E=g.onError,_=O||r.log,x=(0,a.stdChannel)(n);T.cancel=r.noop;var P=function(e,t,n,o){var i,a;return n._deferredEnd=null,c(i={},r.TASK,!0),c(i,"id",e),c(i,"name",t),"done",(a={}).done=a.done||{},a.done.get=function(){if(n._deferredEnd)return n._deferredEnd.promise;var e=(0,r.deferred)();return n._deferredEnd=e,n._isRunning||(n._error?e.reject(n._error):e.resolve(n._result)),e.promise},c(i,"cont",o),c(i,"joiners",[]),c(i,"cancel",j),c(i,"isRunning",(function(){return n._isRunning})),c(i,"isCancelled",(function(){return n._isCancelled})),c(i,"isAborted",(function(){return n._isAborted})),c(i,"result",(function(){return n._result})),c(i,"error",(function(){return n._error})),function(e,t){for(var n in t){var r=t[n];r.configurable=r.enumerable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,n,r)}}(i,a),i}(y,m,t,b),k={name:m,cancel:function(){k.isRunning&&!k.isCancelled&&(k.isCancelled=!0,T(p))},isRunning:!0},S=function(e,t,n){var o=[],i=void 0,a=!1;function u(e){s(),n(e,!0)}function c(e){o.push(e),e.cont=function(c,s){a||((0,r.remove)(o,e),e.cont=r.noop,s?u(c):(e===t&&(i=c),o.length||(a=!0,n(i))))}}function s(){a||(a=!0,o.forEach((function(e){e.cont=r.noop,e.cancel()})),o=[])}return c(t),{addTask:c,cancelAll:s,abort:u,getTasks:function(){return o},taskNames:function(){return o.map((function(e){return e.name}))}}}(0,k,A);function j(){t._isRunning&&!t._isCancelled&&(t._isCancelled=!0,S.cancelAll(),A(p))}return b&&(b.cancel=j),t._isRunning=!0,T(),P;function T(e,n){if(!k.isRunning)throw new Error("Trying to resume an already finished generator");try{var o=void 0;n?o=t.throw(e):e===p?(k.isCancelled=!0,T.cancel(),o=r.is.func(t.return)?t.return(p):{done:!0,value:p}):o=e===f?r.is.func(t.return)?t.return():{done:!0}:t.next(e),o.done?(k.isMainRunning=!1,k.cont&&k.cont(o.value)):I(o.value,y,"",T)}catch(e){k.isCancelled&&_("error","uncaught at "+m,e.message),k.isMainRunning=!1,k.cont(e,!0)}}function A(e,n){t._isRunning=!1,x.close(),n?(e instanceof Error&&(e.sagaStack="at "+m+" \n "+(e.sagaStack||e.stack)),P.cont||(_("error","uncaught",e.sagaStack||e.stack),e instanceof Error&&E&&E(e)),t._error=e,t._isAborted=!0,t._deferredEnd&&t._deferredEnd.reject(e)):(e===p&&s&&_("info",m+" has been cancelled",""),t._result=e,t._deferredEnd&&t._deferredEnd.resolve(e)),P.cont&&P.cont(e,n),P.joiners.forEach((function(t){return t.cb(e,n)})),P.joiners=null}function I(e,t){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",l=arguments[3],g=(0,r.uid)();w&&w.effectTriggered({effectId:g,parentEffectId:t,label:s,effect:e});var y=void 0;function b(e,t){y||(y=!0,l.cancel=r.noop,w&&(t?w.effectRejected(g,e):w.effectResolved(g,e)),l(e,t))}b.cancel=r.noop,l.cancel=function(){if(!y){y=!0;try{b.cancel()}catch(e){_("error","uncaught at "+m,e.message)}b.cancel=r.noop,w&&w.effectCancelled(g)}};var O=void 0;return(r.is.promise(e)?M(e,b):r.is.helper(e)?C({fn:e},g,b):r.is.iterator(e)?N(e,g,m,b):r.is.array(e)?function(e,t,n){if(!e.length)return n([]);var o=0,i=void 0,u=Array(e.length);var c=e.map((function(e,t){var c=function(e,r){i||(r||(0,a.isEnd)(e)||e===f||e===p?(n.cancel(),n(e,r)):(u[t]=e,++o===u.length&&(i=!0,n(u))))};return c.cancel=r.noop,c}));n.cancel=function(){i||(i=!0,c.forEach((function(e){return e.cancel()})))},e.forEach((function(e,n){return I(e,t,n,c[n])}))}(e,g,b):r.is.notUndef(O=i.asEffect.take(e))?function(e,t){var n=e.channel,r=e.pattern,o=e.maybe;n=n||x;var i=function(e){return e instanceof Error?t(e,!0):(0,a.isEnd)(e)&&!o?t(f):t(e)};try{n.take(i,h(r))}catch(e){return t(e,!0)}t.cancel=i.cancel}(O,b):r.is.notUndef(O=i.asEffect.put(e))?function(e,t){var n=e.channel,i=e.action,a=e.sync;(0,o.asap)((function(){var e=void 0;try{e=(n?n.put:d)(i)}catch(e){if(n||a)return t(e,!0);_("error","uncaught at "+m,e.stack||e.message||e)}if(!a||!r.is.promise(e))return t(e);M(e,t)}))}(O,b):r.is.notUndef(O=i.asEffect.race(e))?function(e,t,n){var o=void 0,i=Object.keys(e),u={};i.forEach((function(e){var t=function(t,r){o||(r?(n.cancel(),n(t,!0)):(0,a.isEnd)(t)||t===f||t===p||(n.cancel(),o=!0,n(c({},e,t))))};t.cancel=r.noop,u[e]=t})),n.cancel=function(){o||(o=!0,i.forEach((function(e){return u[e].cancel()})))},i.forEach((function(n){o||I(e[n],t,n,u[n])}))}(O,g,b):r.is.notUndef(O=i.asEffect.call(e))?function(e,t,n){var o=e.context,i=e.fn,a=e.args,u=void 0;try{u=i.apply(o,a)}catch(e){return n(e,!0)}return r.is.promise(u)?M(u,n):r.is.iterator(u)?N(u,t,i.name,n):n(u)}(O,g,b):r.is.notUndef(O=i.asEffect.cps(e))?function(e,t){var n=e.context,o=e.fn,i=e.args;try{a=function(e,n){return r.is.undef(e)?t(n):t(e,!0)},o.apply(n,i.concat(a)),a.cancel&&(t.cancel=function(){return a.cancel()})}catch(e){return t(e,!0)}var a}(O,b):r.is.notUndef(O=i.asEffect.fork(e))?C(O,g,b):r.is.notUndef(O=i.asEffect.join(e))?function(e,t){e.isRunning()?(n={task:P,cb:t},t.cancel=function(){return(0,r.remove)(e.joiners,n)},e.joiners.push(n)):e.isAborted()?t(e.error(),!0):t(e.result());var n}(O,b):r.is.notUndef(O=i.asEffect.cancel(e))?function(e,t){e.isRunning()&&e.cancel();t()}(O,b):r.is.notUndef(O=i.asEffect.select(e))?function(e,t){var n=e.selector,r=e.args;try{var o=n.apply(void 0,[v()].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(r)));t(o)}catch(e){t(e,!0)}}(O,b):r.is.notUndef(O=i.asEffect.actionChannel(e))?function(e,t){var r=e.pattern,o=e.buffer,i=h(r);i.pattern=r,t((0,a.eventChannel)(n,o||u.buffers.fixed(),i))}(O,b):r.is.notUndef(O=i.asEffect.flush(e))?function(e,t){e.flush(t)}(O,b):r.is.notUndef(O=i.asEffect.cancelled(e))?function(e,t){t(!!k.isCancelled)}(0,b):b(e))}function M(e,t){var n=e[r.CANCEL];"function"==typeof n&&(t.cancel=n),e.then(t,(function(e){return t(e,!0)}))}function N(t,r,o,i){e(t,n,d,v,g,r,o,i)}function C(t,i,a){var u=t.context,c=t.fn,s=t.args,l=t.detached,f=function(e){var t=e.context,n=e.fn,o=e.args;if(r.is.iterator(n))return n;var i=void 0,a=void 0;try{i=n.apply(t,o)}catch(e){a=e}if(r.is.iterator(i))return i;return a?(0,r.makeIterator)((function(){throw a})):(0,r.makeIterator)((u=void 0,c={done:!1,value:i},function(e){return u?{done:!0,value:e}:(u=!0,c)}));var u,c}({context:u,fn:c,args:s});try{(0,o.suspend)();var p=e(f,n,d,v,g,i,c.name,l?null:r.noop);l?a(p):f._isRunning?(S.addTask(p),a(p)):f._error?S.abort(f._error):a(p)}finally{(0,o.flush)()}}};var r=n(42),o=n(166),i=n(91),a=n(92),u=n(93);function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=!1,l=t.NOT_ITERATOR_ERROR="proc first argument (Saga function result) must be an iterator",f=t.CHANNEL_END={toString:function(){return"@@redux-saga/CHANNEL_END"}},p=t.TASK_CANCEL={toString:function(){return"@@redux-saga/TASK_CANCEL"}},d={wildcard:function(){return r.kTrue},default:function(e){return function(t){return t.type===e}},array:function(e){return function(t){return e.some((function(e){return e===t.type}))}},predicate:function(e){return function(t){return e(t)}}};function h(e){return("*"===e?d.wildcard:r.is.array(e)?d.array:r.is.func(e)?d.predicate:d.default)(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.asap=function(e){o?r.push(e):i(e)},t.suspend=a,t.flush=u;var r=[],o=0;function i(e){try{a(),e()}finally{u()}}function a(){o++}function u(){!--o&&r.length&&i(r.shift())}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{top:e?r(e.marginTop):0,right:e?r(e.marginRight):0,bottom:e?r(e.marginBottom):0,left:e?r(e.marginLeft):0}};var r=function(e){return parseInt(e)||0};e.exports=t.default},function(e,t,n){"use strict";var r,o,i;o=[],void 0===(i="function"==typeof(r=function(){var e=0,t=1,n=2,r=3,o=/\s/,i=/<(\w*)>/g;return function(a,u,c){a=a||"";var s,l,f,p=e,d=0,h="",v="",g=!1;for("string"==typeof u?u=function(e){for(var t,n=[];null!==(t=i.exec(e));)n.push(t[1]);return 0!==n.length?n:null}(u):Array.isArray(u)||(u=null),s=0,l=a.length;s<l;s++)switch(f=a[s]){case"<":if(g)break;if(" "==a[s+1]){y(f);break}if(p==e){p=t,y(f);break}if(p==t){d++;break}y(f);break;case">":if(d){d--;break}if(g)break;if(p==t){g=p=0,u&&(v+=">",m());break}if(p==n){g=p=0,v="";break}if(p==r&&"-"==a[s-1]&&"-"==a[s-2]){g=p=0,v="";break}y(f);break;case'"':case"'":p==t&&(g==f?g=!1:g||(g=f)),y(f);break;case"!":if(p==t&&"<"==a[s-1]){p=n;break}y(f);break;case"-":if(p==n&&"-"==a[s-1]&&"!"==a[s-2]){p=r;break}y(f);break;case"E":case"e":if(p==n&&"doctype"==a.substr(s-6,7).toLowerCase()){p=t;break}y(f);break;default:y(f)}function y(n){p==e?h+=n:u&&p==t&&(v+=n)}function m(){var e,t,n,r="",i=!1;e:for(e=0,t=v.length;e<t;e++)switch(n=v[e].toLowerCase()){case"<":break;case">":break e;case"/":i=!0;break;default:if(n.match(o)){if(i)break e}else i=!0,r+=n}-1!==u.indexOf(r)?h+=v:c&&(h+=c),v=""}return h}})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(this,n(73))},function(e,t,n){"use strict";var r=n(118),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function c(e){return r.isMemo(e)?a:u[e.$$typeof]||o}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var s=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=d(n);o&&o!==h&&e(t,o,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var u=c(t),v=c(n),g=0;g<a.length;++g){var y=a[g];if(!(i[y]||r&&r[y]||v&&v[y]||u&&u[y])){var m=p(n,y);try{s(t,y,m)}catch(e){}}}}return t}},function(e,t,n){"use strict";(function(e){var r=n(4),o=n(2),i=n.n(o),a=n(59),u=n(17),c=n(7),s=n.n(c),l=n(3);function f(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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(n,!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.a=function(t,n){var r=s()(),o=[],c=[];if(!n.isServerSide){var f=function(e,t){var n=[],r=[];return e.forEach((function(e){var o;e.createMiddleware&&(o=e.createMiddleware(t),r.push(o)),e.createSaga&&n.push(Object(l.call)(e.createSaga(p({},t,{middleware:o}))))})),{sagas:n,middlewares:r}}(t,n);o=f.sagas,c=f.middlewares}var d,h=Object(u.d)(function(e,t){var n=e.reduce((function(e,n){return n.createReducers?p({},e,{},n.createReducers(t)):e}),{});return Object.keys(n).length?Object(u.c)(n):function(e,t){return e}}(t,n),{},(d=u.a.apply(void 0,[r].concat(Object(a.a)(c))),void 0===e&&"undefined"!=typeof __REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__(d):d));return r.run(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o;case 2:case"end":return e.stop()}}),e)}))),function(e,t){e.forEach((function(e){e.init&&e.init(t)}))}(t,p({},n,{dispatch:h.dispatch,getState:h.getState})),h}}).call(this,n(403))},function(e,t,n){"use strict";var r=n(1),o=n(8),i=n(35),a=n(44),u=n(12),c=n(127),s=n(6),l=n(18),f=n(51),p=n(9),d=n(10),h=n(16),v=n(25),g=n(34),y=n(43),m=n(39),b=n(65),w=n(50),O=n(129),E=n(101),_=n(23),x=n(15),P=n(74),k=n(22),S=n(21),j=n(54),T=n(75),A=n(62),I=n(61),M=n(13),N=n(130),C=n(26),D=n(37),R=n(30),L=n(20).forEach,B=T("hidden"),F=M("toPrimitive"),U=R.set,H=R.getterFor("Symbol"),W=Object.prototype,q=o.Symbol,G=i("JSON","stringify"),V=_.f,z=x.f,Y=O.f,X=P.f,$=j("symbols"),K=j("op-symbols"),Q=j("string-to-symbol-registry"),J=j("symbol-to-string-registry"),Z=j("wks"),ee=o.QObject,te=!ee||!ee.prototype||!ee.prototype.findChild,ne=u&&s((function(){return 7!=m(z({},"a",{get:function(){return z(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=V(W,t);r&&delete W[t],z(e,t,n),r&&e!==W&&z(W,t,r)}:z,re=function(e,t){var n=$[e]=m(q.prototype);return U(n,{type:"Symbol",tag:e,description:t}),u||(n.description=t),n},oe=c&&"symbol"==typeof q.iterator?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof q},ie=function(e,t,n){e===W&&ie(K,t,n),d(e);var r=g(t,!0);return d(n),l($,r)?(n.enumerable?(l(e,B)&&e[B][r]&&(e[B][r]=!1),n=m(n,{enumerable:y(0,!1)})):(l(e,B)||z(e,B,y(1,{})),e[B][r]=!0),ne(e,r,n)):z(e,r,n)},ae=function(e,t){d(e);var n=v(t),r=b(n).concat(le(n));return L(r,(function(t){u&&!ue.call(n,t)||ie(e,t,n[t])})),e},ue=function(e){var t=g(e,!0),n=X.call(this,t);return!(this===W&&l($,t)&&!l(K,t))&&(!(n||!l(this,t)||!l($,t)||l(this,B)&&this[B][t])||n)},ce=function(e,t){var n=v(e),r=g(t,!0);if(n!==W||!l($,r)||l(K,r)){var o=V(n,r);return!o||!l($,r)||l(n,B)&&n[B][r]||(o.enumerable=!0),o}},se=function(e){var t=Y(v(e)),n=[];return L(t,(function(e){l($,e)||l(A,e)||n.push(e)})),n},le=function(e){var t=e===W,n=Y(t?K:v(e)),r=[];return L(n,(function(e){!l($,e)||t&&!l(W,e)||r.push($[e])})),r};(c||(S((q=function(){if(this instanceof q)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=I(e),n=function(e){this===W&&n.call(K,e),l(this,B)&&l(this[B],t)&&(this[B][t]=!1),ne(this,t,y(1,e))};return u&&te&&ne(W,t,{configurable:!0,set:n}),re(t,e)}).prototype,"toString",(function(){return H(this).tag})),P.f=ue,x.f=ie,_.f=ce,w.f=O.f=se,E.f=le,u&&(z(q.prototype,"description",{configurable:!0,get:function(){return H(this).description}}),a||S(W,"propertyIsEnumerable",ue,{unsafe:!0})),N.f=function(e){return re(M(e),e)}),r({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:q}),L(b(Z),(function(e){C(e)})),r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var t=String(e);if(l(Q,t))return Q[t];var n=q(t);return Q[t]=n,J[n]=t,n},keyFor:function(e){if(!oe(e))throw TypeError(e+" is not a symbol");if(l(J,e))return J[e]},useSetter:function(){te=!0},useSimple:function(){te=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!u},{create:function(e,t){return void 0===t?m(e):ae(m(e),t)},defineProperty:ie,defineProperties:ae,getOwnPropertyDescriptor:ce}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:se,getOwnPropertySymbols:le}),r({target:"Object",stat:!0,forced:s((function(){E.f(1)}))},{getOwnPropertySymbols:function(e){return E.f(h(e))}}),G)&&r({target:"JSON",stat:!0,forced:!c||s((function(){var e=q();return"[null]"!=G([e])||"{}"!=G({a:e})||"{}"!=G(Object(e))}))},{stringify:function(e,t,n){for(var r,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=t,(p(t)||void 0!==e)&&!oe(e))return f(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!oe(t))return t}),o[1]=t,G.apply(null,o)}});q.prototype[F]||k(q.prototype,F,q.prototype.valueOf),D(q,"Symbol"),A[B]=!0},function(e,t,n){var r=n(8),o=n(98),i=r["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=i},function(e,t,n){"use strict";var r=n(1),o=n(12),i=n(8),a=n(18),u=n(9),c=n(15).f,s=n(124),l=i.Symbol;if(o&&"function"==typeof l&&(!("description"in l.prototype)||void 0!==l().description)){var f={},p=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof p?new l(e):void 0===e?l():l(e);return""===e&&(f[t]=!0),t};s(p,l);var d=p.prototype=l.prototype;d.constructor=p;var h=d.toString,v="Symbol(test)"==String(l("test")),g=/^Symbol\((.*)\)[^)]+$/;c(d,"description",{configurable:!0,get:function(){var e=u(this)?this.valueOf():this,t=h.call(e);if(a(f,e))return"";var n=v?t.slice(7,-1):t.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:p})}},function(e,t,n){n(26)("asyncIterator")},function(e,t,n){n(26)("hasInstance")},function(e,t,n){n(26)("isConcatSpreadable")},function(e,t,n){n(26)("iterator")},function(e,t,n){n(26)("match")},function(e,t,n){n(26)("replace")},function(e,t,n){n(26)("search")},function(e,t,n){n(26)("species")},function(e,t,n){n(26)("split")},function(e,t,n){n(26)("toPrimitive")},function(e,t,n){n(26)("toStringTag")},function(e,t,n){n(26)("unscopables")},function(e,t,n){"use strict";var r=n(1),o=n(6),i=n(51),a=n(9),u=n(16),c=n(14),s=n(52),l=n(66),f=n(67),p=n(13),d=n(103),h=p("isConcatSpreadable"),v=d>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),g=f("concat"),y=function(e){if(!a(e))return!1;var t=e[h];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!v||!g},{concat:function(e){var t,n,r,o,i,a=u(this),f=l(a,0),p=0;for(t=-1,r=arguments.length;t<r;t++)if(i=-1===t?a:arguments[t],y(i)){if(p+(o=c(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&s(f,p,i[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(f,p++,i)}return f.length=p,f}})},function(e,t,n){var r=n(1),o=n(131),i=n(47);r({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},function(e,t,n){"use strict";var r=n(1),o=n(20).every;r({target:"Array",proto:!0,forced:n(40)("every")},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(1),o=n(104),i=n(47);r({target:"Array",proto:!0},{fill:o}),i("fill")},function(e,t,n){"use strict";var r=n(1),o=n(20).filter;r({target:"Array",proto:!0,forced:!n(67)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(1),o=n(20).find,i=n(47),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("find")},function(e,t,n){"use strict";var r=n(1),o=n(20).findIndex,i=n(47),a=!0;"findIndex"in[]&&Array(1).findIndex((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("findIndex")},function(e,t,n){"use strict";var r=n(1),o=n(132),i=n(16),a=n(14),u=n(31),c=n(66);r({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=i(this),n=a(t.length),r=c(t,0);return r.length=o(r,t,t,n,0,void 0===e?1:u(e)),r}})},function(e,t,n){"use strict";var r=n(1),o=n(132),i=n(16),a=n(14),u=n(32),c=n(66);r({target:"Array",proto:!0},{flatMap:function(e){var t,n=i(this),r=a(n.length);return u(e),(t=c(n,0)).length=o(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},function(e,t,n){"use strict";var r=n(1),o=n(133);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(e,t,n){var r=n(1),o=n(134);r({target:"Array",stat:!0,forced:!n(77)((function(e){Array.from(e)}))},{from:o})},function(e,t,n){"use strict";var r=n(1),o=n(63).includes,i=n(47);r({target:"Array",proto:!0},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(e,t,n){"use strict";var r=n(1),o=n(63).indexOf,i=n(40),a=[].indexOf,u=!!a&&1/[1].indexOf(1,-0)<0,c=i("indexOf");r({target:"Array",proto:!0,forced:u||c},{indexOf:function(e){return u?a.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){n(1)({target:"Array",stat:!0},{isArray:n(51)})},function(e,t,n){"use strict";var r=n(1),o=n(60),i=n(25),a=n(40),u=[].join,c=o!=Object,s=a("join",",");r({target:"Array",proto:!0,forced:c||s},{join:function(e){return u.call(i(this),void 0===e?",":e)}})},function(e,t,n){var r=n(1),o=n(139);r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},function(e,t,n){"use strict";var r=n(1),o=n(20).map;r({target:"Array",proto:!0,forced:!n(67)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(1),o=n(6),i=n(52);r({target:"Array",stat:!0,forced:o((function(){function e(){}return!(Array.of.call(e)instanceof e)}))},{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)i(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var r=n(1),o=n(79).left;r({target:"Array",proto:!0,forced:n(40)("reduce")},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(1),o=n(79).right;r({target:"Array",proto:!0,forced:n(40)("reduceRight")},{reduceRight:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(1),o=n(51),i=[].reverse,a=[1,2];r({target:"Array",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),i.call(this)}})},function(e,t,n){"use strict";var r=n(1),o=n(9),i=n(51),a=n(45),u=n(14),c=n(25),s=n(52),l=n(67),f=n(13)("species"),p=[].slice,d=Math.max;r({target:"Array",proto:!0,forced:!l("slice")},{slice:function(e,t){var n,r,l,h=c(this),v=u(h.length),g=a(e,v),y=a(void 0===t?v:t,v);if(i(h)&&("function"!=typeof(n=h.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[f])&&(n=void 0):n=void 0,n===Array||void 0===n))return p.call(h,g,y);for(r=new(void 0===n?Array:n)(d(y-g,0)),l=0;g<y;g++,l++)g in h&&s(r,l,h[g]);return r.length=l,r}})},function(e,t,n){"use strict";var r=n(1),o=n(20).some;r({target:"Array",proto:!0,forced:n(40)("some")},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(1),o=n(32),i=n(16),a=n(6),u=n(40),c=[],s=c.sort,l=a((function(){c.sort(void 0)})),f=a((function(){c.sort(null)})),p=u("sort");r({target:"Array",proto:!0,forced:l||!f||p},{sort:function(e){return void 0===e?s.call(i(this)):s.call(i(this),o(e))}})},function(e,t,n){n(56)("Array")},function(e,t,n){"use strict";var r=n(1),o=n(45),i=n(31),a=n(14),u=n(16),c=n(66),s=n(52),l=n(67),f=Math.max,p=Math.min;r({target:"Array",proto:!0,forced:!l("splice")},{splice:function(e,t){var n,r,l,d,h,v,g=u(this),y=a(g.length),m=o(e,y),b=arguments.length;if(0===b?n=r=0:1===b?(n=0,r=y-m):(n=b-2,r=p(f(i(t),0),y-m)),y+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(l=c(g,r),d=0;d<r;d++)(h=m+d)in g&&s(l,d,g[h]);if(l.length=r,n<r){for(d=m;d<y-r;d++)v=d+n,(h=d+r)in g?g[v]=g[h]:delete g[v];for(d=y;d>y-r+n;d--)delete g[d-1]}else if(n>r)for(d=y-r;d>m;d--)v=d+n-1,(h=d+r-1)in g?g[v]=g[h]:delete g[v];for(d=0;d<n;d++)g[d+m]=arguments[d+2];return g.length=y-r+n,l}})},function(e,t,n){n(47)("flat")},function(e,t,n){n(47)("flatMap")},function(e,t,n){"use strict";var r=n(1),o=n(8),i=n(80),a=n(56),u=i.ArrayBuffer;r({global:!0,forced:o.ArrayBuffer!==u},{ArrayBuffer:u}),a("ArrayBuffer")},function(e,t,n){var r=n(1),o=n(11);r({target:"ArrayBuffer",stat:!0,forced:!o.NATIVE_ARRAY_BUFFER_VIEWS},{isView:o.isView})},function(e,t,n){"use strict";var r=n(1),o=n(6),i=n(80),a=n(10),u=n(45),c=n(14),s=n(49),l=i.ArrayBuffer,f=i.DataView,p=l.prototype.slice;r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:o((function(){return!new l(2).slice(1,void 0).byteLength}))},{slice:function(e,t){if(void 0!==p&&void 0===t)return p.call(a(this),e);for(var n=a(this).byteLength,r=u(e,n),o=u(void 0===t?n:t,n),i=new(s(this,l))(c(o-r)),d=new f(this),h=new f(i),v=0;r<o;)h.setUint8(v++,d.getUint8(r++));return i}})},function(e,t,n){var r=n(1),o=n(80);r({global:!0,forced:!n(11).NATIVE_ARRAY_BUFFER},{DataView:o.DataView})},function(e,t,n){n(1)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},function(e,t,n){var r=n(1),o=n(222);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==o},{toISOString:o})},function(e,t,n){"use strict";var r=n(6),o=n(108).start,i=Math.abs,a=Date.prototype,u=a.getTime,c=a.toISOString;e.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=c.call(new Date(-5e13-1))}))||!r((function(){c.call(new Date(NaN))}))?function(){if(!isFinite(u.call(this)))throw RangeError("Invalid time value");var e=this.getUTCFullYear(),t=this.getUTCMilliseconds(),n=e<0?"-":e>9999?"+":"";return n+o(i(e),n?6:4,0)+"-"+o(this.getUTCMonth()+1,2,0)+"-"+o(this.getUTCDate(),2,0)+"T"+o(this.getUTCHours(),2,0)+":"+o(this.getUTCMinutes(),2,0)+":"+o(this.getUTCSeconds(),2,0)+"."+o(t,3,0)+"Z"}:c},function(e,t,n){"use strict";var r=n(1),o=n(6),i=n(16),a=n(34);r({target:"Date",proto:!0,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var t=i(this),n=a(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){var r=n(22),o=n(225),i=n(13)("toPrimitive"),a=Date.prototype;i in a||r(a,i,o)},function(e,t,n){"use strict";var r=n(10),o=n(34);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return o(r(this),"number"!==e)}},function(e,t,n){var r=n(21),o=Date.prototype,i=o.toString,a=o.getTime;new Date(NaN)+""!="Invalid Date"&&r(o,"toString",(function(){var e=a.call(this);return e==e?i.call(this):"Invalid Date"}))},function(e,t,n){n(1)({target:"Function",proto:!0},{bind:n(141)})},function(e,t,n){"use strict";var r=n(9),o=n(15),i=n(38),a=n(13)("hasInstance"),u=Function.prototype;a in u||o.f(u,a,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=i(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){var r=n(12),o=n(15).f,i=Function.prototype,a=i.toString,u=/^\s*function ([^ (]*)/;!r||"name"in i||o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(u)[1]}catch(e){return""}}})},function(e,t,n){var r=n(8);n(37)(r.JSON,"JSON",!0)},function(e,t,n){"use strict";var r=n(81),o=n(142);e.exports=r("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o,!0)},function(e,t,n){var r=n(1),o=n(143),i=Math.acosh,a=Math.log,u=Math.sqrt,c=Math.LN2;r({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?a(e)+c:o(e-1+u(e-1)*u(e+1))}})},function(e,t,n){var r=n(1),o=Math.asinh,i=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):i(t+a(t*t+1)):t}})},function(e,t,n){var r=n(1),o=Math.atanh,i=Math.log;r({target:"Math",stat:!0,forced:!(o&&1/o(-0)<0)},{atanh:function(e){return 0==(e=+e)?e:i((1+e)/(1-e))/2}})},function(e,t,n){var r=n(1),o=n(110),i=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(e){return o(e=+e)*a(i(e),1/3)}})},function(e,t,n){var r=n(1),o=Math.floor,i=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(e){return(e>>>=0)?31-o(i(e+.5)*a):32}})},function(e,t,n){var r=n(1),o=n(83),i=Math.cosh,a=Math.abs,u=Math.E;r({target:"Math",stat:!0,forced:!i||i(710)===1/0},{cosh:function(e){var t=o(a(e)-1)+1;return(t+1/(t*u*u))*(u/2)}})},function(e,t,n){var r=n(1),o=n(83);r({target:"Math",stat:!0,forced:o!=Math.expm1},{expm1:o})},function(e,t,n){n(1)({target:"Math",stat:!0},{fround:n(240)})},function(e,t,n){var r=n(110),o=Math.abs,i=Math.pow,a=i(2,-52),u=i(2,-23),c=i(2,127)*(2-u),s=i(2,-126);e.exports=Math.fround||function(e){var t,n,i=o(e),l=r(e);return i<s?l*(i/s/u+1/a-1/a)*s*u:(n=(t=(1+u/a)*i)-(t-i))>c||n!=n?l*(1/0):l*n}},function(e,t,n){var r=n(1),o=Math.hypot,i=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(e,t){for(var n,r,o=0,u=0,c=arguments.length,s=0;u<c;)s<(n=i(arguments[u++]))?(o=o*(r=s/n)*r+1,s=n):o+=n>0?(r=n/s)*r:n;return s===1/0?1/0:s*a(o)}})},function(e,t,n){var r=n(1),o=n(6),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!=i(4294967295,5)||2!=i.length}))},{imul:function(e,t){var n=+e,r=+t,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},function(e,t,n){var r=n(1),o=Math.log,i=Math.LOG10E;r({target:"Math",stat:!0},{log10:function(e){return o(e)*i}})},function(e,t,n){n(1)({target:"Math",stat:!0},{log1p:n(143)})},function(e,t,n){var r=n(1),o=Math.log,i=Math.LN2;r({target:"Math",stat:!0},{log2:function(e){return o(e)/i}})},function(e,t,n){n(1)({target:"Math",stat:!0},{sign:n(110)})},function(e,t,n){var r=n(1),o=n(6),i=n(83),a=Math.abs,u=Math.exp,c=Math.E;r({target:"Math",stat:!0,forced:o((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(e){return a(e=+e)<1?(i(e)-i(-e))/2:(u(e-1)-u(-e-1))*(c/2)}})},function(e,t,n){var r=n(1),o=n(83),i=Math.exp;r({target:"Math",stat:!0},{tanh:function(e){var t=o(e=+e),n=o(-e);return t==1/0?1:n==1/0?-1:(t-n)/(i(e)+i(-e))}})},function(e,t,n){n(37)(Math,"Math",!0)},function(e,t,n){var r=n(1),o=Math.ceil,i=Math.floor;r({target:"Math",stat:!0},{trunc:function(e){return(e>0?i:o)(e)}})},function(e,t,n){"use strict";var r=n(12),o=n(8),i=n(64),a=n(21),u=n(18),c=n(33),s=n(82),l=n(34),f=n(6),p=n(39),d=n(50).f,h=n(23).f,v=n(15).f,g=n(58).trim,y=o.Number,m=y.prototype,b="Number"==c(p(m)),w=function(e){var t,n,r,o,i,a,u,c,s=l(e,!1);if("string"==typeof s&&s.length>2)if(43===(t=(s=g(s)).charCodeAt(0))||45===t){if(88===(n=s.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(s.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+s}for(a=(i=s.slice(2)).length,u=0;u<a;u++)if((c=i.charCodeAt(u))<48||c>o)return NaN;return parseInt(i,r)}return+s};if(i("Number",!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var O,E=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof E&&(b?f((function(){m.valueOf.call(n)})):"Number"!=c(n))?s(new y(w(t)),n,E):w(t)},_=r?d(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;_.length>x;x++)u(y,O=_[x])&&!u(E,O)&&v(E,O,h(y,O));E.prototype=m,m.constructor=E,a(o,"Number",E)}},function(e,t,n){n(1)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},function(e,t,n){n(1)({target:"Number",stat:!0},{isFinite:n(254)})},function(e,t,n){var r=n(8).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&r(e)}},function(e,t,n){n(1)({target:"Number",stat:!0},{isInteger:n(144)})},function(e,t,n){n(1)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},function(e,t,n){var r=n(1),o=n(144),i=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(e){return o(e)&&i(e)<=9007199254740991}})},function(e,t,n){n(1)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){n(1)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(1),o=n(145);r({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},function(e,t,n){var r=n(1),o=n(146);r({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},function(e,t,n){"use strict";var r=n(1),o=n(31),i=n(147),a=n(109),u=n(6),c=1..toFixed,s=Math.floor,l=function(e,t,n){return 0===t?n:t%2==1?l(e,t-1,n*e):l(e*e,t/2,n)};r({target:"Number",proto:!0,forced:c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!u((function(){c.call({})}))},{toFixed:function(e){var t,n,r,u,c=i(this),f=o(e),p=[0,0,0,0,0,0],d="",h="0",v=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*p[n],p[n]=r%1e7,r=s(r/1e7)},g=function(e){for(var t=6,n=0;--t>=0;)n+=p[t],p[t]=s(n/e),n=n%e*1e7},y=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==p[e]){var n=String(p[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t};if(f<0||f>20)throw RangeError("Incorrect fraction digits");if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(d="-",c=-c),c>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(c*l(2,69,1))-69)<0?c*l(2,-t,1):c/l(2,t,1),n*=4503599627370496,(t=52-t)>0){for(v(0,n),r=f;r>=7;)v(1e7,0),r-=7;for(v(l(10,r,1),0),r=t-1;r>=23;)g(1<<23),r-=23;g(1<<r),v(1,1),g(2),h=y()}else v(0,n),v(1<<-t,0),h=y()+a.call("0",f);return h=f>0?d+((u=h.length)<=f?"0."+a.call("0",f-u)+h:h.slice(0,u-f)+"."+h.slice(u-f)):d+h}})},function(e,t,n){"use strict";var r=n(1),o=n(6),i=n(147),a=1..toPrecision;r({target:"Number",proto:!0,forced:o((function(){return"1"!==a.call(1,void 0)}))||!o((function(){a.call({})}))},{toPrecision:function(e){return void 0===e?a.call(i(this)):a.call(i(this),e)}})},function(e,t,n){var r=n(1),o=n(148);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(e,t,n){n(1)({target:"Object",stat:!0,sham:!n(12)},{create:n(39)})},function(e,t,n){"use strict";var r=n(1),o=n(12),i=n(85),a=n(16),u=n(32),c=n(15);o&&r({target:"Object",proto:!0,forced:i},{__defineGetter__:function(e,t){c.f(a(this),e,{get:u(t),enumerable:!0,configurable:!0})}})},function(e,t,n){var r=n(1),o=n(12);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n(102)})},function(e,t,n){var r=n(1),o=n(12);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(15).f})},function(e,t,n){"use strict";var r=n(1),o=n(12),i=n(85),a=n(16),u=n(32),c=n(15);o&&r({target:"Object",proto:!0,forced:i},{__defineSetter__:function(e,t){c.f(a(this),e,{set:u(t),enumerable:!0,configurable:!0})}})},function(e,t,n){var r=n(1),o=n(149).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},function(e,t,n){var r=n(1),o=n(71),i=n(6),a=n(9),u=n(53).onFreeze,c=Object.freeze;r({target:"Object",stat:!0,forced:i((function(){c(1)})),sham:!o},{freeze:function(e){return c&&a(e)?c(u(e)):e}})},function(e,t,n){var r=n(1),o=n(72),i=n(52);r({target:"Object",stat:!0},{fromEntries:function(e){var t={};return o(e,(function(e,n){i(t,e,n)}),void 0,!0),t}})},function(e,t,n){var r=n(1),o=n(6),i=n(25),a=n(23).f,u=n(12),c=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!u||c,sham:!u},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},function(e,t,n){var r=n(1),o=n(12),i=n(99),a=n(25),u=n(23),c=n(52);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=u.f,s=i(r),l={},f=0;s.length>f;)void 0!==(n=o(r,t=s[f++]))&&c(l,t,n);return l}})},function(e,t,n){var r=n(1),o=n(6),i=n(129).f;r({target:"Object",stat:!0,forced:o((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},function(e,t,n){var r=n(1),o=n(6),i=n(16),a=n(38),u=n(107);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!u},{getPrototypeOf:function(e){return a(i(e))}})},function(e,t,n){n(1)({target:"Object",stat:!0},{is:n(150)})},function(e,t,n){var r=n(1),o=n(6),i=n(9),a=Object.isExtensible;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isExtensible:function(e){return!!i(e)&&(!a||a(e))}})},function(e,t,n){var r=n(1),o=n(6),i=n(9),a=Object.isFrozen;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isFrozen:function(e){return!i(e)||!!a&&a(e)}})},function(e,t,n){var r=n(1),o=n(6),i=n(9),a=Object.isSealed;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isSealed:function(e){return!i(e)||!!a&&a(e)}})},function(e,t,n){var r=n(1),o=n(16),i=n(65);r({target:"Object",stat:!0,forced:n(6)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},function(e,t,n){"use strict";var r=n(1),o=n(12),i=n(85),a=n(16),u=n(34),c=n(38),s=n(23).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupGetter__:function(e){var t,n=a(this),r=u(e,!0);do{if(t=s(n,r))return t.get}while(n=c(n))}})},function(e,t,n){"use strict";var r=n(1),o=n(12),i=n(85),a=n(16),u=n(34),c=n(38),s=n(23).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupSetter__:function(e){var t,n=a(this),r=u(e,!0);do{if(t=s(n,r))return t.set}while(n=c(n))}})},function(e,t,n){var r=n(1),o=n(9),i=n(53).onFreeze,a=n(71),u=n(6),c=Object.preventExtensions;r({target:"Object",stat:!0,forced:u((function(){c(1)})),sham:!a},{preventExtensions:function(e){return c&&o(e)?c(i(e)):e}})},function(e,t,n){var r=n(1),o=n(9),i=n(53).onFreeze,a=n(71),u=n(6),c=Object.seal;r({target:"Object",stat:!0,forced:u((function(){c(1)})),sham:!a},{seal:function(e){return c&&o(e)?c(i(e)):e}})},function(e,t,n){n(1)({target:"Object",stat:!0},{setPrototypeOf:n(55)})},function(e,t,n){var r=n(21),o=n(288),i=Object.prototype;o!==i.toString&&r(i,"toString",o,{unsafe:!0})},function(e,t,n){"use strict";var r=n(70),o={};o[n(13)("toStringTag")]="z",e.exports="[object z]"!==String(o)?function(){return"[object "+r(this)+"]"}:o.toString},function(e,t,n){var r=n(1),o=n(149).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},function(e,t,n){var r=n(1),o=n(145);r({global:!0,forced:parseFloat!=o},{parseFloat:o})},function(e,t,n){var r=n(1),o=n(146);r({global:!0,forced:parseInt!=o},{parseInt:o})},function(e,t,n){"use strict";var r,o,i,a,u=n(1),c=n(44),s=n(8),l=n(35),f=n(151),p=n(21),d=n(57),h=n(54),v=n(37),g=n(56),y=n(9),m=n(32),b=n(48),w=n(33),O=n(72),E=n(77),_=n(49),x=n(111).set,P=n(153),k=n(154),S=n(293),j=n(155),T=n(294),A=n(30),I=n(64),M=n(13),N=n(103),C=M("species"),D="Promise",R=A.get,L=A.set,B=A.getterFor(D),F=f,U=s.TypeError,H=s.document,W=s.process,q=h("inspectSource"),G=l("fetch"),V=j.f,z=V,Y="process"==w(W),X=!!(H&&H.createEvent&&s.dispatchEvent),$=I(D,(function(){var e=q(F)!==String(F);if(66===N)return!0;if(!e&&!Y&&"function"!=typeof PromiseRejectionEvent)return!0;if(c&&!F.prototype.finally)return!0;if(N>=51&&/native code/.test(F))return!1;var t=F.resolve(1),n=function(e){e((function(){}),(function(){}))};return(t.constructor={})[C]=n,!(t.then((function(){}))instanceof n)})),K=$||!E((function(e){F.all(e).catch((function(){}))})),Q=function(e){var t;return!(!y(e)||"function"!=typeof(t=e.then))&&t},J=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;P((function(){for(var o=t.value,i=1==t.state,a=0;r.length>a;){var u,c,s,l=r[a++],f=i?l.ok:l.fail,p=l.resolve,d=l.reject,h=l.domain;try{f?(i||(2===t.rejection&&ne(e,t),t.rejection=1),!0===f?u=o:(h&&h.enter(),u=f(o),h&&(h.exit(),s=!0)),u===l.promise?d(U("Promise-chain cycle")):(c=Q(u))?c.call(u,p,d):p(u)):d(o)}catch(e){h&&!s&&h.exit(),d(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&ee(e,t)}))}},Z=function(e,t,n){var r,o;X?((r=H.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),s.dispatchEvent(r)):r={promise:t,reason:n},(o=s["on"+e])?o(r):"unhandledrejection"===e&&S("Unhandled promise rejection",n)},ee=function(e,t){x.call(s,(function(){var n,r=t.value;if(te(t)&&(n=T((function(){Y?W.emit("unhandledRejection",r,e):Z("unhandledrejection",e,r)})),t.rejection=Y||te(t)?2:1,n.error))throw n.value}))},te=function(e){return 1!==e.rejection&&!e.parent},ne=function(e,t){x.call(s,(function(){Y?W.emit("rejectionHandled",e):Z("rejectionhandled",e,t.value)}))},re=function(e,t,n,r){return function(o){e(t,n,o,r)}},oe=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,J(e,t,!0))},ie=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw U("Promise can't be resolved itself");var o=Q(n);o?P((function(){var r={done:!1};try{o.call(n,re(ie,e,r,t),re(oe,e,r,t))}catch(n){oe(e,r,n,t)}})):(t.value=n,t.state=1,J(e,t,!1))}catch(n){oe(e,{done:!1},n,t)}}};$&&(F=function(e){b(this,F,D),m(e),r.call(this);var t=R(this);try{e(re(ie,this,t),re(oe,this,t))}catch(e){oe(this,t,e)}},(r=function(e){L(this,{type:D,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(F.prototype,{then:function(e,t){var n=B(this),r=V(_(this,F));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=Y?W.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&J(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=R(e);this.promise=e,this.resolve=re(ie,e,t),this.reject=re(oe,e,t)},j.f=V=function(e){return e===F||e===i?new o(e):z(e)},c||"function"!=typeof f||(a=f.prototype.then,p(f.prototype,"then",(function(e,t){var n=this;return new F((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof G&&u({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return k(F,G.apply(s,arguments))}}))),u({global:!0,wrap:!0,forced:$},{Promise:F}),v(F,D,!1,!0),g(D),i=l(D),u({target:D,stat:!0,forced:$},{reject:function(e){var t=V(this);return t.reject.call(void 0,e),t.promise}}),u({target:D,stat:!0,forced:c||$},{resolve:function(e){return k(c&&this===i?F:this,e)}}),u({target:D,stat:!0,forced:K},{all:function(e){var t=this,n=V(t),r=n.resolve,o=n.reject,i=T((function(){var n=m(t.resolve),i=[],a=0,u=1;O(e,(function(e){var c=a++,s=!1;i.push(void 0),u++,n.call(t,e).then((function(e){s||(s=!0,i[c]=e,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=V(t),r=n.reject,o=T((function(){var o=m(t.resolve);O(e,(function(e){o.call(t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},function(e,t,n){var r=n(8);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,t,n){"use strict";var r=n(1),o=n(44),i=n(151),a=n(35),u=n(49),c=n(154),s=n(21);r({target:"Promise",proto:!0,real:!0},{finally:function(e){var t=u(this,a("Promise")),n="function"==typeof e;return this.then(n?function(n){return c(t,e()).then((function(){return n}))}:e,n?function(n){return c(t,e()).then((function(){throw n}))}:e)}}),o||"function"!=typeof i||i.prototype.finally||s(i.prototype,"finally",a("Promise").prototype.finally)},function(e,t,n){var r=n(1),o=n(35),i=n(32),a=n(10),u=n(6),c=o("Reflect","apply"),s=Function.apply;r({target:"Reflect",stat:!0,forced:!u((function(){c((function(){}))}))},{apply:function(e,t,n){return i(e),a(n),c?c(e,t,n):s.call(e,t,n)}})},function(e,t,n){var r=n(1),o=n(35),i=n(32),a=n(10),u=n(9),c=n(39),s=n(141),l=n(6),f=o("Reflect","construct"),p=l((function(){function e(){}return!(f((function(){}),[],e)instanceof e)})),d=!l((function(){f((function(){}))})),h=p||d;r({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(d&&!p)return f(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(s.apply(e,r))}var o=n.prototype,l=c(u(o)?o:Object.prototype),h=Function.apply.call(e,l,t);return u(h)?h:l}})},function(e,t,n){var r=n(1),o=n(12),i=n(10),a=n(34),u=n(15);r({target:"Reflect",stat:!0,forced:n(6)((function(){Reflect.defineProperty(u.f({},1,{value:1}),1,{value:2})})),sham:!o},{defineProperty:function(e,t,n){i(e);var r=a(t,!0);i(n);try{return u.f(e,r,n),!0}catch(e){return!1}}})},function(e,t,n){var r=n(1),o=n(10),i=n(23).f;r({target:"Reflect",stat:!0},{deleteProperty:function(e,t){var n=i(o(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){var r=n(1),o=n(9),i=n(10),a=n(18),u=n(23),c=n(38);r({target:"Reflect",stat:!0},{get:function e(t,n){var r,s,l=arguments.length<3?t:arguments[2];return i(t)===l?t[n]:(r=u.f(t,n))?a(r,"value")?r.value:void 0===r.get?void 0:r.get.call(l):o(s=c(t))?e(s,n,l):void 0}})},function(e,t,n){var r=n(1),o=n(12),i=n(10),a=n(23);r({target:"Reflect",stat:!0,sham:!o},{getOwnPropertyDescriptor:function(e,t){return a.f(i(e),t)}})},function(e,t,n){var r=n(1),o=n(10),i=n(38);r({target:"Reflect",stat:!0,sham:!n(107)},{getPrototypeOf:function(e){return i(o(e))}})},function(e,t,n){n(1)({target:"Reflect",stat:!0},{has:function(e,t){return t in e}})},function(e,t,n){var r=n(1),o=n(10),i=Object.isExtensible;r({target:"Reflect",stat:!0},{isExtensible:function(e){return o(e),!i||i(e)}})},function(e,t,n){n(1)({target:"Reflect",stat:!0},{ownKeys:n(99)})},function(e,t,n){var r=n(1),o=n(35),i=n(10);r({target:"Reflect",stat:!0,sham:!n(71)},{preventExtensions:function(e){i(e);try{var t=o("Object","preventExtensions");return t&&t(e),!0}catch(e){return!1}}})},function(e,t,n){var r=n(1),o=n(10),i=n(9),a=n(18),u=n(15),c=n(23),s=n(38),l=n(43);r({target:"Reflect",stat:!0},{set:function e(t,n,r){var f,p,d=arguments.length<4?t:arguments[3],h=c.f(o(t),n);if(!h){if(i(p=s(t)))return e(p,n,r,d);h=l(0)}if(a(h,"value")){if(!1===h.writable||!i(d))return!1;if(f=c.f(d,n)){if(f.get||f.set||!1===f.writable)return!1;f.value=r,u.f(d,n,f)}else u.f(d,n,l(0,r));return!0}return void 0!==h.set&&(h.set.call(d,r),!0)}})},function(e,t,n){var r=n(1),o=n(10),i=n(138),a=n(55);a&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(e,t){o(e),i(t);try{return a(e,t),!0}catch(e){return!1}}})},function(e,t,n){var r=n(12),o=n(8),i=n(64),a=n(82),u=n(15).f,c=n(50).f,s=n(112),l=n(86),f=n(21),p=n(6),d=n(56),h=n(13)("match"),v=o.RegExp,g=v.prototype,y=/a/g,m=/a/g,b=new v(y)!==y;if(r&&i("RegExp",!b||p((function(){return m[h]=!1,v(y)!=y||v(m)==m||"/a/i"!=v(y,"i")})))){for(var w=function(e,t){var n=this instanceof w,r=s(e),o=void 0===t;return!n&&r&&e.constructor===w&&o?e:a(b?new v(r&&!o?e.source:e,t):v((r=e instanceof w)?e.source:e,r&&o?l.call(e):t),n?this:g,w)},O=function(e){e in w||u(w,e,{configurable:!0,get:function(){return v[e]},set:function(t){v[e]=t}})},E=c(v),_=0;E.length>_;)O(E[_++]);g.constructor=w,w.prototype=g,f(o,"RegExp",w)}d("RegExp")},function(e,t,n){"use strict";var r=n(1),o=n(87);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(e,t,n){var r=n(12),o=n(15),i=n(86);r&&"g"!=/./g.flags&&o.f(RegExp.prototype,"flags",{configurable:!0,get:i})},function(e,t,n){"use strict";var r=n(21),o=n(10),i=n(6),a=n(86),u=RegExp.prototype,c=u.toString,s=i((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),l="toString"!=c.name;(s||l)&&r(RegExp.prototype,"toString",(function(){var e=o(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in u)?a.call(e):n)}),{unsafe:!0})},function(e,t,n){"use strict";var r=n(81),o=n(142);e.exports=r("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},function(e,t,n){"use strict";var r=n(1),o=n(88).codeAt;r({target:"String",proto:!0},{codePointAt:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(1),o=n(14),i=n(113),a=n(24),u=n(114),c="".endsWith,s=Math.min;r({target:"String",proto:!0,forced:!u("endsWith")},{endsWith:function(e){var t=String(a(this));i(e);var n=arguments.length>1?arguments[1]:void 0,r=o(t.length),u=void 0===n?r:s(o(n),r),l=String(e);return c?c.call(t,l,u):t.slice(u-l.length,u)===l}})},function(e,t,n){var r=n(1),o=n(45),i=String.fromCharCode,a=String.fromCodePoint;r({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,a=0;r>a;){if(t=+arguments[a++],o(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){"use strict";var r=n(1),o=n(113),i=n(24);r({target:"String",proto:!0,forced:!n(114)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(89),o=n(10),i=n(14),a=n(24),u=n(115),c=n(90);r("match",1,(function(e,t,n){return[function(t){var n=a(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var a=o(e),s=String(this);if(!a.global)return c(a,s);var l=a.unicode;a.lastIndex=0;for(var f,p=[],d=0;null!==(f=c(a,s));){var h=String(f[0]);p[d]=h,""===h&&(a.lastIndex=u(s,i(a.lastIndex),l)),d++}return 0===d?null:p}]}))},function(e,t,n){"use strict";var r=n(1),o=n(108).end;r({target:"String",proto:!0,forced:n(157)},{padEnd:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(1),o=n(108).start;r({target:"String",proto:!0,forced:n(157)},{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(1),o=n(25),i=n(14);r({target:"String",stat:!0},{raw:function(e){for(var t=o(e.raw),n=i(t.length),r=arguments.length,a=[],u=0;n>u;)a.push(String(t[u++])),u<r&&a.push(String(arguments[u]));return a.join("")}})},function(e,t,n){n(1)({target:"String",proto:!0},{repeat:n(109)})},function(e,t,n){"use strict";var r=n(89),o=n(10),i=n(16),a=n(14),u=n(31),c=n(24),s=n(115),l=n(90),f=Math.max,p=Math.min,d=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,v=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(e,t,n){return[function(n,r){var o=c(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,i){var c=n(t,e,this,i);if(c.done)return c.value;var d=o(e),h=String(this),v="function"==typeof i;v||(i=String(i));var g=d.global;if(g){var y=d.unicode;d.lastIndex=0}for(var m=[];;){var b=l(d,h);if(null===b)break;if(m.push(b),!g)break;""===String(b[0])&&(d.lastIndex=s(h,a(d.lastIndex),y))}for(var w,O="",E=0,_=0;_<m.length;_++){b=m[_];for(var x=String(b[0]),P=f(p(u(b.index),h.length),0),k=[],S=1;S<b.length;S++)k.push(void 0===(w=b[S])?w:String(w));var j=b.groups;if(v){var T=[x].concat(k,P,h);void 0!==j&&T.push(j);var A=String(i.apply(void 0,T))}else A=r(x,h,P,k,j,i);P>=E&&(O+=h.slice(E,P)+A,E=P+x.length)}return O+h.slice(E)}];function r(e,n,r,o,a,u){var c=r+e.length,s=o.length,l=v;return void 0!==a&&(a=i(a),l=h),t.call(u,l,(function(t,i){var u;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(c);case"<":u=a[i.slice(1,-1)];break;default:var l=+i;if(0===l)return t;if(l>s){var f=d(l/10);return 0===f?t:f<=s?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):t}u=o[l-1]}return void 0===u?"":u}))}}))},function(e,t,n){"use strict";var r=n(89),o=n(10),i=n(24),a=n(150),u=n(90);r("search",1,(function(e,t,n){return[function(t){var n=i(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=o(e),c=String(this),s=i.lastIndex;a(s,0)||(i.lastIndex=0);var l=u(i,c);return a(i.lastIndex,s)||(i.lastIndex=s),null===l?-1:l.index}]}))},function(e,t,n){"use strict";var r=n(89),o=n(112),i=n(10),a=n(24),u=n(49),c=n(115),s=n(14),l=n(90),f=n(87),p=n(6),d=[].push,h=Math.min,v=!p((function(){return!RegExp(4294967295,"y")}));r("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,i);for(var u,c,s,l=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,v=new RegExp(e.source,p+"g");(u=f.call(v,r))&&!((c=v.lastIndex)>h&&(l.push(r.slice(h,u.index)),u.length>1&&u.index<r.length&&d.apply(l,u.slice(1)),s=u[0].length,h=c,l.length>=i));)v.lastIndex===u.index&&v.lastIndex++;return h===r.length?!s&&v.test("")||l.push(""):l.push(r.slice(h)),l.length>i?l.slice(0,i):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=a(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(String(o),t,n)},function(e,o){var a=n(r,e,this,o,r!==t);if(a.done)return a.value;var f=i(e),p=String(this),d=u(f,RegExp),g=f.unicode,y=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(v?"y":"g"),m=new d(v?f:"^(?:"+f.source+")",y),b=void 0===o?4294967295:o>>>0;if(0===b)return[];if(0===p.length)return null===l(m,p)?[p]:[];for(var w=0,O=0,E=[];O<p.length;){m.lastIndex=v?O:0;var _,x=l(m,v?p:p.slice(O));if(null===x||(_=h(s(m.lastIndex+(v?0:O)),p.length))===w)O=c(p,O,g);else{if(E.push(p.slice(w,O)),E.length===b)return E;for(var P=1;P<=x.length-1;P++)if(E.push(x[P]),E.length===b)return E;O=w=_}}return E.push(p.slice(w)),E}]}),!v)},function(e,t,n){"use strict";var r=n(1),o=n(14),i=n(113),a=n(24),u=n(114),c="".startsWith,s=Math.min;r({target:"String",proto:!0,forced:!u("startsWith")},{startsWith:function(e){var t=String(a(this));i(e);var n=o(s(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return c?c.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";var r=n(1),o=n(58).trim;r({target:"String",proto:!0,forced:n(116)("trim")},{trim:function(){return o(this)}})},function(e,t,n){"use strict";var r=n(1),o=n(58).end,i=n(116)("trimEnd"),a=i?function(){return o(this)}:"".trimEnd;r({target:"String",proto:!0,forced:i},{trimEnd:a,trimRight:a})},function(e,t,n){"use strict";var r=n(1),o=n(58).start,i=n(116)("trimStart"),a=i?function(){return o(this)}:"".trimStart;r({target:"String",proto:!0,forced:i},{trimStart:a,trimLeft:a})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("big")},{big:function(){return o(this,"big","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("blink")},{blink:function(){return o(this,"blink","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("bold")},{bold:function(){return o(this,"b","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("fixed")},{fixed:function(){return o(this,"tt","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("fontcolor")},{fontcolor:function(e){return o(this,"font","color",e)}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("fontsize")},{fontsize:function(e){return o(this,"font","size",e)}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("italics")},{italics:function(){return o(this,"i","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("link")},{link:function(e){return o(this,"a","href",e)}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("small")},{small:function(){return o(this,"small","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("strike")},{strike:function(){return o(this,"strike","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("sub")},{sub:function(){return o(this,"sub","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("sup")},{sup:function(){return o(this,"sup","","")}})},function(e,t,n){n(41)("Float32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){var r=n(31);e.exports=function(e){var t=r(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},function(e,t,n){n(41)("Float64",8,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(41)("Int8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(41)("Int16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(41)("Int32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(41)("Uint8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(41)("Uint8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}),!0)},function(e,t,n){n(41)("Uint16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(41)("Uint32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){"use strict";var r=n(11),o=n(131),i=r.aTypedArray;r.exportProto("copyWithin",(function(e,t){return o.call(i(this),e,t,arguments.length>2?arguments[2]:void 0)}))},function(e,t,n){"use strict";var r=n(11),o=n(20).every,i=r.aTypedArray;r.exportProto("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(11),o=n(104),i=r.aTypedArray;r.exportProto("fill",(function(e){return o.apply(i(this),arguments)}))},function(e,t,n){"use strict";var r=n(11),o=n(20).filter,i=n(49),a=r.aTypedArray,u=r.aTypedArrayConstructor;r.exportProto("filter",(function(e){for(var t=o(a(this),e,arguments.length>1?arguments[1]:void 0),n=i(this,this.constructor),r=0,c=t.length,s=new(u(n))(c);c>r;)s[r]=t[r++];return s}))},function(e,t,n){"use strict";var r=n(11),o=n(20).find,i=r.aTypedArray;r.exportProto("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(11),o=n(20).findIndex,i=r.aTypedArray;r.exportProto("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(11),o=n(20).forEach,i=r.aTypedArray;r.exportProto("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(117),o=n(11),i=n(159);o.exportStatic("from",i,r)},function(e,t,n){"use strict";var r=n(11),o=n(63).includes,i=r.aTypedArray;r.exportProto("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(11),o=n(63).indexOf,i=r.aTypedArray;r.exportProto("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(8),o=n(11),i=n(78),a=n(13)("iterator"),u=r.Uint8Array,c=i.values,s=i.keys,l=i.entries,f=o.aTypedArray,p=o.exportProto,d=u&&u.prototype[a],h=!!d&&("values"==d.name||null==d.name),v=function(){return c.call(f(this))};p("entries",(function(){return l.call(f(this))})),p("keys",(function(){return s.call(f(this))})),p("values",v,!h),p(a,v,!h)},function(e,t,n){"use strict";var r=n(11),o=r.aTypedArray,i=[].join;r.exportProto("join",(function(e){return i.apply(o(this),arguments)}))},function(e,t,n){"use strict";var r=n(11),o=n(139),i=r.aTypedArray;r.exportProto("lastIndexOf",(function(e){return o.apply(i(this),arguments)}))},function(e,t,n){"use strict";var r=n(11),o=n(20).map,i=n(49),a=r.aTypedArray,u=r.aTypedArrayConstructor;r.exportProto("map",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(u(i(e,e.constructor)))(t)}))}))},function(e,t,n){"use strict";var r=n(11),o=n(117),i=r.aTypedArrayConstructor;r.exportStatic("of",(function(){for(var e=0,t=arguments.length,n=new(i(this))(t);t>e;)n[e]=arguments[e++];return n}),o)},function(e,t,n){"use strict";var r=n(11),o=n(79).left,i=r.aTypedArray;r.exportProto("reduce",(function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(11),o=n(79).right,i=r.aTypedArray;r.exportProto("reduceRight",(function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(11),o=r.aTypedArray,i=Math.floor;r.exportProto("reverse",(function(){for(var e,t=o(this).length,n=i(t/2),r=0;r<n;)e=this[r],this[r++]=this[--t],this[t]=e;return this}))},function(e,t,n){"use strict";var r=n(11),o=n(14),i=n(158),a=n(16),u=n(6),c=r.aTypedArray,s=u((function(){new Int8Array(1).set({})}));r.exportProto("set",(function(e){c(this);var t=i(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=a(e),u=o(r.length),s=0;if(u+t>n)throw RangeError("Wrong length");for(;s<u;)this[t+s]=r[s++]}),s)},function(e,t,n){"use strict";var r=n(11),o=n(49),i=n(6),a=r.aTypedArray,u=r.aTypedArrayConstructor,c=[].slice,s=i((function(){new Int8Array(1).slice()}));r.exportProto("slice",(function(e,t){for(var n=c.call(a(this),e,t),r=o(this,this.constructor),i=0,s=n.length,l=new(u(r))(s);s>i;)l[i]=n[i++];return l}),s)},function(e,t,n){"use strict";var r=n(11),o=n(20).some,i=r.aTypedArray;r.exportProto("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(11),o=r.aTypedArray,i=[].sort;r.exportProto("sort",(function(e){return i.call(o(this),e)}))},function(e,t,n){"use strict";var r=n(11),o=n(14),i=n(45),a=n(49),u=r.aTypedArray;r.exportProto("subarray",(function(e,t){var n=u(this),r=n.length,c=i(e,r);return new(a(n,n.constructor))(n.buffer,n.byteOffset+c*n.BYTES_PER_ELEMENT,o((void 0===t?r:i(t,r))-c))}))},function(e,t,n){"use strict";var r=n(8),o=n(11),i=n(6),a=r.Int8Array,u=o.aTypedArray,c=[].toLocaleString,s=[].slice,l=!!a&&i((function(){c.call(new a(1))})),f=i((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!i((function(){a.prototype.toLocaleString.call([1,2])}));o.exportProto("toLocaleString",(function(){return c.apply(l?s.call(u(this)):u(this),arguments)}),f)},function(e,t,n){"use strict";var r=n(8),o=n(11),i=n(6),a=r.Uint8Array,u=a&&a.prototype,c=[].toString,s=[].join;i((function(){c.call({})}))&&(c=function(){return s.call(this)}),o.exportProto("toString",c,(u||{}).toString!=c)},function(e,t,n){"use strict";var r,o=n(8),i=n(57),a=n(53),u=n(81),c=n(160),s=n(9),l=n(30).enforce,f=n(123),p=!o.ActiveXObject&&"ActiveXObject"in o,d=Object.isExtensible,h=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},v=e.exports=u("WeakMap",h,c,!0,!0);if(f&&p){r=c.getConstructor(h,"WeakMap",!0),a.REQUIRED=!0;var g=v.prototype,y=g.delete,m=g.has,b=g.get,w=g.set;i(g,{delete:function(e){if(s(e)&&!d(e)){var t=l(this);return t.frozen||(t.frozen=new r),y.call(this,e)||t.frozen.delete(e)}return y.call(this,e)},has:function(e){if(s(e)&&!d(e)){var t=l(this);return t.frozen||(t.frozen=new r),m.call(this,e)||t.frozen.has(e)}return m.call(this,e)},get:function(e){if(s(e)&&!d(e)){var t=l(this);return t.frozen||(t.frozen=new r),m.call(this,e)?b.call(this,e):t.frozen.get(e)}return b.call(this,e)},set:function(e,t){if(s(e)&&!d(e)){var n=l(this);n.frozen||(n.frozen=new r),m.call(this,e)?w.call(this,e,t):n.frozen.set(e,t)}else w.call(this,e,t);return this}})}},function(e,t,n){"use strict";n(81)("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(160),!1,!0)},function(e,t,n){var r=n(8),o=n(161),i=n(133),a=n(22);for(var u in o){var c=r[u],s=c&&c.prototype;if(s&&s.forEach!==i)try{a(s,"forEach",i)}catch(e){s.forEach=i}}},function(e,t,n){var r=n(8),o=n(161),i=n(78),a=n(22),u=n(13),c=u("iterator"),s=u("toStringTag"),l=i.values;for(var f in o){var p=r[f],d=p&&p.prototype;if(d){if(d[c]!==l)try{a(d,c,l)}catch(e){d[c]=l}if(d[s]||a(d,s,f),o[f])for(var h in i)if(d[h]!==i[h])try{a(d,h,i[h])}catch(e){d[h]=i[h]}}}},function(e,t,n){var r=n(8),o=n(111),i=!r.setImmediate||!r.clearImmediate;n(1)({global:!0,bind:!0,enumerable:!0,forced:i},{setImmediate:o.set,clearImmediate:o.clear})},function(e,t,n){var r=n(1),o=n(8),i=n(153),a=n(33),u=o.process,c="process"==a(u);r({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(e){var t=c&&u.domain;i(t?t.bind(e):e)}})},function(e,t,n){var r=n(1),o=n(8),i=n(76),a=[].slice,u=function(e){return function(t,n){var r=arguments.length>2,o=r?a.call(arguments,2):void 0;return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,o)}:t,n)}};r({global:!0,bind:!0,forced:/MSIE .\./.test(i)},{setTimeout:u(o.setTimeout),setInterval:u(o.setInterval)})},function(e,t,n){"use strict";n(156);var r,o=n(1),i=n(12),a=n(162),u=n(8),c=n(102),s=n(21),l=n(48),f=n(18),p=n(148),d=n(134),h=n(88).codeAt,v=n(386),g=n(37),y=n(163),m=n(30),b=u.URL,w=y.URLSearchParams,O=y.getState,E=m.set,_=m.getterFor("URL"),x=Math.floor,P=Math.pow,k=/[A-Za-z]/,S=/[\d+\-.A-Za-z]/,j=/\d/,T=/^(0x|0X)/,A=/^[0-7]+$/,I=/^\d+$/,M=/^[\dA-Fa-f]+$/,N=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,C=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,D=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,R=/[\u0009\u000A\u000D]/g,L=function(e,t){var n,r,o;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return"Invalid host";if(!(n=F(t.slice(1,-1))))return"Invalid host";e.host=n}else if(Y(e)){if(t=v(t),N.test(t))return"Invalid host";if(null===(n=B(t)))return"Invalid host";e.host=n}else{if(C.test(t))return"Invalid host";for(n="",r=d(t),o=0;o<r.length;o++)n+=V(r[o],H);e.host=n}},B=function(e){var t,n,r,o,i,a,u,c=e.split(".");if(c.length&&""==c[c.length-1]&&c.pop(),(t=c.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(o=c[r]))return e;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=T.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?I:8==i?A:M).test(o))return e;a=parseInt(o,i)}n.push(a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=P(256,5-t))return null}else if(a>255)return null;for(u=n.pop(),r=0;r<n.length;r++)u+=n[r]*P(256,3-r);return u},F=function(e){var t,n,r,o,i,a,u,c=[0,0,0,0,0,0,0,0],s=0,l=null,f=0,p=function(){return e.charAt(f)};if(":"==p()){if(":"!=e.charAt(1))return;f+=2,l=++s}for(;p();){if(8==s)return;if(":"!=p()){for(t=n=0;n<4&&M.test(p());)t=16*t+parseInt(p(),16),f++,n++;if("."==p()){if(0==n)return;if(f-=n,s>6)return;for(r=0;p();){if(o=null,r>0){if(!("."==p()&&r<4))return;f++}if(!j.test(p()))return;for(;j.test(p());){if(i=parseInt(p(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;f++}c[s]=256*c[s]+o,2!=++r&&4!=r||s++}if(4!=r)return;break}if(":"==p()){if(f++,!p())return}else if(p())return;c[s++]=t}else{if(null!==l)return;f++,l=++s}}if(null!==l)for(a=s-l,s=7;0!=s&&a>0;)u=c[s],c[s--]=c[l+a-1],c[l+--a]=u;else if(8!=s)return;return c},U=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=x(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),t}(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},H={},W=p({},H,{" ":1,'"':1,"<":1,">":1,"`":1}),q=p({},W,{"#":1,"?":1,"{":1,"}":1}),G=p({},q,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),V=function(e,t){var n=h(e,0);return n>32&&n<127&&!f(t,e)?e:encodeURIComponent(e)},z={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Y=function(e){return f(z,e.scheme)},X=function(e){return""!=e.username||""!=e.password},$=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},K=function(e,t){var n;return 2==e.length&&k.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},Q=function(e){var t;return e.length>1&&K(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},J=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&K(t[0],!0)||t.pop()},Z=function(e){return"."===e||"%2e"===e.toLowerCase()},ee={},te={},ne={},re={},oe={},ie={},ae={},ue={},ce={},se={},le={},fe={},pe={},de={},he={},ve={},ge={},ye={},me={},be={},we={},Oe=function(e,t,n,o){var i,a,u,c,s,l=n||ee,p=0,h="",v=!1,g=!1,y=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(D,"")),t=t.replace(R,""),i=d(t);p<=i.length;){switch(a=i[p],l){case ee:if(!a||!k.test(a)){if(n)return"Invalid scheme";l=ne;continue}h+=a.toLowerCase(),l=te;break;case te:if(a&&(S.test(a)||"+"==a||"-"==a||"."==a))h+=a.toLowerCase();else{if(":"!=a){if(n)return"Invalid scheme";h="",l=ne,p=0;continue}if(n&&(Y(e)!=f(z,h)||"file"==h&&(X(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=h,n)return void(Y(e)&&z[e.scheme]==e.port&&(e.port=null));h="","file"==e.scheme?l=de:Y(e)&&o&&o.scheme==e.scheme?l=re:Y(e)?l=ue:"/"==i[p+1]?(l=oe,p++):(e.cannotBeABaseURL=!0,e.path.push(""),l=me)}break;case ne:if(!o||o.cannotBeABaseURL&&"#"!=a)return"Invalid scheme";if(o.cannotBeABaseURL&&"#"==a){e.scheme=o.scheme,e.path=o.path.slice(),e.query=o.query,e.fragment="",e.cannotBeABaseURL=!0,l=we;break}l="file"==o.scheme?de:ie;continue;case re:if("/"!=a||"/"!=i[p+1]){l=ie;continue}l=ce,p++;break;case oe:if("/"==a){l=se;break}l=ye;continue;case ie:if(e.scheme=o.scheme,a==r)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query;else if("/"==a||"\\"==a&&Y(e))l=ae;else if("?"==a)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query="",l=be;else{if("#"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.path.pop(),l=ye;continue}e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query,e.fragment="",l=we}break;case ae:if(!Y(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,l=ye;continue}l=se}else l=ce;break;case ue:if(l=ce,"/"!=a||"/"!=h.charAt(p+1))continue;p++;break;case ce:if("/"!=a&&"\\"!=a){l=se;continue}break;case se:if("@"==a){v&&(h="%40"+h),v=!0,u=d(h);for(var m=0;m<u.length;m++){var b=u[m];if(":"!=b||y){var w=V(b,G);y?e.password+=w:e.username+=w}else y=!0}h=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(e)){if(v&&""==h)return"Invalid authority";p-=d(h).length+1,h="",l=le}else h+=a;break;case le:case fe:if(n&&"file"==e.scheme){l=ve;continue}if(":"!=a||g){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(e)){if(Y(e)&&""==h)return"Invalid host";if(n&&""==h&&(X(e)||null!==e.port))return;if(c=L(e,h))return c;if(h="",l=ge,n)return;continue}"["==a?g=!0:"]"==a&&(g=!1),h+=a}else{if(""==h)return"Invalid host";if(c=L(e,h))return c;if(h="",l=pe,n==fe)return}break;case pe:if(!j.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(e)||n){if(""!=h){var O=parseInt(h,10);if(O>65535)return"Invalid port";e.port=Y(e)&&O===z[e.scheme]?null:O,h=""}if(n)return;l=ge;continue}return"Invalid port"}h+=a;break;case de:if(e.scheme="file","/"==a||"\\"==a)l=he;else{if(!o||"file"!=o.scheme){l=ye;continue}if(a==r)e.host=o.host,e.path=o.path.slice(),e.query=o.query;else if("?"==a)e.host=o.host,e.path=o.path.slice(),e.query="",l=be;else{if("#"!=a){Q(i.slice(p).join(""))||(e.host=o.host,e.path=o.path.slice(),J(e)),l=ye;continue}e.host=o.host,e.path=o.path.slice(),e.query=o.query,e.fragment="",l=we}}break;case he:if("/"==a||"\\"==a){l=ve;break}o&&"file"==o.scheme&&!Q(i.slice(p).join(""))&&(K(o.path[0],!0)?e.path.push(o.path[0]):e.host=o.host),l=ye;continue;case ve:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&K(h))l=ye;else if(""==h){if(e.host="",n)return;l=ge}else{if(c=L(e,h))return c;if("localhost"==e.host&&(e.host=""),n)return;h="",l=ge}continue}h+=a;break;case ge:if(Y(e)){if(l=ye,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(l=ye,"/"!=a))continue}else e.fragment="",l=we;else e.query="",l=be;break;case ye:if(a==r||"/"==a||"\\"==a&&Y(e)||!n&&("?"==a||"#"==a)){if(".."===(s=(s=h).toLowerCase())||"%2e."===s||".%2e"===s||"%2e%2e"===s?(J(e),"/"==a||"\\"==a&&Y(e)||e.path.push("")):Z(h)?"/"==a||"\\"==a&&Y(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&K(h)&&(e.host&&(e.host=""),h=h.charAt(0)+":"),e.path.push(h)),h="","file"==e.scheme&&(a==r||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",l=be):"#"==a&&(e.fragment="",l=we)}else h+=V(a,q);break;case me:"?"==a?(e.query="",l=be):"#"==a?(e.fragment="",l=we):a!=r&&(e.path[0]+=V(a,H));break;case be:n||"#"!=a?a!=r&&("'"==a&&Y(e)?e.query+="%27":e.query+="#"==a?"%23":V(a,H)):(e.fragment="",l=we);break;case we:a!=r&&(e.fragment+=V(a,W))}p++}},Ee=function(e){var t,n,r=l(this,Ee,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(e),u=E(r,{type:"URL"});if(void 0!==o)if(o instanceof Ee)t=_(o);else if(n=Oe(t={},String(o)))throw TypeError(n);if(n=Oe(u,a,null,t))throw TypeError(n);var c=u.searchParams=new w,s=O(c);s.updateSearchParams(u.query),s.updateURL=function(){u.query=String(c)||null},i||(r.href=xe.call(r),r.origin=Pe.call(r),r.protocol=ke.call(r),r.username=Se.call(r),r.password=je.call(r),r.host=Te.call(r),r.hostname=Ae.call(r),r.port=Ie.call(r),r.pathname=Me.call(r),r.search=Ne.call(r),r.searchParams=Ce.call(r),r.hash=De.call(r))},_e=Ee.prototype,xe=function(){var e=_(this),t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,u=e.query,c=e.fragment,s=t+":";return null!==o?(s+="//",X(e)&&(s+=n+(r?":"+r:"")+"@"),s+=U(o),null!==i&&(s+=":"+i)):"file"==t&&(s+="//"),s+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==u&&(s+="?"+u),null!==c&&(s+="#"+c),s},Pe=function(){var e=_(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&Y(e)?t+"://"+U(e.host)+(null!==n?":"+n:""):"null"},ke=function(){return _(this).scheme+":"},Se=function(){return _(this).username},je=function(){return _(this).password},Te=function(){var e=_(this),t=e.host,n=e.port;return null===t?"":null===n?U(t):U(t)+":"+n},Ae=function(){var e=_(this).host;return null===e?"":U(e)},Ie=function(){var e=_(this).port;return null===e?"":String(e)},Me=function(){var e=_(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ne=function(){var e=_(this).query;return e?"?"+e:""},Ce=function(){return _(this).searchParams},De=function(){var e=_(this).fragment;return e?"#"+e:""},Re=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&c(_e,{href:Re(xe,(function(e){var t=_(this),n=String(e),r=Oe(t,n);if(r)throw TypeError(r);O(t.searchParams).updateSearchParams(t.query)})),origin:Re(Pe),protocol:Re(ke,(function(e){var t=_(this);Oe(t,String(e)+":",ee)})),username:Re(Se,(function(e){var t=_(this),n=d(String(e));if(!$(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=V(n[r],G)}})),password:Re(je,(function(e){var t=_(this),n=d(String(e));if(!$(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=V(n[r],G)}})),host:Re(Te,(function(e){var t=_(this);t.cannotBeABaseURL||Oe(t,String(e),le)})),hostname:Re(Ae,(function(e){var t=_(this);t.cannotBeABaseURL||Oe(t,String(e),fe)})),port:Re(Ie,(function(e){var t=_(this);$(t)||(""==(e=String(e))?t.port=null:Oe(t,e,pe))})),pathname:Re(Me,(function(e){var t=_(this);t.cannotBeABaseURL||(t.path=[],Oe(t,e+"",ge))})),search:Re(Ne,(function(e){var t=_(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Oe(t,e,be)),O(t.searchParams).updateSearchParams(t.query)})),searchParams:Re(Ce),hash:Re(De,(function(e){var t=_(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Oe(t,e,we)):t.fragment=null}))}),s(_e,"toJSON",(function(){return xe.call(this)}),{enumerable:!0}),s(_e,"toString",(function(){return xe.call(this)}),{enumerable:!0}),b){var Le=b.createObjectURL,Be=b.revokeObjectURL;Le&&s(Ee,"createObjectURL",(function(e){return Le.apply(b,arguments)})),Be&&s(Ee,"revokeObjectURL",(function(e){return Be.apply(b,arguments)}))}g(Ee,"URL"),o({global:!0,forced:!a,sham:!i},{URL:Ee})},function(e,t,n){"use strict";var r=/[^\0-\u007E]/,o=/[.\u3002\uFF0E\uFF61]/g,i="Overflow: input needs wider integers to process",a=Math.floor,u=String.fromCharCode,c=function(e){return e+22+75*(e<26)},s=function(e,t,n){var r=0;for(e=n?a(e/700):e>>1,e+=a(e/t);e>455;r+=36)e=a(e/35);return a(r+36*e/(e+38))},l=function(e){var t,n,r=[],o=(e=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}(e)).length,l=128,f=0,p=72;for(t=0;t<e.length;t++)(n=e[t])<128&&r.push(u(n));var d=r.length,h=d;for(d&&r.push("-");h<o;){var v=2147483647;for(t=0;t<e.length;t++)(n=e[t])>=l&&n<v&&(v=n);var g=h+1;if(v-l>a((2147483647-f)/g))throw RangeError(i);for(f+=(v-l)*g,l=v,t=0;t<e.length;t++){if((n=e[t])<l&&++f>2147483647)throw RangeError(i);if(n==l){for(var y=f,m=36;;m+=36){var b=m<=p?1:m>=p+26?26:m-p;if(y<b)break;var w=y-b,O=36-b;r.push(u(c(b+w%O))),y=a(w/O)}r.push(u(c(y))),p=s(f,g,h==d),f=0,++h}}++f,++l}return r.join("")};e.exports=function(e){var t,n,i=[],a=e.toLowerCase().replace(o,".").split(".");for(t=0;t<a.length;t++)n=a[t],i.push(r.test(n)?"xn--"+l(n):n);return i.join(".")}},function(e,t,n){var r=n(10),o=n(69);e.exports=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},function(e,t,n){"use strict";n(1)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},function(e,t){!function(){if(function(){function e(){var e=[0,1];return e.reverse(),0===e[0]}return e()||e()}()){Array.prototype._reverse=Array.prototype.reverse,Array.prototype.reverse=function(){return Array.isArray(this)&&(this.length=this.length),Array.prototype._reverse.call(this)};var e={enumerable:!1};Object.defineProperties(Array.prototype,{_reverse:e,reverse:e})}}()},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r=l;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===o)throw i;return T()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=x(a,n);if(u){if(u===h)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var c=s(e,t,n);if("normal"===c.type){if(r=n.done?d:f,c.arg===h)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=d,n.method="throw",n.arg=c.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l="suspendedStart",f="suspendedYield",p="executing",d="completed",h={};function v(){}function g(){}function y(){}var m={};m[i]=function(){return this};var b=Object.getPrototypeOf,w=b&&b(b(j([])));w&&w!==n&&r.call(w,i)&&(m=w);var O=y.prototype=v.prototype=Object.create(m);function E(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function _(e){var t;this._invoke=function(n,o){function i(){return new Promise((function(t,i){!function t(n,o,i,a){var u=s(e[n],e,o);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&r.call(l,"__await")?Promise.resolve(l.__await).then((function(e){t("next",e,i,a)}),(function(e){t("throw",e,i,a)})):Promise.resolve(l).then((function(e){c.value=e,i(c)}),(function(e){return t("throw",e,i,a)}))}a(u.arg)}(n,o,t,i)}))}return t=t?t.then(i,i):i()}}function x(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,x(e,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=s(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,h;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function j(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:T}}function T(){return{value:t,done:!0}}return g.prototype=O.constructor=y,y.constructor=g,y[u]=g.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(O),e},e.awrap=function(e){return{__await:e}},E(_.prototype),_.prototype[a]=function(){return this},e.AsyncIterator=_,e.async=function(t,n,r,o){var i=new _(c(t,n,r,o));return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},E(O),O[u]="Generator",O[i]=function(){return this},O.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=j,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(k),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:j(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.runSaga=function(e,t){var n=t.subscribe,r=t.dispatch,i=t.getState,u=t.sagaMonitor,c=t.logger;(0,o.check)(e,o.is.iterator,"runSaga must be called on an iterator");var s=(0,o.uid)();u&&(r=(0,o.wrapSagaDispatch)(r),u.effectTriggered({effectId:s,root:!0,parentEffectId:0,effect:{root:!0,saga:e,args:[]}}));var l=(0,a.default)(e,n,r,i,{sagaMonitor:u,logger:c},s,e.name);u&&u.effectResolved(s,l);return l};var r,o=n(42),i=n(165),a=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};t.takeEvery=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var u={done:!1,value:(0,a.take)(e)},c=void 0,p=function(e){return c=e};return l({q1:function(){return["q2",u,p]},q2:function(){return c===o.END?[s]:["q1",(e=c,{done:!1,value:a.fork.apply(void 0,[t].concat(r,[e]))})];var e}},"q1","takeEvery("+f(e)+", "+t.name+")")},t.takeLatest=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var u={done:!1,value:(0,a.take)(e)},c=function(e){return{done:!1,value:a.fork.apply(void 0,[t].concat(r,[e]))}},p=function(e){return{done:!1,value:(0,a.cancel)(e)}},d=void 0,h=void 0,v=function(e){return d=e},g=function(e){return h=e};return l({q1:function(){return["q2",u,g]},q2:function(){return h===o.END?[s]:d?["q3",p(d)]:["q1",c(h),v]},q3:function(){return["q1",c(h),v]}},"q1","takeLatest("+f(e)+", "+t.name+")")},t.throttle=function(e,t,n){for(var r=arguments.length,c=Array(r>3?r-3:0),p=3;p<r;p++)c[p-3]=arguments[p];var d=void 0,h=void 0,v={done:!1,value:(0,a.actionChannel)(t,u.buffers.sliding(1))},g={done:!1,value:(0,a.call)(i.delay,e)},y=function(e){return d=e},m=function(e){return h=e};return l({q1:function(){return["q2",v,m]},q2:function(){return["q3",{done:!1,value:(0,a.take)(h,t)},y]},q3:function(){return d===o.END?[s]:["q4",(e=d,{done:!1,value:a.fork.apply(void 0,[n].concat(c,[e]))})];var e},q4:function(){return["q2",g]}},"q1","throttle("+f(t)+", "+n.name+")")};var o=n(92),i=n(42),a=n(91),u=n(93),c={done:!0,value:void 0},s={};function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"iterator",o=void 0,a=t;function u(t,n){if(a===s)return c;if(n)throw a=s,n;o&&o(t);var i=e[a](),u=r(i,3),l=u[0],f=u[1],p=u[2];return o=p,(a=l)===s?c:f}return(0,i.makeIterator)(u,(function(e){return u(null,e)}),n,!0)}function f(e){return Array.isArray(e)?String(e.map((function(e){return String(e)}))):String(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=void 0,n=e.sagaMonitor;if(o.is.func(e))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(e.logger&&!o.is.func(e.logger))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(e.onerror&&!o.is.func(e.onerror))throw new Error("`options.onerror` passed to the Saga middleware is not a function!");function r(r){var i=r.getState,s=r.dispatch;t=function(t,n,r){return(0,a.default)(t.apply(void 0,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(n)),l.subscribe,f,i,e,r,t.name)};var l=(0,c.emitter)(),f=(0,o.wrapSagaDispatch)(s);return function(e){return function(t){n&&n.actionDispatched(t);var r=e(t);return t[o.SAGA_ACTION]?l.emit(t):(0,u.asap)((function(){return l.emit(t)})),r}}}return r.run=function(e){for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];(0,o.check)(t,o.is.notUndef,"Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware"),(0,o.check)(e,o.is.func,"sagaMiddleware.run(saga, ...args): saga argument must be a Generator function!");var u=(0,o.uid)();n&&n.effectTriggered({effectId:u,root:!0,parentEffectId:0,effect:{root:!0,saga:e,args:i}});var c=t(e,i,u);return n&&n.effectResolved(u,c),c},r};var r,o=n(42),i=n(165),a=(r=i)&&r.__esModule?r:{default:r},u=n(166),c=n(92)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(42);Object.defineProperty(t,"TASK",{enumerable:!0,get:function(){return r.TASK}}),Object.defineProperty(t,"SAGA_ACTION",{enumerable:!0,get:function(){return r.SAGA_ACTION}}),Object.defineProperty(t,"noop",{enumerable:!0,get:function(){return r.noop}}),Object.defineProperty(t,"is",{enumerable:!0,get:function(){return r.is}}),Object.defineProperty(t,"deferred",{enumerable:!0,get:function(){return r.deferred}}),Object.defineProperty(t,"arrayOfDeffered",{enumerable:!0,get:function(){return r.arrayOfDeffered}}),Object.defineProperty(t,"createMockTask",{enumerable:!0,get:function(){return r.createMockTask}});var o=n(91);Object.defineProperty(t,"CHANNEL_END",{enumerable:!0,get:function(){return o.CHANNEL_END}}),Object.defineProperty(t,"asEffect",{enumerable:!0,get:function(){return o.asEffect}})},function(e,t,n){"use strict";var r=n(397);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=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 u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";
|
11
|
+
*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r))e.push(o.apply(null,r));else if("object"===i)for(var a in r)n.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}void 0!==e&&e.exports?e.exports=o:void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.matchesSelector=s,t.matchesSelectorAndParentsTo=function(e,t,n){var r=e;do{if(s(r,t))return!0;if(r===n)return!1;r=r.parentNode}while(r);return!1},t.addEvent=function(e,t,n){e&&(e.attachEvent?e.attachEvent("on"+t,n):e.addEventListener?e.addEventListener(t,n,!0):e["on"+t]=n)},t.removeEvent=function(e,t,n){e&&(e.detachEvent?e.detachEvent("on"+t,n):e.removeEventListener?e.removeEventListener(t,n,!0):e["on"+t]=null)},t.outerHeight=function(e){var t=e.clientHeight,n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,i.int)(n.borderTopWidth),t+=(0,i.int)(n.borderBottomWidth)},t.outerWidth=function(e){var t=e.clientWidth,n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,i.int)(n.borderLeftWidth),t+=(0,i.int)(n.borderRightWidth)},t.innerHeight=function(e){var t=e.clientHeight,n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,i.int)(n.paddingTop),t-=(0,i.int)(n.paddingBottom)},t.innerWidth=function(e){var t=e.clientWidth,n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,i.int)(n.paddingLeft),t-=(0,i.int)(n.paddingRight)},t.offsetXYFromParent=function(e,t){var n=t===t.ownerDocument.body?{left:0,top:0}:t.getBoundingClientRect(),r=e.clientX+t.scrollLeft-n.left,o=e.clientY+t.scrollTop-n.top;return{x:r,y:o}},t.createCSSTransform=function(e){var t=e.x,n=e.y;return function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},(0,a.browserPrefixToKey)("transform",u.default),"translate("+t+"px,"+n+"px)")},t.createSVGTransform=function(e){var t=e.x,n=e.y;return"translate("+t+","+n+")"},t.getTouch=function(e,t){return e.targetTouches&&(0,i.findInArray)(e.targetTouches,(function(e){return t===e.identifier}))||e.changedTouches&&(0,i.findInArray)(e.changedTouches,(function(e){return t===e.identifier}))},t.getTouchIdentifier=function(e){return e.targetTouches&&e.targetTouches[0]?e.targetTouches[0].identifier:e.changedTouches&&e.changedTouches[0]?e.changedTouches[0].identifier:void 0},t.addUserSelectStyles=function(e){var t=e.getAttribute("style")||"";d.test(t)||e.setAttribute("style",t+p)},t.removeUserSelectStyles=function(e){var t=e.getAttribute("style")||"";e.setAttribute("style",t.replace(d,""))},t.styleHacks=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r({touchAction:"none"},e)};var o,i=n(14),a=n(15),u=(o=a)&&o.__esModule?o:{default:o},c="";function s(e,t){return c||(c=(0,i.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],(function(t){return(0,i.isFunction)(e[t])}))),e[c].call(e,t)}var l=(0,a.getPrefix)("user-select"),f=(0,a.browserPrefixToStyle)("user-select",l),p=";"+f+": none;",d=new RegExp(";?"+f+": none;")},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findInArray=function(e,t){for(var n=0,r=e.length;n<r;n++)if(t.apply(t,[e[n],n,e]))return e[n]},t.isFunction=function(e){return"function"==typeof e||"[object Function]"===Object.prototype.toString.call(e)},t.isNum=function(e){return"number"==typeof e&&!isNaN(e)},t.int=function(e){return parseInt(e,10)},t.dontSetMe=function(e,t,n){if(e[t])return new Error("Invalid prop "+t+" passed to "+n+" - do not set this, set it on the child.")}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPrefix=r,t.browserPrefixToKey=o,t.browserPrefixToStyle=function(e,t){return t?"-"+t.toLowerCase()+"-"+e:e};var n=["Moz","Webkit","O","ms"];function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window||void 0===window.document)return"";var t=window.document.documentElement.style;if(e in t)return"";for(var r=0;r<n.length;r++)if(o(e,n[r])in t)return n[r];return""}function o(e,t){return t?""+t+function(e){for(var t="",n=!0,r=0;r<e.length;r++)n?(t+=e[r].toUpperCase(),n=!1):"-"===e[r]?n=!0:t+=e[r];return t}(e):e}t.default=r()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBoundPosition=function(e,t,n){if(!e.props.bounds)return[t,n];var r=e.props.bounds;r="string"==typeof r?r:function(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}(r);var i=a.default.findDOMNode(e);if("string"==typeof r){var c=i.ownerDocument,s=c.defaultView,l=void 0;if("parent"===r)l=i.parentNode;else if(!(l=c.querySelector(r)))throw new Error('Bounds selector "'+r+'" could not find an element.');var f=s.getComputedStyle(i),p=s.getComputedStyle(l);r={left:-i.offsetLeft+(0,o.int)(p.paddingLeft)+(0,o.int)(f.marginLeft),top:-i.offsetTop+(0,o.int)(p.paddingTop)+(0,o.int)(f.marginTop),right:(0,u.innerWidth)(l)-(0,u.outerWidth)(i)-i.offsetLeft+(0,o.int)(p.paddingRight)-(0,o.int)(f.marginRight),bottom:(0,u.innerHeight)(l)-(0,u.outerHeight)(i)-i.offsetTop+(0,o.int)(p.paddingBottom)-(0,o.int)(f.marginBottom)}}return(0,o.isNum)(r.right)&&(t=Math.min(t,r.right)),(0,o.isNum)(r.bottom)&&(n=Math.min(n,r.bottom)),(0,o.isNum)(r.left)&&(t=Math.max(t,r.left)),(0,o.isNum)(r.top)&&(n=Math.max(n,r.top)),[t,n]},t.snapToGrid=function(e,t,n){var r=Math.round(t/e[0])*e[0],o=Math.round(n/e[1])*e[1];return[r,o]},t.canDragX=function(e){return"both"===e.props.axis||"x"===e.props.axis},t.canDragY=function(e){return"both"===e.props.axis||"y"===e.props.axis},t.getControlPosition=function(e,t,n){var r="number"==typeof t?(0,u.getTouch)(e,t):null;if("number"==typeof t&&!r)return null;var o=a.default.findDOMNode(n),i=n.props.offsetParent||o.offsetParent||o.ownerDocument.body;return(0,u.offsetXYFromParent)(r||e,i)},t.createCoreData=function(e,t,n){var r=e.state;return(0,o.isNum)(r.lastX)?{node:a.default.findDOMNode(e),deltaX:t-r.lastX,deltaY:n-r.lastY,lastX:r.lastX,lastY:r.lastY,x:t,y:n}:{node:a.default.findDOMNode(e),deltaX:0,deltaY:0,lastX:t,lastY:n,x:t,y:n}},t.createDraggableData=function(e,t){return{node:t.node,x:e.state.x+t.deltaX,y:e.state.y+t.deltaY,deltaX:t.deltaX,deltaY:t.deltaY,lastX:e.state.x,lastY:e.state.y}};var r,o=n(14),i=n(11),a=(r=i)&&r.__esModule?r:{default:r},u=n(13)},function(e,t,n){(function(e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=p(n(2)),a=p(n(3)),u=p(n(11)),c=n(13),s=n(16),l=n(14),f=p(n(19));function p(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var h={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}},v=h.mouse,g=function(e){function t(){var e,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),l=0;l<i;l++)a[l]=arguments[l];return n=o=d(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),o.state={dragging:!1,lastX:NaN,lastY:NaN,touchIdentifier:null},o.handleDragStart=function(e){if(o.props.onMouseDown(e),!o.props.allowAnyClick&&"number"==typeof e.button&&0!==e.button)return!1;var t=u.default.findDOMNode(o),n=t.ownerDocument;if(!(o.props.disabled||!(e.target instanceof n.defaultView.Node)||o.props.handle&&!(0,c.matchesSelectorAndParentsTo)(e.target,o.props.handle,t)||o.props.cancel&&(0,c.matchesSelectorAndParentsTo)(e.target,o.props.cancel,t))){var r=(0,c.getTouchIdentifier)(e);o.setState({touchIdentifier:r});var i=(0,s.getControlPosition)(e,r,o);if(null!=i){var a=i.x,l=i.y,p=(0,s.createCoreData)(o,a,l);(0,f.default)("DraggableCore: handleDragStart: %j",p),(0,f.default)("calling",o.props.onStart),!1!==o.props.onStart(e,p)&&(o.props.enableUserSelectHack&&(0,c.addUserSelectStyles)(n.body),o.setState({dragging:!0,lastX:a,lastY:l}),(0,c.addEvent)(n,v.move,o.handleDrag),(0,c.addEvent)(n,v.stop,o.handleDragStop))}}},o.handleDrag=function(e){"touchmove"===e.type&&e.preventDefault();var t=(0,s.getControlPosition)(e,o.state.touchIdentifier,o);if(null!=t){var n=t.x,i=t.y;if(Array.isArray(o.props.grid)){var a=n-o.state.lastX,u=i-o.state.lastY,c=(0,s.snapToGrid)(o.props.grid,a,u),l=r(c,2);if(a=l[0],u=l[1],!a&&!u)return;n=o.state.lastX+a,i=o.state.lastY+u}var p=(0,s.createCoreData)(o,n,i);if((0,f.default)("DraggableCore: handleDrag: %j",p),!1!==o.props.onDrag(e,p))o.setState({lastX:n,lastY:i});else try{o.handleDragStop(new MouseEvent("mouseup"))}catch(e){var d=document.createEvent("MouseEvents");d.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),o.handleDragStop(d)}}},o.handleDragStop=function(e){if(o.state.dragging){var t=(0,s.getControlPosition)(e,o.state.touchIdentifier,o);if(null!=t){var n=t.x,r=t.y,i=(0,s.createCoreData)(o,n,r),a=u.default.findDOMNode(o).ownerDocument;o.props.enableUserSelectHack&&(0,c.removeUserSelectStyles)(a.body),(0,f.default)("DraggableCore: handleDragStop: %j",i),o.setState({dragging:!1,lastX:NaN,lastY:NaN}),o.props.onStop(e,i),(0,f.default)("DraggableCore: Removing handlers"),(0,c.removeEvent)(a,v.move,o.handleDrag),(0,c.removeEvent)(a,v.stop,o.handleDragStop)}}},o.onMouseDown=function(e){return v=h.mouse,o.handleDragStart(e)},o.onMouseUp=function(e){return v=h.mouse,o.handleDragStop(e)},o.onTouchStart=function(e){return v=h.touch,o.handleDragStart(e)},o.onTouchEnd=function(e){return v=h.touch,o.handleDragStop(e)},d(o,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentWillUnmount",value:function(){var e=u.default.findDOMNode(this).ownerDocument;(0,c.removeEvent)(e,h.mouse.move,this.handleDrag),(0,c.removeEvent)(e,h.touch.move,this.handleDrag),(0,c.removeEvent)(e,h.mouse.stop,this.handleDragStop),(0,c.removeEvent)(e,h.touch.stop,this.handleDragStop),this.props.enableUserSelectHack&&(0,c.removeUserSelectStyles)(e.body)}},{key:"render",value:function(){return i.default.cloneElement(i.default.Children.only(this.props.children),{style:(0,c.styleHacks)(this.props.children.props.style),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}]),t}(i.default.Component);g.displayName="DraggableCore",g.propTypes={allowAnyClick:a.default.bool,disabled:a.default.bool,enableUserSelectHack:a.default.bool,offsetParent:function(t,n){if(e.browser&&t[n]&&1!==t[n].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:a.default.arrayOf(a.default.number),handle:a.default.string,cancel:a.default.string,onStart:a.default.func,onDrag:a.default.func,onStop:a.default.func,onMouseDown:a.default.func,className:l.dontSetMe,style:l.dontSetMe,transform:l.dontSetMe},g.defaultProps={allowAnyClick:!1,cancel:null,disabled:!1,enableUserSelectHack:!0,offsetParent:null,handle:null,grid:null,transform:null,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){}},t.default=g}).call(t,n(18))},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,s=[],l=!1,f=-1;function p(){l&&c&&(l=!1,c.length?s=c.concat(s):f=-1,s.length&&d())}function d(){if(!l){var e=u(p);l=!0;for(var t=s.length;t;){for(c=s,s=[];++f<t;)c&&c[f].run();f=-1,t=s.length}c=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function v(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new h(e,t)),1!==s.length||l||u(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){}}])},e.exports=r(n(0),n(19))},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,u){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,i,a,u],l=0;(c=new Error(t.replace(/%s/g,(function(){return s[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t){e.exports=pageflow},function(e,t,n){var r=n(8),o=n(9),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,n){var r=n(8),o=n(22);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(35),o=n(50),i=n(101),a=n(10);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(12),o=n(15),i=n(10),a=n(65);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),u=r.length,c=0;u>c;)o.f(e,n=r[c++],t[n]);return e}},function(e,t,n){var r,o,i=n(8),a=n(76),u=i.process,c=u&&u.versions,s=c&&c.v8;s?o=(r=s.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},function(e,t,n){"use strict";var r=n(16),o=n(45),i=n(14);e.exports=function(e){for(var t=r(this),n=i(t.length),a=arguments.length,u=o(a>1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,s=void 0===c?n:o(c,n);s>u;)t[u++]=e;return t}},function(e,t,n){var r=n(13),o=n(68),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},function(e,t,n){"use strict";var r=n(1),o=n(136),i=n(38),a=n(55),u=n(37),c=n(22),s=n(21),l=n(13),f=n(44),p=n(68),d=n(137),h=d.IteratorPrototype,v=d.BUGGY_SAFARI_ITERATORS,g=l("iterator"),y=function(){return this};e.exports=function(e,t,n,l,d,m,b){o(n,t,l);var w,O,E,_=function(e){if(e===d&&j)return j;if(!v&&e in k)return k[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},x=t+" Iterator",P=!1,k=e.prototype,S=k[g]||k["@@iterator"]||d&&k[d],j=!v&&S||_(d),T="Array"==t&&k.entries||S;if(T&&(w=i(T.call(new e)),h!==Object.prototype&&w.next&&(f||i(w)===h||(a?a(w,h):"function"!=typeof w[g]&&c(w,g,y)),u(w,x,!0,!0),f&&(p[x]=y))),"values"==d&&S&&"values"!==S.name&&(P=!0,j=function(){return S.call(this)}),f&&!b||k[g]===j||c(k,g,j),p[t]=j,d)if(O={values:_("values"),keys:m?j:_("keys"),entries:_("entries")},b)for(E in O)!v&&!P&&E in k||s(k,E,O[E]);else r({target:t,proto:!0,forced:v||P},O);return O}},function(e,t,n){var r=n(6);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){var r=n(14),o=n(109),i=n(24),a=Math.ceil,u=function(e){return function(t,n,u){var c,s,l=String(i(t)),f=l.length,p=void 0===u?" ":String(u),d=r(n);return d<=f||""==p?l:(c=d-f,(s=o.call(p,a(c/p.length))).length>c&&(s=s.slice(0,c)),e?l+s:s+l)}};e.exports={start:u(!1),end:u(!0)}},function(e,t,n){"use strict";var r=n(31),o=n(24);e.exports="".repeat||function(e){var t=String(o(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t,n){var r,o,i,a=n(8),u=n(6),c=n(33),s=n(46),l=n(128),f=n(97),p=n(152),d=a.location,h=a.setImmediate,v=a.clearImmediate,g=a.process,y=a.MessageChannel,m=a.Dispatch,b=0,w={},O=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},E=function(e){return function(){O(e)}},_=function(e){O(e.data)},x=function(e){a.postMessage(e+"",d.protocol+"//"+d.host)};h&&v||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return w[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},v=function(e){delete w[e]},"process"==c(g)?r=function(e){g.nextTick(E(e))}:m&&m.now?r=function(e){m.now(E(e))}:y&&!p?(i=(o=new y).port2,o.port1.onmessage=_,r=s(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||u(x)?r="onreadystatechange"in f("script")?function(e){l.appendChild(f("script")).onreadystatechange=function(){l.removeChild(this),O(e)}}:function(e){setTimeout(E(e),0)}:(r=x,a.addEventListener("message",_,!1))),e.exports={set:h,clear:v}},function(e,t,n){var r=n(9),o=n(33),i=n(13)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,n){var r=n(112);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(13)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t,n){"use strict";var r=n(88).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r=n(6),o=n(84);e.exports=function(e){return r((function(){return!!o[e]()||"
"!="
"[e]()||o[e].name!==e}))}},function(e,t,n){var r=n(8),o=n(6),i=n(77),a=n(11).NATIVE_ARRAY_BUFFER_VIEWS,u=r.ArrayBuffer,c=r.Int8Array;e.exports=!a||!o((function(){c(1)}))||!o((function(){new c(-1)}))||!i((function(e){new c,new c(null),new c(1.5),new c(e)}),!0)||o((function(){return 1!==new c(new u(2),1,void 0).length}))},function(e,t,n){"use strict";e.exports=n(398)},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function o(e,t){return e===t}function i(e){var t=arguments.length<=1||void 0===arguments[1]?o:arguments[1],n=null,r=null;return function(){for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return null!==n&&n.length===i.length&&i.every((function(e,r){return t(e,n[r])}))||(r=e.apply(void 0,i)),n=i,r}}function a(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"==typeof e}))){var n=t.map((function(e){return typeof e})).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+n+"]")}return t}function u(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return function(){for(var t=arguments.length,o=Array(t),i=0;i<t;i++)o[i]=arguments[i];var u=0,c=o.pop(),s=a(o),l=e.apply(void 0,[function(){return u++,c.apply(void 0,arguments)}].concat(n)),f=function(e,t){for(var n=arguments.length,o=Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];var a=s.map((function(n){return n.apply(void 0,[e,t].concat(o))}));return l.apply(void 0,r(a))};return f.resultFunc=c,f.recomputations=function(){return u},f.resetRecomputations=function(){return u=0},f}}t.__esModule=!0,t.defaultMemoize=i,t.createSelectorCreator=u,t.createStructuredSelector=function(e){var t=arguments.length<=1||void 0===arguments[1]?c:arguments[1];if("object"!=typeof e)throw new Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);var n=Object.keys(e);return t(n.map((function(t){return e[t]})),(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce((function(e,t,r){return e[n[r]]=t,e}),{})}))};var c=t.createSelector=u(i)},function(e,t,n){"use strict";(function(e,r){var o,i=n(169);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=Object(i.a)(o);t.a=a}).call(this,n(73),n(390)(e))},function(e,t,n){var r=n(12),o=n(6),i=n(97);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(54);e.exports=r("native-function-to-string",Function.toString)},function(e,t,n){var r=n(8),o=n(122),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o.call(i))},function(e,t,n){var r=n(18),o=n(99),i=n(23),a=n(15);e.exports=function(e,t){for(var n=o(t),u=a.f,c=i.f,s=0;s<n.length;s++){var l=n[s];r(e,l)||u(e,l,c(t,l))}}},function(e,t,n){e.exports=n(8)},function(e,t,n){var r=n(18),o=n(25),i=n(63).indexOf,a=n(62);e.exports=function(e,t){var n,u=o(e),c=0,s=[];for(n in u)!r(a,n)&&r(u,n)&&s.push(n);for(;t.length>c;)r(u,n=t[c++])&&(~i(s,n)||s.push(n));return s}},function(e,t,n){var r=n(6);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(e,t,n){var r=n(35);e.exports=r("document","documentElement")},function(e,t,n){var r=n(25),o=n(50).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){t.f=n(13)},function(e,t,n){"use strict";var r=n(16),o=n(45),i=n(14),a=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),u=i(n.length),c=o(e,u),s=o(t,u),l=arguments.length>2?arguments[2]:void 0,f=a((void 0===l?u:o(l,u))-s,u-c),p=1;for(s<c&&c<s+f&&(p=-1,s+=f-1,c+=f-1);f-- >0;)s in n?n[c]=n[s]:delete n[c],c+=p,s+=p;return n}},function(e,t,n){"use strict";var r=n(51),o=n(14),i=n(46),a=function(e,t,n,u,c,s,l,f){for(var p,d=c,h=0,v=!!l&&i(l,f,3);h<u;){if(h in n){if(p=v?v(n[h],h,t):n[h],s>0&&r(p))d=a(e,t,p,o(p.length),d,s-1)-1;else{if(d>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[d]=p}d++}h++}return d};e.exports=a},function(e,t,n){"use strict";var r=n(20).forEach,o=n(40);e.exports=o("forEach")?function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}:[].forEach},function(e,t,n){"use strict";var r=n(46),o=n(16),i=n(135),a=n(105),u=n(14),c=n(52),s=n(69);e.exports=function(e){var t,n,l,f,p,d=o(e),h="function"==typeof this?this:Array,v=arguments.length,g=v>1?arguments[1]:void 0,y=void 0!==g,m=0,b=s(d);if(y&&(g=r(g,v>2?arguments[2]:void 0,2)),null==b||h==Array&&a(b))for(n=new h(t=u(d.length));t>m;m++)c(n,m,y?g(d[m],m):d[m]);else for(p=(f=b.call(d)).next,n=new h;!(l=p.call(f)).done;m++)c(n,m,y?i(f,g,[l.value,m],!0):l.value);return n.length=m,n}},function(e,t,n){var r=n(10);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){"use strict";var r=n(137).IteratorPrototype,o=n(39),i=n(43),a=n(37),u=n(68),c=function(){return this};e.exports=function(e,t,n){var s=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,s,!1,!0),u[s]=c,e}},function(e,t,n){"use strict";var r,o,i,a=n(38),u=n(22),c=n(18),s=n(13),l=n(44),f=s("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),l||c(r,f)||u(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},function(e,t,n){var r=n(9);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){"use strict";var r=n(25),o=n(31),i=n(14),a=n(40),u=Math.min,c=[].lastIndexOf,s=!!c&&1/[1].lastIndexOf(1,-0)<0,l=a("lastIndexOf");e.exports=s||l?function(e){if(s)return c.apply(this,arguments)||0;var t=r(this),n=i(t.length),a=n-1;for(arguments.length>1&&(a=u(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:c},function(e,t,n){var r=n(31),o=n(14);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length or index");return n}},function(e,t,n){"use strict";var r=n(32),o=n(9),i=[].slice,a={},u=function(e,t,n){if(!(t in a)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";a[t]=Function("C,a","return new C("+r.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?u(t,r.length,r):t.apply(e,r)};return o(t.prototype)&&(a.prototype=t.prototype),a}},function(e,t,n){"use strict";var r=n(15).f,o=n(39),i=n(57),a=n(46),u=n(48),c=n(72),s=n(106),l=n(56),f=n(12),p=n(53).fastKey,d=n(30),h=d.set,v=d.getterFor;e.exports={getConstructor:function(e,t,n,s){var l=e((function(e,r){u(e,l,t),h(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),f||(e.size=0),null!=r&&c(r,e[s],e,n)})),d=v(t),g=function(e,t,n){var r,o,i=d(e),a=y(e,t);return a?a.value=n:(i.last=a={index:o=p(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),f?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},y=function(e,t){var n,r=d(e),o=p(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return i(l.prototype,{clear:function(){for(var e=d(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,f?e.size=0:this.size=0},delete:function(e){var t=d(this),n=y(this,e);if(n){var r=n.next,o=n.previous;delete t.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),t.first==n&&(t.first=r),t.last==n&&(t.last=o),f?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=d(this),r=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!y(this,e)}}),i(l.prototype,n?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),f&&r(l.prototype,"size",{get:function(){return d(this).size}}),l},setStrong:function(e,t,n){var r=t+" Iterator",o=v(t),i=v(r);s(e,t,(function(e,t){h(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),l(t)}}},function(e,t){var n=Math.log;e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:n(1+e)}},function(e,t,n){var r=n(9),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function(e,t,n){var r=n(8),o=n(58).trim,i=n(84),a=r.parseFloat,u=1/a(i+"-0")!=-1/0;e.exports=u?function(e){var t=o(String(e)),n=a(t);return 0===n&&"-"==t.charAt(0)?-0:n}:a},function(e,t,n){var r=n(8),o=n(58).trim,i=n(84),a=r.parseInt,u=/^[+-]?0[Xx]/,c=8!==a(i+"08")||22!==a(i+"0x16");e.exports=c?function(e,t){var n=o(String(e));return a(n,t>>>0||(u.test(n)?16:10))}:a},function(e,t,n){var r=n(33);e.exports=function(e){if("number"!=typeof e&&"Number"!=r(e))throw TypeError("Incorrect invocation");return+e}},function(e,t,n){"use strict";var r=n(12),o=n(6),i=n(65),a=n(101),u=n(74),c=n(16),s=n(60),l=Object.assign;e.exports=!l||o((function(){var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||"abcdefghijklmnopqrst"!=i(l({},t)).join("")}))?function(e,t){for(var n=c(e),o=arguments.length,l=1,f=a.f,p=u.f;o>l;)for(var d,h=s(arguments[l++]),v=f?i(h).concat(f(h)):i(h),g=v.length,y=0;g>y;)d=v[y++],r&&!p.call(h,d)||(n[d]=h[d]);return n}:l},function(e,t,n){var r=n(12),o=n(65),i=n(25),a=n(74).f,u=function(e){return function(t){for(var n,u=i(t),c=o(u),s=c.length,l=0,f=[];s>l;)n=c[l++],r&&!a.call(u,n)||f.push(e?[n,u[n]]:u[n]);return f}};e.exports={entries:u(!0),values:u(!1)}},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){var r=n(8);e.exports=r.Promise},function(e,t,n){var r=n(76);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){var r,o,i,a,u,c,s,l,f=n(8),p=n(23).f,d=n(33),h=n(111).set,v=n(152),g=f.MutationObserver||f.WebKitMutationObserver,y=f.process,m=f.Promise,b="process"==d(y),w=p(f,"queueMicrotask"),O=w&&w.value;O||(r=function(){var e,t;for(b&&(e=y.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():i=void 0,e}}i=void 0,e&&e.enter()},b?a=function(){y.nextTick(r)}:g&&!v?(u=!0,c=document.createTextNode(""),new g(r).observe(c,{characterData:!0}),a=function(){c.data=u=!u}):m&&m.resolve?(s=m.resolve(void 0),l=s.then,a=function(){l.call(s,r)}):a=function(){h.call(f,r)}),e.exports=O||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},function(e,t,n){var r=n(10),o=n(9),i=n(155);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(32),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},function(e,t,n){"use strict";var r=n(88).charAt,o=n(30),i=n(106),a=o.set,u=o.getterFor("String Iterator");i(String,"String",(function(e){a(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=u(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(76);e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r)},function(e,t,n){var r=n(344);e.exports=function(e,t){var n=r(e);if(n%t)throw RangeError("Wrong offset");return n}},function(e,t,n){var r=n(16),o=n(14),i=n(69),a=n(105),u=n(46),c=n(11).aTypedArrayConstructor;e.exports=function(e){var t,n,s,l,f,p,d=r(e),h=arguments.length,v=h>1?arguments[1]:void 0,g=void 0!==v,y=i(d);if(null!=y&&!a(y))for(p=(f=y.call(d)).next,d=[];!(l=p.call(f)).done;)d.push(l.value);for(g&&h>2&&(v=u(v,arguments[2],2)),n=o(d.length),s=new(c(this))(n),t=0;n>t;t++)s[t]=g?v(d[t],t):d[t];return s}},function(e,t,n){"use strict";var r=n(57),o=n(53).getWeakData,i=n(10),a=n(9),u=n(48),c=n(72),s=n(20),l=n(18),f=n(30),p=f.set,d=f.getterFor,h=s.find,v=s.findIndex,g=0,y=function(e){return e.frozen||(e.frozen=new m)},m=function(){this.entries=[]},b=function(e,t){return h(e.entries,(function(e){return e[0]===t}))};m.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var n=b(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=v(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,s){var f=e((function(e,r){u(e,f,t),p(e,{type:t,id:g++,frozen:void 0}),null!=r&&c(r,e[s],e,n)})),h=d(t),v=function(e,t,n){var r=h(e),a=o(i(t),!0);return!0===a?y(r).set(t,n):a[r.id]=n,e};return r(f.prototype,{delete:function(e){var t=h(this);if(!a(e))return!1;var n=o(e);return!0===n?y(t).delete(e):n&&l(n,t.id)&&delete n[t.id]},has:function(e){var t=h(this);if(!a(e))return!1;var n=o(e);return!0===n?y(t).has(e):n&&l(n,t.id)}}),r(f.prototype,n?{get:function(e){var t=h(this);if(a(e)){var n=o(e);return!0===n?y(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return v(this,e,t)}}:{add:function(e){return v(this,e,!0)}}),f}}},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,n){var r=n(6),o=n(13),i=n(44),a=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},function(e,t,n){"use strict";n(78);var r=n(1),o=n(35),i=n(162),a=n(21),u=n(57),c=n(37),s=n(136),l=n(30),f=n(48),p=n(18),d=n(46),h=n(70),v=n(10),g=n(9),y=n(39),m=n(43),b=n(387),w=n(69),O=n(13),E=o("fetch"),_=o("Headers"),x=O("iterator"),P=l.set,k=l.getterFor("URLSearchParams"),S=l.getterFor("URLSearchParamsIterator"),j=/\+/g,T=Array(4),A=function(e){return T[e-1]||(T[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},I=function(e){try{return decodeURIComponent(e)}catch(t){return e}},M=function(e){var t=e.replace(j," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(A(n--),I);return t}},N=/[!'()~]|%20/g,C={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},D=function(e){return C[e]},R=function(e){return encodeURIComponent(e).replace(N,D)},L=function(e,t){if(t)for(var n,r,o=t.split("&"),i=0;i<o.length;)(n=o[i++]).length&&(r=n.split("="),e.push({key:M(r.shift()),value:M(r.join("="))}))},B=function(e){this.entries.length=0,L(this.entries,e)},F=function(e,t){if(e<t)throw TypeError("Not enough arguments")},U=s((function(e,t){P(this,{type:"URLSearchParamsIterator",iterator:b(k(e).entries),kind:t})}),"Iterator",(function(){var e=S(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),H=function(){f(this,H,"URLSearchParams");var e,t,n,r,o,i,a,u,c,s=arguments.length>0?arguments[0]:void 0,l=this,d=[];if(P(l,{type:"URLSearchParams",entries:d,updateURL:function(){},updateSearchParams:B}),void 0!==s)if(g(s))if("function"==typeof(e=w(s)))for(n=(t=e.call(s)).next;!(r=n.call(t)).done;){if((a=(i=(o=b(v(r.value))).next).call(o)).done||(u=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");d.push({key:a.value+"",value:u.value+""})}else for(c in s)p(s,c)&&d.push({key:c,value:s[c]+""});else L(d,"string"==typeof s?"?"===s.charAt(0)?s.slice(1):s:s+"")},W=H.prototype;u(W,{append:function(e,t){F(arguments.length,2);var n=k(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){F(arguments.length,1);for(var t=k(this),n=t.entries,r=e+"",o=0;o<n.length;)n[o].key===r?n.splice(o,1):o++;t.updateURL()},get:function(e){F(arguments.length,1);for(var t=k(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){F(arguments.length,1);for(var t=k(this).entries,n=e+"",r=[],o=0;o<t.length;o++)t[o].key===n&&r.push(t[o].value);return r},has:function(e){F(arguments.length,1);for(var t=k(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){F(arguments.length,1);for(var n,r=k(this),o=r.entries,i=!1,a=e+"",u=t+"",c=0;c<o.length;c++)(n=o[c]).key===a&&(i?o.splice(c--,1):(i=!0,n.value=u));i||o.push({key:a,value:u}),r.updateURL()},sort:function(){var e,t,n,r=k(this),o=r.entries,i=o.slice();for(o.length=0,n=0;n<i.length;n++){for(e=i[n],t=0;t<n;t++)if(o[t].key>e.key){o.splice(t,0,e);break}t===n&&o.push(e)}r.updateURL()},forEach:function(e){for(var t,n=k(this).entries,r=d(e,arguments.length>1?arguments[1]:void 0,3),o=0;o<n.length;)r((t=n[o++]).value,t.key,this)},keys:function(){return new U(this,"keys")},values:function(){return new U(this,"values")},entries:function(){return new U(this,"entries")}},{enumerable:!0}),a(W,x,W.entries),a(W,"toString",(function(){for(var e,t=k(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(R(e.key)+"="+R(e.value));return n.join("&")}),{enumerable:!0}),c(H,"URLSearchParams"),r({global:!0,forced:!i},{URLSearchParams:H}),i||"function"!=typeof E||"function"!=typeof _||r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,o=[e];return arguments.length>1&&(t=arguments[1],g(t)&&(n=t.body,"URLSearchParams"===h(n)&&((r=t.headers?new _(t.headers):new _).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=y(t,{body:m(0,String(n)),headers:m(0,r)}))),o.push(t)),E.apply(this,o)}}),e.exports={URLSearchParams:H,getState:k}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(91);Object.defineProperty(t,"take",{enumerable:!0,get:function(){return r.take}}),Object.defineProperty(t,"takem",{enumerable:!0,get:function(){return r.takem}}),Object.defineProperty(t,"put",{enumerable:!0,get:function(){return r.put}}),Object.defineProperty(t,"race",{enumerable:!0,get:function(){return r.race}}),Object.defineProperty(t,"call",{enumerable:!0,get:function(){return r.call}}),Object.defineProperty(t,"apply",{enumerable:!0,get:function(){return r.apply}}),Object.defineProperty(t,"cps",{enumerable:!0,get:function(){return r.cps}}),Object.defineProperty(t,"fork",{enumerable:!0,get:function(){return r.fork}}),Object.defineProperty(t,"spawn",{enumerable:!0,get:function(){return r.spawn}}),Object.defineProperty(t,"join",{enumerable:!0,get:function(){return r.join}}),Object.defineProperty(t,"cancel",{enumerable:!0,get:function(){return r.cancel}}),Object.defineProperty(t,"select",{enumerable:!0,get:function(){return r.select}}),Object.defineProperty(t,"actionChannel",{enumerable:!0,get:function(){return r.actionChannel}}),Object.defineProperty(t,"cancelled",{enumerable:!0,get:function(){return r.cancelled}}),Object.defineProperty(t,"flush",{enumerable:!0,get:function(){return r.flush}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TASK_CANCEL=t.CHANNEL_END=t.NOT_ITERATOR_ERROR=void 0,t.default=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return r.noop},d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.noop,v=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r.noop,g=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},y=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,m=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"anonymous",b=arguments[7];(0,r.check)(t,r.is.iterator,l);var w=g.sagaMonitor,O=g.logger,E=g.onError,_=O||r.log,x=(0,a.stdChannel)(n);T.cancel=r.noop;var P=function(e,t,n,o){var i,a;return n._deferredEnd=null,c(i={},r.TASK,!0),c(i,"id",e),c(i,"name",t),"done",(a={}).done=a.done||{},a.done.get=function(){if(n._deferredEnd)return n._deferredEnd.promise;var e=(0,r.deferred)();return n._deferredEnd=e,n._isRunning||(n._error?e.reject(n._error):e.resolve(n._result)),e.promise},c(i,"cont",o),c(i,"joiners",[]),c(i,"cancel",j),c(i,"isRunning",(function(){return n._isRunning})),c(i,"isCancelled",(function(){return n._isCancelled})),c(i,"isAborted",(function(){return n._isAborted})),c(i,"result",(function(){return n._result})),c(i,"error",(function(){return n._error})),function(e,t){for(var n in t){var r=t[n];r.configurable=r.enumerable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,n,r)}}(i,a),i}(y,m,t,b),k={name:m,cancel:function(){k.isRunning&&!k.isCancelled&&(k.isCancelled=!0,T(p))},isRunning:!0},S=function(e,t,n){var o=[],i=void 0,a=!1;function u(e){s(),n(e,!0)}function c(e){o.push(e),e.cont=function(c,s){a||((0,r.remove)(o,e),e.cont=r.noop,s?u(c):(e===t&&(i=c),o.length||(a=!0,n(i))))}}function s(){a||(a=!0,o.forEach((function(e){e.cont=r.noop,e.cancel()})),o=[])}return c(t),{addTask:c,cancelAll:s,abort:u,getTasks:function(){return o},taskNames:function(){return o.map((function(e){return e.name}))}}}(0,k,A);function j(){t._isRunning&&!t._isCancelled&&(t._isCancelled=!0,S.cancelAll(),A(p))}return b&&(b.cancel=j),t._isRunning=!0,T(),P;function T(e,n){if(!k.isRunning)throw new Error("Trying to resume an already finished generator");try{var o=void 0;n?o=t.throw(e):e===p?(k.isCancelled=!0,T.cancel(),o=r.is.func(t.return)?t.return(p):{done:!0,value:p}):o=e===f?r.is.func(t.return)?t.return():{done:!0}:t.next(e),o.done?(k.isMainRunning=!1,k.cont&&k.cont(o.value)):I(o.value,y,"",T)}catch(e){k.isCancelled&&_("error","uncaught at "+m,e.message),k.isMainRunning=!1,k.cont(e,!0)}}function A(e,n){t._isRunning=!1,x.close(),n?(e instanceof Error&&(e.sagaStack="at "+m+" \n "+(e.sagaStack||e.stack)),P.cont||(_("error","uncaught",e.sagaStack||e.stack),e instanceof Error&&E&&E(e)),t._error=e,t._isAborted=!0,t._deferredEnd&&t._deferredEnd.reject(e)):(e===p&&s&&_("info",m+" has been cancelled",""),t._result=e,t._deferredEnd&&t._deferredEnd.resolve(e)),P.cont&&P.cont(e,n),P.joiners.forEach((function(t){return t.cb(e,n)})),P.joiners=null}function I(e,t){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",l=arguments[3],g=(0,r.uid)();w&&w.effectTriggered({effectId:g,parentEffectId:t,label:s,effect:e});var y=void 0;function b(e,t){y||(y=!0,l.cancel=r.noop,w&&(t?w.effectRejected(g,e):w.effectResolved(g,e)),l(e,t))}b.cancel=r.noop,l.cancel=function(){if(!y){y=!0;try{b.cancel()}catch(e){_("error","uncaught at "+m,e.message)}b.cancel=r.noop,w&&w.effectCancelled(g)}};var O=void 0;return(r.is.promise(e)?M(e,b):r.is.helper(e)?C({fn:e},g,b):r.is.iterator(e)?N(e,g,m,b):r.is.array(e)?function(e,t,n){if(!e.length)return n([]);var o=0,i=void 0,u=Array(e.length);var c=e.map((function(e,t){var c=function(e,r){i||(r||(0,a.isEnd)(e)||e===f||e===p?(n.cancel(),n(e,r)):(u[t]=e,++o===u.length&&(i=!0,n(u))))};return c.cancel=r.noop,c}));n.cancel=function(){i||(i=!0,c.forEach((function(e){return e.cancel()})))},e.forEach((function(e,n){return I(e,t,n,c[n])}))}(e,g,b):r.is.notUndef(O=i.asEffect.take(e))?function(e,t){var n=e.channel,r=e.pattern,o=e.maybe;n=n||x;var i=function(e){return e instanceof Error?t(e,!0):(0,a.isEnd)(e)&&!o?t(f):t(e)};try{n.take(i,h(r))}catch(e){return t(e,!0)}t.cancel=i.cancel}(O,b):r.is.notUndef(O=i.asEffect.put(e))?function(e,t){var n=e.channel,i=e.action,a=e.sync;(0,o.asap)((function(){var e=void 0;try{e=(n?n.put:d)(i)}catch(e){if(n||a)return t(e,!0);_("error","uncaught at "+m,e.stack||e.message||e)}if(!a||!r.is.promise(e))return t(e);M(e,t)}))}(O,b):r.is.notUndef(O=i.asEffect.race(e))?function(e,t,n){var o=void 0,i=Object.keys(e),u={};i.forEach((function(e){var t=function(t,r){o||(r?(n.cancel(),n(t,!0)):(0,a.isEnd)(t)||t===f||t===p||(n.cancel(),o=!0,n(c({},e,t))))};t.cancel=r.noop,u[e]=t})),n.cancel=function(){o||(o=!0,i.forEach((function(e){return u[e].cancel()})))},i.forEach((function(n){o||I(e[n],t,n,u[n])}))}(O,g,b):r.is.notUndef(O=i.asEffect.call(e))?function(e,t,n){var o=e.context,i=e.fn,a=e.args,u=void 0;try{u=i.apply(o,a)}catch(e){return n(e,!0)}return r.is.promise(u)?M(u,n):r.is.iterator(u)?N(u,t,i.name,n):n(u)}(O,g,b):r.is.notUndef(O=i.asEffect.cps(e))?function(e,t){var n=e.context,o=e.fn,i=e.args;try{a=function(e,n){return r.is.undef(e)?t(n):t(e,!0)},o.apply(n,i.concat(a)),a.cancel&&(t.cancel=function(){return a.cancel()})}catch(e){return t(e,!0)}var a}(O,b):r.is.notUndef(O=i.asEffect.fork(e))?C(O,g,b):r.is.notUndef(O=i.asEffect.join(e))?function(e,t){e.isRunning()?(n={task:P,cb:t},t.cancel=function(){return(0,r.remove)(e.joiners,n)},e.joiners.push(n)):e.isAborted()?t(e.error(),!0):t(e.result());var n}(O,b):r.is.notUndef(O=i.asEffect.cancel(e))?function(e,t){e.isRunning()&&e.cancel();t()}(O,b):r.is.notUndef(O=i.asEffect.select(e))?function(e,t){var n=e.selector,r=e.args;try{var o=n.apply(void 0,[v()].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(r)));t(o)}catch(e){t(e,!0)}}(O,b):r.is.notUndef(O=i.asEffect.actionChannel(e))?function(e,t){var r=e.pattern,o=e.buffer,i=h(r);i.pattern=r,t((0,a.eventChannel)(n,o||u.buffers.fixed(),i))}(O,b):r.is.notUndef(O=i.asEffect.flush(e))?function(e,t){e.flush(t)}(O,b):r.is.notUndef(O=i.asEffect.cancelled(e))?function(e,t){t(!!k.isCancelled)}(0,b):b(e))}function M(e,t){var n=e[r.CANCEL];"function"==typeof n&&(t.cancel=n),e.then(t,(function(e){return t(e,!0)}))}function N(t,r,o,i){e(t,n,d,v,g,r,o,i)}function C(t,i,a){var u=t.context,c=t.fn,s=t.args,l=t.detached,f=function(e){var t=e.context,n=e.fn,o=e.args;if(r.is.iterator(n))return n;var i=void 0,a=void 0;try{i=n.apply(t,o)}catch(e){a=e}if(r.is.iterator(i))return i;return a?(0,r.makeIterator)((function(){throw a})):(0,r.makeIterator)((u=void 0,c={done:!1,value:i},function(e){return u?{done:!0,value:e}:(u=!0,c)}));var u,c}({context:u,fn:c,args:s});try{(0,o.suspend)();var p=e(f,n,d,v,g,i,c.name,l?null:r.noop);l?a(p):f._isRunning?(S.addTask(p),a(p)):f._error?S.abort(f._error):a(p)}finally{(0,o.flush)()}}};var r=n(42),o=n(166),i=n(91),a=n(92),u=n(93);function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=!1,l=t.NOT_ITERATOR_ERROR="proc first argument (Saga function result) must be an iterator",f=t.CHANNEL_END={toString:function(){return"@@redux-saga/CHANNEL_END"}},p=t.TASK_CANCEL={toString:function(){return"@@redux-saga/TASK_CANCEL"}},d={wildcard:function(){return r.kTrue},default:function(e){return function(t){return t.type===e}},array:function(e){return function(t){return e.some((function(e){return e===t.type}))}},predicate:function(e){return function(t){return e(t)}}};function h(e){return("*"===e?d.wildcard:r.is.array(e)?d.array:r.is.func(e)?d.predicate:d.default)(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.asap=function(e){o?r.push(e):i(e)},t.suspend=a,t.flush=u;var r=[],o=0;function i(e){try{a(),e()}finally{u()}}function a(){o++}function u(){!--o&&r.length&&i(r.shift())}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{top:e?r(e.marginTop):0,right:e?r(e.marginRight):0,bottom:e?r(e.marginBottom):0,left:e?r(e.marginLeft):0}};var r=function(e){return parseInt(e)||0};e.exports=t.default},function(e,t,n){"use strict";var r,o,i;o=[],void 0===(i="function"==typeof(r=function(){var e=0,t=1,n=2,r=3,o=/\s/,i=/<(\w*)>/g;return function(a,u,c){a=a||"";var s,l,f,p=e,d=0,h="",v="",g=!1;for("string"==typeof u?u=function(e){for(var t,n=[];null!==(t=i.exec(e));)n.push(t[1]);return 0!==n.length?n:null}(u):Array.isArray(u)||(u=null),s=0,l=a.length;s<l;s++)switch(f=a[s]){case"<":if(g)break;if(" "==a[s+1]){y(f);break}if(p==e){p=t,y(f);break}if(p==t){d++;break}y(f);break;case">":if(d){d--;break}if(g)break;if(p==t){g=p=0,u&&(v+=">",m());break}if(p==n){g=p=0,v="";break}if(p==r&&"-"==a[s-1]&&"-"==a[s-2]){g=p=0,v="";break}y(f);break;case'"':case"'":p==t&&(g==f?g=!1:g||(g=f)),y(f);break;case"!":if(p==t&&"<"==a[s-1]){p=n;break}y(f);break;case"-":if(p==n&&"-"==a[s-1]&&"!"==a[s-2]){p=r;break}y(f);break;case"E":case"e":if(p==n&&"doctype"==a.substr(s-6,7).toLowerCase()){p=t;break}y(f);break;default:y(f)}function y(n){p==e?h+=n:u&&p==t&&(v+=n)}function m(){var e,t,n,r="",i=!1;e:for(e=0,t=v.length;e<t;e++)switch(n=v[e].toLowerCase()){case"<":break;case">":break e;case"/":i=!0;break;default:if(n.match(o)){if(i)break e}else i=!0,r+=n}-1!==u.indexOf(r)?h+=v:c&&(h+=c),v=""}return h}})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(this,n(73))},function(e,t,n){"use strict";var r=n(118),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function c(e){return r.isMemo(e)?a:u[e.$$typeof]||o}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var s=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=d(n);o&&o!==h&&e(t,o,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var u=c(t),v=c(n),g=0;g<a.length;++g){var y=a[g];if(!(i[y]||r&&r[y]||v&&v[y]||u&&u[y])){var m=p(n,y);try{s(t,y,m)}catch(e){}}}}return t}},function(e,t,n){"use strict";(function(e){var r=n(4),o=n(2),i=n.n(o),a=n(59),u=n(17),c=n(7),s=n.n(c),l=n(3);function f(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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.a=function(t,n){var r=s()(),o=[],c=[];if(!n.isServerSide){var f=function(e,t){var n=[],r=[];return e.forEach((function(e){var o;e.createMiddleware&&(o=e.createMiddleware(t),r.push(o)),e.createSaga&&n.push(Object(l.call)(e.createSaga(p({},t,{middleware:o}))))})),{sagas:n,middlewares:r}}(t,n);o=f.sagas,c=f.middlewares}var d,h=Object(u.d)(function(e,t){var n=e.reduce((function(e,n){return n.createReducers?p({},e,{},n.createReducers(t)):e}),{});return Object.keys(n).length?Object(u.c)(n):function(e,t){return e}}(t,n),{},(d=u.a.apply(void 0,[r].concat(Object(a.a)(c))),void 0===e&&"undefined"!=typeof __REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__(d):d));return r.run(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o;case 2:case"end":return e.stop()}}),e)}))),function(e,t){e.forEach((function(e){e.init&&e.init(t)}))}(t,p({},n,{dispatch:h.dispatch,getState:h.getState})),h}}).call(this,n(403))},function(e,t,n){"use strict";var r=n(1),o=n(8),i=n(35),a=n(44),u=n(12),c=n(127),s=n(6),l=n(18),f=n(51),p=n(9),d=n(10),h=n(16),v=n(25),g=n(34),y=n(43),m=n(39),b=n(65),w=n(50),O=n(129),E=n(101),_=n(23),x=n(15),P=n(74),k=n(22),S=n(21),j=n(54),T=n(75),A=n(62),I=n(61),M=n(13),N=n(130),C=n(26),D=n(37),R=n(30),L=n(20).forEach,B=T("hidden"),F=M("toPrimitive"),U=R.set,H=R.getterFor("Symbol"),W=Object.prototype,q=o.Symbol,G=i("JSON","stringify"),V=_.f,z=x.f,Y=O.f,X=P.f,$=j("symbols"),K=j("op-symbols"),Q=j("string-to-symbol-registry"),J=j("symbol-to-string-registry"),Z=j("wks"),ee=o.QObject,te=!ee||!ee.prototype||!ee.prototype.findChild,ne=u&&s((function(){return 7!=m(z({},"a",{get:function(){return z(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=V(W,t);r&&delete W[t],z(e,t,n),r&&e!==W&&z(W,t,r)}:z,re=function(e,t){var n=$[e]=m(q.prototype);return U(n,{type:"Symbol",tag:e,description:t}),u||(n.description=t),n},oe=c&&"symbol"==typeof q.iterator?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof q},ie=function(e,t,n){e===W&&ie(K,t,n),d(e);var r=g(t,!0);return d(n),l($,r)?(n.enumerable?(l(e,B)&&e[B][r]&&(e[B][r]=!1),n=m(n,{enumerable:y(0,!1)})):(l(e,B)||z(e,B,y(1,{})),e[B][r]=!0),ne(e,r,n)):z(e,r,n)},ae=function(e,t){d(e);var n=v(t),r=b(n).concat(le(n));return L(r,(function(t){u&&!ue.call(n,t)||ie(e,t,n[t])})),e},ue=function(e){var t=g(e,!0),n=X.call(this,t);return!(this===W&&l($,t)&&!l(K,t))&&(!(n||!l(this,t)||!l($,t)||l(this,B)&&this[B][t])||n)},ce=function(e,t){var n=v(e),r=g(t,!0);if(n!==W||!l($,r)||l(K,r)){var o=V(n,r);return!o||!l($,r)||l(n,B)&&n[B][r]||(o.enumerable=!0),o}},se=function(e){var t=Y(v(e)),n=[];return L(t,(function(e){l($,e)||l(A,e)||n.push(e)})),n},le=function(e){var t=e===W,n=Y(t?K:v(e)),r=[];return L(n,(function(e){!l($,e)||t&&!l(W,e)||r.push($[e])})),r};(c||(S((q=function(){if(this instanceof q)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=I(e),n=function(e){this===W&&n.call(K,e),l(this,B)&&l(this[B],t)&&(this[B][t]=!1),ne(this,t,y(1,e))};return u&&te&&ne(W,t,{configurable:!0,set:n}),re(t,e)}).prototype,"toString",(function(){return H(this).tag})),P.f=ue,x.f=ie,_.f=ce,w.f=O.f=se,E.f=le,u&&(z(q.prototype,"description",{configurable:!0,get:function(){return H(this).description}}),a||S(W,"propertyIsEnumerable",ue,{unsafe:!0})),N.f=function(e){return re(M(e),e)}),r({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:q}),L(b(Z),(function(e){C(e)})),r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var t=String(e);if(l(Q,t))return Q[t];var n=q(t);return Q[t]=n,J[n]=t,n},keyFor:function(e){if(!oe(e))throw TypeError(e+" is not a symbol");if(l(J,e))return J[e]},useSetter:function(){te=!0},useSimple:function(){te=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!u},{create:function(e,t){return void 0===t?m(e):ae(m(e),t)},defineProperty:ie,defineProperties:ae,getOwnPropertyDescriptor:ce}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:se,getOwnPropertySymbols:le}),r({target:"Object",stat:!0,forced:s((function(){E.f(1)}))},{getOwnPropertySymbols:function(e){return E.f(h(e))}}),G)&&r({target:"JSON",stat:!0,forced:!c||s((function(){var e=q();return"[null]"!=G([e])||"{}"!=G({a:e})||"{}"!=G(Object(e))}))},{stringify:function(e,t,n){for(var r,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=t,(p(t)||void 0!==e)&&!oe(e))return f(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!oe(t))return t}),o[1]=t,G.apply(null,o)}});q.prototype[F]||k(q.prototype,F,q.prototype.valueOf),D(q,"Symbol"),A[B]=!0},function(e,t,n){var r=n(8),o=n(98),i=r["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=i},function(e,t,n){"use strict";var r=n(1),o=n(12),i=n(8),a=n(18),u=n(9),c=n(15).f,s=n(124),l=i.Symbol;if(o&&"function"==typeof l&&(!("description"in l.prototype)||void 0!==l().description)){var f={},p=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof p?new l(e):void 0===e?l():l(e);return""===e&&(f[t]=!0),t};s(p,l);var d=p.prototype=l.prototype;d.constructor=p;var h=d.toString,v="Symbol(test)"==String(l("test")),g=/^Symbol\((.*)\)[^)]+$/;c(d,"description",{configurable:!0,get:function(){var e=u(this)?this.valueOf():this,t=h.call(e);if(a(f,e))return"";var n=v?t.slice(7,-1):t.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:p})}},function(e,t,n){n(26)("asyncIterator")},function(e,t,n){n(26)("hasInstance")},function(e,t,n){n(26)("isConcatSpreadable")},function(e,t,n){n(26)("iterator")},function(e,t,n){n(26)("match")},function(e,t,n){n(26)("replace")},function(e,t,n){n(26)("search")},function(e,t,n){n(26)("species")},function(e,t,n){n(26)("split")},function(e,t,n){n(26)("toPrimitive")},function(e,t,n){n(26)("toStringTag")},function(e,t,n){n(26)("unscopables")},function(e,t,n){"use strict";var r=n(1),o=n(6),i=n(51),a=n(9),u=n(16),c=n(14),s=n(52),l=n(66),f=n(67),p=n(13),d=n(103),h=p("isConcatSpreadable"),v=d>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),g=f("concat"),y=function(e){if(!a(e))return!1;var t=e[h];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!v||!g},{concat:function(e){var t,n,r,o,i,a=u(this),f=l(a,0),p=0;for(t=-1,r=arguments.length;t<r;t++)if(i=-1===t?a:arguments[t],y(i)){if(p+(o=c(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&s(f,p,i[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(f,p++,i)}return f.length=p,f}})},function(e,t,n){var r=n(1),o=n(131),i=n(47);r({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},function(e,t,n){"use strict";var r=n(1),o=n(20).every;r({target:"Array",proto:!0,forced:n(40)("every")},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(1),o=n(104),i=n(47);r({target:"Array",proto:!0},{fill:o}),i("fill")},function(e,t,n){"use strict";var r=n(1),o=n(20).filter;r({target:"Array",proto:!0,forced:!n(67)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(1),o=n(20).find,i=n(47),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("find")},function(e,t,n){"use strict";var r=n(1),o=n(20).findIndex,i=n(47),a=!0;"findIndex"in[]&&Array(1).findIndex((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("findIndex")},function(e,t,n){"use strict";var r=n(1),o=n(132),i=n(16),a=n(14),u=n(31),c=n(66);r({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=i(this),n=a(t.length),r=c(t,0);return r.length=o(r,t,t,n,0,void 0===e?1:u(e)),r}})},function(e,t,n){"use strict";var r=n(1),o=n(132),i=n(16),a=n(14),u=n(32),c=n(66);r({target:"Array",proto:!0},{flatMap:function(e){var t,n=i(this),r=a(n.length);return u(e),(t=c(n,0)).length=o(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},function(e,t,n){"use strict";var r=n(1),o=n(133);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(e,t,n){var r=n(1),o=n(134);r({target:"Array",stat:!0,forced:!n(77)((function(e){Array.from(e)}))},{from:o})},function(e,t,n){"use strict";var r=n(1),o=n(63).includes,i=n(47);r({target:"Array",proto:!0},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(e,t,n){"use strict";var r=n(1),o=n(63).indexOf,i=n(40),a=[].indexOf,u=!!a&&1/[1].indexOf(1,-0)<0,c=i("indexOf");r({target:"Array",proto:!0,forced:u||c},{indexOf:function(e){return u?a.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){n(1)({target:"Array",stat:!0},{isArray:n(51)})},function(e,t,n){"use strict";var r=n(1),o=n(60),i=n(25),a=n(40),u=[].join,c=o!=Object,s=a("join",",");r({target:"Array",proto:!0,forced:c||s},{join:function(e){return u.call(i(this),void 0===e?",":e)}})},function(e,t,n){var r=n(1),o=n(139);r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},function(e,t,n){"use strict";var r=n(1),o=n(20).map;r({target:"Array",proto:!0,forced:!n(67)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(1),o=n(6),i=n(52);r({target:"Array",stat:!0,forced:o((function(){function e(){}return!(Array.of.call(e)instanceof e)}))},{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)i(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var r=n(1),o=n(79).left;r({target:"Array",proto:!0,forced:n(40)("reduce")},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(1),o=n(79).right;r({target:"Array",proto:!0,forced:n(40)("reduceRight")},{reduceRight:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(1),o=n(51),i=[].reverse,a=[1,2];r({target:"Array",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),i.call(this)}})},function(e,t,n){"use strict";var r=n(1),o=n(9),i=n(51),a=n(45),u=n(14),c=n(25),s=n(52),l=n(67),f=n(13)("species"),p=[].slice,d=Math.max;r({target:"Array",proto:!0,forced:!l("slice")},{slice:function(e,t){var n,r,l,h=c(this),v=u(h.length),g=a(e,v),y=a(void 0===t?v:t,v);if(i(h)&&("function"!=typeof(n=h.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[f])&&(n=void 0):n=void 0,n===Array||void 0===n))return p.call(h,g,y);for(r=new(void 0===n?Array:n)(d(y-g,0)),l=0;g<y;g++,l++)g in h&&s(r,l,h[g]);return r.length=l,r}})},function(e,t,n){"use strict";var r=n(1),o=n(20).some;r({target:"Array",proto:!0,forced:n(40)("some")},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(1),o=n(32),i=n(16),a=n(6),u=n(40),c=[],s=c.sort,l=a((function(){c.sort(void 0)})),f=a((function(){c.sort(null)})),p=u("sort");r({target:"Array",proto:!0,forced:l||!f||p},{sort:function(e){return void 0===e?s.call(i(this)):s.call(i(this),o(e))}})},function(e,t,n){n(56)("Array")},function(e,t,n){"use strict";var r=n(1),o=n(45),i=n(31),a=n(14),u=n(16),c=n(66),s=n(52),l=n(67),f=Math.max,p=Math.min;r({target:"Array",proto:!0,forced:!l("splice")},{splice:function(e,t){var n,r,l,d,h,v,g=u(this),y=a(g.length),m=o(e,y),b=arguments.length;if(0===b?n=r=0:1===b?(n=0,r=y-m):(n=b-2,r=p(f(i(t),0),y-m)),y+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(l=c(g,r),d=0;d<r;d++)(h=m+d)in g&&s(l,d,g[h]);if(l.length=r,n<r){for(d=m;d<y-r;d++)v=d+n,(h=d+r)in g?g[v]=g[h]:delete g[v];for(d=y;d>y-r+n;d--)delete g[d-1]}else if(n>r)for(d=y-r;d>m;d--)v=d+n-1,(h=d+r-1)in g?g[v]=g[h]:delete g[v];for(d=0;d<n;d++)g[d+m]=arguments[d+2];return g.length=y-r+n,l}})},function(e,t,n){n(47)("flat")},function(e,t,n){n(47)("flatMap")},function(e,t,n){"use strict";var r=n(1),o=n(8),i=n(80),a=n(56),u=i.ArrayBuffer;r({global:!0,forced:o.ArrayBuffer!==u},{ArrayBuffer:u}),a("ArrayBuffer")},function(e,t,n){var r=n(1),o=n(11);r({target:"ArrayBuffer",stat:!0,forced:!o.NATIVE_ARRAY_BUFFER_VIEWS},{isView:o.isView})},function(e,t,n){"use strict";var r=n(1),o=n(6),i=n(80),a=n(10),u=n(45),c=n(14),s=n(49),l=i.ArrayBuffer,f=i.DataView,p=l.prototype.slice;r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:o((function(){return!new l(2).slice(1,void 0).byteLength}))},{slice:function(e,t){if(void 0!==p&&void 0===t)return p.call(a(this),e);for(var n=a(this).byteLength,r=u(e,n),o=u(void 0===t?n:t,n),i=new(s(this,l))(c(o-r)),d=new f(this),h=new f(i),v=0;r<o;)h.setUint8(v++,d.getUint8(r++));return i}})},function(e,t,n){var r=n(1),o=n(80);r({global:!0,forced:!n(11).NATIVE_ARRAY_BUFFER},{DataView:o.DataView})},function(e,t,n){n(1)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},function(e,t,n){var r=n(1),o=n(222);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==o},{toISOString:o})},function(e,t,n){"use strict";var r=n(6),o=n(108).start,i=Math.abs,a=Date.prototype,u=a.getTime,c=a.toISOString;e.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=c.call(new Date(-5e13-1))}))||!r((function(){c.call(new Date(NaN))}))?function(){if(!isFinite(u.call(this)))throw RangeError("Invalid time value");var e=this.getUTCFullYear(),t=this.getUTCMilliseconds(),n=e<0?"-":e>9999?"+":"";return n+o(i(e),n?6:4,0)+"-"+o(this.getUTCMonth()+1,2,0)+"-"+o(this.getUTCDate(),2,0)+"T"+o(this.getUTCHours(),2,0)+":"+o(this.getUTCMinutes(),2,0)+":"+o(this.getUTCSeconds(),2,0)+"."+o(t,3,0)+"Z"}:c},function(e,t,n){"use strict";var r=n(1),o=n(6),i=n(16),a=n(34);r({target:"Date",proto:!0,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var t=i(this),n=a(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){var r=n(22),o=n(225),i=n(13)("toPrimitive"),a=Date.prototype;i in a||r(a,i,o)},function(e,t,n){"use strict";var r=n(10),o=n(34);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return o(r(this),"number"!==e)}},function(e,t,n){var r=n(21),o=Date.prototype,i=o.toString,a=o.getTime;new Date(NaN)+""!="Invalid Date"&&r(o,"toString",(function(){var e=a.call(this);return e==e?i.call(this):"Invalid Date"}))},function(e,t,n){n(1)({target:"Function",proto:!0},{bind:n(141)})},function(e,t,n){"use strict";var r=n(9),o=n(15),i=n(38),a=n(13)("hasInstance"),u=Function.prototype;a in u||o.f(u,a,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=i(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){var r=n(12),o=n(15).f,i=Function.prototype,a=i.toString,u=/^\s*function ([^ (]*)/;!r||"name"in i||o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(u)[1]}catch(e){return""}}})},function(e,t,n){var r=n(8);n(37)(r.JSON,"JSON",!0)},function(e,t,n){"use strict";var r=n(81),o=n(142);e.exports=r("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o,!0)},function(e,t,n){var r=n(1),o=n(143),i=Math.acosh,a=Math.log,u=Math.sqrt,c=Math.LN2;r({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?a(e)+c:o(e-1+u(e-1)*u(e+1))}})},function(e,t,n){var r=n(1),o=Math.asinh,i=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):i(t+a(t*t+1)):t}})},function(e,t,n){var r=n(1),o=Math.atanh,i=Math.log;r({target:"Math",stat:!0,forced:!(o&&1/o(-0)<0)},{atanh:function(e){return 0==(e=+e)?e:i((1+e)/(1-e))/2}})},function(e,t,n){var r=n(1),o=n(110),i=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(e){return o(e=+e)*a(i(e),1/3)}})},function(e,t,n){var r=n(1),o=Math.floor,i=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(e){return(e>>>=0)?31-o(i(e+.5)*a):32}})},function(e,t,n){var r=n(1),o=n(83),i=Math.cosh,a=Math.abs,u=Math.E;r({target:"Math",stat:!0,forced:!i||i(710)===1/0},{cosh:function(e){var t=o(a(e)-1)+1;return(t+1/(t*u*u))*(u/2)}})},function(e,t,n){var r=n(1),o=n(83);r({target:"Math",stat:!0,forced:o!=Math.expm1},{expm1:o})},function(e,t,n){n(1)({target:"Math",stat:!0},{fround:n(240)})},function(e,t,n){var r=n(110),o=Math.abs,i=Math.pow,a=i(2,-52),u=i(2,-23),c=i(2,127)*(2-u),s=i(2,-126);e.exports=Math.fround||function(e){var t,n,i=o(e),l=r(e);return i<s?l*(i/s/u+1/a-1/a)*s*u:(n=(t=(1+u/a)*i)-(t-i))>c||n!=n?l*(1/0):l*n}},function(e,t,n){var r=n(1),o=Math.hypot,i=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(e,t){for(var n,r,o=0,u=0,c=arguments.length,s=0;u<c;)s<(n=i(arguments[u++]))?(o=o*(r=s/n)*r+1,s=n):o+=n>0?(r=n/s)*r:n;return s===1/0?1/0:s*a(o)}})},function(e,t,n){var r=n(1),o=n(6),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!=i(4294967295,5)||2!=i.length}))},{imul:function(e,t){var n=+e,r=+t,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},function(e,t,n){var r=n(1),o=Math.log,i=Math.LOG10E;r({target:"Math",stat:!0},{log10:function(e){return o(e)*i}})},function(e,t,n){n(1)({target:"Math",stat:!0},{log1p:n(143)})},function(e,t,n){var r=n(1),o=Math.log,i=Math.LN2;r({target:"Math",stat:!0},{log2:function(e){return o(e)/i}})},function(e,t,n){n(1)({target:"Math",stat:!0},{sign:n(110)})},function(e,t,n){var r=n(1),o=n(6),i=n(83),a=Math.abs,u=Math.exp,c=Math.E;r({target:"Math",stat:!0,forced:o((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(e){return a(e=+e)<1?(i(e)-i(-e))/2:(u(e-1)-u(-e-1))*(c/2)}})},function(e,t,n){var r=n(1),o=n(83),i=Math.exp;r({target:"Math",stat:!0},{tanh:function(e){var t=o(e=+e),n=o(-e);return t==1/0?1:n==1/0?-1:(t-n)/(i(e)+i(-e))}})},function(e,t,n){n(37)(Math,"Math",!0)},function(e,t,n){var r=n(1),o=Math.ceil,i=Math.floor;r({target:"Math",stat:!0},{trunc:function(e){return(e>0?i:o)(e)}})},function(e,t,n){"use strict";var r=n(12),o=n(8),i=n(64),a=n(21),u=n(18),c=n(33),s=n(82),l=n(34),f=n(6),p=n(39),d=n(50).f,h=n(23).f,v=n(15).f,g=n(58).trim,y=o.Number,m=y.prototype,b="Number"==c(p(m)),w=function(e){var t,n,r,o,i,a,u,c,s=l(e,!1);if("string"==typeof s&&s.length>2)if(43===(t=(s=g(s)).charCodeAt(0))||45===t){if(88===(n=s.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(s.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+s}for(a=(i=s.slice(2)).length,u=0;u<a;u++)if((c=i.charCodeAt(u))<48||c>o)return NaN;return parseInt(i,r)}return+s};if(i("Number",!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var O,E=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof E&&(b?f((function(){m.valueOf.call(n)})):"Number"!=c(n))?s(new y(w(t)),n,E):w(t)},_=r?d(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;_.length>x;x++)u(y,O=_[x])&&!u(E,O)&&v(E,O,h(y,O));E.prototype=m,m.constructor=E,a(o,"Number",E)}},function(e,t,n){n(1)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},function(e,t,n){n(1)({target:"Number",stat:!0},{isFinite:n(254)})},function(e,t,n){var r=n(8).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&r(e)}},function(e,t,n){n(1)({target:"Number",stat:!0},{isInteger:n(144)})},function(e,t,n){n(1)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},function(e,t,n){var r=n(1),o=n(144),i=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(e){return o(e)&&i(e)<=9007199254740991}})},function(e,t,n){n(1)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){n(1)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(1),o=n(145);r({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},function(e,t,n){var r=n(1),o=n(146);r({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},function(e,t,n){"use strict";var r=n(1),o=n(31),i=n(147),a=n(109),u=n(6),c=1..toFixed,s=Math.floor,l=function(e,t,n){return 0===t?n:t%2==1?l(e,t-1,n*e):l(e*e,t/2,n)};r({target:"Number",proto:!0,forced:c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!u((function(){c.call({})}))},{toFixed:function(e){var t,n,r,u,c=i(this),f=o(e),p=[0,0,0,0,0,0],d="",h="0",v=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*p[n],p[n]=r%1e7,r=s(r/1e7)},g=function(e){for(var t=6,n=0;--t>=0;)n+=p[t],p[t]=s(n/e),n=n%e*1e7},y=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==p[e]){var n=String(p[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t};if(f<0||f>20)throw RangeError("Incorrect fraction digits");if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(d="-",c=-c),c>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(c*l(2,69,1))-69)<0?c*l(2,-t,1):c/l(2,t,1),n*=4503599627370496,(t=52-t)>0){for(v(0,n),r=f;r>=7;)v(1e7,0),r-=7;for(v(l(10,r,1),0),r=t-1;r>=23;)g(1<<23),r-=23;g(1<<r),v(1,1),g(2),h=y()}else v(0,n),v(1<<-t,0),h=y()+a.call("0",f);return h=f>0?d+((u=h.length)<=f?"0."+a.call("0",f-u)+h:h.slice(0,u-f)+"."+h.slice(u-f)):d+h}})},function(e,t,n){"use strict";var r=n(1),o=n(6),i=n(147),a=1..toPrecision;r({target:"Number",proto:!0,forced:o((function(){return"1"!==a.call(1,void 0)}))||!o((function(){a.call({})}))},{toPrecision:function(e){return void 0===e?a.call(i(this)):a.call(i(this),e)}})},function(e,t,n){var r=n(1),o=n(148);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(e,t,n){n(1)({target:"Object",stat:!0,sham:!n(12)},{create:n(39)})},function(e,t,n){"use strict";var r=n(1),o=n(12),i=n(85),a=n(16),u=n(32),c=n(15);o&&r({target:"Object",proto:!0,forced:i},{__defineGetter__:function(e,t){c.f(a(this),e,{get:u(t),enumerable:!0,configurable:!0})}})},function(e,t,n){var r=n(1),o=n(12);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n(102)})},function(e,t,n){var r=n(1),o=n(12);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(15).f})},function(e,t,n){"use strict";var r=n(1),o=n(12),i=n(85),a=n(16),u=n(32),c=n(15);o&&r({target:"Object",proto:!0,forced:i},{__defineSetter__:function(e,t){c.f(a(this),e,{set:u(t),enumerable:!0,configurable:!0})}})},function(e,t,n){var r=n(1),o=n(149).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},function(e,t,n){var r=n(1),o=n(71),i=n(6),a=n(9),u=n(53).onFreeze,c=Object.freeze;r({target:"Object",stat:!0,forced:i((function(){c(1)})),sham:!o},{freeze:function(e){return c&&a(e)?c(u(e)):e}})},function(e,t,n){var r=n(1),o=n(72),i=n(52);r({target:"Object",stat:!0},{fromEntries:function(e){var t={};return o(e,(function(e,n){i(t,e,n)}),void 0,!0),t}})},function(e,t,n){var r=n(1),o=n(6),i=n(25),a=n(23).f,u=n(12),c=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!u||c,sham:!u},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},function(e,t,n){var r=n(1),o=n(12),i=n(99),a=n(25),u=n(23),c=n(52);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=u.f,s=i(r),l={},f=0;s.length>f;)void 0!==(n=o(r,t=s[f++]))&&c(l,t,n);return l}})},function(e,t,n){var r=n(1),o=n(6),i=n(129).f;r({target:"Object",stat:!0,forced:o((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},function(e,t,n){var r=n(1),o=n(6),i=n(16),a=n(38),u=n(107);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!u},{getPrototypeOf:function(e){return a(i(e))}})},function(e,t,n){n(1)({target:"Object",stat:!0},{is:n(150)})},function(e,t,n){var r=n(1),o=n(6),i=n(9),a=Object.isExtensible;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isExtensible:function(e){return!!i(e)&&(!a||a(e))}})},function(e,t,n){var r=n(1),o=n(6),i=n(9),a=Object.isFrozen;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isFrozen:function(e){return!i(e)||!!a&&a(e)}})},function(e,t,n){var r=n(1),o=n(6),i=n(9),a=Object.isSealed;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isSealed:function(e){return!i(e)||!!a&&a(e)}})},function(e,t,n){var r=n(1),o=n(16),i=n(65);r({target:"Object",stat:!0,forced:n(6)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},function(e,t,n){"use strict";var r=n(1),o=n(12),i=n(85),a=n(16),u=n(34),c=n(38),s=n(23).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupGetter__:function(e){var t,n=a(this),r=u(e,!0);do{if(t=s(n,r))return t.get}while(n=c(n))}})},function(e,t,n){"use strict";var r=n(1),o=n(12),i=n(85),a=n(16),u=n(34),c=n(38),s=n(23).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupSetter__:function(e){var t,n=a(this),r=u(e,!0);do{if(t=s(n,r))return t.set}while(n=c(n))}})},function(e,t,n){var r=n(1),o=n(9),i=n(53).onFreeze,a=n(71),u=n(6),c=Object.preventExtensions;r({target:"Object",stat:!0,forced:u((function(){c(1)})),sham:!a},{preventExtensions:function(e){return c&&o(e)?c(i(e)):e}})},function(e,t,n){var r=n(1),o=n(9),i=n(53).onFreeze,a=n(71),u=n(6),c=Object.seal;r({target:"Object",stat:!0,forced:u((function(){c(1)})),sham:!a},{seal:function(e){return c&&o(e)?c(i(e)):e}})},function(e,t,n){n(1)({target:"Object",stat:!0},{setPrototypeOf:n(55)})},function(e,t,n){var r=n(21),o=n(288),i=Object.prototype;o!==i.toString&&r(i,"toString",o,{unsafe:!0})},function(e,t,n){"use strict";var r=n(70),o={};o[n(13)("toStringTag")]="z",e.exports="[object z]"!==String(o)?function(){return"[object "+r(this)+"]"}:o.toString},function(e,t,n){var r=n(1),o=n(149).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},function(e,t,n){var r=n(1),o=n(145);r({global:!0,forced:parseFloat!=o},{parseFloat:o})},function(e,t,n){var r=n(1),o=n(146);r({global:!0,forced:parseInt!=o},{parseInt:o})},function(e,t,n){"use strict";var r,o,i,a,u=n(1),c=n(44),s=n(8),l=n(35),f=n(151),p=n(21),d=n(57),h=n(54),v=n(37),g=n(56),y=n(9),m=n(32),b=n(48),w=n(33),O=n(72),E=n(77),_=n(49),x=n(111).set,P=n(153),k=n(154),S=n(293),j=n(155),T=n(294),A=n(30),I=n(64),M=n(13),N=n(103),C=M("species"),D="Promise",R=A.get,L=A.set,B=A.getterFor(D),F=f,U=s.TypeError,H=s.document,W=s.process,q=h("inspectSource"),G=l("fetch"),V=j.f,z=V,Y="process"==w(W),X=!!(H&&H.createEvent&&s.dispatchEvent),$=I(D,(function(){var e=q(F)!==String(F);if(66===N)return!0;if(!e&&!Y&&"function"!=typeof PromiseRejectionEvent)return!0;if(c&&!F.prototype.finally)return!0;if(N>=51&&/native code/.test(F))return!1;var t=F.resolve(1),n=function(e){e((function(){}),(function(){}))};return(t.constructor={})[C]=n,!(t.then((function(){}))instanceof n)})),K=$||!E((function(e){F.all(e).catch((function(){}))})),Q=function(e){var t;return!(!y(e)||"function"!=typeof(t=e.then))&&t},J=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;P((function(){for(var o=t.value,i=1==t.state,a=0;r.length>a;){var u,c,s,l=r[a++],f=i?l.ok:l.fail,p=l.resolve,d=l.reject,h=l.domain;try{f?(i||(2===t.rejection&&ne(e,t),t.rejection=1),!0===f?u=o:(h&&h.enter(),u=f(o),h&&(h.exit(),s=!0)),u===l.promise?d(U("Promise-chain cycle")):(c=Q(u))?c.call(u,p,d):p(u)):d(o)}catch(e){h&&!s&&h.exit(),d(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&ee(e,t)}))}},Z=function(e,t,n){var r,o;X?((r=H.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),s.dispatchEvent(r)):r={promise:t,reason:n},(o=s["on"+e])?o(r):"unhandledrejection"===e&&S("Unhandled promise rejection",n)},ee=function(e,t){x.call(s,(function(){var n,r=t.value;if(te(t)&&(n=T((function(){Y?W.emit("unhandledRejection",r,e):Z("unhandledrejection",e,r)})),t.rejection=Y||te(t)?2:1,n.error))throw n.value}))},te=function(e){return 1!==e.rejection&&!e.parent},ne=function(e,t){x.call(s,(function(){Y?W.emit("rejectionHandled",e):Z("rejectionhandled",e,t.value)}))},re=function(e,t,n,r){return function(o){e(t,n,o,r)}},oe=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,J(e,t,!0))},ie=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw U("Promise can't be resolved itself");var o=Q(n);o?P((function(){var r={done:!1};try{o.call(n,re(ie,e,r,t),re(oe,e,r,t))}catch(n){oe(e,r,n,t)}})):(t.value=n,t.state=1,J(e,t,!1))}catch(n){oe(e,{done:!1},n,t)}}};$&&(F=function(e){b(this,F,D),m(e),r.call(this);var t=R(this);try{e(re(ie,this,t),re(oe,this,t))}catch(e){oe(this,t,e)}},(r=function(e){L(this,{type:D,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(F.prototype,{then:function(e,t){var n=B(this),r=V(_(this,F));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=Y?W.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&J(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=R(e);this.promise=e,this.resolve=re(ie,e,t),this.reject=re(oe,e,t)},j.f=V=function(e){return e===F||e===i?new o(e):z(e)},c||"function"!=typeof f||(a=f.prototype.then,p(f.prototype,"then",(function(e,t){var n=this;return new F((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof G&&u({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return k(F,G.apply(s,arguments))}}))),u({global:!0,wrap:!0,forced:$},{Promise:F}),v(F,D,!1,!0),g(D),i=l(D),u({target:D,stat:!0,forced:$},{reject:function(e){var t=V(this);return t.reject.call(void 0,e),t.promise}}),u({target:D,stat:!0,forced:c||$},{resolve:function(e){return k(c&&this===i?F:this,e)}}),u({target:D,stat:!0,forced:K},{all:function(e){var t=this,n=V(t),r=n.resolve,o=n.reject,i=T((function(){var n=m(t.resolve),i=[],a=0,u=1;O(e,(function(e){var c=a++,s=!1;i.push(void 0),u++,n.call(t,e).then((function(e){s||(s=!0,i[c]=e,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=V(t),r=n.reject,o=T((function(){var o=m(t.resolve);O(e,(function(e){o.call(t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},function(e,t,n){var r=n(8);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,t,n){"use strict";var r=n(1),o=n(44),i=n(151),a=n(35),u=n(49),c=n(154),s=n(21);r({target:"Promise",proto:!0,real:!0},{finally:function(e){var t=u(this,a("Promise")),n="function"==typeof e;return this.then(n?function(n){return c(t,e()).then((function(){return n}))}:e,n?function(n){return c(t,e()).then((function(){throw n}))}:e)}}),o||"function"!=typeof i||i.prototype.finally||s(i.prototype,"finally",a("Promise").prototype.finally)},function(e,t,n){var r=n(1),o=n(35),i=n(32),a=n(10),u=n(6),c=o("Reflect","apply"),s=Function.apply;r({target:"Reflect",stat:!0,forced:!u((function(){c((function(){}))}))},{apply:function(e,t,n){return i(e),a(n),c?c(e,t,n):s.call(e,t,n)}})},function(e,t,n){var r=n(1),o=n(35),i=n(32),a=n(10),u=n(9),c=n(39),s=n(141),l=n(6),f=o("Reflect","construct"),p=l((function(){function e(){}return!(f((function(){}),[],e)instanceof e)})),d=!l((function(){f((function(){}))})),h=p||d;r({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(d&&!p)return f(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(s.apply(e,r))}var o=n.prototype,l=c(u(o)?o:Object.prototype),h=Function.apply.call(e,l,t);return u(h)?h:l}})},function(e,t,n){var r=n(1),o=n(12),i=n(10),a=n(34),u=n(15);r({target:"Reflect",stat:!0,forced:n(6)((function(){Reflect.defineProperty(u.f({},1,{value:1}),1,{value:2})})),sham:!o},{defineProperty:function(e,t,n){i(e);var r=a(t,!0);i(n);try{return u.f(e,r,n),!0}catch(e){return!1}}})},function(e,t,n){var r=n(1),o=n(10),i=n(23).f;r({target:"Reflect",stat:!0},{deleteProperty:function(e,t){var n=i(o(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){var r=n(1),o=n(9),i=n(10),a=n(18),u=n(23),c=n(38);r({target:"Reflect",stat:!0},{get:function e(t,n){var r,s,l=arguments.length<3?t:arguments[2];return i(t)===l?t[n]:(r=u.f(t,n))?a(r,"value")?r.value:void 0===r.get?void 0:r.get.call(l):o(s=c(t))?e(s,n,l):void 0}})},function(e,t,n){var r=n(1),o=n(12),i=n(10),a=n(23);r({target:"Reflect",stat:!0,sham:!o},{getOwnPropertyDescriptor:function(e,t){return a.f(i(e),t)}})},function(e,t,n){var r=n(1),o=n(10),i=n(38);r({target:"Reflect",stat:!0,sham:!n(107)},{getPrototypeOf:function(e){return i(o(e))}})},function(e,t,n){n(1)({target:"Reflect",stat:!0},{has:function(e,t){return t in e}})},function(e,t,n){var r=n(1),o=n(10),i=Object.isExtensible;r({target:"Reflect",stat:!0},{isExtensible:function(e){return o(e),!i||i(e)}})},function(e,t,n){n(1)({target:"Reflect",stat:!0},{ownKeys:n(99)})},function(e,t,n){var r=n(1),o=n(35),i=n(10);r({target:"Reflect",stat:!0,sham:!n(71)},{preventExtensions:function(e){i(e);try{var t=o("Object","preventExtensions");return t&&t(e),!0}catch(e){return!1}}})},function(e,t,n){var r=n(1),o=n(10),i=n(9),a=n(18),u=n(15),c=n(23),s=n(38),l=n(43);r({target:"Reflect",stat:!0},{set:function e(t,n,r){var f,p,d=arguments.length<4?t:arguments[3],h=c.f(o(t),n);if(!h){if(i(p=s(t)))return e(p,n,r,d);h=l(0)}if(a(h,"value")){if(!1===h.writable||!i(d))return!1;if(f=c.f(d,n)){if(f.get||f.set||!1===f.writable)return!1;f.value=r,u.f(d,n,f)}else u.f(d,n,l(0,r));return!0}return void 0!==h.set&&(h.set.call(d,r),!0)}})},function(e,t,n){var r=n(1),o=n(10),i=n(138),a=n(55);a&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(e,t){o(e),i(t);try{return a(e,t),!0}catch(e){return!1}}})},function(e,t,n){var r=n(12),o=n(8),i=n(64),a=n(82),u=n(15).f,c=n(50).f,s=n(112),l=n(86),f=n(21),p=n(6),d=n(56),h=n(13)("match"),v=o.RegExp,g=v.prototype,y=/a/g,m=/a/g,b=new v(y)!==y;if(r&&i("RegExp",!b||p((function(){return m[h]=!1,v(y)!=y||v(m)==m||"/a/i"!=v(y,"i")})))){for(var w=function(e,t){var n=this instanceof w,r=s(e),o=void 0===t;return!n&&r&&e.constructor===w&&o?e:a(b?new v(r&&!o?e.source:e,t):v((r=e instanceof w)?e.source:e,r&&o?l.call(e):t),n?this:g,w)},O=function(e){e in w||u(w,e,{configurable:!0,get:function(){return v[e]},set:function(t){v[e]=t}})},E=c(v),_=0;E.length>_;)O(E[_++]);g.constructor=w,w.prototype=g,f(o,"RegExp",w)}d("RegExp")},function(e,t,n){"use strict";var r=n(1),o=n(87);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(e,t,n){var r=n(12),o=n(15),i=n(86);r&&"g"!=/./g.flags&&o.f(RegExp.prototype,"flags",{configurable:!0,get:i})},function(e,t,n){"use strict";var r=n(21),o=n(10),i=n(6),a=n(86),u=RegExp.prototype,c=u.toString,s=i((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),l="toString"!=c.name;(s||l)&&r(RegExp.prototype,"toString",(function(){var e=o(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in u)?a.call(e):n)}),{unsafe:!0})},function(e,t,n){"use strict";var r=n(81),o=n(142);e.exports=r("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},function(e,t,n){"use strict";var r=n(1),o=n(88).codeAt;r({target:"String",proto:!0},{codePointAt:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(1),o=n(14),i=n(113),a=n(24),u=n(114),c="".endsWith,s=Math.min;r({target:"String",proto:!0,forced:!u("endsWith")},{endsWith:function(e){var t=String(a(this));i(e);var n=arguments.length>1?arguments[1]:void 0,r=o(t.length),u=void 0===n?r:s(o(n),r),l=String(e);return c?c.call(t,l,u):t.slice(u-l.length,u)===l}})},function(e,t,n){var r=n(1),o=n(45),i=String.fromCharCode,a=String.fromCodePoint;r({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,a=0;r>a;){if(t=+arguments[a++],o(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){"use strict";var r=n(1),o=n(113),i=n(24);r({target:"String",proto:!0,forced:!n(114)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(89),o=n(10),i=n(14),a=n(24),u=n(115),c=n(90);r("match",1,(function(e,t,n){return[function(t){var n=a(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var a=o(e),s=String(this);if(!a.global)return c(a,s);var l=a.unicode;a.lastIndex=0;for(var f,p=[],d=0;null!==(f=c(a,s));){var h=String(f[0]);p[d]=h,""===h&&(a.lastIndex=u(s,i(a.lastIndex),l)),d++}return 0===d?null:p}]}))},function(e,t,n){"use strict";var r=n(1),o=n(108).end;r({target:"String",proto:!0,forced:n(157)},{padEnd:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(1),o=n(108).start;r({target:"String",proto:!0,forced:n(157)},{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(1),o=n(25),i=n(14);r({target:"String",stat:!0},{raw:function(e){for(var t=o(e.raw),n=i(t.length),r=arguments.length,a=[],u=0;n>u;)a.push(String(t[u++])),u<r&&a.push(String(arguments[u]));return a.join("")}})},function(e,t,n){n(1)({target:"String",proto:!0},{repeat:n(109)})},function(e,t,n){"use strict";var r=n(89),o=n(10),i=n(16),a=n(14),u=n(31),c=n(24),s=n(115),l=n(90),f=Math.max,p=Math.min,d=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,v=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(e,t,n){return[function(n,r){var o=c(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,i){var c=n(t,e,this,i);if(c.done)return c.value;var d=o(e),h=String(this),v="function"==typeof i;v||(i=String(i));var g=d.global;if(g){var y=d.unicode;d.lastIndex=0}for(var m=[];;){var b=l(d,h);if(null===b)break;if(m.push(b),!g)break;""===String(b[0])&&(d.lastIndex=s(h,a(d.lastIndex),y))}for(var w,O="",E=0,_=0;_<m.length;_++){b=m[_];for(var x=String(b[0]),P=f(p(u(b.index),h.length),0),k=[],S=1;S<b.length;S++)k.push(void 0===(w=b[S])?w:String(w));var j=b.groups;if(v){var T=[x].concat(k,P,h);void 0!==j&&T.push(j);var A=String(i.apply(void 0,T))}else A=r(x,h,P,k,j,i);P>=E&&(O+=h.slice(E,P)+A,E=P+x.length)}return O+h.slice(E)}];function r(e,n,r,o,a,u){var c=r+e.length,s=o.length,l=v;return void 0!==a&&(a=i(a),l=h),t.call(u,l,(function(t,i){var u;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(c);case"<":u=a[i.slice(1,-1)];break;default:var l=+i;if(0===l)return t;if(l>s){var f=d(l/10);return 0===f?t:f<=s?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):t}u=o[l-1]}return void 0===u?"":u}))}}))},function(e,t,n){"use strict";var r=n(89),o=n(10),i=n(24),a=n(150),u=n(90);r("search",1,(function(e,t,n){return[function(t){var n=i(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=o(e),c=String(this),s=i.lastIndex;a(s,0)||(i.lastIndex=0);var l=u(i,c);return a(i.lastIndex,s)||(i.lastIndex=s),null===l?-1:l.index}]}))},function(e,t,n){"use strict";var r=n(89),o=n(112),i=n(10),a=n(24),u=n(49),c=n(115),s=n(14),l=n(90),f=n(87),p=n(6),d=[].push,h=Math.min,v=!p((function(){return!RegExp(4294967295,"y")}));r("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,i);for(var u,c,s,l=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,v=new RegExp(e.source,p+"g");(u=f.call(v,r))&&!((c=v.lastIndex)>h&&(l.push(r.slice(h,u.index)),u.length>1&&u.index<r.length&&d.apply(l,u.slice(1)),s=u[0].length,h=c,l.length>=i));)v.lastIndex===u.index&&v.lastIndex++;return h===r.length?!s&&v.test("")||l.push(""):l.push(r.slice(h)),l.length>i?l.slice(0,i):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=a(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(String(o),t,n)},function(e,o){var a=n(r,e,this,o,r!==t);if(a.done)return a.value;var f=i(e),p=String(this),d=u(f,RegExp),g=f.unicode,y=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(v?"y":"g"),m=new d(v?f:"^(?:"+f.source+")",y),b=void 0===o?4294967295:o>>>0;if(0===b)return[];if(0===p.length)return null===l(m,p)?[p]:[];for(var w=0,O=0,E=[];O<p.length;){m.lastIndex=v?O:0;var _,x=l(m,v?p:p.slice(O));if(null===x||(_=h(s(m.lastIndex+(v?0:O)),p.length))===w)O=c(p,O,g);else{if(E.push(p.slice(w,O)),E.length===b)return E;for(var P=1;P<=x.length-1;P++)if(E.push(x[P]),E.length===b)return E;O=w=_}}return E.push(p.slice(w)),E}]}),!v)},function(e,t,n){"use strict";var r=n(1),o=n(14),i=n(113),a=n(24),u=n(114),c="".startsWith,s=Math.min;r({target:"String",proto:!0,forced:!u("startsWith")},{startsWith:function(e){var t=String(a(this));i(e);var n=o(s(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return c?c.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";var r=n(1),o=n(58).trim;r({target:"String",proto:!0,forced:n(116)("trim")},{trim:function(){return o(this)}})},function(e,t,n){"use strict";var r=n(1),o=n(58).end,i=n(116)("trimEnd"),a=i?function(){return o(this)}:"".trimEnd;r({target:"String",proto:!0,forced:i},{trimEnd:a,trimRight:a})},function(e,t,n){"use strict";var r=n(1),o=n(58).start,i=n(116)("trimStart"),a=i?function(){return o(this)}:"".trimStart;r({target:"String",proto:!0,forced:i},{trimStart:a,trimLeft:a})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("big")},{big:function(){return o(this,"big","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("blink")},{blink:function(){return o(this,"blink","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("bold")},{bold:function(){return o(this,"b","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("fixed")},{fixed:function(){return o(this,"tt","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("fontcolor")},{fontcolor:function(e){return o(this,"font","color",e)}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("fontsize")},{fontsize:function(e){return o(this,"font","size",e)}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("italics")},{italics:function(){return o(this,"i","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("link")},{link:function(e){return o(this,"a","href",e)}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("small")},{small:function(){return o(this,"small","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("strike")},{strike:function(){return o(this,"strike","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("sub")},{sub:function(){return o(this,"sub","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(27);r({target:"String",proto:!0,forced:n(28)("sup")},{sup:function(){return o(this,"sup","","")}})},function(e,t,n){n(41)("Float32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){var r=n(31);e.exports=function(e){var t=r(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},function(e,t,n){n(41)("Float64",8,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(41)("Int8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(41)("Int16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(41)("Int32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(41)("Uint8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(41)("Uint8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}),!0)},function(e,t,n){n(41)("Uint16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(41)("Uint32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){"use strict";var r=n(11),o=n(131),i=r.aTypedArray;r.exportProto("copyWithin",(function(e,t){return o.call(i(this),e,t,arguments.length>2?arguments[2]:void 0)}))},function(e,t,n){"use strict";var r=n(11),o=n(20).every,i=r.aTypedArray;r.exportProto("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(11),o=n(104),i=r.aTypedArray;r.exportProto("fill",(function(e){return o.apply(i(this),arguments)}))},function(e,t,n){"use strict";var r=n(11),o=n(20).filter,i=n(49),a=r.aTypedArray,u=r.aTypedArrayConstructor;r.exportProto("filter",(function(e){for(var t=o(a(this),e,arguments.length>1?arguments[1]:void 0),n=i(this,this.constructor),r=0,c=t.length,s=new(u(n))(c);c>r;)s[r]=t[r++];return s}))},function(e,t,n){"use strict";var r=n(11),o=n(20).find,i=r.aTypedArray;r.exportProto("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(11),o=n(20).findIndex,i=r.aTypedArray;r.exportProto("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(11),o=n(20).forEach,i=r.aTypedArray;r.exportProto("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(117),o=n(11),i=n(159);o.exportStatic("from",i,r)},function(e,t,n){"use strict";var r=n(11),o=n(63).includes,i=r.aTypedArray;r.exportProto("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(11),o=n(63).indexOf,i=r.aTypedArray;r.exportProto("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(8),o=n(11),i=n(78),a=n(13)("iterator"),u=r.Uint8Array,c=i.values,s=i.keys,l=i.entries,f=o.aTypedArray,p=o.exportProto,d=u&&u.prototype[a],h=!!d&&("values"==d.name||null==d.name),v=function(){return c.call(f(this))};p("entries",(function(){return l.call(f(this))})),p("keys",(function(){return s.call(f(this))})),p("values",v,!h),p(a,v,!h)},function(e,t,n){"use strict";var r=n(11),o=r.aTypedArray,i=[].join;r.exportProto("join",(function(e){return i.apply(o(this),arguments)}))},function(e,t,n){"use strict";var r=n(11),o=n(139),i=r.aTypedArray;r.exportProto("lastIndexOf",(function(e){return o.apply(i(this),arguments)}))},function(e,t,n){"use strict";var r=n(11),o=n(20).map,i=n(49),a=r.aTypedArray,u=r.aTypedArrayConstructor;r.exportProto("map",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(u(i(e,e.constructor)))(t)}))}))},function(e,t,n){"use strict";var r=n(11),o=n(117),i=r.aTypedArrayConstructor;r.exportStatic("of",(function(){for(var e=0,t=arguments.length,n=new(i(this))(t);t>e;)n[e]=arguments[e++];return n}),o)},function(e,t,n){"use strict";var r=n(11),o=n(79).left,i=r.aTypedArray;r.exportProto("reduce",(function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(11),o=n(79).right,i=r.aTypedArray;r.exportProto("reduceRight",(function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(11),o=r.aTypedArray,i=Math.floor;r.exportProto("reverse",(function(){for(var e,t=o(this).length,n=i(t/2),r=0;r<n;)e=this[r],this[r++]=this[--t],this[t]=e;return this}))},function(e,t,n){"use strict";var r=n(11),o=n(14),i=n(158),a=n(16),u=n(6),c=r.aTypedArray,s=u((function(){new Int8Array(1).set({})}));r.exportProto("set",(function(e){c(this);var t=i(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=a(e),u=o(r.length),s=0;if(u+t>n)throw RangeError("Wrong length");for(;s<u;)this[t+s]=r[s++]}),s)},function(e,t,n){"use strict";var r=n(11),o=n(49),i=n(6),a=r.aTypedArray,u=r.aTypedArrayConstructor,c=[].slice,s=i((function(){new Int8Array(1).slice()}));r.exportProto("slice",(function(e,t){for(var n=c.call(a(this),e,t),r=o(this,this.constructor),i=0,s=n.length,l=new(u(r))(s);s>i;)l[i]=n[i++];return l}),s)},function(e,t,n){"use strict";var r=n(11),o=n(20).some,i=r.aTypedArray;r.exportProto("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(11),o=r.aTypedArray,i=[].sort;r.exportProto("sort",(function(e){return i.call(o(this),e)}))},function(e,t,n){"use strict";var r=n(11),o=n(14),i=n(45),a=n(49),u=r.aTypedArray;r.exportProto("subarray",(function(e,t){var n=u(this),r=n.length,c=i(e,r);return new(a(n,n.constructor))(n.buffer,n.byteOffset+c*n.BYTES_PER_ELEMENT,o((void 0===t?r:i(t,r))-c))}))},function(e,t,n){"use strict";var r=n(8),o=n(11),i=n(6),a=r.Int8Array,u=o.aTypedArray,c=[].toLocaleString,s=[].slice,l=!!a&&i((function(){c.call(new a(1))})),f=i((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!i((function(){a.prototype.toLocaleString.call([1,2])}));o.exportProto("toLocaleString",(function(){return c.apply(l?s.call(u(this)):u(this),arguments)}),f)},function(e,t,n){"use strict";var r=n(8),o=n(11),i=n(6),a=r.Uint8Array,u=a&&a.prototype,c=[].toString,s=[].join;i((function(){c.call({})}))&&(c=function(){return s.call(this)}),o.exportProto("toString",c,(u||{}).toString!=c)},function(e,t,n){"use strict";var r,o=n(8),i=n(57),a=n(53),u=n(81),c=n(160),s=n(9),l=n(30).enforce,f=n(123),p=!o.ActiveXObject&&"ActiveXObject"in o,d=Object.isExtensible,h=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},v=e.exports=u("WeakMap",h,c,!0,!0);if(f&&p){r=c.getConstructor(h,"WeakMap",!0),a.REQUIRED=!0;var g=v.prototype,y=g.delete,m=g.has,b=g.get,w=g.set;i(g,{delete:function(e){if(s(e)&&!d(e)){var t=l(this);return t.frozen||(t.frozen=new r),y.call(this,e)||t.frozen.delete(e)}return y.call(this,e)},has:function(e){if(s(e)&&!d(e)){var t=l(this);return t.frozen||(t.frozen=new r),m.call(this,e)||t.frozen.has(e)}return m.call(this,e)},get:function(e){if(s(e)&&!d(e)){var t=l(this);return t.frozen||(t.frozen=new r),m.call(this,e)?b.call(this,e):t.frozen.get(e)}return b.call(this,e)},set:function(e,t){if(s(e)&&!d(e)){var n=l(this);n.frozen||(n.frozen=new r),m.call(this,e)?w.call(this,e,t):n.frozen.set(e,t)}else w.call(this,e,t);return this}})}},function(e,t,n){"use strict";n(81)("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(160),!1,!0)},function(e,t,n){var r=n(8),o=n(161),i=n(133),a=n(22);for(var u in o){var c=r[u],s=c&&c.prototype;if(s&&s.forEach!==i)try{a(s,"forEach",i)}catch(e){s.forEach=i}}},function(e,t,n){var r=n(8),o=n(161),i=n(78),a=n(22),u=n(13),c=u("iterator"),s=u("toStringTag"),l=i.values;for(var f in o){var p=r[f],d=p&&p.prototype;if(d){if(d[c]!==l)try{a(d,c,l)}catch(e){d[c]=l}if(d[s]||a(d,s,f),o[f])for(var h in i)if(d[h]!==i[h])try{a(d,h,i[h])}catch(e){d[h]=i[h]}}}},function(e,t,n){var r=n(8),o=n(111),i=!r.setImmediate||!r.clearImmediate;n(1)({global:!0,bind:!0,enumerable:!0,forced:i},{setImmediate:o.set,clearImmediate:o.clear})},function(e,t,n){var r=n(1),o=n(8),i=n(153),a=n(33),u=o.process,c="process"==a(u);r({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(e){var t=c&&u.domain;i(t?t.bind(e):e)}})},function(e,t,n){var r=n(1),o=n(8),i=n(76),a=[].slice,u=function(e){return function(t,n){var r=arguments.length>2,o=r?a.call(arguments,2):void 0;return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,o)}:t,n)}};r({global:!0,bind:!0,forced:/MSIE .\./.test(i)},{setTimeout:u(o.setTimeout),setInterval:u(o.setInterval)})},function(e,t,n){"use strict";n(156);var r,o=n(1),i=n(12),a=n(162),u=n(8),c=n(102),s=n(21),l=n(48),f=n(18),p=n(148),d=n(134),h=n(88).codeAt,v=n(386),g=n(37),y=n(163),m=n(30),b=u.URL,w=y.URLSearchParams,O=y.getState,E=m.set,_=m.getterFor("URL"),x=Math.floor,P=Math.pow,k=/[A-Za-z]/,S=/[\d+\-.A-Za-z]/,j=/\d/,T=/^(0x|0X)/,A=/^[0-7]+$/,I=/^\d+$/,M=/^[\dA-Fa-f]+$/,N=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,C=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,D=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,R=/[\u0009\u000A\u000D]/g,L=function(e,t){var n,r,o;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return"Invalid host";if(!(n=F(t.slice(1,-1))))return"Invalid host";e.host=n}else if(Y(e)){if(t=v(t),N.test(t))return"Invalid host";if(null===(n=B(t)))return"Invalid host";e.host=n}else{if(C.test(t))return"Invalid host";for(n="",r=d(t),o=0;o<r.length;o++)n+=V(r[o],H);e.host=n}},B=function(e){var t,n,r,o,i,a,u,c=e.split(".");if(c.length&&""==c[c.length-1]&&c.pop(),(t=c.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(o=c[r]))return e;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=T.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?I:8==i?A:M).test(o))return e;a=parseInt(o,i)}n.push(a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=P(256,5-t))return null}else if(a>255)return null;for(u=n.pop(),r=0;r<n.length;r++)u+=n[r]*P(256,3-r);return u},F=function(e){var t,n,r,o,i,a,u,c=[0,0,0,0,0,0,0,0],s=0,l=null,f=0,p=function(){return e.charAt(f)};if(":"==p()){if(":"!=e.charAt(1))return;f+=2,l=++s}for(;p();){if(8==s)return;if(":"!=p()){for(t=n=0;n<4&&M.test(p());)t=16*t+parseInt(p(),16),f++,n++;if("."==p()){if(0==n)return;if(f-=n,s>6)return;for(r=0;p();){if(o=null,r>0){if(!("."==p()&&r<4))return;f++}if(!j.test(p()))return;for(;j.test(p());){if(i=parseInt(p(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;f++}c[s]=256*c[s]+o,2!=++r&&4!=r||s++}if(4!=r)return;break}if(":"==p()){if(f++,!p())return}else if(p())return;c[s++]=t}else{if(null!==l)return;f++,l=++s}}if(null!==l)for(a=s-l,s=7;0!=s&&a>0;)u=c[s],c[s--]=c[l+a-1],c[l+--a]=u;else if(8!=s)return;return c},U=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=x(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),t}(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},H={},W=p({},H,{" ":1,'"':1,"<":1,">":1,"`":1}),q=p({},W,{"#":1,"?":1,"{":1,"}":1}),G=p({},q,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),V=function(e,t){var n=h(e,0);return n>32&&n<127&&!f(t,e)?e:encodeURIComponent(e)},z={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Y=function(e){return f(z,e.scheme)},X=function(e){return""!=e.username||""!=e.password},$=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},K=function(e,t){var n;return 2==e.length&&k.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},Q=function(e){var t;return e.length>1&&K(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},J=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&K(t[0],!0)||t.pop()},Z=function(e){return"."===e||"%2e"===e.toLowerCase()},ee={},te={},ne={},re={},oe={},ie={},ae={},ue={},ce={},se={},le={},fe={},pe={},de={},he={},ve={},ge={},ye={},me={},be={},we={},Oe=function(e,t,n,o){var i,a,u,c,s,l=n||ee,p=0,h="",v=!1,g=!1,y=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(D,"")),t=t.replace(R,""),i=d(t);p<=i.length;){switch(a=i[p],l){case ee:if(!a||!k.test(a)){if(n)return"Invalid scheme";l=ne;continue}h+=a.toLowerCase(),l=te;break;case te:if(a&&(S.test(a)||"+"==a||"-"==a||"."==a))h+=a.toLowerCase();else{if(":"!=a){if(n)return"Invalid scheme";h="",l=ne,p=0;continue}if(n&&(Y(e)!=f(z,h)||"file"==h&&(X(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=h,n)return void(Y(e)&&z[e.scheme]==e.port&&(e.port=null));h="","file"==e.scheme?l=de:Y(e)&&o&&o.scheme==e.scheme?l=re:Y(e)?l=ue:"/"==i[p+1]?(l=oe,p++):(e.cannotBeABaseURL=!0,e.path.push(""),l=me)}break;case ne:if(!o||o.cannotBeABaseURL&&"#"!=a)return"Invalid scheme";if(o.cannotBeABaseURL&&"#"==a){e.scheme=o.scheme,e.path=o.path.slice(),e.query=o.query,e.fragment="",e.cannotBeABaseURL=!0,l=we;break}l="file"==o.scheme?de:ie;continue;case re:if("/"!=a||"/"!=i[p+1]){l=ie;continue}l=ce,p++;break;case oe:if("/"==a){l=se;break}l=ye;continue;case ie:if(e.scheme=o.scheme,a==r)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query;else if("/"==a||"\\"==a&&Y(e))l=ae;else if("?"==a)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query="",l=be;else{if("#"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.path.pop(),l=ye;continue}e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query,e.fragment="",l=we}break;case ae:if(!Y(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,l=ye;continue}l=se}else l=ce;break;case ue:if(l=ce,"/"!=a||"/"!=h.charAt(p+1))continue;p++;break;case ce:if("/"!=a&&"\\"!=a){l=se;continue}break;case se:if("@"==a){v&&(h="%40"+h),v=!0,u=d(h);for(var m=0;m<u.length;m++){var b=u[m];if(":"!=b||y){var w=V(b,G);y?e.password+=w:e.username+=w}else y=!0}h=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(e)){if(v&&""==h)return"Invalid authority";p-=d(h).length+1,h="",l=le}else h+=a;break;case le:case fe:if(n&&"file"==e.scheme){l=ve;continue}if(":"!=a||g){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(e)){if(Y(e)&&""==h)return"Invalid host";if(n&&""==h&&(X(e)||null!==e.port))return;if(c=L(e,h))return c;if(h="",l=ge,n)return;continue}"["==a?g=!0:"]"==a&&(g=!1),h+=a}else{if(""==h)return"Invalid host";if(c=L(e,h))return c;if(h="",l=pe,n==fe)return}break;case pe:if(!j.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(e)||n){if(""!=h){var O=parseInt(h,10);if(O>65535)return"Invalid port";e.port=Y(e)&&O===z[e.scheme]?null:O,h=""}if(n)return;l=ge;continue}return"Invalid port"}h+=a;break;case de:if(e.scheme="file","/"==a||"\\"==a)l=he;else{if(!o||"file"!=o.scheme){l=ye;continue}if(a==r)e.host=o.host,e.path=o.path.slice(),e.query=o.query;else if("?"==a)e.host=o.host,e.path=o.path.slice(),e.query="",l=be;else{if("#"!=a){Q(i.slice(p).join(""))||(e.host=o.host,e.path=o.path.slice(),J(e)),l=ye;continue}e.host=o.host,e.path=o.path.slice(),e.query=o.query,e.fragment="",l=we}}break;case he:if("/"==a||"\\"==a){l=ve;break}o&&"file"==o.scheme&&!Q(i.slice(p).join(""))&&(K(o.path[0],!0)?e.path.push(o.path[0]):e.host=o.host),l=ye;continue;case ve:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&K(h))l=ye;else if(""==h){if(e.host="",n)return;l=ge}else{if(c=L(e,h))return c;if("localhost"==e.host&&(e.host=""),n)return;h="",l=ge}continue}h+=a;break;case ge:if(Y(e)){if(l=ye,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(l=ye,"/"!=a))continue}else e.fragment="",l=we;else e.query="",l=be;break;case ye:if(a==r||"/"==a||"\\"==a&&Y(e)||!n&&("?"==a||"#"==a)){if(".."===(s=(s=h).toLowerCase())||"%2e."===s||".%2e"===s||"%2e%2e"===s?(J(e),"/"==a||"\\"==a&&Y(e)||e.path.push("")):Z(h)?"/"==a||"\\"==a&&Y(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&K(h)&&(e.host&&(e.host=""),h=h.charAt(0)+":"),e.path.push(h)),h="","file"==e.scheme&&(a==r||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",l=be):"#"==a&&(e.fragment="",l=we)}else h+=V(a,q);break;case me:"?"==a?(e.query="",l=be):"#"==a?(e.fragment="",l=we):a!=r&&(e.path[0]+=V(a,H));break;case be:n||"#"!=a?a!=r&&("'"==a&&Y(e)?e.query+="%27":e.query+="#"==a?"%23":V(a,H)):(e.fragment="",l=we);break;case we:a!=r&&(e.fragment+=V(a,W))}p++}},Ee=function(e){var t,n,r=l(this,Ee,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(e),u=E(r,{type:"URL"});if(void 0!==o)if(o instanceof Ee)t=_(o);else if(n=Oe(t={},String(o)))throw TypeError(n);if(n=Oe(u,a,null,t))throw TypeError(n);var c=u.searchParams=new w,s=O(c);s.updateSearchParams(u.query),s.updateURL=function(){u.query=String(c)||null},i||(r.href=xe.call(r),r.origin=Pe.call(r),r.protocol=ke.call(r),r.username=Se.call(r),r.password=je.call(r),r.host=Te.call(r),r.hostname=Ae.call(r),r.port=Ie.call(r),r.pathname=Me.call(r),r.search=Ne.call(r),r.searchParams=Ce.call(r),r.hash=De.call(r))},_e=Ee.prototype,xe=function(){var e=_(this),t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,u=e.query,c=e.fragment,s=t+":";return null!==o?(s+="//",X(e)&&(s+=n+(r?":"+r:"")+"@"),s+=U(o),null!==i&&(s+=":"+i)):"file"==t&&(s+="//"),s+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==u&&(s+="?"+u),null!==c&&(s+="#"+c),s},Pe=function(){var e=_(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&Y(e)?t+"://"+U(e.host)+(null!==n?":"+n:""):"null"},ke=function(){return _(this).scheme+":"},Se=function(){return _(this).username},je=function(){return _(this).password},Te=function(){var e=_(this),t=e.host,n=e.port;return null===t?"":null===n?U(t):U(t)+":"+n},Ae=function(){var e=_(this).host;return null===e?"":U(e)},Ie=function(){var e=_(this).port;return null===e?"":String(e)},Me=function(){var e=_(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ne=function(){var e=_(this).query;return e?"?"+e:""},Ce=function(){return _(this).searchParams},De=function(){var e=_(this).fragment;return e?"#"+e:""},Re=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&c(_e,{href:Re(xe,(function(e){var t=_(this),n=String(e),r=Oe(t,n);if(r)throw TypeError(r);O(t.searchParams).updateSearchParams(t.query)})),origin:Re(Pe),protocol:Re(ke,(function(e){var t=_(this);Oe(t,String(e)+":",ee)})),username:Re(Se,(function(e){var t=_(this),n=d(String(e));if(!$(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=V(n[r],G)}})),password:Re(je,(function(e){var t=_(this),n=d(String(e));if(!$(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=V(n[r],G)}})),host:Re(Te,(function(e){var t=_(this);t.cannotBeABaseURL||Oe(t,String(e),le)})),hostname:Re(Ae,(function(e){var t=_(this);t.cannotBeABaseURL||Oe(t,String(e),fe)})),port:Re(Ie,(function(e){var t=_(this);$(t)||(""==(e=String(e))?t.port=null:Oe(t,e,pe))})),pathname:Re(Me,(function(e){var t=_(this);t.cannotBeABaseURL||(t.path=[],Oe(t,e+"",ge))})),search:Re(Ne,(function(e){var t=_(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Oe(t,e,be)),O(t.searchParams).updateSearchParams(t.query)})),searchParams:Re(Ce),hash:Re(De,(function(e){var t=_(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Oe(t,e,we)):t.fragment=null}))}),s(_e,"toJSON",(function(){return xe.call(this)}),{enumerable:!0}),s(_e,"toString",(function(){return xe.call(this)}),{enumerable:!0}),b){var Le=b.createObjectURL,Be=b.revokeObjectURL;Le&&s(Ee,"createObjectURL",(function(e){return Le.apply(b,arguments)})),Be&&s(Ee,"revokeObjectURL",(function(e){return Be.apply(b,arguments)}))}g(Ee,"URL"),o({global:!0,forced:!a,sham:!i},{URL:Ee})},function(e,t,n){"use strict";var r=/[^\0-\u007E]/,o=/[.\u3002\uFF0E\uFF61]/g,i="Overflow: input needs wider integers to process",a=Math.floor,u=String.fromCharCode,c=function(e){return e+22+75*(e<26)},s=function(e,t,n){var r=0;for(e=n?a(e/700):e>>1,e+=a(e/t);e>455;r+=36)e=a(e/35);return a(r+36*e/(e+38))},l=function(e){var t,n,r=[],o=(e=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}(e)).length,l=128,f=0,p=72;for(t=0;t<e.length;t++)(n=e[t])<128&&r.push(u(n));var d=r.length,h=d;for(d&&r.push("-");h<o;){var v=2147483647;for(t=0;t<e.length;t++)(n=e[t])>=l&&n<v&&(v=n);var g=h+1;if(v-l>a((2147483647-f)/g))throw RangeError(i);for(f+=(v-l)*g,l=v,t=0;t<e.length;t++){if((n=e[t])<l&&++f>2147483647)throw RangeError(i);if(n==l){for(var y=f,m=36;;m+=36){var b=m<=p?1:m>=p+26?26:m-p;if(y<b)break;var w=y-b,O=36-b;r.push(u(c(b+w%O))),y=a(w/O)}r.push(u(c(y))),p=s(f,g,h==d),f=0,++h}}++f,++l}return r.join("")};e.exports=function(e){var t,n,i=[],a=e.toLowerCase().replace(o,".").split(".");for(t=0;t<a.length;t++)n=a[t],i.push(r.test(n)?"xn--"+l(n):n);return i.join(".")}},function(e,t,n){var r=n(10),o=n(69);e.exports=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},function(e,t,n){"use strict";n(1)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},function(e,t){!function(){if(function(){function e(){var e=[0,1];return e.reverse(),0===e[0]}return e()||e()}()){Array.prototype._reverse=Array.prototype.reverse,Array.prototype.reverse=function(){return Array.isArray(this)&&(this.length=this.length),Array.prototype._reverse.call(this)};var e={enumerable:!1};Object.defineProperties(Array.prototype,{_reverse:e,reverse:e})}}()},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r=l;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===o)throw i;return T()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=x(a,n);if(u){if(u===h)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var c=s(e,t,n);if("normal"===c.type){if(r=n.done?d:f,c.arg===h)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=d,n.method="throw",n.arg=c.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l="suspendedStart",f="suspendedYield",p="executing",d="completed",h={};function v(){}function g(){}function y(){}var m={};m[i]=function(){return this};var b=Object.getPrototypeOf,w=b&&b(b(j([])));w&&w!==n&&r.call(w,i)&&(m=w);var O=y.prototype=v.prototype=Object.create(m);function E(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function _(e){var t;this._invoke=function(n,o){function i(){return new Promise((function(t,i){!function t(n,o,i,a){var u=s(e[n],e,o);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&r.call(l,"__await")?Promise.resolve(l.__await).then((function(e){t("next",e,i,a)}),(function(e){t("throw",e,i,a)})):Promise.resolve(l).then((function(e){c.value=e,i(c)}),(function(e){return t("throw",e,i,a)}))}a(u.arg)}(n,o,t,i)}))}return t=t?t.then(i,i):i()}}function x(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,x(e,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=s(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,h;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function j(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:T}}function T(){return{value:t,done:!0}}return g.prototype=O.constructor=y,y.constructor=g,y[u]=g.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(O),e},e.awrap=function(e){return{__await:e}},E(_.prototype),_.prototype[a]=function(){return this},e.AsyncIterator=_,e.async=function(t,n,r,o){var i=new _(c(t,n,r,o));return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},E(O),O[u]="Generator",O[i]=function(){return this},O.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=j,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(k),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:j(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.runSaga=function(e,t){var n=t.subscribe,r=t.dispatch,i=t.getState,u=t.sagaMonitor,c=t.logger;(0,o.check)(e,o.is.iterator,"runSaga must be called on an iterator");var s=(0,o.uid)();u&&(r=(0,o.wrapSagaDispatch)(r),u.effectTriggered({effectId:s,root:!0,parentEffectId:0,effect:{root:!0,saga:e,args:[]}}));var l=(0,a.default)(e,n,r,i,{sagaMonitor:u,logger:c},s,e.name);u&&u.effectResolved(s,l);return l};var r,o=n(42),i=n(165),a=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};t.takeEvery=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var u={done:!1,value:(0,a.take)(e)},c=void 0,p=function(e){return c=e};return l({q1:function(){return["q2",u,p]},q2:function(){return c===o.END?[s]:["q1",(e=c,{done:!1,value:a.fork.apply(void 0,[t].concat(r,[e]))})];var e}},"q1","takeEvery("+f(e)+", "+t.name+")")},t.takeLatest=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var u={done:!1,value:(0,a.take)(e)},c=function(e){return{done:!1,value:a.fork.apply(void 0,[t].concat(r,[e]))}},p=function(e){return{done:!1,value:(0,a.cancel)(e)}},d=void 0,h=void 0,v=function(e){return d=e},g=function(e){return h=e};return l({q1:function(){return["q2",u,g]},q2:function(){return h===o.END?[s]:d?["q3",p(d)]:["q1",c(h),v]},q3:function(){return["q1",c(h),v]}},"q1","takeLatest("+f(e)+", "+t.name+")")},t.throttle=function(e,t,n){for(var r=arguments.length,c=Array(r>3?r-3:0),p=3;p<r;p++)c[p-3]=arguments[p];var d=void 0,h=void 0,v={done:!1,value:(0,a.actionChannel)(t,u.buffers.sliding(1))},g={done:!1,value:(0,a.call)(i.delay,e)},y=function(e){return d=e},m=function(e){return h=e};return l({q1:function(){return["q2",v,m]},q2:function(){return["q3",{done:!1,value:(0,a.take)(h,t)},y]},q3:function(){return d===o.END?[s]:["q4",(e=d,{done:!1,value:a.fork.apply(void 0,[n].concat(c,[e]))})];var e},q4:function(){return["q2",g]}},"q1","throttle("+f(t)+", "+n.name+")")};var o=n(92),i=n(42),a=n(91),u=n(93),c={done:!0,value:void 0},s={};function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"iterator",o=void 0,a=t;function u(t,n){if(a===s)return c;if(n)throw a=s,n;o&&o(t);var i=e[a](),u=r(i,3),l=u[0],f=u[1],p=u[2];return o=p,(a=l)===s?c:f}return(0,i.makeIterator)(u,(function(e){return u(null,e)}),n,!0)}function f(e){return Array.isArray(e)?String(e.map((function(e){return String(e)}))):String(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=void 0,n=e.sagaMonitor;if(o.is.func(e))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(e.logger&&!o.is.func(e.logger))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(e.onerror&&!o.is.func(e.onerror))throw new Error("`options.onerror` passed to the Saga middleware is not a function!");function r(r){var i=r.getState,s=r.dispatch;t=function(t,n,r){return(0,a.default)(t.apply(void 0,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(n)),l.subscribe,f,i,e,r,t.name)};var l=(0,c.emitter)(),f=(0,o.wrapSagaDispatch)(s);return function(e){return function(t){n&&n.actionDispatched(t);var r=e(t);return t[o.SAGA_ACTION]?l.emit(t):(0,u.asap)((function(){return l.emit(t)})),r}}}return r.run=function(e){for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];(0,o.check)(t,o.is.notUndef,"Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware"),(0,o.check)(e,o.is.func,"sagaMiddleware.run(saga, ...args): saga argument must be a Generator function!");var u=(0,o.uid)();n&&n.effectTriggered({effectId:u,root:!0,parentEffectId:0,effect:{root:!0,saga:e,args:i}});var c=t(e,i,u);return n&&n.effectResolved(u,c),c},r};var r,o=n(42),i=n(165),a=(r=i)&&r.__esModule?r:{default:r},u=n(166),c=n(92)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(42);Object.defineProperty(t,"TASK",{enumerable:!0,get:function(){return r.TASK}}),Object.defineProperty(t,"SAGA_ACTION",{enumerable:!0,get:function(){return r.SAGA_ACTION}}),Object.defineProperty(t,"noop",{enumerable:!0,get:function(){return r.noop}}),Object.defineProperty(t,"is",{enumerable:!0,get:function(){return r.is}}),Object.defineProperty(t,"deferred",{enumerable:!0,get:function(){return r.deferred}}),Object.defineProperty(t,"arrayOfDeffered",{enumerable:!0,get:function(){return r.arrayOfDeffered}}),Object.defineProperty(t,"createMockTask",{enumerable:!0,get:function(){return r.createMockTask}});var o=n(91);Object.defineProperty(t,"CHANNEL_END",{enumerable:!0,get:function(){return o.CHANNEL_END}}),Object.defineProperty(t,"asEffect",{enumerable:!0,get:function(){return o.asEffect}})},function(e,t,n){"use strict";var r=n(397);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=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 u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";
|
12
12
|
/** @license React v16.12.0
|
13
13
|
* react-is.production.min.js
|
14
14
|
*
|
@@ -16,4 +16,4 @@ pageflow="object"==typeof pageflow?pageflow:{},pageflow.react=function(e){var t=
|
|
16
16
|
*
|
17
17
|
* This source code is licensed under the MIT license found in the
|
18
18
|
* LICENSE file in the root directory of this source tree.
|
19
|
-
*/Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,u=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,v=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,m=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function O(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case p:case a:case c:case u:case h:return e;default:switch(e=e&&e.$$typeof){case l:case d:case y:case g:case s:return e;default:return t}}case i:return t}}}function E(e){return O(e)===p}t.typeOf=O,t.AsyncMode=f,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=s,t.Element=o,t.ForwardRef=d,t.Fragment=a,t.Lazy=y,t.Memo=g,t.Portal=i,t.Profiler=c,t.StrictMode=u,t.Suspense=h,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===c||e===u||e===h||e===v||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===g||e.$$typeof===s||e.$$typeof===l||e.$$typeof===d||e.$$typeof===m||e.$$typeof===b||e.$$typeof===w)},t.isAsyncMode=function(e){return E(e)||O(e)===f},t.isConcurrentMode=E,t.isContextConsumer=function(e){return O(e)===l},t.isContextProvider=function(e){return O(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return O(e)===d},t.isFragment=function(e){return O(e)===a},t.isLazy=function(e){return O(e)===y},t.isMemo=function(e){return O(e)===g},t.isPortal=function(e){return O(e)===i},t.isProfiler=function(e){return O(e)===c},t.isStrictMode=function(e){return O(e)===u},t.isSuspense=function(e){return O(e)===h}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),a=(l(i),l(n(29))),u=l(n(19)),c=l(n(400)),s=l(n(401));function l(e){return e&&e.__esModule?e:{default:e}}var f=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.measure=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.props.includeMargin,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.props.useClone;if(n.props.shouldMeasure){n._node.parentNode||n._setDOMNode();var r=n.getDimensions(n._node,e,t),o="function"==typeof n.props.children;n._propsToMeasure.some((function(e){if(r[e]!==n._lastDimensions[e])return n.props.onMeasure(r),o&&void 0!==n&&n.setState({dimensions:r}),n._lastDimensions=r,!0}))}},n.state={dimensions:{width:0,height:0,top:0,right:0,bottom:0,left:0}},n._node=null,n._propsToMeasure=n._getPropsToMeasure(e),n._lastDimensions={},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){var e=this;this._setDOMNode(),this.measure(),this.resizeObserver=new c.default((function(){return e.measure()})),this.resizeObserver.observe(this._node)}},{key:"componentWillReceiveProps",value:function(e){e.config;var t=e.whitelist,n=e.blacklist;this.props.whitelist===t&&this.props.blacklist===n||(this._propsToMeasure=this._getPropsToMeasure({whitelist:t,blacklist:n}))}},{key:"componentWillUnmount",value:function(){this.resizeObserver.disconnect(this._node),this._node=null}},{key:"_setDOMNode",value:function(){this._node=u.default.findDOMNode(this)}},{key:"getDimensions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._node,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.includeMargin,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.props.useClone,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.props.cloneOptions;return(0,s.default)(e,r({margin:t,clone:n},o))}},{key:"_getPropsToMeasure",value:function(e){var t=e.whitelist,n=e.blacklist;return t.filter((function(e){return n.indexOf(e)<0}))}},{key:"render",value:function(){var e=this.props.children;return i.Children.only("function"==typeof e?e(this.state.dimensions):e)}}]),t}(i.Component);f.propTypes={whitelist:a.default.array,blacklist:a.default.array,includeMargin:a.default.bool,useClone:a.default.bool,cloneOptions:a.default.object,shouldMeasure:a.default.bool,onMeasure:a.default.func},f.defaultProps={whitelist:["width","height","top","right","bottom","left"],blacklist:[],includeMargin:!0,useClone:!1,cloneOptions:{},shouldMeasure:!0,onMeasure:function(){return null}},t.default=f,e.exports=t.default},function(e,t,n){"use strict";n.r(t),function(e){var n=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return(function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t}())}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),i="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},a=2;var u=20,c=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,l=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,o=0;function u(){n&&(n=!1,e()),r&&s()}function c(){i(u)}function s(){var e=Date.now();if(n){if(e-o<a)return;r=!0}else n=!0,r=!1,setTimeout(c,t);o=e}return s}(this.refresh.bind(this),u)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;c.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),f=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},p=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},d=b(0,0,0,0);function h(e){return parseFloat(e)||0}function v(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+h(e["border-"+n+"-width"])}),0)}function g(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return d;var r=p(e).getComputedStyle(e),o=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=e["padding-"+o];t[o]=h(i)}return t}(r),i=o.left+o.right,a=o.top+o.bottom,u=h(r.width),c=h(r.height);if("border-box"===r.boxSizing&&(Math.round(u+i)!==t&&(u-=v(r,"left","right")+i),Math.round(c+a)!==n&&(c-=v(r,"top","bottom")+a)),!function(e){return e===p(e).document.documentElement}(e)){var s=Math.round(u+i)-t,l=Math.round(c+a)-n;1!==Math.abs(s)&&(u-=s),1!==Math.abs(l)&&(c-=l)}return b(o.left,o.top,u,c)}var y="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof p(e).SVGGraphicsElement}:function(e){return e instanceof p(e).SVGElement&&"function"==typeof e.getBBox};function m(e){return r?y(e)?function(e){var t=e.getBBox();return b(0,0,t.width,t.height)}(e):g(e):d}function b(e,t,n,r){return{x:e,y:t,width:n,height:r}}var w=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=m(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),O=function(e,t){var n,r,o,i,a,u,c,s=(r=(n=t).x,o=n.y,i=n.width,a=n.height,u="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(u.prototype),f(c,{x:r,y:o,width:i,height:a,top:o,right:r+i,bottom:a+o,left:r}),c);f(this,{target:e,contentRect:s})},E=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new w(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new O(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),_="undefined"!=typeof WeakMap?new WeakMap:new n,x=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=l.getInstance(),r=new E(t,n,this);_.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){x.prototype[e]=function(){var t;return(t=_.get(this))[e].apply(t,arguments)}}));var P=void 0!==o.ResizeObserver?o.ResizeObserver:x;t.default=P}.call(this,n(73))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=e.getBoundingClientRect(),r=void 0,a=void 0,u=void 0;if((n.width&&n.height||t.noCloneOnZeroDimension)&&!t.clone)t.margin&&(u=(0,i.default)(getComputedStyle(e)));else{var c=(0,o.default)(e,t);n=c.rect,u=c.margin}t.margin?(r=u.left+n.width+u.right,a=u.top+n.height+u.bottom):(r=n.width,a=n.height);return{width:r,height:a,top:n.top,right:n.right,bottom:n.bottom,left:n.left}};var o=r(n(402)),i=r(n(167));e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r,o,a=e.parentNode,u=document.createElement("div"),c=e.cloneNode(!0),s=getComputedStyle(e);u.style.height=0,u.style.overflow="hidden",c.setAttribute("id",""),c.setAttribute("name",""),(t.display||s&&"none"===s.getPropertyValue("display"))&&(c.style.display=t.display||"block");(t.width||s&&!parseInt(s.getPropertyValue("width")))&&(c.style.width=t.width||"auto");(t.height||s&&!parseInt(s.getPropertyValue("height")))&&(c.style.height=t.height||"auto");return u.appendChild(c),a.appendChild(u),n=c.getBoundingClientRect(),r=c.offsetWidth,o=c.offsetHeight,a.removeChild(u),{rect:{width:r,height:o,top:n.top,right:n.right,bottom:n.bottom,left:n.left},margin:(0,i.default)(s)}};var r,o=n(167),i=(r=o)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,s=[],l=!1,f=-1;function p(){l&&c&&(l=!1,c.length?s=c.concat(s):f=-1,s.length&&d())}function d(){if(!l){var e=u(p);l=!0;for(var t=s.length;t;){for(c=s,s=[];++f<t;)c&&c[f].run();f=-1,t=s.length}c=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function v(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new h(e,t)),1!==s.length||l||u(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"updatePageAttribute",(function(){return O})),n.d(r,"updatePageLink",(function(){return E})),n.d(r,"updateSetting",(function(){return S}));var o={};n.r(o),n.d(o,"PageWrapper",(function(){return H})),n.d(o,"PageBackground",(function(){return W})),n.d(o,"PageBackgroundImage",(function(){return Tn})),n.d(o,"PageShadow",(function(){return An})),n.d(o,"PageForeground",(function(){return In})),n.d(o,"PageContent",(function(){return Ln})),n.d(o,"PageScroller",(function(){return Rn})),n.d(o,"PageHeader",(function(){return Bn})),n.d(o,"PageText",(function(){return Fn})),n.d(o,"PageLink",(function(){return Vn})),n.d(o,"PageThumbnail",(function(){return Kn})),n.d(o,"LazyLoadedPageThumbnail",(function(){return Qn})),n.d(o,"PlayerControls",(function(){return Br})),n.d(o,"CloseButton",(function(){return Wr})),n.d(o,"MenuBar",(function(){return Nr})),n.d(o,"Icon",(function(){return ar})),n.d(o,"editorOnly",(function(){return qr})),n.d(o,"withVisibilityWatching",(function(){return Rr})),n.d(o,"Draggable",(function(){return br.a})),n.d(o,"Measure",(function(){return Or.a}));var i={};n.r(i),n.d(i,"pageAttribute",(function(){return en})),n.d(i,"pageAttributes",(function(){return tn})),n.d(i,"pageIsActive",(function(){return rn})),n.d(i,"pageIsPrepared",(function(){return an})),n.d(i,"currentParentPageAttributes",(function(){return Xr})),n.d(i,"currentParentChapterAttributes",(function(){return Yr})),n.d(i,"t",(function(){return Ur})),n.d(i,"setting",(function(){return $r})),n.d(i,"file",(function(){return Yt})),n.d(i,"prop",(function(){return Wn})),n.d(i,"widgetAttributes",(function(){return Jr})),n.d(i,"editingWidget",(function(){return Zr}));n(173),n(175),n(176),n(177),n(178),n(179),n(180),n(181),n(182),n(183),n(184),n(185),n(186),n(187),n(188),n(189),n(190),n(191),n(192),n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(78),n(202),n(203),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(218),n(219),n(220),n(221),n(223),n(224),n(226),n(227),n(228),n(229),n(230),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(241),n(242),n(243),n(244),n(245),n(246),n(247),n(248),n(249),n(250),n(251),n(252),n(253),n(255),n(256),n(257),n(258),n(259),n(260),n(261),n(262),n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(270),n(271),n(272),n(273),n(274),n(275),n(276),n(277),n(278),n(279),n(280),n(281),n(282),n(283),n(284),n(285),n(286),n(287),n(289),n(290),n(291),n(292),n(295),n(296),n(297),n(298),n(299),n(300),n(301),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(316),n(317),n(156),n(318),n(319),n(320),n(321),n(322),n(323),n(324),n(325),n(326),n(327),n(328),n(329),n(330),n(331),n(332),n(333),n(334),n(335),n(336),n(337),n(338),n(339),n(340),n(341),n(342),n(343),n(345),n(346),n(347),n(348),n(349),n(350),n(351),n(352),n(353),n(354),n(355),n(356),n(357),n(358),n(359),n(360),n(361),n(362),n(363),n(364),n(365),n(366),n(367),n(368),n(369),n(370),n(371),n(372),n(373),n(374),n(375),n(376),n(377),n(378),n(379),n(380),n(381),n(382),n(383),n(384),n(385),n(388),n(163);var a=n(4),u=(n(389),"PAGE_DID_ACTIVATE"),c="PAGE_WILL_ACTIVATE",s="PAGE_DID_DEACTIVATE",l="PAGE_WILL_DEACTIVATE",f="PAGE_DID_PRELOAD",p="PAGE_DID_PREPARE",d="PAGE_SCHEDULE_UNPREPARE",h="PAGE_DID_UNPREPARE",v="PAGE_DID_RESIZE",g="PAGE_ENHANCE",y="PAGE_CLEANUP",m="UPDATE_PAGE_ATTRIBUTE",b="UPDATE_PAGE_LINK";function w(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(h,e)}function O(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.id,n=e.name,r=e.value;return _(m,t,{name:n,value:r})}function E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.pageId,n=e.linkId,r=e.name,o=e.value;return _(b,t,{linkId:n,name:r,value:o})}function _(e,t){return{type:e,meta:{collectionName:"pages",itemId:t},payload:arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}}}var x="SETTINGS_LOAD",P="SETTINGS_UPDATE";function k(e){var t=e.settings;return{type:x,payload:{settings:t}}}function S(e){var t=e.property,n=e.value;return{type:P,payload:{property:t,value:n}}}function j(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function A(e,t,n){return t&&T(e.prototype,t),n&&T(e,n),e}function I(e){return(I="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 M(e){return(M="function"==typeof Symbol&&"symbol"===I(Symbol.iterator)?function(e){return I(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":I(e)})(e)}function N(e,t){return!t||"object"!==M(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D(e,t)}var L=n(0),B=n.n(L),F=n(5),U=n.n(F),H=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){return React.createElement("div",{className:U()("content_and_background",this.props.className)},this.props.children)}}]),t}(L.Component);function W(e){return React.createElement("div",{className:(t=e,n=t.pageHasPlayerControls,U()("page_background",{"page_background-for_page_with_player_controls":n}))},e.children);var t,n}var q=n(168),G=n.n(q);function V(e){return!!G()(e).match(/^\s*$/)}function z(e){return e.replace(/_[a-z]/g,(function(e){return e[1].toUpperCase()}))}z.keys=function(e){return Object.keys(e).reduce((function(t,n){return t[z(n)]=e[n],t}),{})},z.deep=function(e){return Array.isArray(e)?e.map(z.deep):"object"==typeof e&&e?Object.keys(e).reduce((function(t,n){return t[z(n)]=z.deep(e[n]),t}),{}):e},z.concat=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).reduce((function(e,t){return e+t[0].toUpperCase()+t.slice(1)}))};var Y=z,X=function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Object.keys(e).reduce((function(t,r){return"function"==typeof e[r]?t[r]=e[r].apply(e,n):t[r]=e[r],t}),{})}},$=n(59),K=n(119),Q=Symbol("selectorFactory"),J=Symbol("createSelector");function Z(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ne((function(e,n){var r=t.slice(0,-1).map(te),o=t.slice(-1)[0],i=K.createSelector.apply(void 0,Object($.a)(r).concat([o]));if(e===J)return i;if(e)return i(e,n);throw"Missing state argument for selector."}))}function ee(e,t){return ne((function(){return Object(K.createStructuredSelector)(function(e){return Object.keys(e).reduce((function(t,n){return t[n]=te(e[n]),t}),{})}((t=e,Object.keys(t).reduce((function(e,n){return"function"==typeof t[n]?e[n]=t[n]:e[n]=function(){return t[n]},e}),{}))));var t}))}function te(e){return"function"==typeof e&&e[Q]?e(J):e}function ne(e){return e[Q]=!0,e}function re(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pageflow.browser;return t&&t.has(e)}function oe(e){return new Promise((function(t){var n=new Image;n.onload=t,n.onerror=t,n.src=e}))}var ie=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){var e=this;return B.a.createElement("div",{className:this.cssClass(),style:this.style(),ref:function(t){return e.element=t}},this.renderStructuredData())}},{key:"componentDidUpdate",value:function(e){this.props.loaded&&!e.loaded&&function(e){var t=window.getComputedStyle(e).getPropertyValue("background-image");if(t.match(/^url/))oe(t.replace(/^url\(['"]?/,"").replace(/['"]?\)$/,""))}(this.element)}},{key:"cssClass",value:function(){return U()(this.props.className,this.props.loaded?"load_image":null,this.imageCssClass())}},{key:"imageCssClass",value:function(){return["imageFiles"==this.props.fileCollection?"image":"video_poster",this.props.fileId||"none"].join("_")}},{key:"style",value:function(){return{backgroundPosition:"".concat(this.positionCoordinate(0),"% ").concat(this.positionCoordinate(1),"%")}}},{key:"positionCoordinate",value:function(e){var t=this.props.position[e];return void 0===t?50:t}},{key:"renderStructuredData",value:function(){if(this.props.structuredDataComponent){var e=this.props.structuredDataComponent;return B.a.createElement(e,{fileCollection:this.props.fileCollection,fileId:this.props.fileId})}}}]),t}(B.a.Component);ie.defaultProps={position:[50,50],fileCollection:"imageFiles"};var ae=n(17),ue=Object(ae.c)({isPreloaded:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case f:return!0;default:return e}},isPrepared:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case p:case c:return!0;case h:return!1;default:return e}},isActive:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case c:return!0;case l:return!1;default:return e}},isActivated:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case u:return!0;case l:return!1;default:return e}},initialScrollerPosition:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case c:return t.payload.position||"top";case l:return null;default:return e}}});var ce="COLLECTION_RESET",se="COLLECTION_ADD",le="COLLECTION_CHANGE",fe="COLLECTION_REMOVE",pe="COLLECTION_ORDER";function de(e){var t=e.collectionName,n=e.items;return{type:ce,meta:{collectionName:t},payload:{collectionName:t,items:n}}}function he(e){var t=e.collectionName,n=e.attributes,r=e.order;return{type:se,meta:{collectionName:t},payload:{attributes:n,order:r}}}function ve(e){var t=e.collectionName,n=e.attributes;return{type:le,meta:{collectionName:t},payload:{attributes:n}}}function ge(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case se:case le:return t.payload.attributes;default:return e}}function ye(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 me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ye(n,!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ye(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var be=function(e){var t={};function n(n){return t[n]=t[n]||Object(ae.c)({attributes:ge,state:Object(ae.c)({custom:e[n]||function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e},common:ue})}),t[n]}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,o=ge(e.attributes,t);return n(o.type)(r(e,e.attributes,o),t)};function r(e,t,n){return t&&t.type!==n.type?me({},e,{state:me({},e.state,{custom:void 0})}):e}},we=n(2),Oe=n.n(we),Ee=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.namespace;return function(t){if(n){if(!t[n])throw new Error("Cannot select from unknown namespace ".concat(n,"."));t=t[n]}return t[e].items||{}}};function _e(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 xe(e,t,n){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(n,!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,Object(a.a)({},Pe(t),n))}function Pe(e){return"__".concat(e,"_connectedId")}var ke=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.namespace;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.id;return function(t,o){var i=r,a=t;if(n){if(!t[n])throw new Error("Cannot select from unknown namespace ".concat(n,"."));a=t[n]}if(!a[e])throw new Error("Cannot select from unknown collection ".concat(e,"."));return"function"==typeof r&&(i=r(t,o)),(i=i||t[Pe(e)])?a[e].items[i]:null}}};function Se(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 je(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Se(n,!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Se(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Te=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.idAttribute,r=void 0===n?"id":n,o=t.itemReducer,i=void 0===o?ge:o,u={order:[],items:{}};return function(){var t,n,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,c=arguments.length>1?arguments[1]:void 0;if(!c.meta||c.meta.collectionName!=e)return o;switch(c.type){case ce:return{order:c.payload.items.map((function(e){return e[r]})),items:c.payload.items.reduce((function(e,t){return e[t[r]]=i(void 0,he({collectioName:c.payload.collectioName,attributes:t})),e}),{})};case se:return{order:c.payload.order,items:je({},o.items,Object(a.a)({},c.payload.attributes[r],i(void 0,c)))};case le:return n=c.payload.attributes[r],{order:o.order,items:je({},o.items,Object(a.a)({},n,i(o.items[n],c)))};case fe:return n=c.payload.attributes[r],delete(t=je({},o.items))[n],{order:c.payload.order,items:t};case pe:return{items:o.items,order:c.payload.order};default:if(c.meta.itemId){var s=o.items[c.meta.itemId],l=i(s,c);if(l!==s)return{order:o.order,items:je({},o.items,Object(a.a)({},c.meta.itemId,l))}}return o}}};function Ae(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 Ie(e,t,n){e.meta&&e.meta.collectionName==t&&!e.meta.itemId&&(e.meta=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ae(n,!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ae(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e.meta,{itemId:n}))}function Me(e,t){return e.meta&&e.meta.collectionName==t}function Ne(e){return e.meta&&e.meta.itemId}var Ce=n(3),De=n(7);function Re(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Le=n(29),Be=n.n(Le),Fe=Be.a.shape({trySubscribe:Be.a.func.isRequired,tryUnsubscribe:Be.a.func.isRequired,notifyNestedSubs:Be.a.func.isRequired,isSubscribed:Be.a.func.isRequired}),Ue=Be.a.shape({subscribe:Be.a.func.isRequired,dispatch:Be.a.func.isRequired,getState:Be.a.func.isRequired});B.a.forwardRef;var He=function(e){var t;void 0===e&&(e="store");var n=e+"Subscription",r=function(t){Re(o,t);var r=o.prototype;function o(n,r){var o;return(o=t.call(this,n,r)||this)[e]=n.store,o}return r.getChildContext=function(){var t;return(t={})[e]=this[e],t[n]=null,t},r.render=function(){return L.Children.only(this.props.children)},o}(L.Component);return r.propTypes={store:Ue.isRequired,children:Be.a.element.isRequired},r.childContextTypes=((t={})[e]=Ue.isRequired,t[n]=Fe,t),r}();function We(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qe(){return(qe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ge(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var Ve=n(171),ze=n.n(Ve),Ye=n(95),Xe=n.n(Ye),$e=n(118),Ke=null,Qe={notify:function(){}};var Je=function(){function e(e,t,n){this.store=e,this.parentSub=t,this.onStateChange=n,this.unsubscribe=null,this.listeners=Qe}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=function(){var e=[],t=[];return{clear:function(){t=Ke,e=Ke},notify:function(){for(var n=e=t,r=0;r<n.length;r++)n[r]()},get:function(){return t},subscribe:function(n){var r=!0;return t===e&&(t=e.slice()),t.push(n),function(){r&&e!==Ke&&(r=!1,t===e&&(t=e.slice()),t.splice(t.indexOf(n),1))}}}}())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=Qe)},e}(),Ze=void 0!==B.a.forwardRef,et=0,tt={};function nt(){}function rt(e,t){var n,r;void 0===t&&(t={});var o=t,i=o.getDisplayName,a=void 0===i?function(e){return"ConnectAdvanced("+e+")"}:i,u=o.methodName,c=void 0===u?"connectAdvanced":u,s=o.renderCountProp,l=void 0===s?void 0:s,f=o.shouldHandleStateChanges,p=void 0===f||f,d=o.storeKey,h=void 0===d?"store":d,v=o.withRef,g=void 0!==v&&v,y=Ge(o,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),m=h+"Subscription",b=et++,w=((n={})[h]=Ue,n[m]=Fe,n),O=((r={})[m]=Fe,r);return function(t){Xe()(Object($e.isValidElementType)(t),"You must pass a component to the function returned by "+c+". Instead received "+JSON.stringify(t));var n=t.displayName||t.name||"Component",r=a(n),o=qe({},y,{getDisplayName:a,methodName:c,renderCountProp:l,shouldHandleStateChanges:p,storeKey:h,withRef:g,displayName:r,wrappedComponentName:n,WrappedComponent:t}),i=function(n){function i(e,t){var o;return(o=n.call(this,e,t)||this).version=b,o.state={},o.renderCount=0,o.store=e[h]||t[h],o.propsMode=Boolean(e[h]),o.setWrappedInstance=o.setWrappedInstance.bind(We(We(o))),Xe()(o.store,'Could not find "'+h+'" in either the context or props of "'+r+'". Either wrap the root component in a <Provider>, or explicitly pass "'+h+'" as a prop to "'+r+'".'),o.initSelector(),o.initSubscription(),o}Re(i,n);var a=i.prototype;return a.getChildContext=function(){var e,t=this.propsMode?null:this.subscription;return(e={})[m]=t||this.context[m],e},a.componentDidMount=function(){p&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},a.componentWillReceiveProps=function(e){this.selector.run(e)},a.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},a.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=nt,this.store=null,this.selector.run=nt,this.selector.shouldComponentUpdate=!1},a.getWrappedInstance=function(){return Xe()(g,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+c+"() call."),this.wrappedInstance},a.setWrappedInstance=function(e){this.wrappedInstance=e},a.initSelector=function(){var t=e(this.store.dispatch,o);this.selector=function(e,t){var n={run:function(r){try{var o=e(t.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(e){n.shouldComponentUpdate=!0,n.error=e}}};return n}(t,this.store),this.selector.run(this.props)},a.initSubscription=function(){if(p){var e=(this.propsMode?this.props:this.context)[m];this.subscription=new Je(this.store,e,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},a.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(tt)):this.notifyNestedSubs()},a.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},a.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},a.addExtraProps=function(e){if(!(g||l||this.propsMode&&this.subscription))return e;var t=qe({},e);return g&&(t.ref=this.setWrappedInstance),l&&(t[l]=this.renderCount++),this.propsMode&&this.subscription&&(t[m]=this.subscription),t},a.render=function(){var e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return Object(L.createElement)(t,this.addExtraProps(e.props))},i}(L.Component);return Ze&&(i.prototype.UNSAFE_componentWillReceiveProps=i.prototype.componentWillReceiveProps,delete i.prototype.componentWillReceiveProps),i.WrappedComponent=t,i.displayName=r,i.childContextTypes=O,i.contextTypes=w,i.propTypes=w,ze()(i,t)}}var ot=Object.prototype.hasOwnProperty;function it(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function at(e,t){if(it(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!ot.call(t,n[o])||!it(e[n[o]],t[n[o]]))return!1;return!0}function ut(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function ct(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function st(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=ct(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=ct(o),o=r(t,n)),o},r}}var lt=[function(e){return"function"==typeof e?st(e):void 0},function(e){return e?void 0:ut((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?ut((function(t){return Object(ae.b)(e,t)})):void 0}];var ft=[function(e){return"function"==typeof e?st(e):void 0},function(e){return e?void 0:ut((function(){return{}}))}];function pt(e,t,n){return qe({},n,e,t)}var dt=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,a=!1;return function(t,n,u){var c=e(t,n,u);return a?o&&i(c,r)||(r=c):(a=!0,r=c),r}}}(e):void 0},function(e){return e?void 0:function(){return pt}}];function ht(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function vt(e,t,n,r,o){var i,a,u,c,s,l=o.areStatesEqual,f=o.areOwnPropsEqual,p=o.areStatePropsEqual,d=!1;function h(o,d){var h,v,g=!f(d,a),y=!l(o,i);return i=o,a=d,g&&y?(u=e(i,a),t.dependsOnOwnProps&&(c=t(r,a)),s=n(u,c,a)):g?(e.dependsOnOwnProps&&(u=e(i,a)),t.dependsOnOwnProps&&(c=t(r,a)),s=n(u,c,a)):y?(h=e(i,a),v=!p(h,u),u=h,v&&(s=n(u,c,a)),s):s}return function(o,l){return d?h(o,l):(u=e(i=o,a=l),c=t(r,a),s=n(u,c,a),d=!0,s)}}function gt(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,o=t.initMergeProps,i=Ge(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,i),u=r(e,i),c=o(e,i);return(i.pure?vt:ht)(a,u,c,e,i)}function yt(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function mt(e,t){return e===t}var bt,wt,Ot,Et,_t,xt,Pt,kt,St,jt,Tt,At,It=(Ot=(wt=void 0===bt?{}:bt).connectHOC,Et=void 0===Ot?rt:Ot,_t=wt.mapStateToPropsFactories,xt=void 0===_t?ft:_t,Pt=wt.mapDispatchToPropsFactories,kt=void 0===Pt?lt:Pt,St=wt.mergePropsFactories,jt=void 0===St?dt:St,Tt=wt.selectorFactory,At=void 0===Tt?gt:Tt,function(e,t,n,r){void 0===r&&(r={});var o=r,i=o.pure,a=void 0===i||i,u=o.areStatesEqual,c=void 0===u?mt:u,s=o.areOwnPropsEqual,l=void 0===s?at:s,f=o.areStatePropsEqual,p=void 0===f?at:f,d=o.areMergedPropsEqual,h=void 0===d?at:d,v=Ge(o,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),g=yt(e,xt,"mapStateToProps"),y=yt(t,kt,"mapDispatchToProps"),m=yt(n,jt,"mergeProps");return Et(At,qe({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:g,initMapDispatchToProps:y,initMergeProps:m,pure:a,areStatesEqual:c,areOwnPropsEqual:l,areStatePropsEqual:p,areMergedPropsEqual:h},v))});function Mt(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}var Nt=function(e){var t=function(t){function n(){return j(this,n),N(this,C(n).apply(this,arguments))}return R(n,t),A(n,[{key:"getChildContext",value:function(){return Object(a.a)({},Pe(e),this.props.itemId)}},{key:"render",value:function(){return this.props.children}}]),n}(B.a.Component);return t.childContextTypes=Object(a.a)({},Pe(e),B.a.PropTypes.number),t};function Ct(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}var Dt=function(e,t,n){var r=Y.deep(e.reduce((function(e,n){if("object"==typeof n){var r=Object.keys(n)[0],o=n[r];e[r]=t[o]}else e[n]=t[n];return e}),{}));return n?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ct(n,!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ct(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},r,{},Y.deep(n)):r},Rt=function(e){var t=e.collection,n=e.dispatch,r=e.collectionName,o=e.idAttribute,i=void 0===o?"id":o,a=e.attributes,u=void 0===a?["id"]:a,c=e.includeConfiguration,s=void 0!==c&&c;n(de({collectionName:r,items:t.map(f)})),t.on("add",(function(e){e.isNew()||n(he({collectionName:r,attributes:f(e)}))})),t.on("change:id",(function(e){n(he({collectionName:r,attributes:f(e),order:t.pluck(i)}))})),t.on("change",(function(e){(function(e){return l.some((function(t){return e.hasChanged(t)}))})(e)&&n(ve({collectionName:r,attributes:f(e)}))})),s&&t.on("change:configuration",(function(e){n(ve({collectionName:r,attributes:f(e)}))})),t.on("remove",(function(e){setTimeout((function(){n(function(e){var t=e.collectionName,n=e.attributes,r=e.order;return{type:fe,meta:{collectionName:t},payload:{attributes:n,order:r}}}({collectionName:r,attributes:f(e),order:t.pluck(i)}))}),0)})),t.on("sort",(function(){n(function(e){var t=e.collectionName,n=e.order;return{type:pe,meta:{collectionName:t},payload:{order:n}}}({collectionName:r,order:t.pluck(i)}))}));var l=u.map((function(e){return"object"==typeof e?function(e){return e[Object.keys(e)[0]]}(e):e}));function f(e){return Dt(u,e.attributes,s&&e.configuration.attributes)}},Lt=function(e){var t=e.collection,n=e.collectionName,r=e.dispatch,o=e.attributes,i=void 0===o?["id"]:o,a=e.includeConfiguration,u=void 0!==a&&a;r(de({collectionName:n,items:t.map((function(e){return Dt(i,e,u&&e.configuration)}))}))},Bt=n(19),Ft=n.n(Bt),Ut=function(e){var t=e.collection,n=e.collectionName,r=e.dispatch,o=e.idAttribute,i=e.attributes,a=e.includeConfiguration;(Ft.a.Collection&&t instanceof Ft.a.Collection?Rt:Lt)({collection:t,collectionName:n,dispatch:r,idAttribute:o,attributes:i,includeConfiguration:a})};function Ht(e){var t=e.candidates,n=e.page,r=e.fileExists;return t.find((function(e){if(e.condition&&!function(e,t){var n=t[Y(e.attribute)];return e.negated?n!=e.value:n==e.value}(e.condition,n))return!1;var t=Wt(n,e);return r(Y(e.collectionName),t)}))}function Wt(e,t){return"id"in t?t.id:e[Y(t.attribute)]}function qt(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}var Gt=function(e,t,n){if(!t)return null;if(!n[e])throw new Error("No file url templates found for ".concat(e));return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qt(n,!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qt(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({urls:(t.variants||Object.keys(n[e])).reduce((function(r,o){var i=function(e,t,n,r){var o=r[e][n];if(o)return o.replace(":id_partition",(i=t.id,function(e,t){return e.replace(/./g,(function(e,t,n){return t&&(n.length-t)%3==0?"/"+e:e}))}((a=i,u=9,(Array(u).fill(0).join("")+a).slice(-u))))).replace(":basename",t.basename);var i,a,u}(e,t,o,n);return i&&(r[o]=i),r}),{})},t)};function Vt(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}var zt=function(e,t,n){if(!t)return null;if(!n[e])throw new Error("Could not find model type for collection name ".concat(e));return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vt(n,!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vt(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{collectionName:e,modelType:n[e]})};function Yt(e,t){return Z(ke(e,{namespace:"files"})(t),(function(e){return e.fileUrlTemplates}),(function(e){return e.modelTypes}),(function(t,n,r){return $t(e,t,n,r)}))}function Xt(){return Z((function(e){return e.files}),(function(e){return function(t,n){return n&&!!ke(t)({id:n})(e)}}))}function $t(e,t,n,r){return zt(e,Gt(e,t,n),r)}function Kt(e){var t=e.page;return function(e,n){var r="function"==typeof t?t(n):t;return r?e.pageTypes[Y(r.type)]:null}}var Qt=ke("pages"),Jt=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).namespace;return function(n){if(t){if(!n[t])throw new Error("Cannot select from unknown namespace ".concat(t,"."));n=n[t]}var r=n[e];return r.items[r.order[0]]}}("pages");function Zt(e){return Z(Jt,(function(t){return t&&t.attributes[e]}))}function en(e,t){return Z(Qt(t),(function(t){return t&&t.attributes[e]}))}function tn(e){return Z(Qt(e),(function(e){return e&&e.attributes}))}function nn(e,t){return Z(Qt(t),(function(t){return t&&t.state.custom[e]}))}function rn(e){return un("isActive",e)}function on(e){return un("isPreloaded",e)}function an(e){return un("isPrepared",e)}function un(e,t){return Z(Qt(t),(function(t){return t&&t.state.common[e]}))}var cn=Oe.a.mark(ln),sn=Oe.a.mark(fn);function ln(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeLatest)([d,p,c],fn);case 2:case"end":return e.stop()}}),cn)}function fn(e){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.type!=d){t.next=5;break}return t.next=3,Object(Ce.call)(De.delay,5e3);case 3:return t.next=5,Object(Ce.put)(w());case 5:case"end":return t.stop()}}),sn)}var pn=Oe.a.mark(dn);function dn(e){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e instanceof Ft.a.Collection){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,Object(De.takeEvery)(m,Oe.a.mark((function t(n){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Ce.call)(vn,{pagesCollection:e,id:Ne(n),name:n.payload.name,value:n.payload.value});case 2:case"end":return t.stop()}}),t)})));case 4:return t.next=6,Object(De.takeEvery)(b,Oe.a.mark((function t(n){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Ce.call)(hn,{pagesCollection:e,pageId:Ne(n),linkId:n.payload.linkId,name:n.payload.name,value:n.payload.value});case 2:case"end":return t.stop()}}),t)})));case 6:case"end":return t.stop()}}),pn)}function hn(e){var t=e.pagesCollection,n=e.pageId,r=e.linkId,o=e.name,i=e.value,a=gn(t,n).pageLinks().get(r);if(!a)throw new Error("Could not find page link with id ".concat(r," in page with perma id ").concat(n,"."));a.set(o,i)}function vn(e){var t=e.pagesCollection,n=e.id,r=e.name,o=e.value;gn(t,n).configuration.set(r,o)}function gn(e,t){var n=e.where({perma_id:t})[0];if(!n)throw new Error("Could not find page with perma id ".concat(t,"."));return n}var yn=function(e){var t=e.pages,n=e.pageTypeSagas;return(Oe.a.mark((function e(){var r;return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(ln(),"t0",1);case 1:return e.delegateYield(dn(t),"t1",2);case 2:return e.next=4,Object(De.takeEvery)(g,Oe.a.mark((function e(){var t,o;return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.select)(en("type"));case 2:if(t=e.sent,!(o=n[t])){e.next=8;break}return e.next=7,Object(Ce.fork)(o);case 7:r=e.sent;case 8:case"end":return e.stop()}}),e)})));case 4:return e.next=6,Object(De.takeEvery)(y,Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!r){e.next=3;break}return e.next=3,Object(Ce.cancel)(r);case 3:case"end":return e.stop()}}),e)})));case 6:case"end":return e.stop()}}),e)})))},mn=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"getChildContext",value:function(){return{mediaContext:this.props.mediaContext}}},{key:"render",value:function(){return this.props.children}}]),t}(B.a.Component);mn.childContextTypes={mediaContext:B.a.PropTypes.object};var bn=Nt("pages"),wn=function(e){var t=e.Component,n=e.store,r=e.selectTargetElement,o=void 0===r?function(e){return e[0]}:r;return{scroller:!1,enhance:function(e,r){Ft.a.render(B.a.createElement(He,{store:n},B.a.createElement(bn,{itemId:On(e)},B.a.createElement(mn,{mediaContext:{page:e.page("instance")}},B.a.createElement(t,null)))),o(e)),n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(g,e)}({id:On(e)}))},preload:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(f,e)}({id:On(e)}))},prepare:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(p,e)}({id:On(e)}))},unprepare:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(d,e)}({id:On(e)}))},activating:function(e,t,r){n.dispatch(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.id,n=e.position;return _(c,t,{position:n})}({id:On(e),position:r.position}))},activated:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(u,e)}({id:On(e)}))},deactivating:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(l,e)}({id:On(e)}))},deactivated:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(s,e)}({id:On(e)}))},resize:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(v,e)}({id:On(e)}))},update:function(e,t){pageflow.commonPageCssClasses.updateCommonPageCssClasses(e,t)},cleanup:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(y,e)}({id:On(e)})),Ft.a.unmountComponentAtNode(e[0])}}};function On(e){return parseInt(e.attr("id"),10)}function En(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 _n(e,t){return Object.keys(t).reduce((function(n,r){return"function"==typeof e[r]?n[r]=function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return e[r].apply(this,o),t[r].apply(this,o)}:n[r]=t[r],n}),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?En(n,!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):En(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e))}var xn,Pn,kn={init:function(e){var t=e.pages,n=e.dispatch;Ut({collection:t,collectionName:"pages",dispatch:n,idAttribute:"perma_id",attributes:["perma_id",{type:"template"},"chapter_id"],includeConfiguration:!0})},createReducers:function(e){var t=e.pageTypes,n=(void 0===t?[]:t).reduce((function(e,t){var n=t.name,r=t.reducer;return e[n]=r,e}),{});return{pages:Te("pages",{idAttribute:"permaId",itemReducer:be(n)})}},createMiddleware:function(){return function e(t){var n,r=t.getState,o=t.dispatch,i=(n=[],{subscribe:function(e){return n.push(e),function(){return function(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)}(n,e)}},emit:function(e){for(var t=n.slice(),r=0,o=t.length;r<o;r++)t[r](e)}});return e.getState=r,e.dispatch=o,e.subscribe=i.subscribe,function(e){return function(t){var n=e(t);return i.emit(t),n}}}},createSaga:function(e){var t=e.pages,n=e.pageTypes,r=void 0===n?[]:n,o=e.middleware,i=r.reduce((function(e,t){var n=t.name,r=t.saga;return e[n]=r,e}),{});return function(e,t){var n=Oe.a.mark(l),r=Oe.a.mark(f),o=Oe.a.mark(p),i=Oe.a.mark(d),a=Oe.a.mark(h),u=t.itemSaga,c=t.middleware,s=Ee(e);return l;function l(){var e;return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e={},t.next=3,Object(De.takeEvery)([ce,se,fe],f,e);case 3:case"end":return t.stop()}}),n)}function f(e){var t;return Oe.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(Ce.select)(s);case 2:return t=n.sent,n.delegateYield(p(t,e),"t0",4);case 4:return n.delegateYield(d(t,e),"t1",5);case 5:case"end":return n.stop()}}),r)}function p(e,t){return Oe.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object.keys(t).map((function(n){if(!(n in e))return Object(Ce.cancel)(t[n])}));case 2:case"end":return n.stop()}}),o)}function d(e,t){var n;return Oe.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,Object.keys(e).map((function(e){if(!t[e])return Object(Ce.fork)(h,parseInt(e,10))}));case 2:n=r.sent,Object.keys(e).forEach((function(e,r){t[e]||(t[e]=n[r])}));case 4:case"end":return r.stop()}}),i)}function h(t){var n;return Oe.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=Object(De.runSaga)(u(),{subscribe:function(n){return c.subscribe((function(r){Me(r,e)&&Ne(r)!=t||n(r)}))},dispatch:function(n){Ie(n,e,t),c.dispatch(n)},getState:function(){return xe(c.getState(),e,t)}}),r.prev=1,r.next=4,Object(Ce.call)((function(){return n.done}));case 4:return r.prev=4,n.cancel(),r.finish(4);case 7:case"end":return r.stop()}}),a,null,[[1,,4,7]])}}("pages",{itemSaga:yn({pages:t,pageTypeSagas:i}),middleware:o})}},Sn=(Pn=Pe(xn="pages"),function(e,t,n){var r=It(e?function(t,n){var r=e(xe(t,xn,n[Pn]),n);return"function"==typeof r?function(e,t){return r(xe(e,xn,t[Pn]),t)}:r}:null,t?function(e,n){var r=function(t){return Ie(t,xn,n[Pn]),e(t)};return"function"==typeof t?t(r,n):Object(ae.b)(t,r)}:null,n);return function(e){var t=r(e),n=function(e){function n(){return j(this,n),N(this,C(n).apply(this,arguments))}return R(n,e),A(n,[{key:"render",value:function(){var e=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mt(n,!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mt(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.props,Object(a.a)({},Pn,this.context[Pn]));return B.a.createElement(t,e)}}]),n}(B.a.Component);return n.contextTypes=Object(a.a)({},Pn,B.a.PropTypes.number),n}});var jn=Sn(ee({loaded:on()}))(ie),Tn=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){var e=this.props.page,t=Y.concat(this.props.propertyNamePrefix,this.props.propertyBaseName);return B.a.createElement(jn,{fileId:e["".concat(t,"Id")],fileCollection:this.props.fileCollection,position:[e["".concat(t,"X")],e["".concat(t,"Y")]],className:"background background_image",structuredDataComponent:this.props.structuredDataComponent})}}]),t}(B.a.Component);Tn.defaultProps={propertyBaseName:"backgroundImage"};var An=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){return B.a.createElement("div",{className:"shadow_wrapper"},B.a.createElement("div",{className:U()("shadow",this.props.className),style:this.style()}))}},{key:"style",value:function(){if("gradientOpacity"in this.props.page)return{opacity:this.props.page.gradientOpacity/100}}}]),t}(B.a.Component),In=function(e){return B.a.createElement("div",{className:"content",onTouchStart:e.onInteraction,onMouseMove:e.onInteraction},e.children)},Mn=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){var e=this;return React.createElement("div",{className:"scroller-wrapper",ref:function(t){return e.wrapperElement=t}},React.createElement("div",{ref:function(t){return e.scrollerElement=t},className:U()("scroller",this.props.className),style:this.props.style},React.createElement("div",null,this.props.children)))}},{key:"componentDidMount",value:function(){if("undefined"!=typeof jQuery){var e=jQuery(this.scrollerElement);e.scroller({eventListenerTarget:this.wrapperElement}),this.scroller=e.scroller("instance")}}},{key:"componentDidUpdate",value:function(){this.scroller.refresh()}},{key:"enable",value:function(){this.scroller.enable(),this.scroller.afterAnimationHook()}},{key:"disable",value:function(){this.scroller.disable()}},{key:"resetPosition",value:function(e){this.scroller.resetPosition(e)}}]),t}(L.Component),Nn=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"componentWillReceiveProps",value:function(e){!this.props.enabled&&e.enabled?this.refs.scroller.enable():this.props.enabled&&!e.enabled&&this.refs.scroller.disable(),this.props.initialScrollerPosition!==e.initialScrollerPosition&&e.initialScrollerPosition&&this.refs.scroller.resetPosition({position:e.initialScrollerPosition})}},{key:"getChildContext",value:function(){var e=this;return this._pageScroller=this._pageScroller||{disable:function(){e.refs.scroller.disable()},enable:function(){e.refs.scroller.enable()}},{pageScroller:this._pageScroller}}},{key:"render",value:function(){return B.a.createElement(Mn,{ref:"scroller",className:(e=this.props,U()(e.className,{"scroller-clipped_bottom":!!e.marginBottom})),style:Cn(this.props)},B.a.createElement("div",{className:"content_wrapper"},this.props.children));var e}}]),t}(B.a.Component);function Cn(e){if(e.marginBottom)return{bottom:e.marginBottom}}Nn.childContextTypes={pageScroller:B.a.PropTypes.object};var Dn,Rn=Sn(ee({enabled:un("isActivated",Dn),initialScrollerPosition:function(e){return un("initialScrollerPosition",e)}()}))(Nn),Ln=function(e){return React.createElement(In,null,React.createElement(Rn,null,e.children))},Bn=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){return B.a.createElement("h3",{className:"page_header"},B.a.createElement("span",{className:"page_header-tagline"},this.props.page.tagline),B.a.createElement("span",{className:"page_header-title"},this.props.page.title),B.a.createElement("span",{className:"page_header-subtitle"},this.props.page.subtitle))}}]),t}(B.a.Component);function Fn(e){return B.a.createElement("div",{className:Un(e)},B.a.createElement("div",{className:"paragraph",dangerouslySetInnerHTML:Hn(e)}),e.children)}function Un(e){return U()("page_text",Object(a.a)({},"page_text-margin_".concat(e.marginBottom),e.marginBottom!=Fn.defaultProps.marginBottom))}function Hn(e){return{__html:e.page.text}}function Wn(e){return function(t,n){var r=e.split(".");if(!(r[0]in n))throw new Error("Missing required prop ".concat(r[0],"."));return r.reduce((function(e,t){return e&&e[t]}),n)}}function qn(e){return function(t,n,r){return re(e,r)}}Fn.defaultProps={marginBottom:"for_scroll_indicator_on_phone"};var Gn=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){return B.a.createElement("a",{href:this._href(),className:this.props.className,onClick:this._handleClick.bind(this)},this.props.children)}},{key:"_href",value:function(){return this._targetPage()?"#"+this._targetPage().permaId:"#missing"}},{key:"_handleClick",value:function(e){this._targetPage()&&pageflow.slides.goToByPermaId(this._targetPage().permaId,{transition:this.props.pageLink.pageTransition}),e.preventDefault()}},{key:"_targetPage",value:function(){return this.props.targetPage}}]),t}(B.a.Component),Vn=It(ee({targetPage:tn({id:Wn("pageLink.targetPageId")})}))(Gn);function zn(e){return React.createElement("div",{className:Yn(e)})}function Yn(e){return U()({load_image:e.lazy&&e.loaded},e.className,(t=e.pageType)?"is_".concat(t.name):"is_dangling",function(e){var t=Ht({candidates:Xn(e),page:e.page,fileExists:e.fileExists});if(t)return function(e,t){return[e.lazy?"lazy":null,t.cssClassPrefix,e.imageStyle,Wt(e.page,t)].filter(Boolean).join("_")}(e,t)}(e));var t}function Xn(e){return[$n(e)].concat(Object($.a)((t=e.pageType)?t.thumbnailCandidates:[]));var t}function $n(e){return{id:e.customThumbnailId,cssClassPrefix:"pageflow_image_file",collectionName:"image_files"}}zn.defaultProps={imageStyle:"navigation_thumbnail_large"};var Kn=Sn(ee({pageType:Kt({page:function(e){return e.page}}),fileExists:Xt()}))(zn),Qn=Sn(ee({loaded:on(),lazy:!0}))(Kn);function Jn(e){return U()("add_info_box",{empty:Zn(e),title_empty:V(e.title),description_empty:V(e.description),"add_info_box-hidden_during_playback":e.hiddenDuringPlayback})}function Zn(e){return V(e.title)&&V(e.description)}var er=function(e){return React.createElement("div",{className:Jn(e)},function(e){if(!V(e.title))return React.createElement("h3",null,e.title)}(e),function(e){if(!V(e.description))return React.createElement("p",{dangerouslySetInnerHTML:{__html:e.description}})}(e))};function tr(e){return React.createElement("div",{className:U()("controls",e.className),"data-role":"player_controls",onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},e.children)}function nr(e){return B.a.createElement("svg",{className:e.className,version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:e.width,height:e.height,viewBox:"".concat(e.viewBoxLeft," ").concat(e.viewBoxTop," ").concat(e.viewBoxWidth," ").concat(e.viewBoxHeight)},e.children)}nr.defaultProps={width:20,height:20,viewBoxLeft:0,viewBoxTop:0};var rr=nr,or={Checkmark:function(e){return React.createElement(rr,Object.assign({},e,{viewBoxWidth:512,viewBoxHeight:512}),React.createElement("polygon",{points:"434.442,58.997 195.559,297.881 77.554,179.88 0,257.438 195.559,453.003 512,136.551 "}))},CircleWithNotch:function(e){return React.createElement(rr,Object.assign({},e,{viewBoxWidth:1e3,viewBoxHeight:1e3}),React.createElement("path",{d:"M990,497.6c0,66.4-13,129.8-38.8,190.3c-25.9,60.5-60.7,112.7-104.4,156.4C803,888,750.9,922.8,690.3,948.7c-60.5,25.9-124,38.8-190.3,38.8s-129.8-12.9-190.3-38.8S197,888,153.3,844.3c-43.7-43.7-78.5-95.9-104.4-156.4C22.9,627.4,10,563.9,10,497.6c0-80.9,18.4-156.5,55.2-226.7c36.8-70.2,87.2-128,151.2-173.4s135.2-73.8,213.6-85v142.2c-80.6,16.4-147.4,56.7-200.4,120.9c-53,64.2-79.5,138.2-79.6,222c0,47.4,9.3,92.7,27.9,135.9c18.6,43.2,43.4,80.4,74.6,111.6c31.2,31.2,68.4,56.1,111.6,74.6c43.2,18.5,88.5,27.8,135.9,27.9c47.4,0,92.7-9.2,135.9-27.9C679,801,716.2,776.1,747.4,745c31.2-31.1,56-68.3,74.6-111.6c18.6-43.3,27.9-88.6,27.9-135.9c0-83.9-26.5-157.9-79.6-222C717.2,211.3,650.4,171,569.9,154.6V12.5c78.4,11.3,149.6,39.6,213.6,85c64,45.4,114.4,103.2,151.2,173.4c36.8,70.2,55.2,145.7,55.2,226.7H990z"}))},Disk:function(e){return React.createElement(rr,Object.assign({},e,{viewBoxWidth:24,viewBoxHeight:24}),React.createElement("circle",{cx:"12",cy:"12",r:"12"}))},Gear:function(e){return React.createElement(rr,Object.assign({},e,{viewBoxWidth:24,viewBoxHeight:24}),React.createElement("path",{d:"M21.312,14.056l-1.691-0.98c0,0-0.472-0.216-0.446-1.073c0,0-0.128-0.961,0.478-1.293l1.661-1.014 c0,0,0.546-0.245,0.313-0.818l-0.707-1.598c0,0-0.229-0.625-0.902-0.423l-1.93,0.615c0,0-0.666-0.009-1.078-0.458 c0,0-0.687-0.662-0.476-1.229l0.445-1.924c0,0,0.114-0.563-0.312-0.768l-1.995-0.757c0,0-0.43-0.026-0.562,0.305l-1.122,2.006 c0,0-0.524,0.437-1.248,0.292c0,0-0.752-0.072-0.928-0.253c0,0-1.135-1.916-1.19-2.015c0,0-0.21-0.437-0.65-0.262L7.144,3.176 c0,0-0.367,0.229-0.275,0.559l0.649,2.441c0,0-0.139,0.597-0.561,0.924c0,0-0.745,0.55-1.104,0.483L3.858,7.1 c0,0-0.578-0.207-0.805,0.294L2.306,9.232c0,0-0.143,0.38,0.251,0.616l1.96,1.123c0,0,0.624,0.286,0.441,1.38 c0,0,0.037,0.804-0.756,1.24c-0.793,0.437-1.476,0.875-1.476,0.875s-0.437,0.21-0.249,0.681c0.189,0.471,0.895,1.811,0.895,1.811 s0.131,0.336,0.762,0.091l1.723-0.466c0,0,0.5-0.151,1.031,0.319c0,0,0.741,0.504,0.687,0.919l-0.48,2.433 c0,0-0.157,0.411,0.312,0.676l1.929,0.733c0,0,0.538,0.052,0.68-0.389l0.84-1.532c0,0,0.278-0.669,1.177-0.625 c0,0,0.909-0.081,1.227,0.407l1.101,1.833c0,0,0.199,0.466,0.791,0.188l1.709-0.728c0,0,0.479-0.315,0.333-0.743l-0.533-1.853 c0,0-0.238-0.5,0.259-1.055c0,0,0.533-0.876,1.27-0.701l2.043,0.487c0,0,0.424,0.187,0.793-0.413l0.659-1.639 C21.685,14.901,21.886,14.313,21.312,14.056z M8.542,13.474c-0.824-1.931,0.073-4.166,2.004-4.989 c1.931-0.826,4.165,0.073,4.988,2.004c0.825,1.931-0.073,4.164-2.005,4.989C11.599,16.303,9.365,15.404,8.542,13.474z"}))},Info:function(e){return React.createElement(rr,Object.assign({},e,{viewBoxLeft:5,viewBoxTop:5,viewBoxWidth:145,viewBoxHeight:145}),React.createElement("path",{d:"m80 15c-35.88 0-65 29.12-65 65s29.12 65 65 65 65-29.12 65-65-29.12-65-65-65zm0 10c30.36 0 55 24.64 55 55s-24.64 55-55 55-55-24.64-55-55 24.64-55 55-55z"}),React.createElement("path",{d:"m57.373 18.231a9.3834 9.1153 0 1 1 -18.767 0 9.3834 9.1153 0 1 1 18.767 0z",transform:"matrix(1.1989 0 0 1.2342 21.214 28.75)"}),React.createElement("path",{d:"m90.665 110.96c-0.069 2.73 1.211 3.5 4.327 3.82l5.008 0.1v5.12h-39.073v-5.12l5.503-0.1c3.291-0.1 4.082-1.38 4.327-3.82v-30.813c0.035-4.879-6.296-4.113-10.757-3.968v-5.074l30.665-1.105"}))},Pause:function(e){return React.createElement(rr,Object.assign({},e,{viewBoxWidth:512,viewBoxHeight:512}),React.createElement("path",{d:"M162.642 148.337h86.034v215.317h-86.034v-215.316z"}),React.createElement("path",{d:"M293.356 148.337h86.002v215.317h-86.002v-215.316z"}))},Play:function(e){return React.createElement(rr,Object.assign({},e,{viewBoxWidth:512,viewBoxHeight:512}),React.createElement("path",{d:"M152.443 136.417l207.114 119.573-207.114 119.593z"}))},Subtitles:function(e){return React.createElement(rr,Object.assign({},e,{viewBoxWidth:1200,viewBoxHeight:1200}),React.createElement("path",{transform:"translate(100,100)",d:"M893.4,599V500H401.1V599H893.4z M893.4,794.5v-98.9H695.5v98.9H893.4z M598.9,794.5v-98.9H106.6v98.9H598.9z M106.6,500V599h197.8V500H106.6z M893.4,106.7c26.1,0,48.7,10,67.9,29.9s28.8,42.9,28.8,69v588.9c0,26.1-9.6,49.1-28.8,69c-19.2,19.9-41.8,29.9-67.9,29.9H106.6c-26.1,0-48.7-10-67.9-29.9c-19.2-19.9-28.8-42.9-28.8-69V205.5c0-26.1,9.6-49.1,28.8-69s41.8-29.9,67.9-29.9H893.4z"}))}},ir={toggleInfoBox:or.Info,mediaQuality:or.Gear,textTracks:or.Subtitles,activeMenuItem:or.Checkmark,loadingSpinner:or.CircleWithNotch,play:or.Play,pause:or.Pause};function ar(e){var t=ir[e.name];if(!t)throw new Error('No icon registered for "'.concat(e.name,'".'));return B.a.createElement(t,e)}var ur=function(e){return React.createElement("div",{className:"vjs-loading-spinner"},React.createElement(ar,{name:"loadingSpinner"}))},cr=function(e){return Sn(ee({id:Z(rn(),(function(e){return e?"firstContent":void 0}))}))(e)};var sr=cr((function(e){return React.createElement("a",{className:lr(e),href:"#",tabIndex:"4",id:e.id,title:e.title,onClick:fr(e)},function(e){return e.iconName?React.createElement(ar,{name:e.iconName}):React.createElement("span",null)}(e))}));function lr(e){return U()("vjs-play-control",{"vjs-playing":e.isPlaying},{"player_controls-play_button-custom_icon":!!e.iconName})}function fr(e){return function(t){e.onClick&&e.onClick(t),t.preventDefault()}}function pr(e){return React.createElement("div",{className:U()(e.className)},function(e){if(isNaN(e))return dr;var t=Math.floor(e)%60,n=Math.floor(e/60)%60,r=Math.floor(e/60/60);return r>0?"".concat(r,":").concat(hr(n),":").concat(hr(t)):"".concat(n,":").concat(hr(t))}(e.value))}var dr="-:--";function hr(e){return e<10?"0"+e:e}pr.defaultProps={value:0};var vr=function(e){return React.createElement(pr,{className:"vjs-current-time",value:e.currentTime})},gr=function(e){return React.createElement("div",{className:"vjs-time-divider"},"/")},yr=function(e){return React.createElement(pr,{className:"vjs-duration",value:e.duration})},mr=n(94),br=n.n(mr),wr=n(36),Or=n.n(wr),Er=37,_r=39,xr=function(e){function t(e,n){var r;return j(this,t),(r=N(this,C(t).call(this,e,n))).state={handleWidth:null,progressHolderWidth:null},r.measureProgressHolder=function(e){var t=e.width;r.setState({progressHolderWidth:t})},r.measureHandle=function(e){var t=e.width;r.setState({handleWidth:t})},r.handleStop=function(e,t){r.props.onSeek&&r.props.onSeek(r.positionToTime(t.x))},r.handleDrag=function(e,t){r.props.onScrub&&r.props.onScrub(r.positionToTime(t.x))},r.handleKeyDown=function(e){var t;e.keyCode==Er?t=Math.max(0,r.props.currentTime-1):e.keyCode==_r&&(t=Math.min(r.props.currentTime+1,r.props.duration||1/0)),r.prop.onSeek&&r.props.onSeek(t)},r}return R(t,e),A(t,[{key:"positionToTime",value:function(e){return this.props.duration&&this.state.progressHolderWidth?Math.max(0,Math.min(1,e/this.state.progressHolderWidth))*this.props.duration:0}},{key:"render",value:function(){return B.a.createElement("div",{className:"vjs-progress-control",tabIndex:"4",onKeyDown:this.handleKeyDown},B.a.createElement(Or.a,{whitelist:["width"],onMeasure:this.measureProgressHolder},B.a.createElement(mr.DraggableCore,{onStart:this.handleDrag,onDrag:this.handleDrag,onStop:this.handleStop},B.a.createElement("div",{className:"vjs-progress-holder"},B.a.createElement("div",{className:"vjs-load-progress",style:{width:Pr(this.loadProgress())}}),B.a.createElement("div",{className:"vjs-play-progress",style:{width:Pr(this.playProgress())}}),B.a.createElement(Or.a,{whitelist:["width"],onMeasure:this.measureHandle},B.a.createElement("div",{className:"vjs-seek-handle",style:{left:this.handlePosition()}}))))))}},{key:"handlePosition",value:function(){return this.state.handleWidth&&this.state.progressHolderWidth?(this.state.progressHolderWidth-this.state.handleWidth)*this.playProgress():Pr(this.playProgress())}},{key:"loadProgress",value:function(){return this.props.duration>0?this.props.bufferedEnd/this.props.duration:0}},{key:"playProgress",value:function(){return this.props.duration>0?this.props.currentTime/this.props.duration:0}}]),t}(B.a.Component);function Pr(e){return e>0?100*e+"%":0}xr.defaultProps={currentTime:0,bufferedEnd:0};var kr=function(e){function t(e,n){var r;return j(this,t),(r=N(this,C(t).call(this,e,n))).state={subMenuVisible:!1},r.onLinkClick=function(e){e.preventDefault(),r.props.subMenuItems.length>0&&r.setState({subMenuVisible:!0}),r.props.onClick&&r.props.onClick()},r.onMouseEnter=function(){r.props.subMenuItems.length>0&&r.setState({subMenuVisible:!0}),r.props.onMouseEnter&&r.props.onMouseEnter()},r.onMouseLeave=function(){r.closeMenu(),r.props.onMouseEnter&&r.props.onMouseLeave()},r.onFocus=function(){clearTimeout(r.closeMenuTimeout)},r.onBlur=function(){clearTimeout(r.closeMenuTimeout),r.closeMenuTimeout=setTimeout((function(){r.closeMenu()}),100)},r.closeMenu=function(){r.setState({subMenuVisible:!1})},r}return R(t,React.Component),A(t,[{key:"render",value:function(){var e=this,t=this.props;return React.createElement("div",{className:Sr(t,this.state.subMenuVisible),ref:function(t){return e.wrapper=t},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onFocus:this.onFocus,onBlur:this.onBlur},React.createElement("a",{className:Ar(t,"link"),href:"#",tabIndex:"4",title:t.title,onClick:this.onLinkClick},React.createElement(ar,{className:Ar(t,"icon"),name:t.iconName})),function(e,t){if(e.subMenuItems.length>0)return React.createElement("ul",{className:"player_controls-menu_bar_button_sub_menu"},function(e,t){return e.subMenuItems.map((function(n){return React.createElement("li",{className:jr(n),key:n.value},React.createElement("a",{className:"player_controls-menu_bar_button_sub_menu_item_link",href:"#",tabIndex:"4",onClick:Tr(e,n.value,t)},function(e){if(e.active)return React.createElement(ar,{className:"player_controls-menu_bar_button_sub_menu_item_icon",name:"activeMenuItem"})}(n),n.label,function(e,t){if(t.annotation)return React.createElement("span",{className:Ar(e,"sub_menu_item_annotation")},t.annotation)}(e,n)))}))}(e,t))}(t,this.closeMenu))}}]),t}();function Sr(e,t){return U()({"player_controls-menu_bar_button-sub_menu_visible":t},Ar(e))}function jr(e){return U()("player_controls-menu_bar_button_sub_menu_item",{"player_controls-menu_bar_button_sub_menu_item-active":e.active})}function Tr(e,t,n){return function(r){r.preventDefault(),n(),e.onSubMenuItemClick&&e.onSubMenuItemClick(t)}}function Ar(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return U()(["player_controls-menu_bar_button"].concat(n).join("_"),[e.className].concat(n).join("_"))}function Ir(e){return e.items.length<2?React.createElement("noscript",null):React.createElement(kr,{className:"player_controls-quality_menu_button",title:e.buttonTitle,iconName:"mediaQuality",subMenuItems:e.items,onSubMenuItemClick:e.onItemClick})}function Mr(e){return e.items.length<2?React.createElement("noscript",null):React.createElement(kr,{className:"player_controls-text_tracks_menu_button",title:e.buttonTitle,iconName:"textTracks",subMenuItems:e.items,onSubMenuItemClick:e.onItemClick})}function Nr(e){return React.createElement("div",{className:Cr(e)},function(e){return e.additionalButtons.map((function(t){return React.createElement(kr,{title:t.label,iconName:t.iconName,className:t.className,key:t.name,onClick:Dr(e.onAdditionalButtonClick,t.name),onMouseEnter:Dr(e.onAdditionalButtonMouseEnter,t.name),onMouseLeave:Dr(e.onAdditionalButtonMouseLeave,t.name)})}))}(e),React.createElement(Mr,{buttonTitle:e.textTracksMenuButtonTitle,items:e.textTracksMenuItems,onItemClick:e.onTextTracksMenuItemClick}),React.createElement(Ir,{buttonTitle:e.qualityMenuButtonTitle,items:e.qualityMenuItems,onItemClick:e.onQualityMenuItemClick}))}function Cr(e){return U()(e.className,"player_controls-menu_bar",{"player_controls-menu_bar-hidden_on_phone":e.hiddenOnPhone,"player_controls-menu_bar-stand_alone":e.standAlone,"player_controls-menu_bar-inverted":e.inverted})}function Dr(e,t){if(e)return function(){return e(t)}}function Rr(e){return function(t){function n(e){var t;return j(this,n),(t=N(this,C(n).call(this,e))).checkVisibility=function(){var e=window.getComputedStyle(t.element);t.lastVisibility!=e.visibility&&("visible"==e.visibility&&"none"!=e.display?t.props.onVisible&&t.props.onVisible():t.props.onHidden&&t.props.onHidden()),t.lastVisibility=e.visibility},t}return R(n,t),A(n,[{key:"componentDidMount",value:function(){this.element=Ft.a.findDOMNode(this),this.updateInterval()}},{key:"componentDidUpdate",value:function(){this.updateInterval()}},{key:"componentWillUnmount",value:function(){clearInterval(this.interval),this.interval=null,this.element=null}},{key:"updateInterval",value:function(){this.props.watchVisibility&&!this.interval?this.interval=setInterval(this.checkVisibility,50):!this.props.watchVisibility&&this.interval&&(clearInterval(this.interval),this.interval=null)}},{key:"render",value:function(){return B.a.createElement(e,this.props)}}]),n}(B.a.Component)}function Lr(e){return U()("vjs-control-bar",{with_quality_menu_present:e.qualityMenuItems&&e.qualityMenuItems.length>=2,with_text_tracks_menu_present:e.textTracksMenuItems&&e.textTracksMenuItems.length>=2})}kr.defaultProps={subMenuItems:[]},Ir.defaultProps={items:[]},Mr.defaultProps={items:[]},Nr.defaultProps={additionalButtons:[],standAlone:!0};var Br=Rr((function(e){return B.a.createElement(tr,e,B.a.createElement("span",{className:"hint"},e.hint),B.a.createElement(er,Object.assign({},e.infoBox,{hiddenDuringPlayback:e.infoBoxHiddenDuringPlayback})),B.a.createElement("div",{className:Lr(e)},function(e){if(e.isLoading)return B.a.createElement(ur,e)}(e),B.a.createElement("div",{className:"play_button"},B.a.createElement(sr,{title:e.playButtonTitle,iconName:e.playButtonIconName,isPlaying:e.isPlaying,onClick:e.onPlayButtonClick})),function(e){if(e.hasProgress)return B.a.createElement("div",{className:"player_controls-progress"},B.a.createElement(vr,e),B.a.createElement(gr,null),B.a.createElement(yr,e),B.a.createElement(xr,e))}(e),B.a.createElement("div",{className:"control_bar_text"},e.controlBarText)),B.a.createElement(Nr,{standAlone:!1,additionalButtons:e.additionalMenuBarButtons,onAdditionalButtonClick:e.onAdditionalButtonClick,onAdditionalButtonMouseEnter:e.onAdditionalButtonMouseEnter,onAdditionalButtonMouseLeave:e.onAdditionalButtonMouseLeave,qualityMenuButtonTitle:e.qualityMenuButtonTitle,qualityMenuItems:e.qualityMenuItems,onQualityMenuItemClick:e.onQualityMenuItemClick,textTracksMenuButtonTitle:e.textTracksMenuButtonTitle,textTracksMenuItems:e.textTracksMenuItems,onTextTracksMenuItemClick:e.onTextTracksMenuItemClick}))}));function Fr(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}var Ur=Z(Hr,(function(e){return function(t,n){return I18n.t(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fr(n,!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fr(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({locale:e},n))}}));function Hr(e){return e.i18n.locale}var Wr=It(ee({t:Ur}))((function(e){return React.createElement("div",{className:"close_button text_hidden_only",tabIndex:"4",title:e.t("pageflow.public.close"),onClick:e.onClick},React.createElement("div",{className:"label"},e.t("pageflow.public.close")))})),qr=function(e){return PAGEFLOW_EDITOR?e:function(){return!1}},Gr=ke("chapters");var Vr=Gr,zr=ke("storylines");function Yr(){return function(e,t){var n=Xr()(e,t);return n?Vr({id:n.chapterId})(e,t):null}}function Xr(){return function(e,t){return tn({id:function(e,t){return Z(zr(t),(function(t){return t&&t[e]}))}("parentPagePermaId",{id:function(e,t){return Z(Gr(t),(function(t){return t&&t[e]}))}("storylineId",{id:en("chapterId",{id:e.currentPageId})(e,t)})(e,t)})(e,t)})(e,t)}}function $r(e){var t=e.property;return function(e){return e.settings[t]}}var Kr=ke("widgets");function Qr(e,t){var n=t.role;return Z(Kr({id:n}),(function(t){return t&&t[e]}))}function Jr(e){var t=e.role;return Z(Kr({id:t}),(function(e){return e}))}function Zr(e){var t=e.role;return Z(Kr({id:t}),(function(e){return!(!e||!e.editing)}))}var eo=function(e){return U()({is_playing:e.shouldPlay,is_playing_delayed:e.hasBeenPlayingJustNow,is_paused:!e.shouldPlay})},to="MEDIA_TOGGLE_PLAYING",no="MEDIA_PLAY",ro="MEDIA_PLAY_AND_FADE_IN",oo="MEDIA_PAUSE",io="MEDIA_FADE_OUT_AND_PAUSE",ao="CHANGE_VOLUME_FACTOR",uo="MEDIA_PLAY_FAILED",co="MEDIA_PLAYING_MUTED",so="MEDIA_SCRUB_TO",lo="MEDIA_SEEK_TO",fo="MEDIA_PREBUFFER",po="MEDIA_PREBUFFERED",ho="MEDIA_ABORT_PREBUFFERING",vo="MEDIA_BUFFER_UNDERRUN",go="MEDIA_BUFFER_UNDERRUN_CONTINUE",yo="MEDIA_META_DATA_LOADED",mo="MEDIA_PROGRESS",bo="MEDIA_PLAYING",wo="MEDIA_PAUSED",Oo="MEDIA_TIME_UPDATE",Eo="MEDIA_ENDED",_o="MEDIA_SEEKING",xo="MEDIA_SEEKED",Po="MEDIA_WAITING",ko="MEDIA_HAS_NOT_BEEN_PLAYING_FOR_A_MOMENT",So="MEDIA_USER_INTERACTION",jo="MEDIA_USER_IDLE",To="MEDIA_CONTROLS_ENTERED",Ao="MEDIA_CONTROLS_LEFT",Io="MEDIA_FOCUS_ENTERED_CONTROLS",Mo="MEDIA_FOCUS_LEFT_CONTROLS",No="MEDIA_CONTROLS_HIDDEN",Co="SHOW_INFO_BOX_DURING_PLAYBACK",Do="HIDE_INFO_BOX_DURING_PLAYBACK",Ro="TOGGLE_INFO_BOX_DURING_PLAYBACK",Lo="MEDIA_SAVE_MEDIA_ELEMENT_ID",Bo="MEDIA_DISCARD_MEDIA_ELEMENT_ID";function Fo(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope,t=void 0===e?"default":e;return{togglePlaying:function(){return n(to)},play:function(){return n(no)},playAndFadeIn:function(e){var t=e.fadeDuration;return n(ro,{fadeDuration:t})},pause:function(){return n(oo)},fadeOutAndPause:function(e){var t=e.fadeDuration;return n(io,{fadeDuration:t})},changeVolumeFactor:function(e,t){var r=t.fadeDuration;return n(ao,{volumeFactor:e,fadeDuration:r})},playFailed:function(){return n(uo)},playingMuted:function(){return n(co)},scrubTo:function(e){return n(so,{time:e})},seekTo:function(e){return n(lo,{time:e})},prebuffer:function(){return n(fo)},prebuffered:function(){return n(po)},abortPrebuffering:function(){return n(ho)},bufferUnderrun:function(){return n(vo)},bufferUnderrunContinue:function(){return n(go)},playing:function(){return n(bo)},paused:function(){return n(wo)},timeUpdate:function(e){var t=e.currentTime,r=e.duration;return n(Oo,{currentTime:t,duration:r})},metaDataLoaded:function(e){var t=e.currentTime,r=e.duration;return n(yo,{currentTime:t,duration:r})},progress:function(e){var t=e.bufferedEnd;return n(mo,{bufferedEnd:t})},ended:function(){return n(Eo)},seeking:function(){return n(_o)},seeked:function(){return n(xo)},waiting:function(){return n(Po)},hasNotBeenPlayingForAMoment:function(e){return n(ko)},userInteraction:function(){return n(So)},userIdle:function(){return n(jo)},controlsEntered:function(){return n(To)},controlsLeft:function(){return n(Ao)},focusEnteredControls:function(){return n(Io)},focusLeftControls:function(){return n(Mo)},controlsHidden:function(){return n(No)},showInfoBoxDuringPlayback:function(){return n(Co)},hideInfoBoxDuringPlayback:function(){return n(Do)},toggleInfoBoxDuringPlayback:function(){return n(Ro)},saveMediaElementId:function(e){return n(Lo,{id:e})},discardMediaElementId:function(){return n(Bo)}};function n(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:e,meta:{collectionName:"pages",mediaScope:t},payload:n}}}function Uo(e){return S({property:"textTrack",value:e?{srclang:e.srclang,kind:e.kind}:{}})}function Ho(e){return e.backgroundMedia.muted}function Wo(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 qo(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope;return nn("media.".concat(void 0===e?"default":e))}function Go(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope,t=void 0===e?"default":e;return function(e){return Object(ae.b)(Fo({scope:t}),e)}}function Vo(e){var t=e.file,n=e.defaultTextTrackFileId,r=void 0===n?function(){}:n;return Z($r({property:"textTrack"}),$r({property:"volume"}),Ur,Hr,function(e,t){var n=t.parent;return Z(Ee(e,{namespace:"files"}),n,(function(e){return e.fileUrlTemplates}),(function(e){return e.modelTypes}),(function(t,n,r,o){return n?Object.keys(t).reduce((function(i,a){var u=t[a];return u.id&&u.parentFileId==n.id&&u.parentFileModelType==n.modelType&&i.push($t(e,u,r,o)),i}),[]):[]}))}("textTrackFiles",{parent:t}),r,(function(e,t,n,r,o,i){e=e||{};var u=o.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wo(n,!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wo(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({displayLabel:zo(e,n)},e)})),c=function(e,t,n,r){if(t){var o=e.find((function(e){return e.permaId==t}));if(o)return o}var i=e.find((function(e){return"subtitles"==e.kind&&e.srclang==n})),a=0==r&&e.find((function(e){return"captions"==e.kind}));return i||a}(u,i,r,t);return{files:u.sort((function(e,t){return(e.displayLabel||"").localeCompare(t.displayLabel||"")})),autoFile:c,activeFileId:Yo(u,c,e),mode:"off"==e.kind?"off":e.kind?"user":"auto"}}))}function zo(e,t){return e.label||t("pageflow.public.languages."+e.srclang||!1,{defaultValue:t("pageflow.public.languages.unknown")})}function Yo(e,t,n){if("off"==n.kind)return null;var r=e.find((function(e){return e.srclang==n.srclang&&e.kind==n.kind}));return r?r.id:t&&t.id}function Xo(e){return Z(e.autoplayWhenBackgroundMediaMuted,$o({id:e.id}),Ho,(function(e,t,n){return t&&(!n||e)}))}function $o(e){return Z(en("autoplay",e),(function(e){return!1!==e}))}function Ko(e){var t=e.playerActions,n=e.playerState,r=e.playerControlsComponent;return B.a.createElement(r,Object.assign({hasProgress:!0,controlBarText:e.controlBarText,isLoading:n.isLoading||n.bufferUnderrun,isPlaying:n.shouldPlay,currentTime:void 0!==n.scrubbingAt?n.scrubbingAt:n.currentTime,bufferedEnd:n.bufferedEnd,duration:n.duration,mediaElementId:n.mediaElementId,onPlayButtonClick:t.togglePlaying,onScrub:t.scrubTo,onSeek:t.seekTo,onMouseEnter:t.controlsEntered,onMouseLeave:t.controlsLeft,onFocus:t.focusEnteredControls,onBlur:t.focusLeftControls,watchVisibility:n.isPlaying,onHidden:t.controlsHidden,additionalMenuBarButtons:Zo(e),infoBoxHiddenDuringPlayback:ei(e),onAdditionalButtonMouseEnter:t.showInfoBoxDuringPlayback,onAdditionalButtonMouseLeave:t.hideInfoBoxDuringPlayback,onAdditionalButtonClick:t.toggleInfoBoxDuringPlayback,qualityMenuItems:ni(e.qualities,e.file,e.activeQuality,e.t),qualityMenuButtonTitle:e.t("pageflow.public.media_quality"),onQualityMenuItemClick:e.updateVideoQualitySetting,textTracksMenuItems:ti(e.textTracks,e.t),textTracksMenuButtonTitle:e.t("pageflow.public.text_tracks"),onTextTracksMenuItemClick:function(t){"off"==t?e.updateTextTrackSettings({kind:"off"}):e.updateTextTrackSettings(e.textTracks.files.find((function(e){return e.id==t})))}},e,{className:Jo(n)}))}Ko.defaultProps={playerControlsComponent:Br,qualities:[],textTracks:{files:[]}};var Qo=It(ee({activeQuality:$r({property:"videoQuality"}),t:Ur}),{updateTextTrackSettings:Uo,updateVideoQualitySetting:function(e){return S({property:"videoQuality",value:e})}})(Ko);function Jo(e){return U()(eo(e))}function Zo(e){var t=e.t;return Zn(e.infoBox)?[]:[{name:"toggleInfoBox",className:"player_controls-toggle_info_box_menu_button",label:t("pageflow.public.toggle_info_box"),iconName:"toggleInfoBox"}]}function ei(e){var t=e.playerState;return void 0===t.infoBoxHiddenDuringPlayback?!!e.textTracks.activeFileId:t.infoBoxHiddenDuringPlayback}function ti(e,t){if(!e.files.length)return[];var n={value:"off",label:t("pageflow.public.text_track_modes.none"),active:"off"==e.mode};return[{value:"auto",label:e.autoFile?t("pageflow.public.text_track_modes.auto",{label:e.autoFile.displayLabel}):t("pageflow.public.text_track_modes.auto_off"),active:"auto"==e.mode},n].concat(e.files.map((function(t){return{value:t.id,label:t.displayLabel,active:"user"==e.mode&&t.id==e.activeFileId}})))}function ni(e,t,n,r){return n=n||"auto",function(e,t){if(!t)return[];return e.filter((function(e){return!!t.urls[e]||"auto"==e}))}(e,t).map((function(e){return{value:e,label:r("pageflow.public.video_qualities.labels.".concat(e)),annotation:r("pageflow.public.video_qualities.annotations.".concat(e),{defaultValue:""}),active:e==n}}))}function ri(e){return function(t){return t.entry[e]}}function oi(e){var t=e.entrySlug,n=e.file,r="videoFiles"==n.collectionName?"videos":"audio";return"/".concat(t,"/").concat(r,"/").concat(n.id)}var ii=It(ee({t:Ur,entrySlug:ri("slug")}))((function(e){return e.file?React.createElement("p",{className:"non_js_video"},React.createElement("a",{href:oi(e),target:"_blank"},(n=(t=e).file,r=t.t,o="videoFiles"==n.collectionName?"video":"audio",r("pageflow.public.open_".concat(o))))):React.createElement("noscript",null);var t,n,r,o})),ai=Z(nn("media.pageScrollerMargin"),(function(e){return e&&e.bottom}));function ui(e){var t=e.page,n=e.playerState,r={title:t.additionalTitle,description:t.additionalDescription};return React.createElement(H,{className:li(e.className,si(e),e.textTracks,n)},React.createElement(W,{pageHasPlayerControls:!0},e.children,React.createElement(An,{page:t,className:eo(n)})),React.createElement(In,{onInteraction:function(){return n.userIsIdle&&e.playerActions.userInteraction()},classNames:eo(n)},React.createElement(Qo,{file:e.file,textTracks:e.textTracks,playerState:n,playerActions:e.playerActions,qualities:e.qualities,controlBarText:e.controlBarText,infoBox:r,playerControlsComponent:e.playerControlsComponent}),React.createElement(Rn,{className:eo(n),marginBottom:e.dynamicPageScrollerMargin&&e.pageScrollerMarginBottom},React.createElement(Bn,{page:t}),React.createElement(zi,{page:t}),React.createElement(Fn,{page:t,marginBottom:e.dynamicPageScrollerMargin?"none":"for_player_controls"},React.createElement(ii,{file:e.file})))))}ui.defaultProps={playerControlsCanOverlapPageText:!0};var ci=Sn(ee({pageScrollerMarginBottom:ai,textTracks:Vo({file:Wn("file"),defaultTextTrackFileId:Wn("page.defaultTextTrackFileId")}),hasAutoplaySupport:qn("autoplay support"),shouldAutoplay:Xo({id:Wn("page.permaId"),autoplayWhenBackgroundMediaMuted:Wn("autoplayWhenBackgroundMediaMuted")})}))(ui);function si(e){return e.shouldAutoplay&&e.hasAutoplaySupport&&!e.playerState.playFailed}function li(e,t,n,r){return U()(e,{has_text_tracks:!!n.activeFileId,is_idle:r.isPlaying&&r.userIsIdle,is_control_bar_focused:r.focusInsideControls,is_control_bar_hovered:r.userHoveringControls,is_control_bar_hidden:r.controlsHidden,unplayed:r.unplayed&&!t,should_play:r.shouldPlay,has_played:r.hasPlayed})}var fi=Sn(ee({pageIsPrepared:an(),pageIsPreloaded:on(),atmoDuringPlayback:en("atmoDuringPlayback"),defaultTextTrackFileId:en("defaultTextTrackFileId")}))((function(e){if(e.file&&e.file.isReady){var t=e.structuredDataComponent||function(){return null};return React.createElement("div",{style:{height:"100%"}},function(e){if(e.pageIsPrepared){var t=e.playerComponent;return React.createElement(t,{file:e.file,posterImageFile:e.posterImageFile,playerState:e.playerState,playerActions:e.playerActions,atmoDuringPlayback:e.atmoDuringPlayback,fit:e.fit,position:e.position,loop:e.loop,muted:e.muted,playsInline:e.playsInline,defaultTextTrackFileId:e.defaultTextTrackFileId,textTracksEnabled:e.textTracksEnabled,textTrackPosition:e.textTrackPosition})}if(e.preloadComponent&&e.pageIsPreloaded){var n=e.preloadComponent;return React.createElement(n,{file:e.file,posterImageFile:e.posterImageFile})}return React.createElement("noscript",null)}(e),React.createElement(t,{file:e.file}))}return React.createElement("noscript",null)})),pi=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){var e=this;return B.a.createElement("div",{ref:function(t){return e.containerElement=t},dangerouslySetInnerHTML:this.mediaTagHTML()})}},{key:"shouldComponentUpdate",value:function(e){return e.tagName!==this.props.tagName||e.poster!==this.props.poster||e.loop!==this.props.loop||e.muted!==this.props.muted||e.playsInline!==this.props.playsInline||!di(e.sources,this.props.sources)||!di(e.tracks,this.props.tracks)}},{key:"componentDidMount",value:function(){this.triggerOnSetup()}},{key:"componentWillUpdate",value:function(){this.triggerOnDispose()}},{key:"componentDidUpdate",value:function(){this.triggerOnSetup()}},{key:"componentWillUnmount",value:function(){this.triggerOnDispose()}},{key:"triggerOnSetup",value:function(){this.props.onSetup&&this.props.onSetup(this.containerElement.firstElementChild)}},{key:"triggerOnDispose",value:function(){this.props.onDispose&&this.props.onDispose()}},{key:"mediaTagHTML",value:function(){var e=document.createElement("div"),t=document.createElement(this.props.tagName);return t.setAttribute("preload","none"),t.setAttribute("crossorigin","anonymous"),t.setAttribute("alt",this.props.alt),this.props.poster&&t.setAttribute("data-poster",this.props.poster),this.props.loop&&t.setAttribute("loop","true"),this.props.muted&&t.setAttribute("muted","true"),this.props.playsInline&&t.setAttribute("playsinline","true"),this.props.sources.forEach((function(e){var n=document.createElement("source");n.setAttribute("src",e.src),n.setAttribute("type",e.type),t.appendChild(n)})),this.props.tracks.forEach((function(e){var n=document.createElement("track");n.setAttribute("src",e.src),n.setAttribute("id",e.id),n.setAttribute("kind",e.kind),n.setAttribute("srclang",e.srclang),n.setAttribute("label",e.label),t.appendChild(n)})),e.appendChild(t),{__html:e.innerHTML.replace('preload="none"','preload="auto"')}}}]),t}(B.a.Component);function di(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++){var r=e[n],o=t[n];if(Object.keys(r).length!==Object.keys(o).length)return!1;for(var i in r)if(r[i]!==o[i])return!1}return!0}function hi(e,t){t.emulateTextTracksDisplay;var n=t.atmoSettings,r=t.mediaContext,o=t.playsInline,i="audio"==e.tagName.toLowerCase(),a=new pageflow.VideoPlayer(e,{controlBar:!1,loadingSpinner:!1,bigPlayButton:!1,errorDisplay:!1,textTrackSettings:!1,poster:e.getAttribute("data-poster"),html5:{nativeCaptions:!i&&pageflow.browser.has("iphone platform")},bufferUnderrunWaiting:!0,useSlimPlayerControlsDuringPhonePlayback:!o&&!i,fullscreenDuringPhonePlayback:!o&&!i,fallbackToMutedAutoplay:!i,volumeFading:!0,hooks:pageflow.atmo.createMediaPlayerHooks(n),mediaEvents:!0,context:r});return a.textTrackSettings={getValues:function(){return{}}},a.addClass("video-js"),a.addClass("player"),a}pi.defaultProps={tagName:"video",sources:[],tracks:[]};var vi=function(e,t){e.on("loadedmetadata",(function(){return t.metaDataLoaded({currentTime:e.currentTime(),duration:e.duration()})})),e.on("progress",(function(){return t.progress({bufferedEnd:e.bufferedEnd()})})),e.on("play",t.playing),e.on("playfailed",t.playFailed),e.on("playmuted",t.playingMuted),e.on("pause",t.paused),e.on("waiting",t.waiting),e.on("seeking",t.seeking),e.on("seeked",t.seeked),e.on("bufferunderrun",t.bufferUnderrun),e.on("bufferunderruncontinue",t.bufferUnderrunContinue),e.on("timeupdate",(function(){return t.timeUpdate({currentTime:e.currentTime(),duration:e.duration()})})),e.on("ended",t.ended)};function gi(e,t,n){e.one("timeupdate",(function(){yi(e,null,t(),n())}))}function yi(e,t,n,r){t!=n&&function(e,t){[].slice.call(e.textTracks()).forEach((function(e){e.id=="text_track_file_".concat(t)?e.mode="showing":e.mode="disabled"}))}(e,n),function(e,t){e.updateCueLineSettings(t)}(e,r)}var mi,bi=function(e){var t=e.tagName,n=e.sources,r=e.poster,o=void 0===r?function(){}:r,i=e.emulateTextTracksDisplay,a=void 0!==i&&i,u=e.createPlayer,c=void 0===u?hi:u,s=function(e){function r(e,n){var o;return j(this,r),(o=N(this,C(r).call(this,e,n))).displaysTextTracksInNativePlayer=o.props.hasNativeVideoPlayer&&"video"==t,o.initiallyMuted=o.props.muted,o.updateAtmoSettings(),o.setupMediaTag=function(t){o.player=c(t,{emulateTextTracksDisplay:a,atmoSettings:o.atmoSettings,mediaContext:o.context.mediaContext,playsInline:e.playsInline}),o.player.ready((function(){var e,n,r,i,a,u;o.props.playerActions.saveMediaElementId(t.id),e=o.player,n=function(){return o.props.playerState},r=o.props.playerActions,i=o.prevFileId,a=o.props.file.id,u=n(),a===i&&u.currentTime>0&&e.currentTime(u.currentTime),u.shouldPrebuffer&&e.prebuffer().then(r.prebuffered),u.isPlaying&&e.play(),e.on("canplay",(function(){n().shouldPlay&&e.paused()&&e.play()})),o.displaysTextTracksInNativePlayer||function(e,t,n){e.on("pause",(function(){gi(e,t,n)})),e.textTracks().on("addtrack",(function(){yi(e,null,t(),n())})),yi(e,null,t(),n()),gi(e,t,n)}(o.player,(function(){return o.props.textTracks.activeFileId}),(function(){return o.props.textTrackPosition})),vi(o.player,o.props.playerActions),o.prevFileId=o.props.file.id}),!0)},o.disposeMediaTag=function(){o.player.dispose(),o.player=null,o.props.playerActions.discardMediaElementId()},o}return R(r,e),A(r,[{key:"componentDidUpdate",value:function(e){var t=this;this.player&&(this.player.ready((function(){var n,r,o;n=t.player,r=e.muted,o=t.props.muted,r!==o&&n.muted(o),function(e,t,n,r){t!==n&&e.changeVolumeFactor(n,r)}(t.player,e.playerState.volumeFactor,t.props.playerState.volumeFactor,t.props.playerState.volumeFactorFadeDuration),function(e,t,n,r){!t.shouldPrebuffer&&n.shouldPrebuffer&&e.prebuffer().then((function(){return setTimeout(r.prebuffered,0)})),!t.shouldPlay&&n.shouldPlay?n.fadeDuration?e.playAndFadeIn(n.fadeDuration):e.play():t.shouldPlay&&!n.shouldPlay&&n.isPlaying&&(n.fadeDuration?e.fadeOutAndPause(n.fadeDuration):e.pause()),void 0!==n.shouldSeekTo&&n.shouldSeekTo!==t.shouldSeekTo&&e.currentTime(n.shouldSeekTo)}(t.player,e.playerState,t.props.playerState,t.props.playerActions)}),!0),this.displaysTextTracksInNativePlayer||yi(this.player,e.textTracks.activeFileId,this.props.textTracks.activeFileId,this.props.textTrackPosition),this.updateAtmoSettings())}},{key:"updateAtmoSettings",value:function(){this.atmoSettings=this.atmoSettings||{},this.atmoSettings.atmo_during_playback=this.props.atmoDuringPlayback}},{key:"render",value:function(){return B.a.createElement(pi,{tagName:t,sources:n(this.props.file,this.props.quality,{hasHighBandwidth:this.props.hasHighBandwidth}),tracks:(e=this.props.textTracks.files,r=this.props.textTracksEnabled,r?e.filter((function(e){return e.isReady})).map((function(e){return{id:"text_track_file_".concat(e.id),kind:e.kind,label:e.displayLabel,srclang:e.srclang,src:e.urls.vtt}})):[]),poster:o(this.props.file,this.props.posterImageFile),loop:this.props.loop,muted:this.initiallyMuted,playsInline:this.props.playsInline,alt:this.props.file.alt,onSetup:this.setupMediaTag,onDispose:this.disposeMediaTag});var e,r}}]),r}(B.a.Component);s.contextTypes={mediaContext:B.a.PropTypes.object},s.defaultProps={textTracksEnabled:!0,textTracks:{files:[]}};var l=It(ee({textTracks:Vo({file:Wn("file"),defaultTextTrackFileId:Wn("defaultTextTrackFileId")}),quality:$r({property:"videoQuality"}),hasNativeVideoPlayer:qn("native video player"),hasHighBandwidth:qn("high bandwidth"),textTrackPosition:Oi}),{updateTextTrackSettings:Uo})(s);return l.WrappedComponent=s,l},wi=(mi="slimPlayerControls",function(e){return e.widgetPresence[mi]});function Oi(e,t){var n=t.playerState,r=t.textTrackPosition;return r||(wi(e)?n.controlsHidden?"auto.lazy":"auto.translated":n.controlsHidden?"auto.lazy":"top")}var Ei=bi({tagName:"audio",sources:function(e){return[{type:"audio/ogg",src:"".concat(e.urls.ogg,"?u=1")},{type:"audio/mp4",src:"".concat(e.urls.m4a,"?u=1")},{type:"audio/mp3",src:"".concat(e.urls.mp3,"?u=1")}]},emulateTextTracksDisplay:!0});function _i(e,t){return t&&t.match(/^\/\//)?"".concat(e,":").concat(t):t}function xi(e){var t=Math.round(e/1e3)%60,n=Math.floor(e/1e3/60)%60,r=Math.floor(e/1e3/60/60),o="PT";return r>0&&(o+="".concat(r,"H")),n>0&&(o+="".concat(n,"M")),(t>0||0==n&&0==r)&&(o+="".concat(t,"S")),o}var Pi,ki=It(ee({isEnabled:(Pi="structured_data",function(e){return e.features.indexOf(Pi)>=0})}))((function(e){var t=e.data;return e.isEnabled?React.createElement("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(t)}}):null}));var Si=It(ee({entryPublishedAt:ri("publishedAt")}))((function(e){var t=e.file,n=e.entryPublishedAt,r={"@context":"http://schema.org","@type":"AudioObject",name:t.basename,description:t.alt,url:_i("https",t.urls.mp3),duration:xi(t.durationInMs),datePublished:n,uploadDate:t.createdAt,copyrightHolder:{"@type":"Organization",name:t.rights}};return React.createElement(ki,{data:r})}));function ji(e){return React.createElement(fi,Object.assign({},e,{playerComponent:Ei,structuredDataComponent:Si}))}var Ti=function(e,t,n,r){if(r&&r.height&&t&&"contain"!=t){var o,i,a,u=e.width/e.height;if("width"==(r.width/r.height>u?"width":"height")?(o=(i=r.height)*u,a=r.width/o):(i=(o=r.width)/u,a=r.height/i),!("smart_contain"==t&&a>1.2)){var c=o*a,s=i*a,l=void 0!==n[0]&&"cover"==t?n[0]:50,f=void 0!==n[1]&&"cover"==t?n[1]:50;return{left:(r.width-c)*l/100,top:(r.height-s)*f/100,width:c,height:s}}}};function Ai(e,t){if(e&&t){var n=Math.max(0,-e.left),r=Math.max(0,e.width-t.width+e.left),o=Math.max(0,-e.top),i=Math.max(0,e.height-t.height+e.top);return["cue_offset","cue_offset_".concat(Math.ceil(i/10)),"cue_margin_left_".concat(Math.ceil(n/10)),"cue_margin_right_".concat(Math.ceil(r/10)),"cue_margin_top_".concat(Math.ceil(o/10)),"cue_margin_bottom_".concat(Math.ceil(i/10))].join(" ")}}function Ii(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 Mi(e){return B.a.createElement(Or.a,{whitelist:["width","height"],cloneOptions:{noCloneOnZeroDimension:!0}},(function(t){return function(e,t){var n=Ti(e.videoFile,e.fit,e.position,t);return B.a.createElement("div",{className:"uncropped_media_wrapper"},B.a.createElement("div",{className:Ai(n,t),style:Ni(n)},e.children))}(e,t)}))}function Ni(e){return e&&function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ii(n,!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ii(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({position:"absolute"},e)}var Ci=bi({tagName:"video",sources:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.hasHighBandwidth;if("auto"==(t=t||"auto")){var o=r?"high":"medium",i=[{type:"application/x-mpegURL",src:"".concat(e.urls["hls-playlist"],"?u=1")},{type:"video/mp4",src:"".concat(e.urls[o],"?u=1")}];return e.urls["dash-playlist"]&&(i=[{type:"application/dash+xml",src:"".concat(e.urls["dash-playlist"])}].concat(i)),i}return e.urls[t]||(t="high"),[{type:"video/mp4",src:"".concat(e.urls[t],"?u=1")}]},poster:Li});function Di(e){return B.a.createElement(Mi,{videoFile:e.file,fit:e.fit,position:e.position},B.a.createElement(Ci,{file:e.file,posterImageFile:e.posterImageFile,playerState:e.playerState,playerActions:e.playerActions,atmoDuringPlayback:e.atmoDuringPlayback,defaultTextTrackFileId:e.defaultTextTrackFileId,textTracksEnabled:e.textTracksEnabled,loop:e.loop,muted:e.muted,playsInline:e.playsInline}))}var Ri=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.file,n=e.posterImageFile,r=e.preloadImage,o=Li(t,n);o&&r(o)}},{key:"render",value:function(){return null}}]),t}(B.a.Component);function Li(e,t){var n=re("mobile platform")?"medium":"large";return t?t.urls[n]:e.urls["poster_".concat(n)]}Ri.defaultProps={preloadImage:oe};var Bi=It(ee({entryPublishedAt:ri("publishedAt")}))((function(e){var t=e.file,n=e.entryPublishedAt,r={"@context":"http://schema.org","@type":"VideoObject",name:t.basename,description:t.alt,url:_i("https",t.urls.high),thumbnailUrl:_i("https",t.urls.poster_medium),width:t.width,height:t.height,duration:xi(t.durationInMs),datePublished:n,uploadDate:t.createdAt,copyrightHolder:{"@type":"Organization",name:t.rights}};return React.createElement(ki,{data:r})}));var Fi=It(ee({file:Yt("videoFiles",{id:Wn("videoFileId")}),posterImageFile:Yt("imageFiles",{id:Wn("posterImageFileId")}),muted:function(e,t){return t.muted||Ho(e)}}))((function(e){return React.createElement(fi,Object.assign({},e,{playerComponent:Di,preloadComponent:Ri,structuredDataComponent:Bi}))}));function Ui(e){var t=e.page,n=Y.concat(e.propertyNamePrefix,e.videoPropertyBaseName),r=Y.concat(e.propertyNamePrefix,e.posterImagePropertyBaseName);return React.createElement(Fi,{videoFileId:t["".concat(n,"Id")],posterImageFileId:t["".concat(r,"Id")],playerState:e.playerState,playerActions:e.playerActions,fit:e.fit,position:[t["".concat(n,"X")],t["".concat(n,"Y")]],textTracksEnabled:e.textTracksEnabled,loop:e.loop,muted:e.muted,playsInline:e.playsInline})}Ui.defaultProps={videoPropertyBaseName:"videoFile",posterImagePropertyBaseName:"posterImage",fit:"smart_contain"};var Hi=It(ee({fileExists:Xt()}))((function(e){var t=function(e){return(t=e.propertyNamePrefix,[{propertyBaseName:Y.concat(t,"mobilePosterImage"),collection:"imageFiles"},{propertyBaseName:Y.concat(t,"posterImage"),collection:"imageFiles"},{propertyBaseName:Y.concat(t,"videoFile"),collection:"videoFiles"}]).find((function(t){return e.fileExists(t.collection,e.page["".concat(t.propertyBaseName,"Id")])}));var t}(e);return t?React.createElement(Tn,{page:e.page,propertyBaseName:t.propertyBaseName,fileCollection:t.collection}):React.createElement("noscript",null)}));var Wi=It(ee({fileExists:Xt(),hasMobilePlatform:qn("mobile platform"),hasAutoplaySupport:qn("autoplay support")}))((function(e){return e.hasMobilePlatform&&function(e){var t=Y.concat(e.propertyNamePrefix,"mobilePosterImageId");return e.fileExists("imageFiles",e.page[t])}(e)?React.createElement(Hi,{page:e.page,propertyNamePrefix:e.propertyNamePrefix}):React.createElement(Ui,Object.assign({loop:!0,fit:"cover",muted:!e.hasAutoplaySupport,playsInline:!0,textTracksEnabled:!1},e))}));var qi=It(ee({file:Yt("imageFiles",{id:Wn("fileId")}),entryPublishedAt:ri("publishedAt")}))((function(e){var t=e.file,n=e.entryPublishedAt;if(t){var r={"@context":"http://schema.org","@type":"ImageObject",name:t.basename,description:t.alt,url:_i("https",t.urls.large),width:t.width,height:t.height,datePublished:n,uploadDate:t.createdAt,copyrightHolder:{"@type":"Organization",name:t.rights}};return React.createElement(ki,{data:r})}return null}));var Gi=Sn(ee({page:tn(),playerState:qo({scope:"background"})}),X({playerActions:Go({scope:"background"})}))((function(e){var t=e.page,n=e.playerState,r=e.playerActions,o=e.propertyNamePrefix;return"video"==t[Y.concat(o,"backgroundType")]?React.createElement(Wi,{page:t,playerState:n,playerActions:r,propertyNamePrefix:o}):React.createElement(Tn,{page:t,propertyNamePrefix:o,structuredDataComponent:qi})}));function Vi(e){return React.createElement(W,null,React.createElement(Gi,{propertyNamePrefix:e.propertyNamePrefix}),React.createElement(An,{page:e.page}))}var zi=It(ee({isEntryReady:function(e){return!!e.entry.isReady}}))((function(e){var t=e.page;return e.isEntryReady?"video"==t.backgroundType||"video"==t.type?React.createElement(Yi,{videoId:t.videoFileId,posterImageId:t.posterImageId}):React.createElement(Xi,{imageId:t.backgroundImageId}):null})),Yi=It(ee({videoFile:Yt("videoFiles",{id:Wn("videoId")}),posterImageFile:Yt("imageFiles",{id:Wn("posterImageId")})}))((function(e){var t=e.videoFile,n=e.posterImageFile;return n?React.createElement($i,{file:n}):React.createElement($i,{file:t})})),Xi=Sn(ee({file:Yt("imageFiles",{id:Wn("imageId")}),pageIsPrepared:an()}))($i);function $i(e){var t=e.file;return t&&t.isReady&&an?React.createElement("img",{src:t.urls.print,alt:t.alt,className:"print_image"}):React.createElement("noscript",null)}function Ki(e){return React.createElement("div",{className:"waveform_player_controls-info_box"},function(e){if(!V(e.title))return React.createElement("h3",{className:Qi(e)},e.title)}(e),function(e){if(!V(e.description))return React.createElement("p",{className:"waveform_player_controls-info_box-description",dangerouslySetInnerHTML:{__html:e.description}})}(e))}function Qi(e){var t=!V(e.title)&&!V(e.description);return U()("waveform_player_controls-info_box-title",{"waveform_player_controls-info_box-title-with_separator":t})}var Ji="MEDIA_PAGE_SCROLLER_MARGIN_SET_BOTTOM";var Zi=Sn(null,{setPageScrollerMarginBottom:function(e){return{type:Ji,payload:{value:e},meta:{collectionName:"pages"}}}})((function(e){return React.createElement(Or.a,{whitelist:["height"],onMeasure:function(t){var n=t.height;return e.setPageScrollerMarginBottom(n)}},React.createElement("div",{className:"waveform_player_controls-container"},e.children))}));var ea=cr((function(e){return React.createElement("a",{href:"#",className:ta(e),id:e.id,tabIndex:"4",title:e.title,onClick:na(e)},React.createElement(ar,{name:e.isPlaying?"pause":"play"}))}));function ta(e){return U()("waveform_player_controls-play_button",{"waveform_player_controls-play_button-inverted":e.inverted})}function na(e){return function(t){t.preventDefault(),e.onClick&&e.onClick()}}var ra="rgba(170, 170, 170, 1)",oa="rgba(0, 0, 0, 0.5)",ia="#fff",aa="#888";var ua=Sn(ee({pageIsPrepared:an(),waveformColor:en("waveformColor"),mainColor:function(e){return e.theme.mainColor}}))((function(e){return e.pageIsPrepared&&e.mediaElementId?React.createElement(Or.a,{whitelist:["height"]},(function(t){var n=t.height;return React.createElement("div",{className:"waveform_player_controls-wave"},React.createElement("div",{className:"waveform_player_controls-wave_wrapper"},React.createElement(Ft.a,{mediaElt:"#".concat(e.mediaElementId),options:{normalize:!0,removeMediaElementOnDestroy:!1,hideScrollbar:!0,progressColor:e.waveformColor||e.mainColor,waveColor:e.inverted?oa:ra,cursorColor:e.inverted?aa:ia,height:n}}),React.createElement(ea,{isPlaying:e.isPlaying,title:e.playButtonTitle,inverted:e.inverted,onClick:e.onPlayButtonClick})))})):null}));function ca(e){return React.createElement("div",{className:"waveform_player_controls-times_display"},React.createElement(pr,{value:e.currentTime,className:"waveform_player_controls-times_display-current_time"}),"/",React.createElement(pr,{value:e.duration,className:"waveform_player_controls-times_display-duration"}))}var sa=Sn(ee({inverted:en("invert")}))((function(e){return React.createElement("div",{className:la(e)},React.createElement(Zi,null,React.createElement(ua,{isPlaying:e.isPlaying,inverted:e.inverted,playButtonTitle:e.playButtonTitle,mediaElementId:e.mediaElementId,onPlayButtonClick:e.onPlayButtonClick}),React.createElement(ca,{currentTime:e.currentTime,duration:e.duration}),React.createElement(Ki,e.infoBox)),React.createElement(Nr,{inverted:e.inverted,qualityMenuButtonTitle:e.qualityMenuButtonTitle,qualityMenuItems:e.qualityMenuItems,onQualityMenuItemClick:e.onQualityMenuItemClick,textTracksMenuButtonTitle:e.textTracksMenuButtonTitle,textTracksMenuItems:e.textTracksMenuItems,hiddenOnPhone:!e.isPlaying,onTextTracksMenuItemClick:e.onTextTracksMenuItemClick}))}));function la(e){return U()("waveform_player_controls",{"waveform_player_controls-inverted":e.inverted})}var fa="HOTKEY_SPACE",pa="HOTKEY_TAB";function da(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 ha(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?da(n,!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):da(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var va=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scope,n=void 0===t?"default":t;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(t.meta&&t.meta.mediaScope&&t.meta.mediaScope!==n)return e;switch(t.type){case c:return ha({},e,{hasPlayed:!1,unplayed:!0,infoBoxHiddenDuringPlayback:void 0,userIsIdle:!1});case l:return ha({},e,{shouldPrebuffer:!1});case no:return ha({},e,{shouldPlay:!0,playFailed:!1,hasBeenPlayingJustNow:!0,unplayed:!1,fadeDuration:null,isLoading:!0});case bo:return ha({},e,{shouldPlay:!0,isPlaying:!0});case uo:return ha({},e,{shouldPlay:!1,playFailed:!0,hasBeenPlayingJustNow:!1,unplayed:!0,fadeDuration:null,isLoading:!1});case ro:return ha({},e,{shouldPlay:!0,hasBeenPlayingJustNow:!0,fadeDuration:t.payload.fadeDuration,isLoading:!0});case oo:return ha({},e,{shouldPlay:!1,fadeDuration:null,isLoading:!1});case wo:return e.bufferUnderrun?ha({},e,{isPlaying:!1,hasPlayed:!0}):ha({},e,{shouldPlay:!1,isPlaying:!1,fadeDuration:null,isLoading:!1});case io:return ha({},e,{shouldPlay:!1,fadeDuration:t.payload.fadeDuration,isLoading:!1});case ao:return ha({},e,{volumeFactor:t.payload.volumeFactor,volumeFactorFadeDuration:t.payload.fadeDuration});case fo:return ha({},e,{shouldPrebuffer:!0});case po:return ha({},e,{shouldPrebuffer:!1});case Po:return ha({},e,{isLoading:!0});case vo:return ha({},e,{bufferUnderrun:!0});case go:return ha({},e,{bufferUnderrun:!1});case so:return ha({},e,{scrubbingAt:t.payload.time});case lo:return ha({},e,{shouldSeekTo:t.payload.time});case _o:return ha({},e,{isLoading:!0});case xo:return ha({},e,{scrubbingAt:void 0,isLoading:!1});case yo:return ha({},e,{currentTime:t.payload.currentTime,duration:t.payload.duration});case mo:return ha({},e,{bufferedEnd:t.payload.bufferedEnd});case Oo:return ha({},e,{currentTime:t.payload.currentTime,duration:t.payload.duration,isLoading:!1});case Eo:return ha({},e,{shouldPlay:!1,isPlaying:!1});case ko:return ha({},e,{hasBeenPlayingJustNow:!1});case pa:case So:return ha({},e,{userIsIdle:!1,controlsHidden:!1});case jo:return ha({},e,{userIsIdle:!0});case To:return ha({},e,{userHoveringControls:!0});case Ao:return ha({},e,{userHoveringControls:!1});case Io:return ha({},e,{focusInsideControls:!0});case Mo:return ha({},e,{focusInsideControls:!1});case No:return ha({},e,{controlsHidden:!0,infoBoxHiddenDuringPlayback:!0});case Do:return ha({},e,{infoBoxHiddenDuringPlayback:!0});case Co:return ha({},e,{infoBoxHiddenDuringPlayback:!1});case Ro:return ha({},e,{infoBoxHiddenDuringPlayback:!e.infoBoxHiddenDuringPlayback});case Lo:return ha({},e,{mediaElementId:t.payload.id});case Bo:return ha({},e,{mediaElementId:null});default:return e}}};function ga(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 ya(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ga(n,!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ga(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ma=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Ji:return ya({},e,{bottom:t.payload.value});default:return e}},ba=Oe.a.mark(Oa),wa=Oe.a.mark(Ea);function Oa(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeEvery)([fa,to],Ea,Fo());case 2:case"end":return e.stop()}}),ba)}function Ea(e){var t,n;return Oe.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.play,n=e.pause,r.next=3,Object(Ce.select)(qo());case 3:if(!r.sent.shouldPlay){r.next=9;break}return r.next=7,Object(Ce.put)(n());case 7:r.next=13;break;case 9:return r.next=11,Object(Ce.call)((function(){return pageflow.backgroundMedia.unmute()}));case 11:return r.next=13,Object(Ce.put)(t());case 13:case"end":return r.stop()}}),wa)}var _a=Oe.a.mark(Pa),xa=Oe.a.mark(ka);function Pa(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeEvery)([uo,co],ka);case 2:case"end":return e.stop()}}),_a)}function ka(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.call)((function(){return pageflow.backgroundMedia.mute()}));case 2:case"end":return e.stop()}}),xa)}var Sa="BACKGROUND_MEDIA_MUTE",ja="BACKGROUND_MEDIA_UNMUTE";function Ta(){return{type:ja}}var Aa=Oe.a.mark(Ba),Ia=Oe.a.mark(Fa),Ma=Oe.a.mark(Ua),Na=Oe.a.mark(Ha),Ca=Fo(),Da=Ca.play,Ra=Ca.prebuffer,La=Ca.waiting;function Ba(e){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(De.takeEvery)(u,Oe.a.mark((function t(n){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,[Object(Ce.race)({task:Object(Ce.call)(Ua,e),cancel:Object(Ce.take)(l)}),Object(Ce.race)({task:Object(Ce.call)(Fa,e),cancel:Object(Ce.take)(l)})];case 2:case"end":return t.stop()}}),t)})));case 2:case"end":return t.stop()}}),Aa)}function Fa(e){var t;return Oe.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.t0=e.retryOnUnmute,!n.t0){n.next=5;break}return n.next=4,Object(Ce.select)($o());case 4:n.t0=n.sent;case 5:if(!n.t0){n.next=12;break}return n.next=8,Object(Ce.race)({unmute:Object(Ce.take)(ja),cancel:Object(Ce.take)(l)});case 8:if(t=n.sent,!t.unmute){n.next=12;break}return n.delegateYield(Ua(e),"t1",12);case 12:case"end":return n.stop()}}),Ia)}function Ua(e){var t;return Oe.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.delegateYield(Ha(e),"t0",1);case 1:if(!(t=n.t0)){n.next=5;break}return n.next=5,Object(Ce.put)(La());case 5:return n.next=7,[Object(Ce.take)(po),Object(Ce.put)(Ra())];case 7:if(!t){n.next=12;break}return n.next=10,Object(Ce.call)(De.delay,1e3);case 10:return n.next=12,Object(Ce.put)(Da());case 12:case"end":return n.stop()}}),Ma)}function Ha(e){var t,n,r;return Oe.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return t=e.canAutoplay,n=e.autoplayWhenBackgroundMediaMuted,o.next=3,Object(Ce.select)(Xo({autoplayWhenBackgroundMediaMuted:function(){return n}}));case 3:return r=o.sent,o.abrupt("return",r&&t);case 5:case"end":return o.stop()}}),Na)}var Wa=Oe.a.mark(qa);function qa(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeEvery)(no,Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.select)(rn());case 2:if(!e.sent){e.next=5;break}return e.next=5,Object(Ce.call)(Ga);case 5:case"end":return e.stop()}}),e)})));case 2:return e.next=4,Object(De.takeEvery)([oo,Eo],Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.select)(rn());case 2:if(!e.sent){e.next=5;break}return e.next=5,Object(Ce.call)(Va);case 5:case"end":return e.stop()}}),e)})));case 4:case"end":return e.stop()}}),Wa)}function Ga(){pageflow.events.trigger("scroll_indicator:disable")}function Va(){pageflow.events.trigger("scroll_indicator:enable")}var za=Oe.a.mark(Ya);function Ya(){var e,t;return Oe.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=Fo(),t=e.hasNotBeenPlayingForAMoment,n.next=3,Object(De.takeEvery)([oo,Eo],Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.race)({task:Object(Ce.call)(Oe.a.mark((function e(n){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.call)(De.delay,700);case 2:return e.next=4,Object(Ce.put)(t(!1));case 4:case"end":return e.stop()}}),e)}))),cancel:Object(Ce.take)(bo)});case 2:case"end":return e.stop()}}),e)})));case 3:case"end":return n.stop()}}),za)}var Xa=Oe.a.mark(Ka),$a=Oe.a.mark(Qa);function Ka(){var e,t;return Oe.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=Fo(),t=e.userIdle,n.next=3,Object(De.takeLatest)([no,So,pa],Qa,t);case 3:case"end":return n.stop()}}),Xa)}function Qa(e){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Ce.call)(De.delay,3e3);case 2:return t.next=4,Object(Ce.put)(e());case 4:case"end":return t.stop()}}),$a)}var Ja=Oe.a.mark(Za);function Za(){var e,t,n,r,o=arguments;return Oe.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return e=o.length>0&&void 0!==o[0]?o[0]:{},t=e.scope,n=Fo({scope:t}),r=n.fadeOutAndPause,i.next=4,Object(De.takeEvery)(s,Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.put)(r({fadeDuration:400}));case 2:case"end":return e.stop()}}),e)})));case 4:case"end":return i.stop()}}),Ja)}var eu=Oe.a.mark(tu);function tu(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeEvery)(Eo,Oe.a.mark((function e(){var t,n;return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.select)(en("autoChangePageOnEnded"));case 2:return t=e.sent,e.next=5,Object(Ce.select)(rn());case 5:if(n=e.sent,!t||!n){e.next=9;break}return e.next=9,Object(Ce.call)(nu);case 9:case"end":return e.stop()}}),e)})));case 2:case"end":return e.stop()}}),eu)}function nu(){pageflow.slides.next()}var ru=Oe.a.mark(au);function ou(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 iu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ou(n,!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ou(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function au(){var e,t,n=arguments;return Oe.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:{},t=[Oa(),Pa(),qa()],e.playsInNativePlayer&&e.playsInNativePlayer()||t.push([tu(),Za(),Ya()]),re("mobile platform")||t.push([Ba(iu({},e,{canAutoplay:re("autoplay support")}))]),e.hideControls&&t.push([Ka()]),r.next=7,t;case 7:case"end":return r.stop()}}),ru)}var uu=Oe.a.mark(lu),cu=Oe.a.mark(fu),su=Oe.a.mark(pu);function lu(){var e,t,n,r=arguments;return Oe.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return e=r.length>0&&void 0!==r[0]?r[0]:{},t=e.scope,n=Fo({scope:t}),o.next=4,Object(De.takeEvery)(c,Oe.a.mark((function e(t){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,[Object(Ce.race)({task:[Object(Ce.put)(n.prebuffer()),Object(Ce.call)(fu,n),Object(Ce.call)(pu,n)],cancel:Object(Ce.take)(l)})];case 2:case"end":return e.stop()}}),e)})));case 4:case"end":return o.stop()}}),uu)}function fu(e){var t,n;return Oe.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return e.prebuffer,t=e.changeVolumeFactor,n=e.play,r.next=3,Object(Ce.put)(t(0,{fadeDuration:0}));case 3:return r.next=5,Object(Ce.take)(po);case 5:return r.next=7,Object(Ce.put)(n());case 7:case"end":return r.stop()}}),cu)}function pu(e){var t;return Oe.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.changeVolumeFactor,n.next=3,[Object(Ce.take)(po),Object(Ce.take)(u)];case 3:return n.next=5,Object(Ce.put)(t(1,{fadeDuration:1e3}));case 5:case"end":return n.stop()}}),su)}function du(e){return{reducers:{"media.default":va({scope:"default"}),"media.pageScrollerMargin":ma},saga:Oe.a.mark((function t(){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,au(e);case 2:case"end":return t.stop()}}),t)}))}}var hu={reducers:{"media.background":va({scope:"background"})},saga:Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,[lu({scope:"background"}),Za({scope:"background"}),Pa()];case 2:case"end":return e.stop()}}),e)}))};var vu=function(e){function t(e,n){var r;return j(this,t),(r=N(this,C(t).call(this,e,n))).onPlayButtonClick=function(){pageflow.hideText.activate(),r.props.onEnterBackground&&r.props.onEnterBackground()},r.onCloseButtonClick=function(){pageflow.hideText.deactivate(),r.props.onLeaveBackground&&r.props.onLeaveBackground()},r}return R(t,e),A(t,[{key:"render",value:function(){var e=this.props.page;return B.a.createElement(H,{className:U()({unplayed:!this.props.textHasBeenHidden},"hide_content_with_text")},B.a.createElement(Wr,{onClick:this.onCloseButtonClick}),B.a.createElement(Nr,{additionalButtons:this.props.additionalMenuBarButtons,onAdditionalButtonClick:this.props.onAdditionalButtonClick,qualityMenuButtonTitle:this.props.qualityMenuButtonTitle,qualityMenuItems:this.props.qualityMenuItems,onQualityMenuItemClick:this.props.onQualityMenuItemClick,hiddenOnPhone:this.props.textHasBeenHidden&&!this.props.textIsHidden}),B.a.createElement(W,{pageHasPlayerControls:!0},B.a.createElement("div",{className:"uncropped_media_wrapper"},this.props.children),B.a.createElement(An,{page:e})),B.a.createElement(In,null,B.a.createElement(Br,{playButtonTitle:"Starten",playButtonIconName:this.props.playButtonIconName,controlBarText:e.controlBarText||this.props.defaultControlBarText,onPlayButtonClick:this.onPlayButtonClick,infoBox:{title:e.additionalTitle,description:e.additionalDescription}}),B.a.createElement(Rn,null,B.a.createElement(Bn,{page:e}),B.a.createElement(Fn,{page:e}))))}}]),t}(B.a.Component),gu=Sn(ee({textIsHidden:function(e){return e.hideText.isActive},textHasBeenHidden:function(e){return e.hideText.hasBeenActive}}))(vu),yu="HIDE_TEXT_ACTIVATE",mu="HIDE_TEXT_DEACTIVATE";var bu=Oe.a.mark(wu);function wu(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeEvery)(mu,Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.select)(rn());case 2:if(!e.sent){e.next=5;break}return e.next=5,Object(Ce.call)(Ou);case 5:case"end":return e.stop()}}),e)})));case 2:case"end":return e.stop()}}),bu)}function Ou(){pageflow.events.trigger("scroll_indicator:enable")}var Eu={name:"interactivePageBackground",saga:wu};function _u(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function xu(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 Pu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xu(n,!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xu(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ku=new function(){var e=[];this.register=function(t,n){var r=n.component,o=n.reduxModules,i=void 0===o?[]:o,a=_u(n,["component","reduxModules"]);r||s("Requires component option to be present"),Array.isArray(i)||s("Expected reduxModules option to be an array.");var u=[],c=i.reduce((function(e,t){return"object"==typeof t&&3==new Set(Object.keys(t).concat(["name","reducers","saga"])).size||s("Expected redux module to be object with name, reducers and saga properties at most."),t.reducers&&"object"!=typeof t.reducers&&s("Expected reducers property of ".concat(t.name," reduxModule to be object.")),t.saga&&u.push(t.saga),Pu({},e,{},t.reducers)}),{});function s(e){throw new Error("".concat(e," Check registerPageType call of ").concat(t," page type."))}e.push(Pu({name:t,component:r,reducer:Object.keys(c).length?Object(ae.c)(c):void 0,saga:Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.map((function(e){return e()}));case 2:case"end":return e.stop()}}),e)}))},a))},this.forEach=function(){return e.forEach.apply(e,arguments)},this.reduce=function(){return e.reduce.apply(e,arguments)},this.findByName=function(t){return e.find((function(e){var n=e.name;e.component;return n==t}))}},Su=ku.register;function ju(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 Tu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ju(n,!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ju(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Au=new function(){var e=[];this.register=function(t,n){var r=n.component;e.push({name:t,component:r})},this.findByName=function(t){var n=e.find((function(e){return e.name==t}));if(!n)throw'Widget type with name "'.concat(t,'" not found.');return n},this.forEach=function(){e.forEach.apply(e,arguments)}},Iu=Au.register,Mu=n(172),Nu={muted:!1},Cu=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Nu,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Sa:return{muted:!0};case ja:return{muted:!1};default:return e}};function Du(e){var t=e.t,n=e.muted,r=e.unmute;return n?B.a.createElement("div",{className:"background_media_unmute_button"},B.a.createElement("a",{title:t("pageflow.public.mute_off"),onClick:function(){new pageflow.AudioPlayer([{src:pageflow.assetUrls.unmuteSound,type:"audio/mpeg"}],{codecs:["mp3"]}).play(),r()},href:"#"})):null}var Ru={init:function(e){var t=e.isServerSide,n=e.events,r=e.dispatch;t||(n.on("background_media:mute",(function(e){return r({type:Sa})})),n.on("background_media:unmute",(function(e){return r(Ta())})))},createReducers:function(){return{backgroundMedia:Cu}},createSaga:function(e){var t=e.backgroundMedia;return(Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeEvery)(ja,Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.call)((function(){return t.unmute()}));case 2:case"end":return e.stop()}}),e)})));case 2:case"end":return e.stop()}}),e)})))}};function Lu(e){return e.cookieNotice.visible}function Bu(e){return e.theming.privacy_link_url}var Fu="COOKIE_NOTICE_REQUEST",Uu="COOKIE_NOTICE_DISMISS";function Hu(){return{type:Uu}}function Wu(e){var t=e.isCookieNoticeVisible,n=e.editing,r=e.t,o=e.dismiss;return t||n?B.a.createElement("div",{className:"cookie_notice_bar"},B.a.createElement("div",{className:"cookie_notice_bar-content"},function(e){var t=e.privacyLinkUrl,n=e.t,r=e.locale,o=n("pageflow.public.cookie_notice_html",{privacyLinkUrl:"".concat(t,"?lang=").concat(r)});return B.a.createElement("span",{className:"cookie_notice_bar-text",dangerouslySetInnerHTML:{__html:o}})}(e),B.a.createElement("a",{className:"cookie_notice_bar-dismiss",onClick:o},r("pageflow.public.dismiss_cookie_notice")))):B.a.createElement("noscript",null)}function qu(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 Gu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qu(n,!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qu(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Vu=function(e){var t={dismissed:e.hasBeenDismissed,visible:!1};return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case Fu:return e.dismissed?e:Gu({},e,{visible:!0});case Uu:return{dismissed:!0,visible:!1};default:return e}}},zu={init:function(e){var t=e.isServerSide,n=e.events,r=e.dispatch;t||n.on("cookie_notice:request",(function(){return r({type:Fu})}))},createReducers:function(e){var t=e.cookies;return{cookieNotice:Vu({hasBeenDismissed:t&&t.hasItem("cookie_notice_dismissed")})}},createSaga:function(e){var t=e.widgetsApi,n=e.cookies;return(Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeEvery)(Fu,Oe.a.mark((function e(){var n;return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.select)(Lu);case 2:if(!e.sent){e.next=10;break}return e.next=5,Object(Ce.cps)(Yu,t);case 5:return n=e.sent,e.next=8,Object(Ce.take)(Uu);case 8:return e.next=10,Object(Ce.call)(n);case 10:case"end":return e.stop()}}),e)})));case 2:return e.next=4,Object(De.takeEvery)(Uu,Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.call)((function(){n.setItem("cookie_notice_dismissed",!0)}));case 2:case"end":return e.stop()}}),e)})));case 4:case"end":return e.stop()}}),e)})))}};function Yu(e,t){e.use({name:"cookie_notice_bar_visible",insteadOf:"cookie_notice_bar"},(function(e){return t(null,e)}))}var Xu={createReducers:function(e){var t=e.enabledFeatureNames;return{features:function(){return t}}}},$u="THEMING_INIT";var Ku=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case $u:return t.payload.theming;default:return e}},Qu={init:function(e){var t=e.theming;(0,e.dispatch)(function(e){return{type:$u,payload:{theming:e}}}(t))},createReducers:function(){return{theming:Ku}}},Ju={init:function(e){var t=e.storylines,n=e.dispatch;Ut({collection:t,collectionName:"storylines",dispatch:n,attributes:["id"],includeConfiguration:!0})},createReducers:function(){return{storylines:Te("storylines")}}},Zu={init:function(e){var t=e.chapters,n=e.dispatch;Ut({collection:t,collectionName:"chapters",dispatch:n,attributes:["id","title","position","storyline_id"]})},createReducers:function(){return{chapters:Te("chapters")}}},ec="PAGE_TYPES_INIT";var tc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case ec:return t.payload.pageTypes;default:return e}},nc={createReducers:function(){return{pageTypes:tc}},init:function(e){var t=e.pageTypesSeed;(0,e.dispatch)(function(e){var t=e.pageTypes;return{type:ec,payload:{pageTypes:t}}}({pageTypes:Y.deep(t)}))}},rc="CURRENT_PAGE_CHANGE";var oc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case rc:return t.payload.id;default:return e}},ic=function(e,t){e.on("page:change",(function(e){return t(function(e){var t=e.id;return{type:rc,payload:{id:t}}}({id:e.getPermaId()}))}))},ac={init:function(e){var t=e.isServerSide,n=e.events,r=e.dispatch;t||ic(n,r)},createReducers:function(){return{currentPageId:oc}}},uc={init:function(e){var t=e.files,n=e.dispatch;Object.keys(t).forEach((function(e){Ut({collection:t[e],collectionName:Y(e),dispatch:n,idAttribute:"perma_id",attributes:["id","perma_id","basename","variants","is_ready","parent_file_id","parent_file_model_type","width","height","duration_in_ms","rights","created_at"],includeConfiguration:!0})}))},createReducers:function(e){var t=e.files,n=e.fileUrlTemplates,r=void 0===n?{}:n,o=e.modelTypes,i=void 0===o?{}:o;return r=Y.keys(r),i=Y.keys(i),{files:Object(ae.c)(Object.keys(t).reduce((function(e,t){return e[t=Y(t)]=Te(t,{idAttribute:"permaId"}),e}),{})),fileUrlTemplates:function(e){return r},modelTypes:function(e){return i}}}},cc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case x:return t.payload.settings;default:return e}},sc={init:function(e){var t=e.isServerSide,n=e.settings,r=e.dispatch;t||(r(k({settings:n.toJSON()})),n.on("change",(function(){return r(k({settings:n.toJSON()}))})))},createReducers:function(){return{settings:cc}},createSaga:function(e){var t=e.settings;return(Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeEvery)(P,Oe.a.mark((function e(n){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.call)([t,t.set],n.payload.property,n.payload.value);case 2:case"end":return e.stop()}}),e)})));case 2:case"end":return e.stop()}}),e)})))}};var lc="I18N_INIT";var fc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case lc:return{locale:t.payload.locale};default:return e}},pc={createReducers:function(){return{i18n:fc}},init:function(e){var t=e.locale;(0,e.dispatch)(function(e){var t=e.locale;return{type:lc,payload:{locale:t}}}({locale:t}))}},dc="ENTRY_UPDATE",hc="ENTRY_READY";function vc(e){var t=e.entry;return{type:dc,payload:{entry:t}}}function gc(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 yc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gc(n,!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gc(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var mc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case dc:return yc({},e,{},t.payload.entry);case hc:return yc({},e,{isReady:!0});default:return e}},bc={init:function(e){var t=e.entry,n=e.dispatch,r=e.events;e.isServerSide||r.once("ready",(function(){return n({type:hc})})),Ft.a.Model&&t instanceof Ft.a.Model?function(e){var t=e.entry,n=e.dispatch;wc({entry:t,dispatch:n}),t.configuration.on("change:title",(function(){wc({entry:t,dispatch:n})}))}({entry:t,dispatch:n}):function(e){var t=e.entry;(0,e.dispatch)(vc({entry:{slug:t.slug,title:t.title,publishedAt:t.published_at}}))}({entry:t,dispatch:n})},createReducers:function(){return{entry:mc}}};function wc(e){var t=e.entry;(0,e.dispatch)(vc({entry:{slug:t.get("slug"),title:t.configuration.get("title")||t.get("entry_title"),publishedAt:null}}))}var Oc={init:function(e){var t=e.isServerSide,n=e.window,r=e.getState,o=e.dispatch;t||n.addEventListener("keydown",(function(e){var t=r().currentPageId;32==e.keyCode?o(function(e){var t=e.currentPageId;return _(fa,t)}({currentPageId:t})):9==e.keyCode&&o(function(e){var t=e.currentPageId;return _(pa,t)}({currentPageId:t}))}))}},Ec=function(e,t){e.on("activate",(function(e){return t({type:yu})})),e.on("deactivate",(function(e){return t({type:mu})}))};function _c(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 xc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_c(n,!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_c(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Pc={isActive:!1,hasBeenActive:!1},kc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Pc,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case yu:return{isActive:!0,hasBeenActive:!0};case mu:return xc({},e,{isActive:!1});case rc:return xc({},e,{hasBeenActive:!1});default:return e}},Sc={init:function(e){var t=e.isServerSide,n=e.hideText,r=e.dispatch;t||Ec(n,r)},createReducers:function(){return{hideText:kc}}},jc={init:function(e){var t=e.widgets,n=e.dispatch;Ut({collection:t,collectionName:"widgets",dispatch:n,attributes:["role","type_name","editing"],includeConfiguration:!0})},createReducers:function(){return{widgets:Te("widgets",{idAttribute:"role"})}}};var Tc="WIDGETS_LOAD";var Ac=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Tc:return t.payload.widgets;default:return e}},Ic={init:function(e){var t=e.isServerSide,n=e.events,r=e.widgetsApi,o=e.dispatch;function i(){o(function(e){var t=e.widgets;return{type:Tc,payload:{widgets:t}}}({widgets:{classicPlayerControls:r.isPresent("classic_player_controls"),slimPlayerControls:r.isPresent("slim_player_controls")}}))}t||(n.on("widgets:update",i),i())},createReducers:function(){return{widgetPresence:Ac}}},Mc="THEME_INIT";var Nc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Mc:return t.payload;default:return e}},Cc={createReducers:function(){return{theme:Nc}},init:function(e){var t,n=e.dispatch;if(!e.isServerSide){var r=document.getElementById("theme_probe-main_color");n((t={mainColor:window.getComputedStyle(r)["background-color"]},{type:Mc,payload:t}))}}};function Dc(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}var Rc=function(e){var t=!!e.storylines,n=!e.settings,r=e.seed,o=t?e:r,i={isServerSide:n,locale:r.locale,entry:o.entry,enabledFeatureNames:r.enabled_feature_names,fileUrlTemplates:r.file_url_templates,modelTypes:r.file_model_types,pageTypesSeed:r.page_types,pageTypes:ku,theming:r.theming,files:o.files||{},storylines:o.storylines,chapters:o.chapters,pages:o.pages,widgets:t?e.entry.widgets:r.widgets,cookies:e.cookies,hideText:e.hideText,events:e.events,settings:e.settings,widgetsApi:e.widgets,backgroundMedia:e.backgroundMedia,window:n?null:window},u=Object(Mu.a)([Ru,zu,Xu,pc,Qu,bc,ac,Ju,Zu,kn,uc,sc,Sc,jc,Ic,nc,Oc,Cc],i);return n||(ku.forEach((function(t){return e.pageType.register(t.name,function(e){return _n(wn(e),e.mixin||{})}(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dc(n,!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dc(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{Component:t.component,store:u})))})),Au.forEach((function(t){var n=t.name,r=t.component;return e.widgetTypes.register(n,function(e,t){return{enhance:function(n){Ft.a.render(React.createElement(He,{store:t},React.createElement(e,null)),n[0])}}}(r,u))}))),u},Lc=Nt("pages"),Bc=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"componentWillMount",value:function(){this.store=Rc({seed:this.props.resolverSeed}),this.pageComponent=ku.findByName(this.props.pageType).component}},{key:"render",value:function(e){var t=this.pageComponent;return B.a.createElement(He,{store:this.store},B.a.createElement(Lc,{itemId:this.props.pageId},B.a.createElement(t,null)))}}]),t}(B.a.Component),Fc=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"componentWillMount",value:function(){this.store=Rc({seed:this.props.resolverSeed}),this.widgetComponent=Au.findByName(this.props.widgetTypeName).component}},{key:"render",value:function(e){var t=this.widgetComponent;return B.a.createElement(He,{store:this.store},B.a.createElement(t,null))}}]),t}(B.a.Component),Uc=Nt("pages"),Hc=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"componentWillMount",value:function(){this.store=Rc({seed:this.props.resolverSeed})}},{key:"render",value:function(e){return B.a.createElement(He,{store:this.store},B.a.createElement(Uc,{itemId:this.props.pageId},B.a.createElement(Gi,null)))}}]),t}(B.a.Component);function Wc(e){var t=e.page.audioPlayerControlsVariant;return React.createElement(ci,{className:"audio_page supports_text_position_center",page:e.page,file:e.audioFile,playerState:e.playerState,playerActions:e.playerActions,controlBarText:e.t("pageflow.public.start_audio"),playerControlsComponent:qc(t),dynamicPageScrollerMargin:"waveform"==t,autoplayWhenBackgroundMediaMuted:!1},React.createElement(Gi,null),React.createElement(ji,{file:e.audioFile,playerState:e.playerState,playerActions:e.playerActions,textTrackPosition:Gc(t)}))}function qc(e){return"waveform"==e?sa:Br}function Gc(e){if("waveform"==e)return"top"}function Vc(e){var t=e.page;return React.createElement(H,{className:"supports_text_position_center"},React.createElement(Vi,{page:t}),React.createElement(In,null,React.createElement(Rn,null,React.createElement(Bn,{page:t}),React.createElement(zi,{page:t}),React.createElement(Fn,{page:t}))))}var zc=["auto","4k","fullhd","medium"];function Yc(e){return React.createElement(ci,{className:"video_page supports_text_position_center",page:e.page,file:e.videoFile,qualities:zc,playerState:e.playerState,playerActions:e.playerActions,controlBarText:e.t("pageflow.public.start_video"),autoplayWhenBackgroundMediaMuted:!0},React.createElement(Ui,{page:e.page,playerState:e.playerState,playerActions:e.playerActions}),React.createElement(Hi,{page:e.page}))}var Xc={position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundColor:"#3b5159"},$c=function(e){function t(e){var n;return j(this,t),(n=N(this,C(t).call(this,e))).state={fading:!1,hidden:!1},n}return R(t,e),A(t,[{key:"componentDidMount",value:function(){var e=this;PAGEFLOW_EDITOR?this.setState({hidden:!0}):this.fadeTimeout=setTimeout((function(){pageflow.ready.then((function(){e.setState({fading:!0}),e.hiddenTimeout=setTimeout((function(){e.setState({hidden:!0})}),1e3)}))}),1e3)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.fadeTimeout),clearTimeout(this.hiddenTimeout)}},{key:"render",value:function(){var e=this.props.editing,t=this.state,n=t.hidden,r=t.fading;return e||!n?B.a.createElement("div",{className:U()("loading_spinner",{fade:!e&&r}),onTouchMove:Kc,style:Xc},B.a.createElement("div",{className:"loading_inner"},B.a.createElement("div",{className:"left_circle"}),B.a.createElement("div",{className:"right_circle"}),B.a.createElement("div",{className:"loading_spinner_inner"},B.a.createElement("div",null)))):B.a.createElement("noscript",null)}}]),t}(B.a.Component);function Kc(e){e.preventDefault()}var Qc=function(e){function t(e){var n;return j(this,t),(n=N(this,C(t).call(this,e))).state={hidden:!1,animating:!0},n}return R(t,e),A(t,[{key:"componentDidMount",value:function(){var e=this;PAGEFLOW_EDITOR?this.setState({hidden:!0}):pageflow.delayedStart.waitFor((function(t){e.resolveDelayedStart=t}))}},{key:"hideOrLoop",value:function(e){var t=this;e.target===e.currentTarget&&(PAGEFLOW_EDITOR?(this.setState({animating:!1}),setTimeout((function(){t.setState({animating:!0})}),1e3)):(this.setState({hidden:!0}),this.resolveDelayedStart()))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.hiddenTimeout)}},{key:"render",value:function(){var e=this,t=this.props.editing,n=this.state,r=n.hidden,o=n.animating,i=es(this.props),a=B.a.createElement("div",{className:U()("media_loading_spinner-logo",{"media_loading_spinner-logo-invert":i})});return this.props.removeLogo&&(a=""),t||!r?B.a.createElement("div",{className:U()("media_loading_spinner",{"media_loading_spinner-fade":o},{"media_loading_spinner-invert":i}),onAnimationEnd:function(t){return e.hideOrLoop(t)},onTouchMove:Jc,style:ts(this.props)},a,B.a.createElement("div",{className:"media_loading_spinner-image",style:Zc(this.props)}),this.props.children):B.a.createElement("noscript",null)}}]),t}(B.a.Component);function Jc(e){e.preventDefault()}function Zc(e){var t=e.firstPageBackgroundImageUrl,n=e.backgroundImage,r=e.blurStrength,o=n?n.urls.medium:t;if(o)return{backgroundImage:'url("'.concat(o,'")'),filter:"blur("+r+"px)"}}function es(e){return e.backgroundImage||null!=e.invert?e.invert:e.firstPageInvert}function ts(e){return{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:100,backgroundColor:es(e)?"#fff":"#000"}}var ns=It(ee({editing:Zr({role:"loading_spinner"}),firstPageInvert:Zt("invert"),firstPageBackgroundImageUrl:function(e){var t=e.page,n=e.variant,r=void 0===n?"medium":n;return Z(t,Xt(),(function(e){return e}),(function(e,t,n){if(e){var o=Ht({candidates:Kt({page:e})(n).thumbnailCandidates,page:e,fileExists:t});if(o){var i=Yt(Y(o.collectionName),{id:Wt(e,o)});return"image_files"==o.collectionName?i(n).urls[r]:"video_files"==o.collectionName?i(n).urls["poster_".concat(r)]:void 0}}}))}({variant:"medium",page:Z(Jt,(function(e){return e&&e.attributes}))}),backgroundImage:Yt("imageFiles",{id:Qr("customBackgroundImageId",{role:"loading_spinner"})}),invert:Qr("invert",{role:"loading_spinner"}),removeLogo:Qr("removeLogo",{role:"loading_spinner"}),blurStrength:Qr("blurStrength",{role:"loading_spinner"})}))(Qc);var rs=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.subtitle,r=e.entryTitle,o=es(this.props);return B.a.createElement(ns,null,B.a.createElement("div",{className:U()("media_loading_spinner-titles",{"media_loading_spinner-invert":o})},B.a.createElement("div",{className:"media_loading_spinner-title"},t||r),B.a.createElement("div",{className:"media_loading_spinner-subtitle"},n)))}}]),t}(B.a.Component);var os=n(96),is=n.n(os);function as(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}Su("background_image",{component:Sn(ee({page:tn()}))(Vc),reduxModules:[hu]}),Su("video",{component:Sn(ee({page:tn(),videoFile:Yt("videoFiles",{id:en("videoFileId")}),playerState:qo(),t:Ur}),X({playerActions:Go()}))(Yc),reduxModules:[du({hideControls:!0,autoplayWhenBackgroundMediaMuted:!0,playsInNativePlayer:qn("native video player")})]}),Su("audio",{component:Sn(ee({page:tn(),audioFile:Yt("audioFiles",{id:en("audioFileId")}),playerState:qo(),t:Ur}),X({playerActions:Go()}))(Wc),reduxModules:[du({retryOnUnmute:!0}),hu]}),Iu("cookie_notice_bar",{component:It(ee({isCookieNoticeVisible:Lu,privacyLinkUrl:Bu,editing:Zr({role:"cookie_notice"}),t:Ur,locale:Hr}),{dismiss:Hu})(Wu)}),Iu("unmute_button",{component:It(ee({t:Ur,muted:Ho}),{unmute:Ta})(Du)}),Iu("classic_loading_spinner",{component:It(ee({editing:Zr({role:"loading_spinner"})}))($c)}),Iu("title_loading_spinner",{component:It(ee({firstPageInvert:Zt("invert"),backgroundImage:Yt("imageFiles",{id:Qr("customBackgroundImageId",{role:"loading_spinner"})}),entryTitle:ri("title"),title:Qr("title",{role:"loading_spinner"}),subtitle:Qr("subtitle",{role:"loading_spinner"}),removeLogo:Qr("removeLogo",{role:"loading_spinner"}),invert:Qr("invert",{role:"loading_spinner"})}))(rs)}),Iu("media_loading_spinner",{component:ns}),is.a.events&&is.a.events.on("seed:loaded",(function(){return Rc(is.a)}));t.default={components:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?as(n,!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):as(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({MediaPageBackground:Vi,PageWithInteractiveBackground:gu},o),actions:r,selectors:i,registerPageType:Su,registerPageTypeWithDefaultBackground:function(e,t){Su(e,{component:Gi,selectTargetElement:function(e){return e.find(".page_background_asset")[0]},mixin:Tu({scroller:!0},t),reduxModules:[hu]})},registerWidgetType:Iu,mediaReduxModule:du,mediaPageBackgroundReduxModule:hu,pageWithInteractiveBackgroundReduxModule:Eu,iconMapping:ir,SvgIcon:rr,classNames:U.a,connect:It,connectInPage:Sn,combineReducers:ae.c,combine:X,ServerSidePage:Bc,ServerSideWidget:Fc,ServerSidePageBackgroundAsset:Hc}}]).default;
|
19
|
+
*/Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,u=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,v=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,m=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function O(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case p:case a:case c:case u:case h:return e;default:switch(e=e&&e.$$typeof){case l:case d:case y:case g:case s:return e;default:return t}}case i:return t}}}function E(e){return O(e)===p}t.typeOf=O,t.AsyncMode=f,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=s,t.Element=o,t.ForwardRef=d,t.Fragment=a,t.Lazy=y,t.Memo=g,t.Portal=i,t.Profiler=c,t.StrictMode=u,t.Suspense=h,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===c||e===u||e===h||e===v||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===g||e.$$typeof===s||e.$$typeof===l||e.$$typeof===d||e.$$typeof===m||e.$$typeof===b||e.$$typeof===w)},t.isAsyncMode=function(e){return E(e)||O(e)===f},t.isConcurrentMode=E,t.isContextConsumer=function(e){return O(e)===l},t.isContextProvider=function(e){return O(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return O(e)===d},t.isFragment=function(e){return O(e)===a},t.isLazy=function(e){return O(e)===y},t.isMemo=function(e){return O(e)===g},t.isPortal=function(e){return O(e)===i},t.isProfiler=function(e){return O(e)===c},t.isStrictMode=function(e){return O(e)===u},t.isSuspense=function(e){return O(e)===h}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),a=(l(i),l(n(29))),u=l(n(19)),c=l(n(400)),s=l(n(401));function l(e){return e&&e.__esModule?e:{default:e}}var f=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.measure=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.props.includeMargin,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.props.useClone;if(n.props.shouldMeasure){n._node.parentNode||n._setDOMNode();var r=n.getDimensions(n._node,e,t),o="function"==typeof n.props.children;n._propsToMeasure.some((function(e){if(r[e]!==n._lastDimensions[e])return n.props.onMeasure(r),o&&void 0!==n&&n.setState({dimensions:r}),n._lastDimensions=r,!0}))}},n.state={dimensions:{width:0,height:0,top:0,right:0,bottom:0,left:0}},n._node=null,n._propsToMeasure=n._getPropsToMeasure(e),n._lastDimensions={},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){var e=this;this._setDOMNode(),this.measure(),this.resizeObserver=new c.default((function(){return e.measure()})),this.resizeObserver.observe(this._node)}},{key:"componentWillReceiveProps",value:function(e){e.config;var t=e.whitelist,n=e.blacklist;this.props.whitelist===t&&this.props.blacklist===n||(this._propsToMeasure=this._getPropsToMeasure({whitelist:t,blacklist:n}))}},{key:"componentWillUnmount",value:function(){this.resizeObserver.disconnect(this._node),this._node=null}},{key:"_setDOMNode",value:function(){this._node=u.default.findDOMNode(this)}},{key:"getDimensions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._node,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.includeMargin,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.props.useClone,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.props.cloneOptions;return(0,s.default)(e,r({margin:t,clone:n},o))}},{key:"_getPropsToMeasure",value:function(e){var t=e.whitelist,n=e.blacklist;return t.filter((function(e){return n.indexOf(e)<0}))}},{key:"render",value:function(){var e=this.props.children;return i.Children.only("function"==typeof e?e(this.state.dimensions):e)}}]),t}(i.Component);f.propTypes={whitelist:a.default.array,blacklist:a.default.array,includeMargin:a.default.bool,useClone:a.default.bool,cloneOptions:a.default.object,shouldMeasure:a.default.bool,onMeasure:a.default.func},f.defaultProps={whitelist:["width","height","top","right","bottom","left"],blacklist:[],includeMargin:!0,useClone:!1,cloneOptions:{},shouldMeasure:!0,onMeasure:function(){return null}},t.default=f,e.exports=t.default},function(e,t,n){"use strict";n.r(t),function(e){var n=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return(function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t}())}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),i="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},a=2;var u=20,c=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,l=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,o=0;function u(){n&&(n=!1,e()),r&&s()}function c(){i(u)}function s(){var e=Date.now();if(n){if(e-o<a)return;r=!0}else n=!0,r=!1,setTimeout(c,t);o=e}return s}(this.refresh.bind(this),u)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;c.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),f=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},p=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},d=b(0,0,0,0);function h(e){return parseFloat(e)||0}function v(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+h(e["border-"+n+"-width"])}),0)}function g(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return d;var r=p(e).getComputedStyle(e),o=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=e["padding-"+o];t[o]=h(i)}return t}(r),i=o.left+o.right,a=o.top+o.bottom,u=h(r.width),c=h(r.height);if("border-box"===r.boxSizing&&(Math.round(u+i)!==t&&(u-=v(r,"left","right")+i),Math.round(c+a)!==n&&(c-=v(r,"top","bottom")+a)),!function(e){return e===p(e).document.documentElement}(e)){var s=Math.round(u+i)-t,l=Math.round(c+a)-n;1!==Math.abs(s)&&(u-=s),1!==Math.abs(l)&&(c-=l)}return b(o.left,o.top,u,c)}var y="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof p(e).SVGGraphicsElement}:function(e){return e instanceof p(e).SVGElement&&"function"==typeof e.getBBox};function m(e){return r?y(e)?function(e){var t=e.getBBox();return b(0,0,t.width,t.height)}(e):g(e):d}function b(e,t,n,r){return{x:e,y:t,width:n,height:r}}var w=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=m(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),O=function(e,t){var n,r,o,i,a,u,c,s=(r=(n=t).x,o=n.y,i=n.width,a=n.height,u="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(u.prototype),f(c,{x:r,y:o,width:i,height:a,top:o,right:r+i,bottom:a+o,left:r}),c);f(this,{target:e,contentRect:s})},E=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new w(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new O(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),_="undefined"!=typeof WeakMap?new WeakMap:new n,x=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=l.getInstance(),r=new E(t,n,this);_.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){x.prototype[e]=function(){var t;return(t=_.get(this))[e].apply(t,arguments)}}));var P=void 0!==o.ResizeObserver?o.ResizeObserver:x;t.default=P}.call(this,n(73))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=e.getBoundingClientRect(),r=void 0,a=void 0,u=void 0;if((n.width&&n.height||t.noCloneOnZeroDimension)&&!t.clone)t.margin&&(u=(0,i.default)(getComputedStyle(e)));else{var c=(0,o.default)(e,t);n=c.rect,u=c.margin}t.margin?(r=u.left+n.width+u.right,a=u.top+n.height+u.bottom):(r=n.width,a=n.height);return{width:r,height:a,top:n.top,right:n.right,bottom:n.bottom,left:n.left}};var o=r(n(402)),i=r(n(167));e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r,o,a=e.parentNode,u=document.createElement("div"),c=e.cloneNode(!0),s=getComputedStyle(e);u.style.height=0,u.style.overflow="hidden",c.setAttribute("id",""),c.setAttribute("name",""),(t.display||s&&"none"===s.getPropertyValue("display"))&&(c.style.display=t.display||"block");(t.width||s&&!parseInt(s.getPropertyValue("width")))&&(c.style.width=t.width||"auto");(t.height||s&&!parseInt(s.getPropertyValue("height")))&&(c.style.height=t.height||"auto");return u.appendChild(c),a.appendChild(u),n=c.getBoundingClientRect(),r=c.offsetWidth,o=c.offsetHeight,a.removeChild(u),{rect:{width:r,height:o,top:n.top,right:n.right,bottom:n.bottom,left:n.left},margin:(0,i.default)(s)}};var r,o=n(167),i=(r=o)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,s=[],l=!1,f=-1;function p(){l&&c&&(l=!1,c.length?s=c.concat(s):f=-1,s.length&&d())}function d(){if(!l){var e=u(p);l=!0;for(var t=s.length;t;){for(c=s,s=[];++f<t;)c&&c[f].run();f=-1,t=s.length}c=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function v(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new h(e,t)),1!==s.length||l||u(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"updatePageAttribute",(function(){return O})),n.d(r,"updatePageLink",(function(){return E})),n.d(r,"updateSetting",(function(){return S}));var o={};n.r(o),n.d(o,"PageWrapper",(function(){return H})),n.d(o,"PageBackground",(function(){return W})),n.d(o,"PageBackgroundImage",(function(){return Tn})),n.d(o,"PageShadow",(function(){return An})),n.d(o,"PageForeground",(function(){return In})),n.d(o,"PageContent",(function(){return Ln})),n.d(o,"PageScroller",(function(){return Rn})),n.d(o,"PageHeader",(function(){return Bn})),n.d(o,"PageText",(function(){return Fn})),n.d(o,"PageLink",(function(){return Vn})),n.d(o,"PageThumbnail",(function(){return Kn})),n.d(o,"LazyLoadedPageThumbnail",(function(){return Qn})),n.d(o,"PlayerControls",(function(){return Br})),n.d(o,"CloseButton",(function(){return Wr})),n.d(o,"MenuBar",(function(){return Nr})),n.d(o,"Icon",(function(){return ar})),n.d(o,"editorOnly",(function(){return qr})),n.d(o,"withVisibilityWatching",(function(){return Rr})),n.d(o,"Draggable",(function(){return br.a})),n.d(o,"Measure",(function(){return Or.a}));var i={};n.r(i),n.d(i,"pageAttribute",(function(){return en})),n.d(i,"pageAttributes",(function(){return tn})),n.d(i,"pageIsActive",(function(){return rn})),n.d(i,"pageIsPrepared",(function(){return an})),n.d(i,"currentParentPageAttributes",(function(){return Xr})),n.d(i,"currentParentChapterAttributes",(function(){return Yr})),n.d(i,"t",(function(){return Ur})),n.d(i,"setting",(function(){return $r})),n.d(i,"file",(function(){return Yt})),n.d(i,"prop",(function(){return Wn})),n.d(i,"widgetAttributes",(function(){return Jr})),n.d(i,"editingWidget",(function(){return Zr}));n(173),n(175),n(176),n(177),n(178),n(179),n(180),n(181),n(182),n(183),n(184),n(185),n(186),n(187),n(188),n(189),n(190),n(191),n(192),n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(78),n(202),n(203),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(218),n(219),n(220),n(221),n(223),n(224),n(226),n(227),n(228),n(229),n(230),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(241),n(242),n(243),n(244),n(245),n(246),n(247),n(248),n(249),n(250),n(251),n(252),n(253),n(255),n(256),n(257),n(258),n(259),n(260),n(261),n(262),n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(270),n(271),n(272),n(273),n(274),n(275),n(276),n(277),n(278),n(279),n(280),n(281),n(282),n(283),n(284),n(285),n(286),n(287),n(289),n(290),n(291),n(292),n(295),n(296),n(297),n(298),n(299),n(300),n(301),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(316),n(317),n(156),n(318),n(319),n(320),n(321),n(322),n(323),n(324),n(325),n(326),n(327),n(328),n(329),n(330),n(331),n(332),n(333),n(334),n(335),n(336),n(337),n(338),n(339),n(340),n(341),n(342),n(343),n(345),n(346),n(347),n(348),n(349),n(350),n(351),n(352),n(353),n(354),n(355),n(356),n(357),n(358),n(359),n(360),n(361),n(362),n(363),n(364),n(365),n(366),n(367),n(368),n(369),n(370),n(371),n(372),n(373),n(374),n(375),n(376),n(377),n(378),n(379),n(380),n(381),n(382),n(383),n(384),n(385),n(388),n(163);var a=n(4),u=(n(389),"PAGE_DID_ACTIVATE"),c="PAGE_WILL_ACTIVATE",s="PAGE_DID_DEACTIVATE",l="PAGE_WILL_DEACTIVATE",f="PAGE_DID_PRELOAD",p="PAGE_DID_PREPARE",d="PAGE_SCHEDULE_UNPREPARE",h="PAGE_DID_UNPREPARE",v="PAGE_DID_RESIZE",g="PAGE_ENHANCE",y="PAGE_CLEANUP",m="UPDATE_PAGE_ATTRIBUTE",b="UPDATE_PAGE_LINK";function w(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(h,e)}function O(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.id,n=e.name,r=e.value;return _(m,t,{name:n,value:r})}function E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.pageId,n=e.linkId,r=e.name,o=e.value;return _(b,t,{linkId:n,name:r,value:o})}function _(e,t){return{type:e,meta:{collectionName:"pages",itemId:t},payload:arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}}}var x="SETTINGS_LOAD",P="SETTINGS_UPDATE";function k(e){var t=e.settings;return{type:x,payload:{settings:t}}}function S(e){var t=e.property,n=e.value;return{type:P,payload:{property:t,value:n}}}function j(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function A(e,t,n){return t&&T(e.prototype,t),n&&T(e,n),e}function I(e){return(I="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 M(e){return(M="function"==typeof Symbol&&"symbol"===I(Symbol.iterator)?function(e){return I(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":I(e)})(e)}function N(e,t){return!t||"object"!==M(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D(e,t)}var L=n(0),B=n.n(L),F=n(5),U=n.n(F),H=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){return React.createElement("div",{className:U()("content_and_background",this.props.className)},this.props.children)}}]),t}(L.Component);function W(e){return React.createElement("div",{className:(t=e,n=t.pageHasPlayerControls,U()("page_background",{"page_background-for_page_with_player_controls":n}))},e.children);var t,n}var q=n(168),G=n.n(q);function V(e){return!!G()(e).match(/^\s*$/)}function z(e){return e.replace(/_[a-z]/g,(function(e){return e[1].toUpperCase()}))}z.keys=function(e){return Object.keys(e).reduce((function(t,n){return t[z(n)]=e[n],t}),{})},z.deep=function(e){return Array.isArray(e)?e.map(z.deep):"object"==typeof e&&e?Object.keys(e).reduce((function(t,n){return t[z(n)]=z.deep(e[n]),t}),{}):e},z.concat=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).reduce((function(e,t){return e+t[0].toUpperCase()+t.slice(1)}))};var Y=z,X=function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Object.keys(e).reduce((function(t,r){return"function"==typeof e[r]?t[r]=e[r].apply(e,n):t[r]=e[r],t}),{})}},$=n(59),K=n(119),Q=Symbol("selectorFactory"),J=Symbol("createSelector");function Z(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ne((function(e,n){var r=t.slice(0,-1).map(te),o=t.slice(-1)[0],i=K.createSelector.apply(void 0,Object($.a)(r).concat([o]));if(e===J)return i;if(e)return i(e,n);throw"Missing state argument for selector."}))}function ee(e,t){return ne((function(){return Object(K.createStructuredSelector)(function(e){return Object.keys(e).reduce((function(t,n){return t[n]=te(e[n]),t}),{})}((t=e,Object.keys(t).reduce((function(e,n){return"function"==typeof t[n]?e[n]=t[n]:e[n]=function(){return t[n]},e}),{}))));var t}))}function te(e){return"function"==typeof e&&e[Q]?e(J):e}function ne(e){return e[Q]=!0,e}function re(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pageflow.browser;return t&&t.has(e)}function oe(e){return new Promise((function(t){var n=new Image;n.onload=t,n.onerror=t,n.src=e}))}var ie=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){var e=this;return B.a.createElement("div",{className:this.cssClass(),style:this.style(),ref:function(t){return e.element=t}},this.renderStructuredData())}},{key:"componentDidUpdate",value:function(e){this.props.loaded&&!e.loaded&&function(e){var t=window.getComputedStyle(e).getPropertyValue("background-image");if(t.match(/^url/))oe(t.replace(/^url\(['"]?/,"").replace(/['"]?\)$/,""))}(this.element)}},{key:"cssClass",value:function(){return U()(this.props.className,this.props.loaded?"load_image":null,this.imageCssClass())}},{key:"imageCssClass",value:function(){return["imageFiles"==this.props.fileCollection?"image":"video_poster",this.props.fileId||"none"].join("_")}},{key:"style",value:function(){return{backgroundPosition:"".concat(this.positionCoordinate(0),"% ").concat(this.positionCoordinate(1),"%")}}},{key:"positionCoordinate",value:function(e){var t=this.props.position[e];return void 0===t?50:t}},{key:"renderStructuredData",value:function(){if(this.props.structuredDataComponent){var e=this.props.structuredDataComponent;return B.a.createElement(e,{fileCollection:this.props.fileCollection,fileId:this.props.fileId})}}}]),t}(B.a.Component);ie.defaultProps={position:[50,50],fileCollection:"imageFiles"};var ae=n(17),ue=Object(ae.c)({isPreloaded:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case f:return!0;default:return e}},isPrepared:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case p:case c:return!0;case h:return!1;default:return e}},isActive:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case c:return!0;case l:return!1;default:return e}},isActivated:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case u:return!0;case l:return!1;default:return e}},initialScrollerPosition:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case c:return t.payload.position||"top";case l:return null;default:return e}}});var ce="COLLECTION_RESET",se="COLLECTION_ADD",le="COLLECTION_CHANGE",fe="COLLECTION_REMOVE",pe="COLLECTION_ORDER";function de(e){var t=e.collectionName,n=e.items;return{type:ce,meta:{collectionName:t},payload:{collectionName:t,items:n}}}function he(e){var t=e.collectionName,n=e.attributes,r=e.order;return{type:se,meta:{collectionName:t},payload:{attributes:n,order:r}}}function ve(e){var t=e.collectionName,n=e.attributes;return{type:le,meta:{collectionName:t},payload:{attributes:n}}}function ge(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case se:case le:return t.payload.attributes;default:return e}}function ye(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 me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ye(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var be=function(e){var t={};function n(n){return t[n]=t[n]||Object(ae.c)({attributes:ge,state:Object(ae.c)({custom:e[n]||function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e},common:ue})}),t[n]}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,o=ge(e.attributes,t);return n(o.type)(r(e,e.attributes,o),t)};function r(e,t,n){return t&&t.type!==n.type?me({},e,{state:me({},e.state,{custom:void 0})}):e}},we=n(2),Oe=n.n(we),Ee=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.namespace;return function(t){if(n){if(!t[n])throw new Error("Cannot select from unknown namespace ".concat(n,"."));t=t[n]}return t[e].items||{}}};function _e(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 xe(e,t,n){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,Object(a.a)({},Pe(t),n))}function Pe(e){return"__".concat(e,"_connectedId")}var ke=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.namespace;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.id;return function(t,o){var i=r,a=t;if(n){if(!t[n])throw new Error("Cannot select from unknown namespace ".concat(n,"."));a=t[n]}if(!a[e])throw new Error("Cannot select from unknown collection ".concat(e,"."));return"function"==typeof r&&(i=r(t,o)),(i=i||t[Pe(e)])?a[e].items[i]:null}}};function Se(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 je(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Se(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Se(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Te=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.idAttribute,r=void 0===n?"id":n,o=t.itemReducer,i=void 0===o?ge:o,u={order:[],items:{}};return function(){var t,n,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,c=arguments.length>1?arguments[1]:void 0;if(!c.meta||c.meta.collectionName!=e)return o;switch(c.type){case ce:return{order:c.payload.items.map((function(e){return e[r]})),items:c.payload.items.reduce((function(e,t){return e[t[r]]=i(void 0,he({collectioName:c.payload.collectioName,attributes:t})),e}),{})};case se:return{order:c.payload.order,items:je({},o.items,Object(a.a)({},c.payload.attributes[r],i(void 0,c)))};case le:return n=c.payload.attributes[r],{order:o.order,items:je({},o.items,Object(a.a)({},n,i(o.items[n],c)))};case fe:return n=c.payload.attributes[r],delete(t=je({},o.items))[n],{order:c.payload.order,items:t};case pe:return{items:o.items,order:c.payload.order};default:if(c.meta.itemId){var s=o.items[c.meta.itemId],l=i(s,c);if(l!==s)return{order:o.order,items:je({},o.items,Object(a.a)({},c.meta.itemId,l))}}return o}}};function Ae(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 Ie(e,t,n){e.meta&&e.meta.collectionName==t&&!e.meta.itemId&&(e.meta=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e.meta,{itemId:n}))}function Me(e,t){return e.meta&&e.meta.collectionName==t}function Ne(e){return e.meta&&e.meta.itemId}var Ce=n(3),De=n(7);function Re(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Le=n(29),Be=n.n(Le),Fe=Be.a.shape({trySubscribe:Be.a.func.isRequired,tryUnsubscribe:Be.a.func.isRequired,notifyNestedSubs:Be.a.func.isRequired,isSubscribed:Be.a.func.isRequired}),Ue=Be.a.shape({subscribe:Be.a.func.isRequired,dispatch:Be.a.func.isRequired,getState:Be.a.func.isRequired});B.a.forwardRef;var He=function(e){var t;void 0===e&&(e="store");var n=e+"Subscription",r=function(t){Re(o,t);var r=o.prototype;function o(n,r){var o;return(o=t.call(this,n,r)||this)[e]=n.store,o}return r.getChildContext=function(){var t;return(t={})[e]=this[e],t[n]=null,t},r.render=function(){return L.Children.only(this.props.children)},o}(L.Component);return r.propTypes={store:Ue.isRequired,children:Be.a.element.isRequired},r.childContextTypes=((t={})[e]=Ue.isRequired,t[n]=Fe,t),r}();function We(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qe(){return(qe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ge(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var Ve=n(171),ze=n.n(Ve),Ye=n(95),Xe=n.n(Ye),$e=n(118),Ke=null,Qe={notify:function(){}};var Je=function(){function e(e,t,n){this.store=e,this.parentSub=t,this.onStateChange=n,this.unsubscribe=null,this.listeners=Qe}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=function(){var e=[],t=[];return{clear:function(){t=Ke,e=Ke},notify:function(){for(var n=e=t,r=0;r<n.length;r++)n[r]()},get:function(){return t},subscribe:function(n){var r=!0;return t===e&&(t=e.slice()),t.push(n),function(){r&&e!==Ke&&(r=!1,t===e&&(t=e.slice()),t.splice(t.indexOf(n),1))}}}}())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=Qe)},e}(),Ze=void 0!==B.a.forwardRef,et=0,tt={};function nt(){}function rt(e,t){var n,r;void 0===t&&(t={});var o=t,i=o.getDisplayName,a=void 0===i?function(e){return"ConnectAdvanced("+e+")"}:i,u=o.methodName,c=void 0===u?"connectAdvanced":u,s=o.renderCountProp,l=void 0===s?void 0:s,f=o.shouldHandleStateChanges,p=void 0===f||f,d=o.storeKey,h=void 0===d?"store":d,v=o.withRef,g=void 0!==v&&v,y=Ge(o,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),m=h+"Subscription",b=et++,w=((n={})[h]=Ue,n[m]=Fe,n),O=((r={})[m]=Fe,r);return function(t){Xe()(Object($e.isValidElementType)(t),"You must pass a component to the function returned by "+c+". Instead received "+JSON.stringify(t));var n=t.displayName||t.name||"Component",r=a(n),o=qe({},y,{getDisplayName:a,methodName:c,renderCountProp:l,shouldHandleStateChanges:p,storeKey:h,withRef:g,displayName:r,wrappedComponentName:n,WrappedComponent:t}),i=function(n){function i(e,t){var o;return(o=n.call(this,e,t)||this).version=b,o.state={},o.renderCount=0,o.store=e[h]||t[h],o.propsMode=Boolean(e[h]),o.setWrappedInstance=o.setWrappedInstance.bind(We(We(o))),Xe()(o.store,'Could not find "'+h+'" in either the context or props of "'+r+'". Either wrap the root component in a <Provider>, or explicitly pass "'+h+'" as a prop to "'+r+'".'),o.initSelector(),o.initSubscription(),o}Re(i,n);var a=i.prototype;return a.getChildContext=function(){var e,t=this.propsMode?null:this.subscription;return(e={})[m]=t||this.context[m],e},a.componentDidMount=function(){p&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},a.componentWillReceiveProps=function(e){this.selector.run(e)},a.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},a.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=nt,this.store=null,this.selector.run=nt,this.selector.shouldComponentUpdate=!1},a.getWrappedInstance=function(){return Xe()(g,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+c+"() call."),this.wrappedInstance},a.setWrappedInstance=function(e){this.wrappedInstance=e},a.initSelector=function(){var t=e(this.store.dispatch,o);this.selector=function(e,t){var n={run:function(r){try{var o=e(t.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(e){n.shouldComponentUpdate=!0,n.error=e}}};return n}(t,this.store),this.selector.run(this.props)},a.initSubscription=function(){if(p){var e=(this.propsMode?this.props:this.context)[m];this.subscription=new Je(this.store,e,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},a.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(tt)):this.notifyNestedSubs()},a.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},a.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},a.addExtraProps=function(e){if(!(g||l||this.propsMode&&this.subscription))return e;var t=qe({},e);return g&&(t.ref=this.setWrappedInstance),l&&(t[l]=this.renderCount++),this.propsMode&&this.subscription&&(t[m]=this.subscription),t},a.render=function(){var e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return Object(L.createElement)(t,this.addExtraProps(e.props))},i}(L.Component);return Ze&&(i.prototype.UNSAFE_componentWillReceiveProps=i.prototype.componentWillReceiveProps,delete i.prototype.componentWillReceiveProps),i.WrappedComponent=t,i.displayName=r,i.childContextTypes=O,i.contextTypes=w,i.propTypes=w,ze()(i,t)}}var ot=Object.prototype.hasOwnProperty;function it(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function at(e,t){if(it(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!ot.call(t,n[o])||!it(e[n[o]],t[n[o]]))return!1;return!0}function ut(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function ct(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function st(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=ct(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=ct(o),o=r(t,n)),o},r}}var lt=[function(e){return"function"==typeof e?st(e):void 0},function(e){return e?void 0:ut((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?ut((function(t){return Object(ae.b)(e,t)})):void 0}];var ft=[function(e){return"function"==typeof e?st(e):void 0},function(e){return e?void 0:ut((function(){return{}}))}];function pt(e,t,n){return qe({},n,e,t)}var dt=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,a=!1;return function(t,n,u){var c=e(t,n,u);return a?o&&i(c,r)||(r=c):(a=!0,r=c),r}}}(e):void 0},function(e){return e?void 0:function(){return pt}}];function ht(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function vt(e,t,n,r,o){var i,a,u,c,s,l=o.areStatesEqual,f=o.areOwnPropsEqual,p=o.areStatePropsEqual,d=!1;function h(o,d){var h,v,g=!f(d,a),y=!l(o,i);return i=o,a=d,g&&y?(u=e(i,a),t.dependsOnOwnProps&&(c=t(r,a)),s=n(u,c,a)):g?(e.dependsOnOwnProps&&(u=e(i,a)),t.dependsOnOwnProps&&(c=t(r,a)),s=n(u,c,a)):y?(h=e(i,a),v=!p(h,u),u=h,v&&(s=n(u,c,a)),s):s}return function(o,l){return d?h(o,l):(u=e(i=o,a=l),c=t(r,a),s=n(u,c,a),d=!0,s)}}function gt(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,o=t.initMergeProps,i=Ge(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,i),u=r(e,i),c=o(e,i);return(i.pure?vt:ht)(a,u,c,e,i)}function yt(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function mt(e,t){return e===t}var bt,wt,Ot,Et,_t,xt,Pt,kt,St,jt,Tt,At,It=(Ot=(wt=void 0===bt?{}:bt).connectHOC,Et=void 0===Ot?rt:Ot,_t=wt.mapStateToPropsFactories,xt=void 0===_t?ft:_t,Pt=wt.mapDispatchToPropsFactories,kt=void 0===Pt?lt:Pt,St=wt.mergePropsFactories,jt=void 0===St?dt:St,Tt=wt.selectorFactory,At=void 0===Tt?gt:Tt,function(e,t,n,r){void 0===r&&(r={});var o=r,i=o.pure,a=void 0===i||i,u=o.areStatesEqual,c=void 0===u?mt:u,s=o.areOwnPropsEqual,l=void 0===s?at:s,f=o.areStatePropsEqual,p=void 0===f?at:f,d=o.areMergedPropsEqual,h=void 0===d?at:d,v=Ge(o,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),g=yt(e,xt,"mapStateToProps"),y=yt(t,kt,"mapDispatchToProps"),m=yt(n,jt,"mergeProps");return Et(At,qe({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:g,initMapDispatchToProps:y,initMergeProps:m,pure:a,areStatesEqual:c,areOwnPropsEqual:l,areStatePropsEqual:p,areMergedPropsEqual:h},v))});function Mt(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}var Nt=function(e){var t=function(t){function n(){return j(this,n),N(this,C(n).apply(this,arguments))}return R(n,t),A(n,[{key:"getChildContext",value:function(){return Object(a.a)({},Pe(e),this.props.itemId)}},{key:"render",value:function(){return this.props.children}}]),n}(B.a.Component);return t.childContextTypes=Object(a.a)({},Pe(e),B.a.PropTypes.number),t};function Ct(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}var Dt=function(e,t,n){var r=Y.deep(e.reduce((function(e,n){if("object"==typeof n){var r=Object.keys(n)[0],o=n[r];e[r]=t[o]}else e[n]=t[n];return e}),{}));return n?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ct(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ct(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},r,{},Y.deep(n)):r},Rt=function(e){var t=e.collection,n=e.dispatch,r=e.collectionName,o=e.idAttribute,i=void 0===o?"id":o,a=e.attributes,u=void 0===a?["id"]:a,c=e.includeConfiguration,s=void 0!==c&&c;n(de({collectionName:r,items:t.map(f)})),t.on("add",(function(e){e.isNew()||n(he({collectionName:r,attributes:f(e)}))})),t.on("change:id",(function(e){n(he({collectionName:r,attributes:f(e),order:t.pluck(i)}))})),t.on("change",(function(e){(function(e){return l.some((function(t){return e.hasChanged(t)}))})(e)&&n(ve({collectionName:r,attributes:f(e)}))})),s&&t.on("change:configuration",(function(e){n(ve({collectionName:r,attributes:f(e)}))})),t.on("remove",(function(e){setTimeout((function(){n(function(e){var t=e.collectionName,n=e.attributes,r=e.order;return{type:fe,meta:{collectionName:t},payload:{attributes:n,order:r}}}({collectionName:r,attributes:f(e),order:t.pluck(i)}))}),0)})),t.on("sort",(function(){n(function(e){var t=e.collectionName,n=e.order;return{type:pe,meta:{collectionName:t},payload:{order:n}}}({collectionName:r,order:t.pluck(i)}))}));var l=u.map((function(e){return"object"==typeof e?function(e){return e[Object.keys(e)[0]]}(e):e}));function f(e){return Dt(u,e.attributes,s&&e.configuration.attributes)}},Lt=function(e){var t=e.collection,n=e.collectionName,r=e.dispatch,o=e.attributes,i=void 0===o?["id"]:o,a=e.includeConfiguration,u=void 0!==a&&a;r(de({collectionName:n,items:t.map((function(e){return Dt(i,e,u&&e.configuration)}))}))},Bt=n(19),Ft=n.n(Bt),Ut=function(e){var t=e.collection,n=e.collectionName,r=e.dispatch,o=e.idAttribute,i=e.attributes,a=e.includeConfiguration;(Ft.a.Collection&&t instanceof Ft.a.Collection?Rt:Lt)({collection:t,collectionName:n,dispatch:r,idAttribute:o,attributes:i,includeConfiguration:a})};function Ht(e){var t=e.candidates,n=e.page,r=e.fileExists;return t.find((function(e){if(e.condition&&!function(e,t){var n=t[Y(e.attribute)];return e.negated?n!=e.value:n==e.value}(e.condition,n))return!1;var t=Wt(n,e);return r(Y(e.collectionName),t)}))}function Wt(e,t){return"id"in t?t.id:e[Y(t.attribute)]}function qt(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}var Gt=function(e,t,n){if(!t)return null;if(!n[e])throw new Error("No file url templates found for ".concat(e));return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qt(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({urls:(t.variants||Object.keys(n[e])).reduce((function(r,o){var i=function(e,t,n,r){var o=r[e][n];if(o)return o.replace(":id_partition",(i=t.id,function(e,t){return e.replace(/./g,(function(e,t,n){return t&&(n.length-t)%3==0?"/"+e:e}))}((a=i,u=9,(Array(u).fill(0).join("")+a).slice(-u))))).replace(":basename",t.basename);var i,a,u}(e,t,o,n);return i&&(r[o]=i),r}),{})},t)};function Vt(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}var zt=function(e,t,n){if(!t)return null;if(!n[e])throw new Error("Could not find model type for collection name ".concat(e));return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vt(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{collectionName:e,modelType:n[e]})};function Yt(e,t){return Z(ke(e,{namespace:"files"})(t),(function(e){return e.fileUrlTemplates}),(function(e){return e.modelTypes}),(function(t,n,r){return $t(e,t,n,r)}))}function Xt(){return Z((function(e){return e.files}),(function(e){return function(t,n){return n&&!!ke(t)({id:n})(e)}}))}function $t(e,t,n,r){return zt(e,Gt(e,t,n),r)}function Kt(e){var t=e.page;return function(e,n){var r="function"==typeof t?t(n):t;return r?e.pageTypes[Y(r.type)]:null}}var Qt=ke("pages"),Jt=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).namespace;return function(n){if(t){if(!n[t])throw new Error("Cannot select from unknown namespace ".concat(t,"."));n=n[t]}var r=n[e];return r.items[r.order[0]]}}("pages");function Zt(e){return Z(Jt,(function(t){return t&&t.attributes[e]}))}function en(e,t){return Z(Qt(t),(function(t){return t&&t.attributes[e]}))}function tn(e){return Z(Qt(e),(function(e){return e&&e.attributes}))}function nn(e,t){return Z(Qt(t),(function(t){return t&&t.state.custom[e]}))}function rn(e){return un("isActive",e)}function on(e){return un("isPreloaded",e)}function an(e){return un("isPrepared",e)}function un(e,t){return Z(Qt(t),(function(t){return t&&t.state.common[e]}))}var cn=Oe.a.mark(ln),sn=Oe.a.mark(fn);function ln(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeLatest)([d,p,c],fn);case 2:case"end":return e.stop()}}),cn)}function fn(e){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.type!=d){t.next=5;break}return t.next=3,Object(Ce.call)(De.delay,5e3);case 3:return t.next=5,Object(Ce.put)(w());case 5:case"end":return t.stop()}}),sn)}var pn=Oe.a.mark(dn);function dn(e){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e instanceof Ft.a.Collection){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,Object(De.takeEvery)(m,Oe.a.mark((function t(n){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Ce.call)(vn,{pagesCollection:e,id:Ne(n),name:n.payload.name,value:n.payload.value});case 2:case"end":return t.stop()}}),t)})));case 4:return t.next=6,Object(De.takeEvery)(b,Oe.a.mark((function t(n){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Ce.call)(hn,{pagesCollection:e,pageId:Ne(n),linkId:n.payload.linkId,name:n.payload.name,value:n.payload.value});case 2:case"end":return t.stop()}}),t)})));case 6:case"end":return t.stop()}}),pn)}function hn(e){var t=e.pagesCollection,n=e.pageId,r=e.linkId,o=e.name,i=e.value,a=gn(t,n).pageLinks().get(r);if(!a)throw new Error("Could not find page link with id ".concat(r," in page with perma id ").concat(n,"."));a.set(o,i)}function vn(e){var t=e.pagesCollection,n=e.id,r=e.name,o=e.value;gn(t,n).configuration.set(r,o)}function gn(e,t){var n=e.where({perma_id:t})[0];if(!n)throw new Error("Could not find page with perma id ".concat(t,"."));return n}var yn=function(e){var t=e.pages,n=e.pageTypeSagas;return(Oe.a.mark((function e(){var r;return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(ln(),"t0",1);case 1:return e.delegateYield(dn(t),"t1",2);case 2:return e.next=4,Object(De.takeEvery)(g,Oe.a.mark((function e(){var t,o;return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.select)(en("type"));case 2:if(t=e.sent,!(o=n[t])){e.next=8;break}return e.next=7,Object(Ce.fork)(o);case 7:r=e.sent;case 8:case"end":return e.stop()}}),e)})));case 4:return e.next=6,Object(De.takeEvery)(y,Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!r){e.next=3;break}return e.next=3,Object(Ce.cancel)(r);case 3:case"end":return e.stop()}}),e)})));case 6:case"end":return e.stop()}}),e)})))},mn=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"getChildContext",value:function(){return{mediaContext:this.props.mediaContext}}},{key:"render",value:function(){return this.props.children}}]),t}(B.a.Component);mn.childContextTypes={mediaContext:B.a.PropTypes.object};var bn=Nt("pages"),wn=function(e){var t=e.Component,n=e.store,r=e.selectTargetElement,o=void 0===r?function(e){return e[0]}:r;return{scroller:!1,enhance:function(e,r){Ft.a.render(B.a.createElement(He,{store:n},B.a.createElement(bn,{itemId:On(e)},B.a.createElement(mn,{mediaContext:{page:e.page("instance")}},B.a.createElement(t,null)))),o(e)),n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(g,e)}({id:On(e)}))},preload:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(f,e)}({id:On(e)}))},prepare:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(p,e)}({id:On(e)}))},unprepare:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(d,e)}({id:On(e)}))},activating:function(e,t,r){n.dispatch(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.id,n=e.position;return _(c,t,{position:n})}({id:On(e),position:r.position}))},activated:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(u,e)}({id:On(e)}))},deactivating:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(l,e)}({id:On(e)}))},deactivated:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(s,e)}({id:On(e)}))},resize:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(v,e)}({id:On(e)}))},update:function(e,t){pageflow.commonPageCssClasses.updateCommonPageCssClasses(e,t)},cleanup:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return _(y,e)}({id:On(e)})),Ft.a.unmountComponentAtNode(e[0])}}};function On(e){return parseInt(e.attr("id"),10)}function En(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 _n(e,t){return Object.keys(t).reduce((function(n,r){return"function"==typeof e[r]?n[r]=function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return e[r].apply(this,o),t[r].apply(this,o)}:n[r]=t[r],n}),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?En(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):En(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e))}var xn,Pn,kn={init:function(e){var t=e.pages,n=e.dispatch;Ut({collection:t,collectionName:"pages",dispatch:n,idAttribute:"perma_id",attributes:["perma_id",{type:"template"},"chapter_id"],includeConfiguration:!0})},createReducers:function(e){var t=e.pageTypes,n=(void 0===t?[]:t).reduce((function(e,t){var n=t.name,r=t.reducer;return e[n]=r,e}),{});return{pages:Te("pages",{idAttribute:"permaId",itemReducer:be(n)})}},createMiddleware:function(){return function e(t){var n,r=t.getState,o=t.dispatch,i=(n=[],{subscribe:function(e){return n.push(e),function(){return function(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)}(n,e)}},emit:function(e){for(var t=n.slice(),r=0,o=t.length;r<o;r++)t[r](e)}});return e.getState=r,e.dispatch=o,e.subscribe=i.subscribe,function(e){return function(t){var n=e(t);return i.emit(t),n}}}},createSaga:function(e){var t=e.pages,n=e.pageTypes,r=void 0===n?[]:n,o=e.middleware,i=r.reduce((function(e,t){var n=t.name,r=t.saga;return e[n]=r,e}),{});return function(e,t){var n=Oe.a.mark(l),r=Oe.a.mark(f),o=Oe.a.mark(p),i=Oe.a.mark(d),a=Oe.a.mark(h),u=t.itemSaga,c=t.middleware,s=Ee(e);return l;function l(){var e;return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e={},t.next=3,Object(De.takeEvery)([ce,se,fe],f,e);case 3:case"end":return t.stop()}}),n)}function f(e){var t;return Oe.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(Ce.select)(s);case 2:return t=n.sent,n.delegateYield(p(t,e),"t0",4);case 4:return n.delegateYield(d(t,e),"t1",5);case 5:case"end":return n.stop()}}),r)}function p(e,t){return Oe.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object.keys(t).map((function(n){if(!(n in e))return Object(Ce.cancel)(t[n])}));case 2:case"end":return n.stop()}}),o)}function d(e,t){var n;return Oe.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,Object.keys(e).map((function(e){if(!t[e])return Object(Ce.fork)(h,parseInt(e,10))}));case 2:n=r.sent,Object.keys(e).forEach((function(e,r){t[e]||(t[e]=n[r])}));case 4:case"end":return r.stop()}}),i)}function h(t){var n;return Oe.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=Object(De.runSaga)(u(),{subscribe:function(n){return c.subscribe((function(r){Me(r,e)&&Ne(r)!=t||n(r)}))},dispatch:function(n){Ie(n,e,t),c.dispatch(n)},getState:function(){return xe(c.getState(),e,t)}}),r.prev=1,r.next=4,Object(Ce.call)((function(){return n.done}));case 4:return r.prev=4,n.cancel(),r.finish(4);case 7:case"end":return r.stop()}}),a,null,[[1,,4,7]])}}("pages",{itemSaga:yn({pages:t,pageTypeSagas:i}),middleware:o})}},Sn=(Pn=Pe(xn="pages"),function(e,t,n){var r=It(e?function(t,n){var r=e(xe(t,xn,n[Pn]),n);return"function"==typeof r?function(e,t){return r(xe(e,xn,t[Pn]),t)}:r}:null,t?function(e,n){var r=function(t){return Ie(t,xn,n[Pn]),e(t)};return"function"==typeof t?t(r,n):Object(ae.b)(t,r)}:null,n);return function(e){var t=r(e),n=function(e){function n(){return j(this,n),N(this,C(n).apply(this,arguments))}return R(n,e),A(n,[{key:"render",value:function(){var e=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mt(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.props,Object(a.a)({},Pn,this.context[Pn]));return B.a.createElement(t,e)}}]),n}(B.a.Component);return n.contextTypes=Object(a.a)({},Pn,B.a.PropTypes.number),n}});var jn=Sn(ee({loaded:on()}))(ie),Tn=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){var e=this.props.page,t=Y.concat(this.props.propertyNamePrefix,this.props.propertyBaseName);return B.a.createElement(jn,{fileId:e["".concat(t,"Id")],fileCollection:this.props.fileCollection,position:[e["".concat(t,"X")],e["".concat(t,"Y")]],className:"background background_image",structuredDataComponent:this.props.structuredDataComponent})}}]),t}(B.a.Component);Tn.defaultProps={propertyBaseName:"backgroundImage"};var An=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){return B.a.createElement("div",{className:"shadow_wrapper"},B.a.createElement("div",{className:U()("shadow",this.props.className),style:this.style()}))}},{key:"style",value:function(){if("gradientOpacity"in this.props.page)return{opacity:this.props.page.gradientOpacity/100}}}]),t}(B.a.Component),In=function(e){return B.a.createElement("div",{className:"content",onTouchStart:e.onInteraction,onMouseMove:e.onInteraction},e.children)},Mn=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){var e=this;return React.createElement("div",{className:"scroller-wrapper",ref:function(t){return e.wrapperElement=t}},React.createElement("div",{ref:function(t){return e.scrollerElement=t},className:U()("scroller",this.props.className),style:this.props.style},React.createElement("div",null,this.props.children)))}},{key:"componentDidMount",value:function(){if("undefined"!=typeof jQuery){var e=jQuery(this.scrollerElement);e.scroller({eventListenerTarget:this.wrapperElement}),this.scroller=e.scroller("instance")}}},{key:"componentDidUpdate",value:function(){this.scroller.refresh()}},{key:"enable",value:function(){this.scroller.enable(),this.scroller.afterAnimationHook()}},{key:"disable",value:function(){this.scroller.disable()}},{key:"resetPosition",value:function(e){this.scroller.resetPosition(e)}}]),t}(L.Component),Nn=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"componentWillReceiveProps",value:function(e){!this.props.enabled&&e.enabled?this.refs.scroller.enable():this.props.enabled&&!e.enabled&&this.refs.scroller.disable(),this.props.initialScrollerPosition!==e.initialScrollerPosition&&e.initialScrollerPosition&&this.refs.scroller.resetPosition({position:e.initialScrollerPosition})}},{key:"getChildContext",value:function(){var e=this;return this._pageScroller=this._pageScroller||{disable:function(){e.refs.scroller.disable()},enable:function(){e.refs.scroller.enable()}},{pageScroller:this._pageScroller}}},{key:"render",value:function(){return B.a.createElement(Mn,{ref:"scroller",className:(e=this.props,U()(e.className,{"scroller-clipped_bottom":!!e.marginBottom})),style:Cn(this.props)},B.a.createElement("div",{className:"content_wrapper"},this.props.children));var e}}]),t}(B.a.Component);function Cn(e){if(e.marginBottom)return{bottom:e.marginBottom}}Nn.childContextTypes={pageScroller:B.a.PropTypes.object};var Dn,Rn=Sn(ee({enabled:un("isActivated",Dn),initialScrollerPosition:function(e){return un("initialScrollerPosition",e)}()}))(Nn),Ln=function(e){return React.createElement(In,null,React.createElement(Rn,null,e.children))},Bn=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){return B.a.createElement("h3",{className:"page_header"},B.a.createElement("span",{className:"page_header-tagline"},this.props.page.tagline),B.a.createElement("span",{className:"page_header-title"},this.props.page.title),B.a.createElement("span",{className:"page_header-subtitle"},this.props.page.subtitle))}}]),t}(B.a.Component);function Fn(e){return B.a.createElement("div",{className:Un(e)},B.a.createElement("div",{className:"paragraph",dangerouslySetInnerHTML:Hn(e)}),e.children)}function Un(e){return U()("page_text",Object(a.a)({},"page_text-margin_".concat(e.marginBottom),e.marginBottom!=Fn.defaultProps.marginBottom))}function Hn(e){return{__html:e.page.text}}function Wn(e){return function(t,n){var r=e.split(".");if(!(r[0]in n))throw new Error("Missing required prop ".concat(r[0],"."));return r.reduce((function(e,t){return e&&e[t]}),n)}}function qn(e){return function(t,n,r){return re(e,r)}}Fn.defaultProps={marginBottom:"for_scroll_indicator_on_phone"};var Gn=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){return B.a.createElement("a",{href:this._href(),className:this.props.className,onClick:this._handleClick.bind(this)},this.props.children)}},{key:"_href",value:function(){return this._targetPage()?"#"+this._targetPage().permaId:"#missing"}},{key:"_handleClick",value:function(e){this._targetPage()&&pageflow.slides.goToByPermaId(this._targetPage().permaId,{transition:this.props.pageLink.pageTransition}),e.preventDefault()}},{key:"_targetPage",value:function(){return this.props.targetPage}}]),t}(B.a.Component),Vn=It(ee({targetPage:tn({id:Wn("pageLink.targetPageId")})}))(Gn);function zn(e){return React.createElement("div",{className:Yn(e)})}function Yn(e){return U()({load_image:e.lazy&&e.loaded},e.className,(t=e.pageType)?"is_".concat(t.name):"is_dangling",function(e){var t=Ht({candidates:Xn(e),page:e.page,fileExists:e.fileExists});if(t)return function(e,t){return[e.lazy?"lazy":null,t.cssClassPrefix,e.imageStyle,Wt(e.page,t)].filter(Boolean).join("_")}(e,t)}(e));var t}function Xn(e){return[$n(e)].concat(Object($.a)((t=e.pageType)?t.thumbnailCandidates:[]));var t}function $n(e){return{id:e.customThumbnailId,cssClassPrefix:"pageflow_image_file",collectionName:"image_files"}}zn.defaultProps={imageStyle:"navigation_thumbnail_large"};var Kn=Sn(ee({pageType:Kt({page:function(e){return e.page}}),fileExists:Xt()}))(zn),Qn=Sn(ee({loaded:on(),lazy:!0}))(Kn);function Jn(e){return U()("add_info_box",{empty:Zn(e),title_empty:V(e.title),description_empty:V(e.description),"add_info_box-hidden_during_playback":e.hiddenDuringPlayback})}function Zn(e){return V(e.title)&&V(e.description)}var er=function(e){return React.createElement("div",{className:Jn(e)},function(e){if(!V(e.title))return React.createElement("h3",null,e.title)}(e),function(e){if(!V(e.description))return React.createElement("p",{dangerouslySetInnerHTML:{__html:e.description}})}(e))};function tr(e){return React.createElement("div",{className:U()("controls",e.className),"data-role":"player_controls",onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},e.children)}function nr(e){return B.a.createElement("svg",{className:e.className,version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:e.width,height:e.height,viewBox:"".concat(e.viewBoxLeft," ").concat(e.viewBoxTop," ").concat(e.viewBoxWidth," ").concat(e.viewBoxHeight)},e.children)}nr.defaultProps={width:20,height:20,viewBoxLeft:0,viewBoxTop:0};var rr=nr,or={Checkmark:function(e){return React.createElement(rr,Object.assign({},e,{viewBoxWidth:512,viewBoxHeight:512}),React.createElement("polygon",{points:"434.442,58.997 195.559,297.881 77.554,179.88 0,257.438 195.559,453.003 512,136.551 "}))},CircleWithNotch:function(e){return React.createElement(rr,Object.assign({},e,{viewBoxWidth:1e3,viewBoxHeight:1e3}),React.createElement("path",{d:"M990,497.6c0,66.4-13,129.8-38.8,190.3c-25.9,60.5-60.7,112.7-104.4,156.4C803,888,750.9,922.8,690.3,948.7c-60.5,25.9-124,38.8-190.3,38.8s-129.8-12.9-190.3-38.8S197,888,153.3,844.3c-43.7-43.7-78.5-95.9-104.4-156.4C22.9,627.4,10,563.9,10,497.6c0-80.9,18.4-156.5,55.2-226.7c36.8-70.2,87.2-128,151.2-173.4s135.2-73.8,213.6-85v142.2c-80.6,16.4-147.4,56.7-200.4,120.9c-53,64.2-79.5,138.2-79.6,222c0,47.4,9.3,92.7,27.9,135.9c18.6,43.2,43.4,80.4,74.6,111.6c31.2,31.2,68.4,56.1,111.6,74.6c43.2,18.5,88.5,27.8,135.9,27.9c47.4,0,92.7-9.2,135.9-27.9C679,801,716.2,776.1,747.4,745c31.2-31.1,56-68.3,74.6-111.6c18.6-43.3,27.9-88.6,27.9-135.9c0-83.9-26.5-157.9-79.6-222C717.2,211.3,650.4,171,569.9,154.6V12.5c78.4,11.3,149.6,39.6,213.6,85c64,45.4,114.4,103.2,151.2,173.4c36.8,70.2,55.2,145.7,55.2,226.7H990z"}))},Disk:function(e){return React.createElement(rr,Object.assign({},e,{viewBoxWidth:24,viewBoxHeight:24}),React.createElement("circle",{cx:"12",cy:"12",r:"12"}))},Gear:function(e){return React.createElement(rr,Object.assign({},e,{viewBoxWidth:24,viewBoxHeight:24}),React.createElement("path",{d:"M21.312,14.056l-1.691-0.98c0,0-0.472-0.216-0.446-1.073c0,0-0.128-0.961,0.478-1.293l1.661-1.014 c0,0,0.546-0.245,0.313-0.818l-0.707-1.598c0,0-0.229-0.625-0.902-0.423l-1.93,0.615c0,0-0.666-0.009-1.078-0.458 c0,0-0.687-0.662-0.476-1.229l0.445-1.924c0,0,0.114-0.563-0.312-0.768l-1.995-0.757c0,0-0.43-0.026-0.562,0.305l-1.122,2.006 c0,0-0.524,0.437-1.248,0.292c0,0-0.752-0.072-0.928-0.253c0,0-1.135-1.916-1.19-2.015c0,0-0.21-0.437-0.65-0.262L7.144,3.176 c0,0-0.367,0.229-0.275,0.559l0.649,2.441c0,0-0.139,0.597-0.561,0.924c0,0-0.745,0.55-1.104,0.483L3.858,7.1 c0,0-0.578-0.207-0.805,0.294L2.306,9.232c0,0-0.143,0.38,0.251,0.616l1.96,1.123c0,0,0.624,0.286,0.441,1.38 c0,0,0.037,0.804-0.756,1.24c-0.793,0.437-1.476,0.875-1.476,0.875s-0.437,0.21-0.249,0.681c0.189,0.471,0.895,1.811,0.895,1.811 s0.131,0.336,0.762,0.091l1.723-0.466c0,0,0.5-0.151,1.031,0.319c0,0,0.741,0.504,0.687,0.919l-0.48,2.433 c0,0-0.157,0.411,0.312,0.676l1.929,0.733c0,0,0.538,0.052,0.68-0.389l0.84-1.532c0,0,0.278-0.669,1.177-0.625 c0,0,0.909-0.081,1.227,0.407l1.101,1.833c0,0,0.199,0.466,0.791,0.188l1.709-0.728c0,0,0.479-0.315,0.333-0.743l-0.533-1.853 c0,0-0.238-0.5,0.259-1.055c0,0,0.533-0.876,1.27-0.701l2.043,0.487c0,0,0.424,0.187,0.793-0.413l0.659-1.639 C21.685,14.901,21.886,14.313,21.312,14.056z M8.542,13.474c-0.824-1.931,0.073-4.166,2.004-4.989 c1.931-0.826,4.165,0.073,4.988,2.004c0.825,1.931-0.073,4.164-2.005,4.989C11.599,16.303,9.365,15.404,8.542,13.474z"}))},Info:function(e){return React.createElement(rr,Object.assign({},e,{viewBoxLeft:5,viewBoxTop:5,viewBoxWidth:145,viewBoxHeight:145}),React.createElement("path",{d:"m80 15c-35.88 0-65 29.12-65 65s29.12 65 65 65 65-29.12 65-65-29.12-65-65-65zm0 10c30.36 0 55 24.64 55 55s-24.64 55-55 55-55-24.64-55-55 24.64-55 55-55z"}),React.createElement("path",{d:"m57.373 18.231a9.3834 9.1153 0 1 1 -18.767 0 9.3834 9.1153 0 1 1 18.767 0z",transform:"matrix(1.1989 0 0 1.2342 21.214 28.75)"}),React.createElement("path",{d:"m90.665 110.96c-0.069 2.73 1.211 3.5 4.327 3.82l5.008 0.1v5.12h-39.073v-5.12l5.503-0.1c3.291-0.1 4.082-1.38 4.327-3.82v-30.813c0.035-4.879-6.296-4.113-10.757-3.968v-5.074l30.665-1.105"}))},Pause:function(e){return React.createElement(rr,Object.assign({},e,{viewBoxWidth:512,viewBoxHeight:512}),React.createElement("path",{d:"M162.642 148.337h86.034v215.317h-86.034v-215.316z"}),React.createElement("path",{d:"M293.356 148.337h86.002v215.317h-86.002v-215.316z"}))},Play:function(e){return React.createElement(rr,Object.assign({},e,{viewBoxWidth:512,viewBoxHeight:512}),React.createElement("path",{d:"M152.443 136.417l207.114 119.573-207.114 119.593z"}))},Subtitles:function(e){return React.createElement(rr,Object.assign({},e,{viewBoxWidth:1200,viewBoxHeight:1200}),React.createElement("path",{transform:"translate(100,100)",d:"M893.4,599V500H401.1V599H893.4z M893.4,794.5v-98.9H695.5v98.9H893.4z M598.9,794.5v-98.9H106.6v98.9H598.9z M106.6,500V599h197.8V500H106.6z M893.4,106.7c26.1,0,48.7,10,67.9,29.9s28.8,42.9,28.8,69v588.9c0,26.1-9.6,49.1-28.8,69c-19.2,19.9-41.8,29.9-67.9,29.9H106.6c-26.1,0-48.7-10-67.9-29.9c-19.2-19.9-28.8-42.9-28.8-69V205.5c0-26.1,9.6-49.1,28.8-69s41.8-29.9,67.9-29.9H893.4z"}))}},ir={toggleInfoBox:or.Info,mediaQuality:or.Gear,textTracks:or.Subtitles,activeMenuItem:or.Checkmark,loadingSpinner:or.CircleWithNotch,play:or.Play,pause:or.Pause};function ar(e){var t=ir[e.name];if(!t)throw new Error('No icon registered for "'.concat(e.name,'".'));return B.a.createElement(t,e)}var ur=function(e){return React.createElement("div",{className:"vjs-loading-spinner"},React.createElement(ar,{name:"loadingSpinner"}))},cr=function(e){return Sn(ee({id:Z(rn(),(function(e){return e?"firstContent":void 0}))}))(e)};var sr=cr((function(e){return React.createElement("a",{className:lr(e),href:"#",tabIndex:"4",id:e.id,title:e.title,onClick:fr(e)},function(e){return e.iconName?React.createElement(ar,{name:e.iconName}):React.createElement("span",null)}(e))}));function lr(e){return U()("vjs-play-control",{"vjs-playing":e.isPlaying},{"player_controls-play_button-custom_icon":!!e.iconName})}function fr(e){return function(t){e.onClick&&e.onClick(t),t.preventDefault()}}function pr(e){return React.createElement("div",{className:U()(e.className)},function(e){if(isNaN(e))return dr;var t=Math.floor(e)%60,n=Math.floor(e/60)%60,r=Math.floor(e/60/60);return r>0?"".concat(r,":").concat(hr(n),":").concat(hr(t)):"".concat(n,":").concat(hr(t))}(e.value))}var dr="-:--";function hr(e){return e<10?"0"+e:e}pr.defaultProps={value:0};var vr=function(e){return React.createElement(pr,{className:"vjs-current-time",value:e.currentTime})},gr=function(e){return React.createElement("div",{className:"vjs-time-divider"},"/")},yr=function(e){return React.createElement(pr,{className:"vjs-duration",value:e.duration})},mr=n(94),br=n.n(mr),wr=n(36),Or=n.n(wr),Er=37,_r=39,xr=function(e){function t(e,n){var r;return j(this,t),(r=N(this,C(t).call(this,e,n))).state={handleWidth:null,progressHolderWidth:null},r.measureProgressHolder=function(e){var t=e.width;r.setState({progressHolderWidth:t})},r.measureHandle=function(e){var t=e.width;r.setState({handleWidth:t})},r.handleStop=function(e,t){r.props.onSeek&&r.props.onSeek(r.positionToTime(t.x))},r.handleDrag=function(e,t){r.props.onScrub&&r.props.onScrub(r.positionToTime(t.x))},r.handleKeyDown=function(e){var t;e.keyCode==Er?t=Math.max(0,r.props.currentTime-1):e.keyCode==_r&&(t=Math.min(r.props.currentTime+1,r.props.duration||1/0)),r.prop.onSeek&&r.props.onSeek(t)},r}return R(t,e),A(t,[{key:"positionToTime",value:function(e){return this.props.duration&&this.state.progressHolderWidth?Math.max(0,Math.min(1,e/this.state.progressHolderWidth))*this.props.duration:0}},{key:"render",value:function(){return B.a.createElement("div",{className:"vjs-progress-control",tabIndex:"4",onKeyDown:this.handleKeyDown},B.a.createElement(Or.a,{whitelist:["width"],onMeasure:this.measureProgressHolder},B.a.createElement(mr.DraggableCore,{onStart:this.handleDrag,onDrag:this.handleDrag,onStop:this.handleStop},B.a.createElement("div",{className:"vjs-progress-holder"},B.a.createElement("div",{className:"vjs-load-progress",style:{width:Pr(this.loadProgress())}}),B.a.createElement("div",{className:"vjs-play-progress",style:{width:Pr(this.playProgress())}}),B.a.createElement(Or.a,{whitelist:["width"],onMeasure:this.measureHandle},B.a.createElement("div",{className:"vjs-seek-handle",style:{left:this.handlePosition()}}))))))}},{key:"handlePosition",value:function(){return this.state.handleWidth&&this.state.progressHolderWidth?(this.state.progressHolderWidth-this.state.handleWidth)*this.playProgress():Pr(this.playProgress())}},{key:"loadProgress",value:function(){return this.props.duration>0?this.props.bufferedEnd/this.props.duration:0}},{key:"playProgress",value:function(){return this.props.duration>0?this.props.currentTime/this.props.duration:0}}]),t}(B.a.Component);function Pr(e){return e>0?100*e+"%":0}xr.defaultProps={currentTime:0,bufferedEnd:0};var kr=function(e){function t(e,n){var r;return j(this,t),(r=N(this,C(t).call(this,e,n))).state={subMenuVisible:!1},r.onLinkClick=function(e){e.preventDefault(),r.props.subMenuItems.length>0&&r.setState({subMenuVisible:!0}),r.props.onClick&&r.props.onClick()},r.onMouseEnter=function(){r.props.subMenuItems.length>0&&r.setState({subMenuVisible:!0}),r.props.onMouseEnter&&r.props.onMouseEnter()},r.onMouseLeave=function(){r.closeMenu(),r.props.onMouseEnter&&r.props.onMouseLeave()},r.onFocus=function(){clearTimeout(r.closeMenuTimeout)},r.onBlur=function(){clearTimeout(r.closeMenuTimeout),r.closeMenuTimeout=setTimeout((function(){r.closeMenu()}),100)},r.closeMenu=function(){r.setState({subMenuVisible:!1})},r}return R(t,React.Component),A(t,[{key:"render",value:function(){var e=this,t=this.props;return React.createElement("div",{className:Sr(t,this.state.subMenuVisible),ref:function(t){return e.wrapper=t},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onFocus:this.onFocus,onBlur:this.onBlur},React.createElement("a",{className:Ar(t,"link"),href:"#",tabIndex:"4",title:t.title,onClick:this.onLinkClick},React.createElement(ar,{className:Ar(t,"icon"),name:t.iconName})),function(e,t){if(e.subMenuItems.length>0)return React.createElement("ul",{className:"player_controls-menu_bar_button_sub_menu"},function(e,t){return e.subMenuItems.map((function(n){return React.createElement("li",{className:jr(n),key:n.value},React.createElement("a",{className:"player_controls-menu_bar_button_sub_menu_item_link",href:"#",tabIndex:"4",onClick:Tr(e,n.value,t)},function(e){if(e.active)return React.createElement(ar,{className:"player_controls-menu_bar_button_sub_menu_item_icon",name:"activeMenuItem"})}(n),n.label,function(e,t){if(t.annotation)return React.createElement("span",{className:Ar(e,"sub_menu_item_annotation")},t.annotation)}(e,n)))}))}(e,t))}(t,this.closeMenu))}}]),t}();function Sr(e,t){return U()({"player_controls-menu_bar_button-sub_menu_visible":t},Ar(e))}function jr(e){return U()("player_controls-menu_bar_button_sub_menu_item",{"player_controls-menu_bar_button_sub_menu_item-active":e.active})}function Tr(e,t,n){return function(r){r.preventDefault(),n(),e.onSubMenuItemClick&&e.onSubMenuItemClick(t)}}function Ar(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return U()(["player_controls-menu_bar_button"].concat(n).join("_"),[e.className].concat(n).join("_"))}function Ir(e){return e.items.length<2?React.createElement("noscript",null):React.createElement(kr,{className:"player_controls-quality_menu_button",title:e.buttonTitle,iconName:"mediaQuality",subMenuItems:e.items,onSubMenuItemClick:e.onItemClick})}function Mr(e){return e.items.length<2?React.createElement("noscript",null):React.createElement(kr,{className:"player_controls-text_tracks_menu_button",title:e.buttonTitle,iconName:"textTracks",subMenuItems:e.items,onSubMenuItemClick:e.onItemClick})}function Nr(e){return React.createElement("div",{className:Cr(e)},function(e){return e.additionalButtons.map((function(t){return React.createElement(kr,{title:t.label,iconName:t.iconName,className:t.className,key:t.name,onClick:Dr(e.onAdditionalButtonClick,t.name),onMouseEnter:Dr(e.onAdditionalButtonMouseEnter,t.name),onMouseLeave:Dr(e.onAdditionalButtonMouseLeave,t.name)})}))}(e),React.createElement(Mr,{buttonTitle:e.textTracksMenuButtonTitle,items:e.textTracksMenuItems,onItemClick:e.onTextTracksMenuItemClick}),React.createElement(Ir,{buttonTitle:e.qualityMenuButtonTitle,items:e.qualityMenuItems,onItemClick:e.onQualityMenuItemClick}))}function Cr(e){return U()(e.className,"player_controls-menu_bar",{"player_controls-menu_bar-hidden_on_phone":e.hiddenOnPhone,"player_controls-menu_bar-stand_alone":e.standAlone,"player_controls-menu_bar-inverted":e.inverted})}function Dr(e,t){if(e)return function(){return e(t)}}function Rr(e){return function(t){function n(e){var t;return j(this,n),(t=N(this,C(n).call(this,e))).checkVisibility=function(){var e=window.getComputedStyle(t.element);t.lastVisibility!=e.visibility&&("visible"==e.visibility&&"none"!=e.display?t.props.onVisible&&t.props.onVisible():t.props.onHidden&&t.props.onHidden()),t.lastVisibility=e.visibility},t}return R(n,t),A(n,[{key:"componentDidMount",value:function(){this.element=Ft.a.findDOMNode(this),this.updateInterval()}},{key:"componentDidUpdate",value:function(){this.updateInterval()}},{key:"componentWillUnmount",value:function(){clearInterval(this.interval),this.interval=null,this.element=null}},{key:"updateInterval",value:function(){this.props.watchVisibility&&!this.interval?this.interval=setInterval(this.checkVisibility,50):!this.props.watchVisibility&&this.interval&&(clearInterval(this.interval),this.interval=null)}},{key:"render",value:function(){return B.a.createElement(e,this.props)}}]),n}(B.a.Component)}function Lr(e){return U()("vjs-control-bar",{with_quality_menu_present:e.qualityMenuItems&&e.qualityMenuItems.length>=2,with_text_tracks_menu_present:e.textTracksMenuItems&&e.textTracksMenuItems.length>=2})}kr.defaultProps={subMenuItems:[]},Ir.defaultProps={items:[]},Mr.defaultProps={items:[]},Nr.defaultProps={additionalButtons:[],standAlone:!0};var Br=Rr((function(e){return B.a.createElement(tr,e,B.a.createElement("span",{className:"hint"},e.hint),B.a.createElement(er,Object.assign({},e.infoBox,{hiddenDuringPlayback:e.infoBoxHiddenDuringPlayback})),B.a.createElement("div",{className:Lr(e)},function(e){if(e.isLoading)return B.a.createElement(ur,e)}(e),B.a.createElement("div",{className:"play_button"},B.a.createElement(sr,{title:e.playButtonTitle,iconName:e.playButtonIconName,isPlaying:e.isPlaying,onClick:e.onPlayButtonClick})),function(e){if(e.hasProgress)return B.a.createElement("div",{className:"player_controls-progress"},B.a.createElement(vr,e),B.a.createElement(gr,null),B.a.createElement(yr,e),B.a.createElement(xr,e))}(e),B.a.createElement("div",{className:"control_bar_text"},e.controlBarText)),B.a.createElement(Nr,{standAlone:!1,additionalButtons:e.additionalMenuBarButtons,onAdditionalButtonClick:e.onAdditionalButtonClick,onAdditionalButtonMouseEnter:e.onAdditionalButtonMouseEnter,onAdditionalButtonMouseLeave:e.onAdditionalButtonMouseLeave,qualityMenuButtonTitle:e.qualityMenuButtonTitle,qualityMenuItems:e.qualityMenuItems,onQualityMenuItemClick:e.onQualityMenuItemClick,textTracksMenuButtonTitle:e.textTracksMenuButtonTitle,textTracksMenuItems:e.textTracksMenuItems,onTextTracksMenuItemClick:e.onTextTracksMenuItemClick}))}));function Fr(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}var Ur=Z(Hr,(function(e){return function(t,n){return I18n.t(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fr(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({locale:e},n))}}));function Hr(e){return e.i18n.locale}var Wr=It(ee({t:Ur}))((function(e){return React.createElement("div",{className:"close_button text_hidden_only",tabIndex:"4",title:e.t("pageflow.public.close"),onClick:e.onClick},React.createElement("div",{className:"label"},e.t("pageflow.public.close")))})),qr=function(e){return PAGEFLOW_EDITOR?e:function(){return!1}},Gr=ke("chapters");var Vr=Gr,zr=ke("storylines");function Yr(){return function(e,t){var n=Xr()(e,t);return n?Vr({id:n.chapterId})(e,t):null}}function Xr(){return function(e,t){return tn({id:function(e,t){return Z(zr(t),(function(t){return t&&t[e]}))}("parentPagePermaId",{id:function(e,t){return Z(Gr(t),(function(t){return t&&t[e]}))}("storylineId",{id:en("chapterId",{id:e.currentPageId})(e,t)})(e,t)})(e,t)})(e,t)}}function $r(e){var t=e.property;return function(e){return e.settings[t]}}var Kr=ke("widgets");function Qr(e,t){var n=t.role;return Z(Kr({id:n}),(function(t){return t&&t[e]}))}function Jr(e){var t=e.role;return Z(Kr({id:t}),(function(e){return e}))}function Zr(e){var t=e.role;return Z(Kr({id:t}),(function(e){return!(!e||!e.editing)}))}var eo=function(e){return U()({is_playing:e.shouldPlay,is_playing_delayed:e.hasBeenPlayingJustNow,is_paused:!e.shouldPlay})},to="MEDIA_TOGGLE_PLAYING",no="MEDIA_PLAY",ro="MEDIA_PLAY_AND_FADE_IN",oo="MEDIA_PAUSE",io="MEDIA_FADE_OUT_AND_PAUSE",ao="CHANGE_VOLUME_FACTOR",uo="MEDIA_PLAY_FAILED",co="MEDIA_PLAYING_MUTED",so="MEDIA_SCRUB_TO",lo="MEDIA_SEEK_TO",fo="MEDIA_PREBUFFER",po="MEDIA_PREBUFFERED",ho="MEDIA_ABORT_PREBUFFERING",vo="MEDIA_BUFFER_UNDERRUN",go="MEDIA_BUFFER_UNDERRUN_CONTINUE",yo="MEDIA_META_DATA_LOADED",mo="MEDIA_PROGRESS",bo="MEDIA_PLAYING",wo="MEDIA_PAUSED",Oo="MEDIA_TIME_UPDATE",Eo="MEDIA_ENDED",_o="MEDIA_SEEKING",xo="MEDIA_SEEKED",Po="MEDIA_WAITING",ko="MEDIA_HAS_NOT_BEEN_PLAYING_FOR_A_MOMENT",So="MEDIA_USER_INTERACTION",jo="MEDIA_USER_IDLE",To="MEDIA_CONTROLS_ENTERED",Ao="MEDIA_CONTROLS_LEFT",Io="MEDIA_FOCUS_ENTERED_CONTROLS",Mo="MEDIA_FOCUS_LEFT_CONTROLS",No="MEDIA_CONTROLS_HIDDEN",Co="SHOW_INFO_BOX_DURING_PLAYBACK",Do="HIDE_INFO_BOX_DURING_PLAYBACK",Ro="TOGGLE_INFO_BOX_DURING_PLAYBACK",Lo="MEDIA_SAVE_MEDIA_ELEMENT_ID",Bo="MEDIA_DISCARD_MEDIA_ELEMENT_ID";function Fo(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope,t=void 0===e?"default":e;return{togglePlaying:function(){return n(to)},play:function(){return n(no)},playAndFadeIn:function(e){var t=e.fadeDuration;return n(ro,{fadeDuration:t})},pause:function(){return n(oo)},fadeOutAndPause:function(e){var t=e.fadeDuration;return n(io,{fadeDuration:t})},changeVolumeFactor:function(e,t){var r=t.fadeDuration;return n(ao,{volumeFactor:e,fadeDuration:r})},playFailed:function(){return n(uo)},playingMuted:function(){return n(co)},scrubTo:function(e){return n(so,{time:e})},seekTo:function(e){return n(lo,{time:e})},prebuffer:function(){return n(fo)},prebuffered:function(){return n(po)},abortPrebuffering:function(){return n(ho)},bufferUnderrun:function(){return n(vo)},bufferUnderrunContinue:function(){return n(go)},playing:function(){return n(bo)},paused:function(){return n(wo)},timeUpdate:function(e){var t=e.currentTime,r=e.duration;return n(Oo,{currentTime:t,duration:r})},metaDataLoaded:function(e){var t=e.currentTime,r=e.duration;return n(yo,{currentTime:t,duration:r})},progress:function(e){var t=e.bufferedEnd;return n(mo,{bufferedEnd:t})},ended:function(){return n(Eo)},seeking:function(){return n(_o)},seeked:function(){return n(xo)},waiting:function(){return n(Po)},hasNotBeenPlayingForAMoment:function(e){return n(ko)},userInteraction:function(){return n(So)},userIdle:function(){return n(jo)},controlsEntered:function(){return n(To)},controlsLeft:function(){return n(Ao)},focusEnteredControls:function(){return n(Io)},focusLeftControls:function(){return n(Mo)},controlsHidden:function(){return n(No)},showInfoBoxDuringPlayback:function(){return n(Co)},hideInfoBoxDuringPlayback:function(){return n(Do)},toggleInfoBoxDuringPlayback:function(){return n(Ro)},saveMediaElementId:function(e){return n(Lo,{id:e})},discardMediaElementId:function(){return n(Bo)}};function n(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:e,meta:{collectionName:"pages",mediaScope:t},payload:n}}}function Uo(e){return S({property:"textTrack",value:e?{srclang:e.srclang,kind:e.kind}:{}})}function Ho(e){return e.backgroundMedia.muted}function Wo(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 qo(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope;return nn("media.".concat(void 0===e?"default":e))}function Go(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope,t=void 0===e?"default":e;return function(e){return Object(ae.b)(Fo({scope:t}),e)}}function Vo(e){var t=e.file,n=e.defaultTextTrackFileId,r=void 0===n?function(){}:n;return Z($r({property:"textTrack"}),$r({property:"volume"}),Ur,Hr,function(e,t){var n=t.parent;return Z(Ee(e,{namespace:"files"}),n,(function(e){return e.fileUrlTemplates}),(function(e){return e.modelTypes}),(function(t,n,r,o){return n?Object.keys(t).reduce((function(i,a){var u=t[a];return u.id&&u.parentFileId==n.id&&u.parentFileModelType==n.modelType&&i.push($t(e,u,r,o)),i}),[]):[]}))}("textTrackFiles",{parent:t}),r,(function(e,t,n,r,o,i){e=e||{};var u=o.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wo(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({displayLabel:zo(e,n)},e)})),c=function(e,t,n,r){if(t){var o=e.find((function(e){return e.permaId==t}));if(o)return o}var i=e.find((function(e){return"subtitles"==e.kind&&e.srclang==n})),a=0==r&&e.find((function(e){return"captions"==e.kind}));return i||a}(u,i,r,t);return{files:u.sort((function(e,t){return(e.displayLabel||"").localeCompare(t.displayLabel||"")})),autoFile:c,activeFileId:Yo(u,c,e),mode:"off"==e.kind?"off":e.kind?"user":"auto"}}))}function zo(e,t){return e.label||t("pageflow.public.languages."+e.srclang||!1,{defaultValue:t("pageflow.public.languages.unknown")})}function Yo(e,t,n){if("off"==n.kind)return null;var r=e.find((function(e){return e.srclang==n.srclang&&e.kind==n.kind}));return r?r.id:t&&t.id}function Xo(e){return Z(e.autoplayWhenBackgroundMediaMuted,$o({id:e.id}),Ho,(function(e,t,n){return t&&(!n||e)}))}function $o(e){return Z(en("autoplay",e),(function(e){return!1!==e}))}function Ko(e){var t=e.playerActions,n=e.playerState,r=e.playerControlsComponent;return B.a.createElement(r,Object.assign({hasProgress:!0,controlBarText:e.controlBarText,isLoading:n.isLoading||n.bufferUnderrun,isPlaying:n.shouldPlay,currentTime:void 0!==n.scrubbingAt?n.scrubbingAt:n.currentTime,bufferedEnd:n.bufferedEnd,duration:n.duration,mediaElementId:n.mediaElementId,onPlayButtonClick:t.togglePlaying,onScrub:t.scrubTo,onSeek:t.seekTo,onMouseEnter:t.controlsEntered,onMouseLeave:t.controlsLeft,onFocus:t.focusEnteredControls,onBlur:t.focusLeftControls,watchVisibility:n.isPlaying,onHidden:t.controlsHidden,additionalMenuBarButtons:Zo(e),infoBoxHiddenDuringPlayback:ei(e),onAdditionalButtonMouseEnter:t.showInfoBoxDuringPlayback,onAdditionalButtonMouseLeave:t.hideInfoBoxDuringPlayback,onAdditionalButtonClick:t.toggleInfoBoxDuringPlayback,qualityMenuItems:ni(e.qualities,e.file,e.activeQuality,e.t),qualityMenuButtonTitle:e.t("pageflow.public.media_quality"),onQualityMenuItemClick:e.updateVideoQualitySetting,textTracksMenuItems:ti(e.textTracks,e.t),textTracksMenuButtonTitle:e.t("pageflow.public.text_tracks"),onTextTracksMenuItemClick:function(t){"off"==t?e.updateTextTrackSettings({kind:"off"}):e.updateTextTrackSettings(e.textTracks.files.find((function(e){return e.id==t})))}},e,{className:Jo(n)}))}Ko.defaultProps={playerControlsComponent:Br,qualities:[],textTracks:{files:[]}};var Qo=It(ee({activeQuality:$r({property:"videoQuality"}),t:Ur}),{updateTextTrackSettings:Uo,updateVideoQualitySetting:function(e){return S({property:"videoQuality",value:e})}})(Ko);function Jo(e){return U()(eo(e))}function Zo(e){var t=e.t;return Zn(e.infoBox)?[]:[{name:"toggleInfoBox",className:"player_controls-toggle_info_box_menu_button",label:t("pageflow.public.toggle_info_box"),iconName:"toggleInfoBox"}]}function ei(e){var t=e.playerState;return void 0===t.infoBoxHiddenDuringPlayback?!!e.textTracks.activeFileId:t.infoBoxHiddenDuringPlayback}function ti(e,t){if(!e.files.length)return[];var n={value:"off",label:t("pageflow.public.text_track_modes.none"),active:"off"==e.mode};return[{value:"auto",label:e.autoFile?t("pageflow.public.text_track_modes.auto",{label:e.autoFile.displayLabel}):t("pageflow.public.text_track_modes.auto_off"),active:"auto"==e.mode},n].concat(e.files.map((function(t){return{value:t.id,label:t.displayLabel,active:"user"==e.mode&&t.id==e.activeFileId}})))}function ni(e,t,n,r){return n=n||"auto",function(e,t){if(!t)return[];return e.filter((function(e){return!!t.urls[e]||"auto"==e}))}(e,t).map((function(e){return{value:e,label:r("pageflow.public.video_qualities.labels.".concat(e)),annotation:r("pageflow.public.video_qualities.annotations.".concat(e),{defaultValue:""}),active:e==n}}))}function ri(e){return function(t){return t.entry[e]}}function oi(e){var t=e.entrySlug,n=e.file,r="videoFiles"==n.collectionName?"videos":"audio";return"/".concat(t,"/").concat(r,"/").concat(n.id)}var ii=It(ee({t:Ur,entrySlug:ri("slug")}))((function(e){return e.file?React.createElement("p",{className:"non_js_video"},React.createElement("a",{href:oi(e),target:"_blank"},(n=(t=e).file,r=t.t,o="videoFiles"==n.collectionName?"video":"audio",r("pageflow.public.open_".concat(o))))):React.createElement("noscript",null);var t,n,r,o})),ai=Z(nn("media.pageScrollerMargin"),(function(e){return e&&e.bottom}));function ui(e){var t=e.page,n=e.playerState,r={title:t.additionalTitle,description:t.additionalDescription};return React.createElement(H,{className:li(e.className,si(e),e.textTracks,n)},React.createElement(W,{pageHasPlayerControls:!0},e.children,React.createElement(An,{page:t,className:eo(n)})),React.createElement(In,{onInteraction:function(){return n.userIsIdle&&e.playerActions.userInteraction()},classNames:eo(n)},React.createElement(Qo,{file:e.file,textTracks:e.textTracks,playerState:n,playerActions:e.playerActions,qualities:e.qualities,controlBarText:e.controlBarText,infoBox:r,playerControlsComponent:e.playerControlsComponent}),React.createElement(Rn,{className:eo(n),marginBottom:e.dynamicPageScrollerMargin&&e.pageScrollerMarginBottom},React.createElement(Bn,{page:t}),React.createElement(zi,{page:t}),React.createElement(Fn,{page:t,marginBottom:e.dynamicPageScrollerMargin?"none":"for_player_controls"},React.createElement(ii,{file:e.file})))))}ui.defaultProps={playerControlsCanOverlapPageText:!0};var ci=Sn(ee({pageScrollerMarginBottom:ai,textTracks:Vo({file:Wn("file"),defaultTextTrackFileId:Wn("page.defaultTextTrackFileId")}),hasAutoplaySupport:qn("autoplay support"),shouldAutoplay:Xo({id:Wn("page.permaId"),autoplayWhenBackgroundMediaMuted:Wn("autoplayWhenBackgroundMediaMuted")})}))(ui);function si(e){return e.shouldAutoplay&&e.hasAutoplaySupport&&!e.playerState.playFailed}function li(e,t,n,r){return U()(e,{has_text_tracks:!!n.activeFileId,is_idle:r.isPlaying&&r.userIsIdle,is_control_bar_focused:r.focusInsideControls,is_control_bar_hovered:r.userHoveringControls,is_control_bar_hidden:r.controlsHidden,unplayed:r.unplayed&&!t,should_play:r.shouldPlay,has_played:r.hasPlayed})}var fi=Sn(ee({pageIsPrepared:an(),pageIsPreloaded:on(),atmoDuringPlayback:en("atmoDuringPlayback"),defaultTextTrackFileId:en("defaultTextTrackFileId")}))((function(e){if(e.file&&e.file.isReady){var t=e.structuredDataComponent||function(){return null};return React.createElement("div",{style:{height:"100%"}},function(e){if(e.pageIsPrepared){var t=e.playerComponent;return React.createElement(t,{file:e.file,posterImageFile:e.posterImageFile,playerState:e.playerState,playerActions:e.playerActions,atmoDuringPlayback:e.atmoDuringPlayback,fit:e.fit,position:e.position,loop:e.loop,muted:e.muted,playsInline:e.playsInline,defaultTextTrackFileId:e.defaultTextTrackFileId,textTracksEnabled:e.textTracksEnabled,textTrackPosition:e.textTrackPosition})}if(e.preloadComponent&&e.pageIsPreloaded){var n=e.preloadComponent;return React.createElement(n,{file:e.file,posterImageFile:e.posterImageFile})}return React.createElement("noscript",null)}(e),React.createElement(t,{file:e.file}))}return React.createElement("noscript",null)})),pi=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){var e=this;return B.a.createElement("div",{ref:function(t){return e.containerElement=t},dangerouslySetInnerHTML:this.mediaTagHTML()})}},{key:"shouldComponentUpdate",value:function(e){return e.tagName!==this.props.tagName||e.poster!==this.props.poster||e.loop!==this.props.loop||e.muted!==this.props.muted||e.playsInline!==this.props.playsInline||!di(e.sources,this.props.sources)||!di(e.tracks,this.props.tracks)}},{key:"componentDidMount",value:function(){this.triggerOnSetup()}},{key:"componentWillUpdate",value:function(){this.triggerOnDispose()}},{key:"componentDidUpdate",value:function(){this.triggerOnSetup()}},{key:"componentWillUnmount",value:function(){this.triggerOnDispose()}},{key:"triggerOnSetup",value:function(){this.props.onSetup&&this.props.onSetup(this.containerElement.firstElementChild)}},{key:"triggerOnDispose",value:function(){this.props.onDispose&&this.props.onDispose()}},{key:"mediaTagHTML",value:function(){var e=document.createElement("div"),t=document.createElement(this.props.tagName);return t.setAttribute("preload","none"),t.setAttribute("crossorigin","anonymous"),t.setAttribute("alt",this.props.alt),this.props.poster&&t.setAttribute("data-poster",this.props.poster),this.props.loop&&t.setAttribute("loop","true"),this.props.muted&&t.setAttribute("muted","true"),this.props.playsInline&&t.setAttribute("playsinline","true"),this.props.sources.forEach((function(e){var n=document.createElement("source");n.setAttribute("src",e.src),n.setAttribute("type",e.type),t.appendChild(n)})),this.props.tracks.forEach((function(e){var n=document.createElement("track");n.setAttribute("src",e.src),n.setAttribute("id",e.id),n.setAttribute("kind",e.kind),n.setAttribute("srclang",e.srclang),n.setAttribute("label",e.label),t.appendChild(n)})),e.appendChild(t),{__html:e.innerHTML.replace('preload="none"','preload="auto"')}}}]),t}(B.a.Component);function di(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++){var r=e[n],o=t[n];if(Object.keys(r).length!==Object.keys(o).length)return!1;for(var i in r)if(r[i]!==o[i])return!1}return!0}function hi(e,t){t.emulateTextTracksDisplay;var n=t.atmoSettings,r=t.mediaContext,o=t.playsInline,i="audio"==e.tagName.toLowerCase(),a=new pageflow.VideoPlayer(e,{controlBar:!1,loadingSpinner:!1,bigPlayButton:!1,errorDisplay:!1,textTrackSettings:!1,poster:e.getAttribute("data-poster"),html5:{nativeCaptions:!i&&pageflow.browser.has("iphone platform")},bufferUnderrunWaiting:!0,useSlimPlayerControlsDuringPhonePlayback:!o&&!i,fullscreenDuringPhonePlayback:!o&&!i,fallbackToMutedAutoplay:!i,volumeFading:!0,hooks:pageflow.atmo.createMediaPlayerHooks(n),mediaEvents:!0,context:r});return a.textTrackSettings={getValues:function(){return{}}},a.addClass("video-js"),a.addClass("player"),a}pi.defaultProps={tagName:"video",sources:[],tracks:[]};var vi=function(e,t){e.on("loadedmetadata",(function(){return t.metaDataLoaded({currentTime:e.currentTime(),duration:e.duration()})})),e.on("progress",(function(){return t.progress({bufferedEnd:e.bufferedEnd()})})),e.on("play",t.playing),e.on("playfailed",t.playFailed),e.on("playmuted",t.playingMuted),e.on("pause",t.paused),e.on("waiting",t.waiting),e.on("seeking",t.seeking),e.on("seeked",t.seeked),e.on("bufferunderrun",t.bufferUnderrun),e.on("bufferunderruncontinue",t.bufferUnderrunContinue),e.on("timeupdate",(function(){return t.timeUpdate({currentTime:e.currentTime(),duration:e.duration()})})),e.on("ended",t.ended)};function gi(e,t,n){e.one("timeupdate",(function(){yi(e,null,t(),n())}))}function yi(e,t,n,r){t!=n&&function(e,t){[].slice.call(e.textTracks()).forEach((function(e){e.id=="text_track_file_".concat(t)?e.mode="showing":e.mode="disabled"}))}(e,n),function(e,t){e.updateCueLineSettings(t)}(e,r)}var mi,bi=function(e){var t=e.tagName,n=e.sources,r=e.poster,o=void 0===r?function(){}:r,i=e.emulateTextTracksDisplay,a=void 0!==i&&i,u=e.createPlayer,c=void 0===u?hi:u,s=function(e){function r(e,n){var o;return j(this,r),(o=N(this,C(r).call(this,e,n))).displaysTextTracksInNativePlayer=o.props.hasNativeVideoPlayer&&"video"==t,o.initiallyMuted=o.props.muted,o.updateAtmoSettings(),o.setupMediaTag=function(t){o.player=c(t,{emulateTextTracksDisplay:a,atmoSettings:o.atmoSettings,mediaContext:o.context.mediaContext,playsInline:e.playsInline}),o.player.ready((function(){var e,n,r,i,a,u;o.props.playerActions.saveMediaElementId(t.id),e=o.player,n=function(){return o.props.playerState},r=o.props.playerActions,i=o.prevFileId,a=o.props.file.id,u=n(),a===i&&u.currentTime>0&&e.currentTime(u.currentTime),u.shouldPrebuffer&&e.prebuffer().then(r.prebuffered),u.isPlaying&&e.play(),e.on("canplay",(function(){n().shouldPlay&&e.paused()&&e.play()})),o.displaysTextTracksInNativePlayer||function(e,t,n){e.on("pause",(function(){gi(e,t,n)})),e.textTracks().on("addtrack",(function(){yi(e,null,t(),n())})),yi(e,null,t(),n()),gi(e,t,n)}(o.player,(function(){return o.props.textTracks.activeFileId}),(function(){return o.props.textTrackPosition})),vi(o.player,o.props.playerActions),o.prevFileId=o.props.file.id}),!0)},o.disposeMediaTag=function(){o.player.dispose(),o.player=null,o.props.playerActions.discardMediaElementId()},o}return R(r,e),A(r,[{key:"componentDidUpdate",value:function(e){var t=this;this.player&&(this.player.ready((function(){var n,r,o;n=t.player,r=e.muted,o=t.props.muted,r!==o&&n.muted(o),function(e,t,n,r){t!==n&&e.changeVolumeFactor(n,r)}(t.player,e.playerState.volumeFactor,t.props.playerState.volumeFactor,t.props.playerState.volumeFactorFadeDuration),function(e,t,n,r){!t.shouldPrebuffer&&n.shouldPrebuffer&&e.prebuffer().then((function(){return setTimeout(r.prebuffered,0)})),!t.shouldPlay&&n.shouldPlay?n.fadeDuration?e.playAndFadeIn(n.fadeDuration):e.play():t.shouldPlay&&!n.shouldPlay&&n.isPlaying&&(n.fadeDuration?e.fadeOutAndPause(n.fadeDuration):e.pause()),void 0!==n.shouldSeekTo&&n.shouldSeekTo!==t.shouldSeekTo&&e.currentTime(n.shouldSeekTo)}(t.player,e.playerState,t.props.playerState,t.props.playerActions)}),!0),this.displaysTextTracksInNativePlayer||yi(this.player,e.textTracks.activeFileId,this.props.textTracks.activeFileId,this.props.textTrackPosition),this.updateAtmoSettings())}},{key:"updateAtmoSettings",value:function(){this.atmoSettings=this.atmoSettings||{},this.atmoSettings.atmo_during_playback=this.props.atmoDuringPlayback}},{key:"render",value:function(){return B.a.createElement(pi,{tagName:t,sources:n(this.props.file,this.props.quality,{hasHighBandwidth:this.props.hasHighBandwidth}),tracks:(e=this.props.textTracks.files,r=this.props.textTracksEnabled,r?e.filter((function(e){return e.isReady})).map((function(e){return{id:"text_track_file_".concat(e.id),kind:e.kind,label:e.displayLabel,srclang:e.srclang,src:e.urls.vtt}})):[]),poster:o(this.props.file,this.props.posterImageFile),loop:this.props.loop,muted:this.initiallyMuted,playsInline:this.props.playsInline,alt:this.props.file.alt,onSetup:this.setupMediaTag,onDispose:this.disposeMediaTag});var e,r}}]),r}(B.a.Component);s.contextTypes={mediaContext:B.a.PropTypes.object},s.defaultProps={textTracksEnabled:!0,textTracks:{files:[]}};var l=It(ee({textTracks:Vo({file:Wn("file"),defaultTextTrackFileId:Wn("defaultTextTrackFileId")}),quality:$r({property:"videoQuality"}),hasNativeVideoPlayer:qn("native video player"),hasHighBandwidth:qn("high bandwidth"),textTrackPosition:Oi}),{updateTextTrackSettings:Uo})(s);return l.WrappedComponent=s,l},wi=(mi="slimPlayerControls",function(e){return e.widgetPresence[mi]});function Oi(e,t){var n=t.playerState,r=t.textTrackPosition;return r||(wi(e)?n.controlsHidden?"auto.lazy":"auto.translated":n.controlsHidden?"auto.lazy":"top")}var Ei=bi({tagName:"audio",sources:function(e){return[{type:"audio/ogg",src:"".concat(e.urls.ogg,"?u=1")},{type:"audio/mp4",src:"".concat(e.urls.m4a,"?u=1")},{type:"audio/mp3",src:"".concat(e.urls.mp3,"?u=1")}]},emulateTextTracksDisplay:!0});function _i(e,t){return t&&t.match(/^\/\//)?"".concat(e,":").concat(t):t}function xi(e){var t=Math.round(e/1e3)%60,n=Math.floor(e/1e3/60)%60,r=Math.floor(e/1e3/60/60),o="PT";return r>0&&(o+="".concat(r,"H")),n>0&&(o+="".concat(n,"M")),(t>0||0==n&&0==r)&&(o+="".concat(t,"S")),o}var Pi,ki=It(ee({isEnabled:(Pi="structured_data",function(e){return e.features.indexOf(Pi)>=0})}))((function(e){var t=e.data;return e.isEnabled?React.createElement("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(t)}}):null}));var Si=It(ee({entryPublishedAt:ri("publishedAt")}))((function(e){var t=e.file,n=e.entryPublishedAt,r={"@context":"http://schema.org","@type":"AudioObject",name:t.basename,description:t.alt,url:_i("https",t.urls.mp3),duration:xi(t.durationInMs),datePublished:n,uploadDate:t.createdAt,copyrightHolder:{"@type":"Organization",name:t.rights}};return React.createElement(ki,{data:r})}));function ji(e){return React.createElement(fi,Object.assign({},e,{playerComponent:Ei,structuredDataComponent:Si}))}var Ti=function(e,t,n,r){if(r&&r.height&&t&&"contain"!=t){var o,i,a,u=e.width/e.height;if("width"==(r.width/r.height>u?"width":"height")?(o=(i=r.height)*u,a=r.width/o):(i=(o=r.width)/u,a=r.height/i),!("smart_contain"==t&&a>1.2)){var c=o*a,s=i*a,l=void 0!==n[0]&&"cover"==t?n[0]:50,f=void 0!==n[1]&&"cover"==t?n[1]:50;return{left:(r.width-c)*l/100,top:(r.height-s)*f/100,width:c,height:s}}}};function Ai(e,t){if(e&&t){var n=Math.max(0,-e.left),r=Math.max(0,e.width-t.width+e.left),o=Math.max(0,-e.top),i=Math.max(0,e.height-t.height+e.top);return["cue_offset","cue_offset_".concat(Math.ceil(i/10)),"cue_margin_left_".concat(Math.ceil(n/10)),"cue_margin_right_".concat(Math.ceil(r/10)),"cue_margin_top_".concat(Math.ceil(o/10)),"cue_margin_bottom_".concat(Math.ceil(i/10))].join(" ")}}function Ii(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 Mi(e){return B.a.createElement(Or.a,{whitelist:["width","height"],cloneOptions:{noCloneOnZeroDimension:!0}},(function(t){return function(e,t){var n=Ti(e.videoFile,e.fit,e.position,t);return B.a.createElement("div",{className:"uncropped_media_wrapper"},B.a.createElement("div",{className:Ai(n,t),style:Ni(n)},e.children))}(e,t)}))}function Ni(e){return e&&function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ii(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ii(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({position:"absolute"},e)}var Ci=bi({tagName:"video",sources:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.hasHighBandwidth;if("auto"==(t=t||"auto")){var o=r?"high":"medium",i=[{type:"application/x-mpegURL",src:"".concat(e.urls["hls-playlist"],"?u=1")},{type:"video/mp4",src:"".concat(e.urls[o],"?u=1")}];return e.urls["dash-playlist"]&&(i=[{type:"application/dash+xml",src:"".concat(e.urls["dash-playlist"])}].concat(i)),i}return e.urls[t]||(t="high"),[{type:"video/mp4",src:"".concat(e.urls[t],"?u=1")}]},poster:Li});function Di(e){return B.a.createElement(Mi,{videoFile:e.file,fit:e.fit,position:e.position},B.a.createElement(Ci,{file:e.file,posterImageFile:e.posterImageFile,playerState:e.playerState,playerActions:e.playerActions,atmoDuringPlayback:e.atmoDuringPlayback,defaultTextTrackFileId:e.defaultTextTrackFileId,textTracksEnabled:e.textTracksEnabled,loop:e.loop,muted:e.muted,playsInline:e.playsInline}))}var Ri=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.file,n=e.posterImageFile,r=e.preloadImage,o=Li(t,n);o&&r(o)}},{key:"render",value:function(){return null}}]),t}(B.a.Component);function Li(e,t){var n=re("mobile platform")?"medium":"large";return t?t.urls[n]:e.urls["poster_".concat(n)]}Ri.defaultProps={preloadImage:oe};var Bi=It(ee({entryPublishedAt:ri("publishedAt")}))((function(e){var t=e.file,n=e.entryPublishedAt,r={"@context":"http://schema.org","@type":"VideoObject",name:t.basename,description:t.alt,url:_i("https",t.urls.high),thumbnailUrl:_i("https",t.urls.poster_medium),width:t.width,height:t.height,duration:xi(t.durationInMs),datePublished:n,uploadDate:t.createdAt,copyrightHolder:{"@type":"Organization",name:t.rights}};return React.createElement(ki,{data:r})}));var Fi=It(ee({file:Yt("videoFiles",{id:Wn("videoFileId")}),posterImageFile:Yt("imageFiles",{id:Wn("posterImageFileId")}),muted:function(e,t){return t.muted||Ho(e)}}))((function(e){return React.createElement(fi,Object.assign({},e,{playerComponent:Di,preloadComponent:Ri,structuredDataComponent:Bi}))}));function Ui(e){var t=e.page,n=Y.concat(e.propertyNamePrefix,e.videoPropertyBaseName),r=Y.concat(e.propertyNamePrefix,e.posterImagePropertyBaseName);return React.createElement(Fi,{videoFileId:t["".concat(n,"Id")],posterImageFileId:t["".concat(r,"Id")],playerState:e.playerState,playerActions:e.playerActions,fit:e.fit,position:[t["".concat(n,"X")],t["".concat(n,"Y")]],textTracksEnabled:e.textTracksEnabled,loop:e.loop,muted:e.muted,playsInline:e.playsInline})}Ui.defaultProps={videoPropertyBaseName:"videoFile",posterImagePropertyBaseName:"posterImage",fit:"smart_contain"};var Hi=It(ee({fileExists:Xt()}))((function(e){var t=function(e){return(t=e.propertyNamePrefix,[{propertyBaseName:Y.concat(t,"mobilePosterImage"),collection:"imageFiles"},{propertyBaseName:Y.concat(t,"posterImage"),collection:"imageFiles"},{propertyBaseName:Y.concat(t,"videoFile"),collection:"videoFiles"}]).find((function(t){return e.fileExists(t.collection,e.page["".concat(t.propertyBaseName,"Id")])}));var t}(e);return t?React.createElement(Tn,{page:e.page,propertyBaseName:t.propertyBaseName,fileCollection:t.collection}):React.createElement("noscript",null)}));var Wi=It(ee({fileExists:Xt(),hasMobilePlatform:qn("mobile platform"),hasAutoplaySupport:qn("autoplay support")}))((function(e){return e.hasMobilePlatform&&function(e){var t=Y.concat(e.propertyNamePrefix,"mobilePosterImageId");return e.fileExists("imageFiles",e.page[t])}(e)?React.createElement(Hi,{page:e.page,propertyNamePrefix:e.propertyNamePrefix}):React.createElement(Ui,Object.assign({loop:!0,fit:"cover",muted:!e.hasAutoplaySupport,playsInline:!0,textTracksEnabled:!1},e))}));var qi=It(ee({file:Yt("imageFiles",{id:Wn("fileId")}),entryPublishedAt:ri("publishedAt")}))((function(e){var t=e.file,n=e.entryPublishedAt;if(t){var r={"@context":"http://schema.org","@type":"ImageObject",name:t.basename,description:t.alt,url:_i("https",t.urls.large),width:t.width,height:t.height,datePublished:n,uploadDate:t.createdAt,copyrightHolder:{"@type":"Organization",name:t.rights}};return React.createElement(ki,{data:r})}return null}));var Gi=Sn(ee({page:tn(),playerState:qo({scope:"background"})}),X({playerActions:Go({scope:"background"})}))((function(e){var t=e.page,n=e.playerState,r=e.playerActions,o=e.propertyNamePrefix;return"video"==t[Y.concat(o,"backgroundType")]?React.createElement(Wi,{page:t,playerState:n,playerActions:r,propertyNamePrefix:o}):React.createElement(Tn,{page:t,propertyNamePrefix:o,structuredDataComponent:qi})}));function Vi(e){return React.createElement(W,null,React.createElement(Gi,{propertyNamePrefix:e.propertyNamePrefix}),React.createElement(An,{page:e.page}))}var zi=It(ee({isEntryReady:function(e){return!!e.entry.isReady}}))((function(e){var t=e.page;return e.isEntryReady?"video"==t.backgroundType||"video"==t.type?React.createElement(Yi,{videoId:t.videoFileId,posterImageId:t.posterImageId}):React.createElement(Xi,{imageId:t.backgroundImageId}):null})),Yi=It(ee({videoFile:Yt("videoFiles",{id:Wn("videoId")}),posterImageFile:Yt("imageFiles",{id:Wn("posterImageId")})}))((function(e){var t=e.videoFile,n=e.posterImageFile;return n?React.createElement($i,{file:n}):React.createElement($i,{file:t})})),Xi=Sn(ee({file:Yt("imageFiles",{id:Wn("imageId")}),pageIsPrepared:an()}))($i);function $i(e){var t=e.file;return t&&t.isReady&&an?React.createElement("img",{src:t.urls.print,alt:t.alt,className:"print_image"}):React.createElement("noscript",null)}function Ki(e){return React.createElement("div",{className:"waveform_player_controls-info_box"},function(e){if(!V(e.title))return React.createElement("h3",{className:Qi(e)},e.title)}(e),function(e){if(!V(e.description))return React.createElement("p",{className:"waveform_player_controls-info_box-description",dangerouslySetInnerHTML:{__html:e.description}})}(e))}function Qi(e){var t=!V(e.title)&&!V(e.description);return U()("waveform_player_controls-info_box-title",{"waveform_player_controls-info_box-title-with_separator":t})}var Ji="MEDIA_PAGE_SCROLLER_MARGIN_SET_BOTTOM";var Zi=Sn(null,{setPageScrollerMarginBottom:function(e){return{type:Ji,payload:{value:e},meta:{collectionName:"pages"}}}})((function(e){return React.createElement(Or.a,{whitelist:["height"],onMeasure:function(t){var n=t.height;return e.setPageScrollerMarginBottom(n)}},React.createElement("div",{className:"waveform_player_controls-container"},e.children))}));var ea=cr((function(e){return React.createElement("a",{href:"#",className:ta(e),id:e.id,tabIndex:"4",title:e.title,onClick:na(e)},React.createElement(ar,{name:e.isPlaying?"pause":"play"}))}));function ta(e){return U()("waveform_player_controls-play_button",{"waveform_player_controls-play_button-inverted":e.inverted})}function na(e){return function(t){t.preventDefault(),e.onClick&&e.onClick()}}var ra="rgba(170, 170, 170, 1)",oa="rgba(0, 0, 0, 0.5)",ia="#fff",aa="#888";var ua=Sn(ee({pageIsPrepared:an(),waveformColor:en("waveformColor"),mainColor:function(e){return e.theme.mainColor}}))((function(e){return e.pageIsPrepared&&e.mediaElementId?React.createElement(Or.a,{whitelist:["height"]},(function(t){var n=t.height;return React.createElement("div",{className:"waveform_player_controls-wave"},React.createElement("div",{className:"waveform_player_controls-wave_wrapper"},React.createElement(Ft.a,{mediaElt:"#".concat(e.mediaElementId),options:{normalize:!0,removeMediaElementOnDestroy:!1,hideScrollbar:!0,progressColor:e.waveformColor||e.mainColor,waveColor:e.inverted?oa:ra,cursorColor:e.inverted?aa:ia,height:n}}),React.createElement(ea,{isPlaying:e.isPlaying,title:e.playButtonTitle,inverted:e.inverted,onClick:e.onPlayButtonClick})))})):null}));function ca(e){return React.createElement("div",{className:"waveform_player_controls-times_display"},React.createElement(pr,{value:e.currentTime,className:"waveform_player_controls-times_display-current_time"}),"/",React.createElement(pr,{value:e.duration,className:"waveform_player_controls-times_display-duration"}))}var sa=Sn(ee({inverted:en("invert")}))((function(e){return React.createElement("div",{className:la(e)},React.createElement(Zi,null,React.createElement(ua,{isPlaying:e.isPlaying,inverted:e.inverted,playButtonTitle:e.playButtonTitle,mediaElementId:e.mediaElementId,onPlayButtonClick:e.onPlayButtonClick}),React.createElement(ca,{currentTime:e.currentTime,duration:e.duration}),React.createElement(Ki,e.infoBox)),React.createElement(Nr,{inverted:e.inverted,qualityMenuButtonTitle:e.qualityMenuButtonTitle,qualityMenuItems:e.qualityMenuItems,onQualityMenuItemClick:e.onQualityMenuItemClick,textTracksMenuButtonTitle:e.textTracksMenuButtonTitle,textTracksMenuItems:e.textTracksMenuItems,hiddenOnPhone:!e.isPlaying,onTextTracksMenuItemClick:e.onTextTracksMenuItemClick}))}));function la(e){return U()("waveform_player_controls",{"waveform_player_controls-inverted":e.inverted})}var fa="HOTKEY_SPACE",pa="HOTKEY_TAB";function da(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 ha(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?da(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):da(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var va=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scope,n=void 0===t?"default":t;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(t.meta&&t.meta.mediaScope&&t.meta.mediaScope!==n)return e;switch(t.type){case c:return ha({},e,{hasPlayed:!1,unplayed:!0,infoBoxHiddenDuringPlayback:void 0,userIsIdle:!1});case l:return ha({},e,{shouldPrebuffer:!1});case no:return ha({},e,{shouldPlay:!0,playFailed:!1,hasBeenPlayingJustNow:!0,unplayed:!1,fadeDuration:null,isLoading:!0});case bo:return ha({},e,{shouldPlay:!0,isPlaying:!0});case uo:return ha({},e,{shouldPlay:!1,playFailed:!0,hasBeenPlayingJustNow:!1,unplayed:!0,fadeDuration:null,isLoading:!1});case ro:return ha({},e,{shouldPlay:!0,hasBeenPlayingJustNow:!0,fadeDuration:t.payload.fadeDuration,isLoading:!0});case oo:return ha({},e,{shouldPlay:!1,fadeDuration:null,isLoading:!1});case wo:return e.bufferUnderrun?ha({},e,{isPlaying:!1,hasPlayed:!0}):ha({},e,{shouldPlay:!1,isPlaying:!1,fadeDuration:null,isLoading:!1});case io:return ha({},e,{shouldPlay:!1,fadeDuration:t.payload.fadeDuration,isLoading:!1});case ao:return ha({},e,{volumeFactor:t.payload.volumeFactor,volumeFactorFadeDuration:t.payload.fadeDuration});case fo:return ha({},e,{shouldPrebuffer:!0});case po:return ha({},e,{shouldPrebuffer:!1});case Po:return ha({},e,{isLoading:!0});case vo:return ha({},e,{bufferUnderrun:!0});case go:return ha({},e,{bufferUnderrun:!1});case so:return ha({},e,{scrubbingAt:t.payload.time});case lo:return ha({},e,{shouldSeekTo:t.payload.time});case _o:return ha({},e,{isLoading:!0});case xo:return ha({},e,{scrubbingAt:void 0,isLoading:!1});case yo:return ha({},e,{currentTime:t.payload.currentTime,duration:t.payload.duration});case mo:return ha({},e,{bufferedEnd:t.payload.bufferedEnd});case Oo:return ha({},e,{currentTime:t.payload.currentTime,duration:t.payload.duration,isLoading:!1});case Eo:return ha({},e,{shouldPlay:!1,isPlaying:!1});case ko:return ha({},e,{hasBeenPlayingJustNow:!1});case pa:case So:return ha({},e,{userIsIdle:!1,controlsHidden:!1});case jo:return ha({},e,{userIsIdle:!0});case To:return ha({},e,{userHoveringControls:!0});case Ao:return ha({},e,{userHoveringControls:!1});case Io:return ha({},e,{focusInsideControls:!0});case Mo:return ha({},e,{focusInsideControls:!1});case No:return ha({},e,{controlsHidden:!0,infoBoxHiddenDuringPlayback:!0});case Do:return ha({},e,{infoBoxHiddenDuringPlayback:!0});case Co:return ha({},e,{infoBoxHiddenDuringPlayback:!1});case Ro:return ha({},e,{infoBoxHiddenDuringPlayback:!e.infoBoxHiddenDuringPlayback});case Lo:return ha({},e,{mediaElementId:t.payload.id});case Bo:return ha({},e,{mediaElementId:null});default:return e}}};function ga(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 ya(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ga(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ga(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ma=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Ji:return ya({},e,{bottom:t.payload.value});default:return e}},ba=Oe.a.mark(Oa),wa=Oe.a.mark(Ea);function Oa(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeEvery)([fa,to],Ea,Fo());case 2:case"end":return e.stop()}}),ba)}function Ea(e){var t,n;return Oe.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.play,n=e.pause,r.next=3,Object(Ce.select)(qo());case 3:if(!r.sent.shouldPlay){r.next=9;break}return r.next=7,Object(Ce.put)(n());case 7:r.next=13;break;case 9:return r.next=11,Object(Ce.call)((function(){return pageflow.backgroundMedia.unmute()}));case 11:return r.next=13,Object(Ce.put)(t());case 13:case"end":return r.stop()}}),wa)}var _a=Oe.a.mark(Pa),xa=Oe.a.mark(ka);function Pa(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeEvery)([uo,co],ka);case 2:case"end":return e.stop()}}),_a)}function ka(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.call)((function(){return pageflow.backgroundMedia.mute()}));case 2:case"end":return e.stop()}}),xa)}var Sa="BACKGROUND_MEDIA_MUTE",ja="BACKGROUND_MEDIA_UNMUTE";function Ta(){return{type:ja}}var Aa=Oe.a.mark(Ba),Ia=Oe.a.mark(Fa),Ma=Oe.a.mark(Ua),Na=Oe.a.mark(Ha),Ca=Fo(),Da=Ca.play,Ra=Ca.prebuffer,La=Ca.waiting;function Ba(e){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(De.takeEvery)(u,Oe.a.mark((function t(n){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,[Object(Ce.race)({task:Object(Ce.call)(Ua,e),cancel:Object(Ce.take)(l)}),Object(Ce.race)({task:Object(Ce.call)(Fa,e),cancel:Object(Ce.take)(l)})];case 2:case"end":return t.stop()}}),t)})));case 2:case"end":return t.stop()}}),Aa)}function Fa(e){var t;return Oe.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.t0=e.retryOnUnmute,!n.t0){n.next=5;break}return n.next=4,Object(Ce.select)($o());case 4:n.t0=n.sent;case 5:if(!n.t0){n.next=12;break}return n.next=8,Object(Ce.race)({unmute:Object(Ce.take)(ja),cancel:Object(Ce.take)(l)});case 8:if(t=n.sent,!t.unmute){n.next=12;break}return n.delegateYield(Ua(e),"t1",12);case 12:case"end":return n.stop()}}),Ia)}function Ua(e){var t;return Oe.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.delegateYield(Ha(e),"t0",1);case 1:if(!(t=n.t0)){n.next=5;break}return n.next=5,Object(Ce.put)(La());case 5:return n.next=7,[Object(Ce.take)(po),Object(Ce.put)(Ra())];case 7:if(!t){n.next=12;break}return n.next=10,Object(Ce.call)(De.delay,1e3);case 10:return n.next=12,Object(Ce.put)(Da());case 12:case"end":return n.stop()}}),Ma)}function Ha(e){var t,n,r;return Oe.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return t=e.canAutoplay,n=e.autoplayWhenBackgroundMediaMuted,o.next=3,Object(Ce.select)(Xo({autoplayWhenBackgroundMediaMuted:function(){return n}}));case 3:return r=o.sent,o.abrupt("return",r&&t);case 5:case"end":return o.stop()}}),Na)}var Wa=Oe.a.mark(qa);function qa(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeEvery)(no,Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.select)(rn());case 2:if(!e.sent){e.next=5;break}return e.next=5,Object(Ce.call)(Ga);case 5:case"end":return e.stop()}}),e)})));case 2:return e.next=4,Object(De.takeEvery)([oo,Eo],Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.select)(rn());case 2:if(!e.sent){e.next=5;break}return e.next=5,Object(Ce.call)(Va);case 5:case"end":return e.stop()}}),e)})));case 4:case"end":return e.stop()}}),Wa)}function Ga(){pageflow.events.trigger("scroll_indicator:disable")}function Va(){pageflow.events.trigger("scroll_indicator:enable")}var za=Oe.a.mark(Ya);function Ya(){var e,t;return Oe.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=Fo(),t=e.hasNotBeenPlayingForAMoment,n.next=3,Object(De.takeEvery)([oo,Eo],Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.race)({task:Object(Ce.call)(Oe.a.mark((function e(n){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.call)(De.delay,700);case 2:return e.next=4,Object(Ce.put)(t(!1));case 4:case"end":return e.stop()}}),e)}))),cancel:Object(Ce.take)(bo)});case 2:case"end":return e.stop()}}),e)})));case 3:case"end":return n.stop()}}),za)}var Xa=Oe.a.mark(Ka),$a=Oe.a.mark(Qa);function Ka(){var e,t;return Oe.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=Fo(),t=e.userIdle,n.next=3,Object(De.takeLatest)([no,So,pa],Qa,t);case 3:case"end":return n.stop()}}),Xa)}function Qa(e){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Ce.call)(De.delay,3e3);case 2:return t.next=4,Object(Ce.put)(e());case 4:case"end":return t.stop()}}),$a)}var Ja=Oe.a.mark(Za);function Za(){var e,t,n,r,o=arguments;return Oe.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return e=o.length>0&&void 0!==o[0]?o[0]:{},t=e.scope,n=Fo({scope:t}),r=n.fadeOutAndPause,i.next=4,Object(De.takeEvery)(s,Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.put)(r({fadeDuration:400}));case 2:case"end":return e.stop()}}),e)})));case 4:case"end":return i.stop()}}),Ja)}var eu=Oe.a.mark(tu);function tu(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeEvery)(Eo,Oe.a.mark((function e(){var t,n;return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.select)(en("autoChangePageOnEnded"));case 2:return t=e.sent,e.next=5,Object(Ce.select)(rn());case 5:if(n=e.sent,!t||!n){e.next=9;break}return e.next=9,Object(Ce.call)(nu);case 9:case"end":return e.stop()}}),e)})));case 2:case"end":return e.stop()}}),eu)}function nu(){pageflow.slides.next()}var ru=Oe.a.mark(au);function ou(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 iu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ou(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ou(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function au(){var e,t,n=arguments;return Oe.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:{},t=[Oa(),Pa(),qa()],e.playsInNativePlayer&&e.playsInNativePlayer()||t.push([tu(),Za(),Ya()]),re("mobile platform")||t.push([Ba(iu({},e,{canAutoplay:re("autoplay support")}))]),e.hideControls&&t.push([Ka()]),r.next=7,t;case 7:case"end":return r.stop()}}),ru)}var uu=Oe.a.mark(lu),cu=Oe.a.mark(fu),su=Oe.a.mark(pu);function lu(){var e,t,n,r=arguments;return Oe.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return e=r.length>0&&void 0!==r[0]?r[0]:{},t=e.scope,n=Fo({scope:t}),o.next=4,Object(De.takeEvery)(c,Oe.a.mark((function e(t){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,[Object(Ce.race)({task:[Object(Ce.put)(n.prebuffer()),Object(Ce.call)(fu,n),Object(Ce.call)(pu,n)],cancel:Object(Ce.take)(l)})];case 2:case"end":return e.stop()}}),e)})));case 4:case"end":return o.stop()}}),uu)}function fu(e){var t,n;return Oe.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return e.prebuffer,t=e.changeVolumeFactor,n=e.play,r.next=3,Object(Ce.put)(t(0,{fadeDuration:0}));case 3:return r.next=5,Object(Ce.take)(po);case 5:return r.next=7,Object(Ce.put)(n());case 7:case"end":return r.stop()}}),cu)}function pu(e){var t;return Oe.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.changeVolumeFactor,n.next=3,[Object(Ce.take)(po),Object(Ce.take)(u)];case 3:return n.next=5,Object(Ce.put)(t(1,{fadeDuration:1e3}));case 5:case"end":return n.stop()}}),su)}function du(e){return{reducers:{"media.default":va({scope:"default"}),"media.pageScrollerMargin":ma},saga:Oe.a.mark((function t(){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,au(e);case 2:case"end":return t.stop()}}),t)}))}}var hu={reducers:{"media.background":va({scope:"background"})},saga:Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,[lu({scope:"background"}),Za({scope:"background"}),Pa()];case 2:case"end":return e.stop()}}),e)}))};var vu=function(e){function t(e,n){var r;return j(this,t),(r=N(this,C(t).call(this,e,n))).onPlayButtonClick=function(){pageflow.hideText.activate(),r.props.onEnterBackground&&r.props.onEnterBackground()},r.onCloseButtonClick=function(){pageflow.hideText.deactivate(),r.props.onLeaveBackground&&r.props.onLeaveBackground()},r}return R(t,e),A(t,[{key:"render",value:function(){var e=this.props.page;return B.a.createElement(H,{className:U()({unplayed:!this.props.textHasBeenHidden},"hide_content_with_text")},B.a.createElement(Wr,{onClick:this.onCloseButtonClick}),B.a.createElement(Nr,{additionalButtons:this.props.additionalMenuBarButtons,onAdditionalButtonClick:this.props.onAdditionalButtonClick,qualityMenuButtonTitle:this.props.qualityMenuButtonTitle,qualityMenuItems:this.props.qualityMenuItems,onQualityMenuItemClick:this.props.onQualityMenuItemClick,hiddenOnPhone:this.props.textHasBeenHidden&&!this.props.textIsHidden}),B.a.createElement(W,{pageHasPlayerControls:!0},B.a.createElement("div",{className:"uncropped_media_wrapper"},this.props.children),B.a.createElement(An,{page:e})),B.a.createElement(In,null,B.a.createElement(Br,{playButtonTitle:"Starten",playButtonIconName:this.props.playButtonIconName,controlBarText:e.controlBarText||this.props.defaultControlBarText,onPlayButtonClick:this.onPlayButtonClick,infoBox:{title:e.additionalTitle,description:e.additionalDescription}}),B.a.createElement(Rn,null,B.a.createElement(Bn,{page:e}),B.a.createElement(Fn,{page:e}))))}}]),t}(B.a.Component),gu=Sn(ee({textIsHidden:function(e){return e.hideText.isActive},textHasBeenHidden:function(e){return e.hideText.hasBeenActive}}))(vu),yu="HIDE_TEXT_ACTIVATE",mu="HIDE_TEXT_DEACTIVATE";var bu=Oe.a.mark(wu);function wu(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeEvery)(mu,Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.select)(rn());case 2:if(!e.sent){e.next=5;break}return e.next=5,Object(Ce.call)(Ou);case 5:case"end":return e.stop()}}),e)})));case 2:case"end":return e.stop()}}),bu)}function Ou(){pageflow.events.trigger("scroll_indicator:enable")}var Eu={name:"interactivePageBackground",saga:wu};function _u(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function xu(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 Pu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xu(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ku=new function(){var e=[];this.register=function(t,n){var r=n.component,o=n.reduxModules,i=void 0===o?[]:o,a=_u(n,["component","reduxModules"]);r||s("Requires component option to be present"),Array.isArray(i)||s("Expected reduxModules option to be an array.");var u=[],c=i.reduce((function(e,t){return"object"==typeof t&&3==new Set(Object.keys(t).concat(["name","reducers","saga"])).size||s("Expected redux module to be object with name, reducers and saga properties at most."),t.reducers&&"object"!=typeof t.reducers&&s("Expected reducers property of ".concat(t.name," reduxModule to be object.")),t.saga&&u.push(t.saga),Pu({},e,{},t.reducers)}),{});function s(e){throw new Error("".concat(e," Check registerPageType call of ").concat(t," page type."))}e.push(Pu({name:t,component:r,reducer:Object.keys(c).length?Object(ae.c)(c):void 0,saga:Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.map((function(e){return e()}));case 2:case"end":return e.stop()}}),e)}))},a))},this.forEach=function(){return e.forEach.apply(e,arguments)},this.reduce=function(){return e.reduce.apply(e,arguments)},this.findByName=function(t){return e.find((function(e){var n=e.name;e.component;return n==t}))}},Su=ku.register;function ju(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 Tu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ju(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ju(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Au=new function(){var e=[];this.register=function(t,n){var r=n.component;e.push({name:t,component:r})},this.findByName=function(t){var n=e.find((function(e){return e.name==t}));if(!n)throw'Widget type with name "'.concat(t,'" not found.');return n},this.forEach=function(){e.forEach.apply(e,arguments)}},Iu=Au.register,Mu=n(172),Nu={muted:!1},Cu=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Nu,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Sa:return{muted:!0};case ja:return{muted:!1};default:return e}};function Du(e){var t=e.t,n=e.muted,r=e.unmute;return n?B.a.createElement("div",{className:"background_media_unmute_button"},B.a.createElement("a",{title:t("pageflow.public.mute_off"),onClick:function(){new pageflow.AudioPlayer([{src:pageflow.assetUrls.unmuteSound,type:"audio/mpeg"}],{codecs:["mp3"]}).play(),r()},href:"#"})):null}var Ru={init:function(e){var t=e.isServerSide,n=e.events,r=e.dispatch;t||(n.on("background_media:mute",(function(e){return r({type:Sa})})),n.on("background_media:unmute",(function(e){return r(Ta())})))},createReducers:function(){return{backgroundMedia:Cu}},createSaga:function(e){var t=e.backgroundMedia;return(Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeEvery)(ja,Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.call)((function(){return t.unmute()}));case 2:case"end":return e.stop()}}),e)})));case 2:case"end":return e.stop()}}),e)})))}};function Lu(e){return e.cookieNotice.visible}function Bu(e){return e.theming.privacy_link_url}var Fu="COOKIE_NOTICE_REQUEST",Uu="COOKIE_NOTICE_DISMISS";function Hu(){return{type:Uu}}function Wu(e){var t=e.isCookieNoticeVisible,n=e.editing,r=e.t,o=e.dismiss;return t||n?B.a.createElement("div",{className:"cookie_notice_bar"},B.a.createElement("div",{className:"cookie_notice_bar-content"},function(e){var t=e.privacyLinkUrl,n=e.t,r=e.locale,o=n("pageflow.public.cookie_notice_html",{privacyLinkUrl:"".concat(t,"?lang=").concat(r)});return B.a.createElement("span",{className:"cookie_notice_bar-text",dangerouslySetInnerHTML:{__html:o}})}(e),B.a.createElement("a",{className:"cookie_notice_bar-dismiss",onClick:o},r("pageflow.public.dismiss_cookie_notice")))):B.a.createElement("noscript",null)}function qu(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 Gu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qu(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Vu=function(e){var t={dismissed:e.hasBeenDismissed,visible:!1};return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case Fu:return e.dismissed?e:Gu({},e,{visible:!0});case Uu:return{dismissed:!0,visible:!1};default:return e}}},zu={init:function(e){var t=e.isServerSide,n=e.events,r=e.dispatch;t||n.on("cookie_notice:request",(function(){return r({type:Fu})}))},createReducers:function(e){var t=e.cookies;return{cookieNotice:Vu({hasBeenDismissed:t&&t.hasItem("cookie_notice_dismissed")})}},createSaga:function(e){var t=e.widgetsApi,n=e.cookies;return(Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeEvery)(Fu,Oe.a.mark((function e(){var n;return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.select)(Lu);case 2:if(!e.sent){e.next=10;break}return e.next=5,Object(Ce.cps)(Yu,t);case 5:return n=e.sent,e.next=8,Object(Ce.take)(Uu);case 8:return e.next=10,Object(Ce.call)(n);case 10:case"end":return e.stop()}}),e)})));case 2:return e.next=4,Object(De.takeEvery)(Uu,Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.call)((function(){n.setItem("cookie_notice_dismissed",!0)}));case 2:case"end":return e.stop()}}),e)})));case 4:case"end":return e.stop()}}),e)})))}};function Yu(e,t){e.use({name:"cookie_notice_bar_visible",insteadOf:"cookie_notice_bar"},(function(e){return t(null,e)}))}var Xu={createReducers:function(e){var t=e.enabledFeatureNames;return{features:function(){return t}}}},$u="THEMING_INIT";var Ku=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case $u:return t.payload.theming;default:return e}},Qu={init:function(e){var t=e.theming;(0,e.dispatch)(function(e){return{type:$u,payload:{theming:e}}}(t))},createReducers:function(){return{theming:Ku}}},Ju={init:function(e){var t=e.storylines,n=e.dispatch;Ut({collection:t,collectionName:"storylines",dispatch:n,attributes:["id"],includeConfiguration:!0})},createReducers:function(){return{storylines:Te("storylines")}}},Zu={init:function(e){var t=e.chapters,n=e.dispatch;Ut({collection:t,collectionName:"chapters",dispatch:n,attributes:["id","title","position","storyline_id"]})},createReducers:function(){return{chapters:Te("chapters")}}},ec="PAGE_TYPES_INIT";var tc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case ec:return t.payload.pageTypes;default:return e}},nc={createReducers:function(){return{pageTypes:tc}},init:function(e){var t=e.pageTypesSeed;(0,e.dispatch)(function(e){var t=e.pageTypes;return{type:ec,payload:{pageTypes:t}}}({pageTypes:Y.deep(t)}))}},rc="CURRENT_PAGE_CHANGE";var oc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case rc:return t.payload.id;default:return e}},ic=function(e,t){e.on("page:change",(function(e){return t(function(e){var t=e.id;return{type:rc,payload:{id:t}}}({id:e.getPermaId()}))}))},ac={init:function(e){var t=e.isServerSide,n=e.events,r=e.dispatch;t||ic(n,r)},createReducers:function(){return{currentPageId:oc}}},uc={init:function(e){var t=e.files,n=e.dispatch;Object.keys(t).forEach((function(e){Ut({collection:t[e],collectionName:Y(e),dispatch:n,idAttribute:"perma_id",attributes:["id","perma_id","basename","variants","is_ready","parent_file_id","parent_file_model_type","width","height","duration_in_ms","rights","created_at"],includeConfiguration:!0})}))},createReducers:function(e){var t=e.files,n=e.fileUrlTemplates,r=void 0===n?{}:n,o=e.modelTypes,i=void 0===o?{}:o;return r=Y.keys(r),i=Y.keys(i),{files:Object(ae.c)(Object.keys(t).reduce((function(e,t){return e[t=Y(t)]=Te(t,{idAttribute:"permaId"}),e}),{})),fileUrlTemplates:function(e){return r},modelTypes:function(e){return i}}}},cc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case x:return t.payload.settings;default:return e}},sc={init:function(e){var t=e.isServerSide,n=e.settings,r=e.dispatch;t||(r(k({settings:n.toJSON()})),n.on("change",(function(){return r(k({settings:n.toJSON()}))})))},createReducers:function(){return{settings:cc}},createSaga:function(e){var t=e.settings;return(Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.takeEvery)(P,Oe.a.mark((function e(n){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ce.call)([t,t.set],n.payload.property,n.payload.value);case 2:case"end":return e.stop()}}),e)})));case 2:case"end":return e.stop()}}),e)})))}};var lc="I18N_INIT";var fc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case lc:return{locale:t.payload.locale};default:return e}},pc={createReducers:function(){return{i18n:fc}},init:function(e){var t=e.locale;(0,e.dispatch)(function(e){var t=e.locale;return{type:lc,payload:{locale:t}}}({locale:t}))}},dc="ENTRY_UPDATE",hc="ENTRY_READY";function vc(e){var t=e.entry;return{type:dc,payload:{entry:t}}}function gc(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 yc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gc(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var mc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case dc:return yc({},e,{},t.payload.entry);case hc:return yc({},e,{isReady:!0});default:return e}},bc={init:function(e){var t=e.entry,n=e.dispatch,r=e.events;e.isServerSide||r.once("ready",(function(){return n({type:hc})})),Ft.a.Model&&t instanceof Ft.a.Model?function(e){var t=e.entry,n=e.dispatch;wc({entry:t,dispatch:n}),t.metadata.on("change:title",(function(){wc({entry:t,dispatch:n})}))}({entry:t,dispatch:n}):function(e){var t=e.entry;(0,e.dispatch)(vc({entry:{slug:t.slug,title:t.title,publishedAt:t.published_at}}))}({entry:t,dispatch:n})},createReducers:function(){return{entry:mc}}};function wc(e){var t=e.entry;(0,e.dispatch)(vc({entry:{slug:t.get("slug"),title:t.metadata.get("title")||t.get("entry_title"),publishedAt:null}}))}var Oc={init:function(e){var t=e.isServerSide,n=e.window,r=e.getState,o=e.dispatch;t||n.addEventListener("keydown",(function(e){var t=r().currentPageId;32==e.keyCode?o(function(e){var t=e.currentPageId;return _(fa,t)}({currentPageId:t})):9==e.keyCode&&o(function(e){var t=e.currentPageId;return _(pa,t)}({currentPageId:t}))}))}},Ec=function(e,t){e.on("activate",(function(e){return t({type:yu})})),e.on("deactivate",(function(e){return t({type:mu})}))};function _c(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 xc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_c(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Pc={isActive:!1,hasBeenActive:!1},kc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Pc,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case yu:return{isActive:!0,hasBeenActive:!0};case mu:return xc({},e,{isActive:!1});case rc:return xc({},e,{hasBeenActive:!1});default:return e}},Sc={init:function(e){var t=e.isServerSide,n=e.hideText,r=e.dispatch;t||Ec(n,r)},createReducers:function(){return{hideText:kc}}},jc={init:function(e){var t=e.widgets,n=e.dispatch;Ut({collection:t,collectionName:"widgets",dispatch:n,attributes:["role","type_name","editing"],includeConfiguration:!0})},createReducers:function(){return{widgets:Te("widgets",{idAttribute:"role"})}}};var Tc="WIDGETS_LOAD";var Ac=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Tc:return t.payload.widgets;default:return e}},Ic={init:function(e){var t=e.isServerSide,n=e.events,r=e.widgetsApi,o=e.dispatch;function i(){o(function(e){var t=e.widgets;return{type:Tc,payload:{widgets:t}}}({widgets:{classicPlayerControls:r.isPresent("classic_player_controls"),slimPlayerControls:r.isPresent("slim_player_controls")}}))}t||(n.on("widgets:update",i),i())},createReducers:function(){return{widgetPresence:Ac}}},Mc="THEME_INIT";var Nc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Mc:return t.payload;default:return e}},Cc={createReducers:function(){return{theme:Nc}},init:function(e){var t,n=e.dispatch;if(!e.isServerSide){var r=document.getElementById("theme_probe-main_color");n((t={mainColor:window.getComputedStyle(r)["background-color"]},{type:Mc,payload:t}))}}};function Dc(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}var Rc=function(e){var t=!!e.storylines,n=!e.settings,r=e.seed,o=t?e:r,i={isServerSide:n,locale:r.locale,entry:o.entry,enabledFeatureNames:r.enabled_feature_names,fileUrlTemplates:r.file_url_templates,modelTypes:r.file_model_types,pageTypesSeed:r.page_types,pageTypes:ku,theming:r.theming,files:o.files||{},storylines:o.storylines,chapters:o.chapters,pages:o.pages,widgets:t?e.entry.widgets:r.widgets,cookies:e.cookies,hideText:e.hideText,events:e.events,settings:e.settings,widgetsApi:e.widgets,backgroundMedia:e.backgroundMedia,window:n?null:window},u=Object(Mu.a)([Ru,zu,Xu,pc,Qu,bc,ac,Ju,Zu,kn,uc,sc,Sc,jc,Ic,nc,Oc,Cc],i);return n||(ku.forEach((function(t){return e.pageType.register(t.name,function(e){return _n(wn(e),e.mixin||{})}(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dc(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{Component:t.component,store:u})))})),Au.forEach((function(t){var n=t.name,r=t.component;return e.widgetTypes.register(n,function(e,t){return{enhance:function(n){Ft.a.render(React.createElement(He,{store:t},React.createElement(e,null)),n[0])}}}(r,u))}))),u},Lc=Nt("pages"),Bc=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"componentWillMount",value:function(){this.store=Rc({seed:this.props.resolverSeed}),this.pageComponent=ku.findByName(this.props.pageType).component}},{key:"render",value:function(e){var t=this.pageComponent;return B.a.createElement(He,{store:this.store},B.a.createElement(Lc,{itemId:this.props.pageId},B.a.createElement(t,null)))}}]),t}(B.a.Component),Fc=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"componentWillMount",value:function(){this.store=Rc({seed:this.props.resolverSeed}),this.widgetComponent=Au.findByName(this.props.widgetTypeName).component}},{key:"render",value:function(e){var t=this.widgetComponent;return B.a.createElement(He,{store:this.store},B.a.createElement(t,null))}}]),t}(B.a.Component),Uc=Nt("pages"),Hc=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"componentWillMount",value:function(){this.store=Rc({seed:this.props.resolverSeed})}},{key:"render",value:function(e){return B.a.createElement(He,{store:this.store},B.a.createElement(Uc,{itemId:this.props.pageId},B.a.createElement(Gi,null)))}}]),t}(B.a.Component);function Wc(e){var t=e.page.audioPlayerControlsVariant;return React.createElement(ci,{className:"audio_page supports_text_position_center",page:e.page,file:e.audioFile,playerState:e.playerState,playerActions:e.playerActions,controlBarText:e.t("pageflow.public.start_audio"),playerControlsComponent:qc(t),dynamicPageScrollerMargin:"waveform"==t,autoplayWhenBackgroundMediaMuted:!1},React.createElement(Gi,null),React.createElement(ji,{file:e.audioFile,playerState:e.playerState,playerActions:e.playerActions,textTrackPosition:Gc(t)}))}function qc(e){return"waveform"==e?sa:Br}function Gc(e){if("waveform"==e)return"top"}function Vc(e){var t=e.page;return React.createElement(H,{className:"supports_text_position_center"},React.createElement(Vi,{page:t}),React.createElement(In,null,React.createElement(Rn,null,React.createElement(Bn,{page:t}),React.createElement(zi,{page:t}),React.createElement(Fn,{page:t}))))}var zc=["auto","4k","fullhd","medium"];function Yc(e){return React.createElement(ci,{className:"video_page supports_text_position_center",page:e.page,file:e.videoFile,qualities:zc,playerState:e.playerState,playerActions:e.playerActions,controlBarText:e.t("pageflow.public.start_video"),autoplayWhenBackgroundMediaMuted:!0},React.createElement(Ui,{page:e.page,playerState:e.playerState,playerActions:e.playerActions}),React.createElement(Hi,{page:e.page}))}var Xc={position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundColor:"#3b5159"},$c=function(e){function t(e){var n;return j(this,t),(n=N(this,C(t).call(this,e))).state={fading:!1,hidden:!1},n}return R(t,e),A(t,[{key:"componentDidMount",value:function(){var e=this;PAGEFLOW_EDITOR?this.setState({hidden:!0}):this.fadeTimeout=setTimeout((function(){pageflow.ready.then((function(){e.setState({fading:!0}),e.hiddenTimeout=setTimeout((function(){e.setState({hidden:!0})}),1e3)}))}),1e3)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.fadeTimeout),clearTimeout(this.hiddenTimeout)}},{key:"render",value:function(){var e=this.props.editing,t=this.state,n=t.hidden,r=t.fading;return e||!n?B.a.createElement("div",{className:U()("loading_spinner",{fade:!e&&r}),onTouchMove:Kc,style:Xc},B.a.createElement("div",{className:"loading_inner"},B.a.createElement("div",{className:"left_circle"}),B.a.createElement("div",{className:"right_circle"}),B.a.createElement("div",{className:"loading_spinner_inner"},B.a.createElement("div",null)))):B.a.createElement("noscript",null)}}]),t}(B.a.Component);function Kc(e){e.preventDefault()}var Qc=function(e){function t(e){var n;return j(this,t),(n=N(this,C(t).call(this,e))).state={hidden:!1,animating:!0},n}return R(t,e),A(t,[{key:"componentDidMount",value:function(){var e=this;PAGEFLOW_EDITOR?this.setState({hidden:!0}):pageflow.delayedStart.waitFor((function(t){e.resolveDelayedStart=t}))}},{key:"hideOrLoop",value:function(e){var t=this;e.target===e.currentTarget&&(PAGEFLOW_EDITOR?(this.setState({animating:!1}),setTimeout((function(){t.setState({animating:!0})}),1e3)):(this.setState({hidden:!0}),this.resolveDelayedStart()))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.hiddenTimeout)}},{key:"render",value:function(){var e=this,t=this.props.editing,n=this.state,r=n.hidden,o=n.animating,i=es(this.props),a=B.a.createElement("div",{className:U()("media_loading_spinner-logo",{"media_loading_spinner-logo-invert":i})});return this.props.removeLogo&&(a=""),t||!r?B.a.createElement("div",{className:U()("media_loading_spinner",{"media_loading_spinner-fade":o},{"media_loading_spinner-invert":i}),onAnimationEnd:function(t){return e.hideOrLoop(t)},onTouchMove:Jc,style:ts(this.props)},a,B.a.createElement("div",{className:"media_loading_spinner-image",style:Zc(this.props)}),this.props.children):B.a.createElement("noscript",null)}}]),t}(B.a.Component);function Jc(e){e.preventDefault()}function Zc(e){var t=e.firstPageBackgroundImageUrl,n=e.backgroundImage,r=e.blurStrength,o=n?n.urls.medium:t;if(o)return{backgroundImage:'url("'.concat(o,'")'),filter:"blur("+r+"px)"}}function es(e){return e.backgroundImage||null!=e.invert?e.invert:e.firstPageInvert}function ts(e){return{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:100,backgroundColor:es(e)?"#fff":"#000"}}var ns=It(ee({editing:Zr({role:"loading_spinner"}),firstPageInvert:Zt("invert"),firstPageBackgroundImageUrl:function(e){var t=e.page,n=e.variant,r=void 0===n?"medium":n;return Z(t,Xt(),(function(e){return e}),(function(e,t,n){if(e){var o=Ht({candidates:Kt({page:e})(n).thumbnailCandidates,page:e,fileExists:t});if(o){var i=Yt(Y(o.collectionName),{id:Wt(e,o)});return"image_files"==o.collectionName?i(n).urls[r]:"video_files"==o.collectionName?i(n).urls["poster_".concat(r)]:void 0}}}))}({variant:"medium",page:Z(Jt,(function(e){return e&&e.attributes}))}),backgroundImage:Yt("imageFiles",{id:Qr("customBackgroundImageId",{role:"loading_spinner"})}),invert:Qr("invert",{role:"loading_spinner"}),removeLogo:Qr("removeLogo",{role:"loading_spinner"}),blurStrength:Qr("blurStrength",{role:"loading_spinner"})}))(Qc);var rs=function(e){function t(){return j(this,t),N(this,C(t).apply(this,arguments))}return R(t,e),A(t,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.subtitle,r=e.entryTitle,o=es(this.props);return B.a.createElement(ns,null,B.a.createElement("div",{className:U()("media_loading_spinner-titles",{"media_loading_spinner-invert":o})},B.a.createElement("div",{className:"media_loading_spinner-title"},t||r),B.a.createElement("div",{className:"media_loading_spinner-subtitle"},n)))}}]),t}(B.a.Component);var os=n(96),is=n.n(os);function as(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}Su("background_image",{component:Sn(ee({page:tn()}))(Vc),reduxModules:[hu]}),Su("video",{component:Sn(ee({page:tn(),videoFile:Yt("videoFiles",{id:en("videoFileId")}),playerState:qo(),t:Ur}),X({playerActions:Go()}))(Yc),reduxModules:[du({hideControls:!0,autoplayWhenBackgroundMediaMuted:!0,playsInNativePlayer:qn("native video player")})]}),Su("audio",{component:Sn(ee({page:tn(),audioFile:Yt("audioFiles",{id:en("audioFileId")}),playerState:qo(),t:Ur}),X({playerActions:Go()}))(Wc),reduxModules:[du({retryOnUnmute:!0}),hu]}),Iu("cookie_notice_bar",{component:It(ee({isCookieNoticeVisible:Lu,privacyLinkUrl:Bu,editing:Zr({role:"cookie_notice"}),t:Ur,locale:Hr}),{dismiss:Hu})(Wu)}),Iu("unmute_button",{component:It(ee({t:Ur,muted:Ho}),{unmute:Ta})(Du)}),Iu("classic_loading_spinner",{component:It(ee({editing:Zr({role:"loading_spinner"})}))($c)}),Iu("title_loading_spinner",{component:It(ee({firstPageInvert:Zt("invert"),backgroundImage:Yt("imageFiles",{id:Qr("customBackgroundImageId",{role:"loading_spinner"})}),entryTitle:ri("title"),title:Qr("title",{role:"loading_spinner"}),subtitle:Qr("subtitle",{role:"loading_spinner"}),removeLogo:Qr("removeLogo",{role:"loading_spinner"}),invert:Qr("invert",{role:"loading_spinner"})}))(rs)}),Iu("media_loading_spinner",{component:ns}),is.a.events&&is.a.events.on("seed:loaded",(function(){return Rc(is.a)}));t.default={components:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?as(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):as(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({MediaPageBackground:Vi,PageWithInteractiveBackground:gu},o),actions:r,selectors:i,registerPageType:Su,registerPageTypeWithDefaultBackground:function(e,t){Su(e,{component:Gi,selectTargetElement:function(e){return e.find(".page_background_asset")[0]},mixin:Tu({scroller:!0},t),reduxModules:[hu]})},registerWidgetType:Iu,mediaReduxModule:du,mediaPageBackgroundReduxModule:hu,pageWithInteractiveBackgroundReduxModule:Eu,iconMapping:ir,SvgIcon:rr,classNames:U.a,connect:It,connectInPage:Sn,combineReducers:ae.c,combine:X,ServerSidePage:Bc,ServerSideWidget:Fc,ServerSidePageBackgroundAsset:Hc}}]).default;
|
@@ -30,12 +30,6 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
30
30
|
return JST[template](data);
|
31
31
|
};
|
32
32
|
|
33
|
-
/**
|
34
|
-
* Helpers functions for handling translations.
|
35
|
-
*
|
36
|
-
* @memberof module:pageflow/ui
|
37
|
-
*/
|
38
|
-
|
39
33
|
/**
|
40
34
|
* Returns an array of translation keys based on the `prefixes`
|
41
35
|
* option and the given `keyName`.
|
@@ -55,8 +49,9 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
55
49
|
* Required if `fallbackPrefix` option is present.
|
56
50
|
*
|
57
51
|
* @return {string[]}
|
52
|
+
* @memberof i18nUtils
|
58
53
|
* @since 12.0
|
59
|
-
|
54
|
+
*/
|
60
55
|
|
61
56
|
function attributeTranslationKeys(attributeName, keyName, options) {
|
62
57
|
var result = [];
|
@@ -75,11 +70,11 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
75
70
|
}
|
76
71
|
/**
|
77
72
|
* Takes the same parameters as {@link
|
78
|
-
*
|
79
|
-
*
|
80
|
-
* existing translation.
|
73
|
+
* #i18nutilsattributetranslationkeys attributeTranslationKeys}, but returns the first existing
|
74
|
+
* translation.
|
81
75
|
*
|
82
76
|
* @return {string}
|
77
|
+
* @memberof i18nUtils
|
83
78
|
* @since 12.0
|
84
79
|
*/
|
85
80
|
|
@@ -101,6 +96,7 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
101
96
|
* If true, also search for keys ending in '_html' and HTML-escape
|
102
97
|
* keys that do not end in 'html'
|
103
98
|
*
|
99
|
+
* @memberof i18nUtils
|
104
100
|
* @return {string}
|
105
101
|
*/
|
106
102
|
|
@@ -130,6 +126,7 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
130
126
|
* @param {string[]} keys
|
131
127
|
* Translation key candidates.
|
132
128
|
*
|
129
|
+
* @memberof i18nUtils
|
133
130
|
* @return {string}
|
134
131
|
*/
|
135
132
|
|
@@ -156,6 +153,176 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
156
153
|
translationKeysWithSuffix: translationKeysWithSuffix
|
157
154
|
});
|
158
155
|
|
156
|
+
function _arrayWithHoles(arr) {
|
157
|
+
if (Array.isArray(arr)) return arr;
|
158
|
+
}
|
159
|
+
|
160
|
+
function _iterableToArrayLimit(arr, i) {
|
161
|
+
if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) {
|
162
|
+
return;
|
163
|
+
}
|
164
|
+
|
165
|
+
var _arr = [];
|
166
|
+
var _n = true;
|
167
|
+
var _d = false;
|
168
|
+
var _e = undefined;
|
169
|
+
|
170
|
+
try {
|
171
|
+
for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
|
172
|
+
_arr.push(_s.value);
|
173
|
+
|
174
|
+
if (i && _arr.length === i) break;
|
175
|
+
}
|
176
|
+
} catch (err) {
|
177
|
+
_d = true;
|
178
|
+
_e = err;
|
179
|
+
} finally {
|
180
|
+
try {
|
181
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
182
|
+
} finally {
|
183
|
+
if (_d) throw _e;
|
184
|
+
}
|
185
|
+
}
|
186
|
+
|
187
|
+
return _arr;
|
188
|
+
}
|
189
|
+
|
190
|
+
function _nonIterableRest() {
|
191
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance");
|
192
|
+
}
|
193
|
+
|
194
|
+
function _slicedToArray(arr, i) {
|
195
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
|
196
|
+
}
|
197
|
+
|
198
|
+
/**
|
199
|
+
* Create object that can be passed to Marionette ui property from CSS
|
200
|
+
* module object.
|
201
|
+
*
|
202
|
+
* @param {Object} styles
|
203
|
+
* Class name mapping imported from `.module.css` file.
|
204
|
+
*
|
205
|
+
* @param {...string} classNames
|
206
|
+
* Keys from the styles object that shall be used in the ui object.
|
207
|
+
*
|
208
|
+
* @return {Object}
|
209
|
+
*
|
210
|
+
* @example
|
211
|
+
*
|
212
|
+
* // MyView.module.css
|
213
|
+
*
|
214
|
+
* .container {}
|
215
|
+
*
|
216
|
+
* // MyView.js
|
217
|
+
*
|
218
|
+
* import Marionette from 'marionette';
|
219
|
+
* import {cssModulesUtils} from 'pageflow/ui';
|
220
|
+
*
|
221
|
+
* import styles from './MyView.module.css';
|
222
|
+
*
|
223
|
+
* export const MyView = Marionette.ItemView({
|
224
|
+
* template: () => `
|
225
|
+
* <div class=${styles.container}></div>
|
226
|
+
* `,
|
227
|
+
*
|
228
|
+
* ui: cssModulesUtils.ui(styles, 'container'),
|
229
|
+
*
|
230
|
+
* onRender() {
|
231
|
+
* this.ui.container // => JQuery wrapper for container element
|
232
|
+
* }
|
233
|
+
* });
|
234
|
+
*
|
235
|
+
* @memberof cssModulesUtils
|
236
|
+
*/
|
237
|
+
function ui(styles) {
|
238
|
+
for (var _len = arguments.length, classNames = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
239
|
+
classNames[_key - 1] = arguments[_key];
|
240
|
+
}
|
241
|
+
|
242
|
+
return classNames.reduce(function (result, className) {
|
243
|
+
result[className] = selector(styles, className);
|
244
|
+
return result;
|
245
|
+
}, {});
|
246
|
+
}
|
247
|
+
/**
|
248
|
+
* Create object that can be passed to Marionette events property from CSS
|
249
|
+
* module object.
|
250
|
+
*
|
251
|
+
* @param {Object} styles
|
252
|
+
* Class name mapping imported from `.module.css` file.
|
253
|
+
*
|
254
|
+
* @param {Object} mapping
|
255
|
+
* Events mapping using keys from the `styles` instead of CSS class names.
|
256
|
+
*
|
257
|
+
* @return {Object}
|
258
|
+
*
|
259
|
+
* @example
|
260
|
+
*
|
261
|
+
* // MyView.module.css
|
262
|
+
*
|
263
|
+
* .addButton {}
|
264
|
+
*
|
265
|
+
* // MyView.js
|
266
|
+
*
|
267
|
+
* import Marionette from 'marionette';
|
268
|
+
* import {cssModulesUtils} from 'pageflow/ui';
|
269
|
+
*
|
270
|
+
* import styles from './MyView.module.css';
|
271
|
+
*
|
272
|
+
* export const MyView = Marionette.ItemView({
|
273
|
+
* template: () => `
|
274
|
+
* <button class=${styles.addButton}></button>
|
275
|
+
* `,
|
276
|
+
*
|
277
|
+
* events: cssModulesUtils.ui(styles, {
|
278
|
+
* 'click addButton': () => console.log('clicked add button');
|
279
|
+
* })
|
280
|
+
* });
|
281
|
+
*
|
282
|
+
* @memberof cssModulesUtils
|
283
|
+
*/
|
284
|
+
|
285
|
+
function events(styles, mapping) {
|
286
|
+
return Object.keys(mapping).reduce(function (result, key) {
|
287
|
+
var _key$split = key.split(' '),
|
288
|
+
_key$split2 = _slicedToArray(_key$split, 2),
|
289
|
+
event = _key$split2[0],
|
290
|
+
className = _key$split2[1];
|
291
|
+
|
292
|
+
result["".concat(event, " ").concat(selector(styles, className))] = mapping[key];
|
293
|
+
return result;
|
294
|
+
}, {});
|
295
|
+
}
|
296
|
+
/**
|
297
|
+
* Generates a CSS selector from a CSS module rule.
|
298
|
+
*
|
299
|
+
* @param {Object} styles
|
300
|
+
* Class name mapping imported from `.module.css` file.
|
301
|
+
*
|
302
|
+
* @param {String} className
|
303
|
+
* Key from the `styles` object.
|
304
|
+
*
|
305
|
+
* @return {String} CSS Selector
|
306
|
+
* @memberof cssModulesUtils
|
307
|
+
*/
|
308
|
+
|
309
|
+
function selector(styles, className) {
|
310
|
+
var classNames = styles[className];
|
311
|
+
|
312
|
+
if (!classNames) {
|
313
|
+
throw new Error("Unknown class name ".concat(className, " in mapping. Knwon names: ").concat(Object.keys(styles).join(', '), "."));
|
314
|
+
}
|
315
|
+
|
316
|
+
return ".".concat(classNames.replace(/ /g, '.'));
|
317
|
+
}
|
318
|
+
|
319
|
+
var cssModulesUtils = /*#__PURE__*/Object.freeze({
|
320
|
+
__proto__: null,
|
321
|
+
ui: ui,
|
322
|
+
events: events,
|
323
|
+
selector: selector
|
324
|
+
});
|
325
|
+
|
159
326
|
// https://github.com/jashkenas/backbone/issues/2601
|
160
327
|
|
161
328
|
function BaseObject(options) {
|
@@ -405,6 +572,8 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
405
572
|
/**
|
406
573
|
* Switch between different views using tabs.
|
407
574
|
*
|
575
|
+
* @param {Object} [options]
|
576
|
+
*
|
408
577
|
* @param {string} [options.defaultTab]
|
409
578
|
* Name of the tab to enable by default.
|
410
579
|
*
|
@@ -419,10 +588,11 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
419
588
|
* Legacy alias for `fallbackTranslationKeyPrefix`.
|
420
589
|
*
|
421
590
|
* @class
|
422
|
-
* @memberof module:pageflow/ui
|
423
591
|
*/
|
424
592
|
|
425
|
-
var TabsView = Marionette.Layout.extend(
|
593
|
+
var TabsView = Marionette.Layout.extend(
|
594
|
+
/* @lends TabView.prototype */
|
595
|
+
{
|
426
596
|
template: template,
|
427
597
|
className: 'tabs_view',
|
428
598
|
ui: {
|
@@ -532,6 +702,8 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
532
702
|
/**
|
533
703
|
* Render a inputs on multiple tabs.
|
534
704
|
*
|
705
|
+
* @param {Object} [options]
|
706
|
+
*
|
535
707
|
* @param {string} [options.model]
|
536
708
|
* Backbone model to use for input views.
|
537
709
|
*
|
@@ -551,7 +723,6 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
551
723
|
* Prefixes to append tab name to.
|
552
724
|
*
|
553
725
|
* @class
|
554
|
-
* @memberof module:pageflow/ui
|
555
726
|
*/
|
556
727
|
|
557
728
|
var ConfigurationEditorView = Marionette.View.extend({
|
@@ -617,6 +788,8 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
617
788
|
* `this.options.column`. Override the `update` method to populate the
|
618
789
|
* element.
|
619
790
|
*
|
791
|
+
* @param {Object} [options]
|
792
|
+
*
|
620
793
|
* @param {string} [options.className]
|
621
794
|
* Class attribute to apply to the cell element.
|
622
795
|
*
|
@@ -964,7 +1137,6 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
964
1137
|
* attribute equals the value of this option.
|
965
1138
|
*
|
966
1139
|
* @mixin
|
967
|
-
* @memberof module:pageflow/ui
|
968
1140
|
*/
|
969
1141
|
|
970
1142
|
var inputView = {
|
@@ -977,13 +1149,12 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
977
1149
|
* Returns an array of translation keys based on the
|
978
1150
|
* `attributeTranslationKeyPrefixes` option and the given keyName.
|
979
1151
|
*
|
980
|
-
* Combined with {@link
|
981
|
-
* module:pageflow/ui.findTranslation
|
1152
|
+
* Combined with {@link #i18nutils
|
982
1153
|
* i18nUtils.findTranslation}, this can be used inside input views
|
983
1154
|
* to obtain additional translations with the same logic as for
|
984
1155
|
* labels and inline help texts.
|
985
1156
|
*
|
986
|
-
*
|
1157
|
+
* findTranslation(this.attributeTranslationKeys('default_value'));
|
987
1158
|
*
|
988
1159
|
* @param {string} keyName
|
989
1160
|
* Suffix to append to prefixes.
|
@@ -1094,10 +1265,11 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
1094
1265
|
|
1095
1266
|
/**
|
1096
1267
|
* Input view for attributes storing configuration hashes with boolean values.
|
1268
|
+
* See {@link inputView} for further options.
|
1269
|
+
*
|
1270
|
+
* @param {Object} [options]
|
1097
1271
|
*
|
1098
|
-
* @see {@link module:pageflow/ui.inputView inputView} for further options
|
1099
1272
|
* @class
|
1100
|
-
* @memberof module:pageflow/ui
|
1101
1273
|
*/
|
1102
1274
|
|
1103
1275
|
var CheckBoxGroupInputView = Marionette.ItemView.extend({
|
@@ -1167,13 +1339,14 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
1167
1339
|
|
1168
1340
|
/**
|
1169
1341
|
* Display view for a link to a URL, to be used like an input view.
|
1342
|
+
* See {@link inputView} for further options
|
1343
|
+
*
|
1344
|
+
* @param {Object} [options]
|
1170
1345
|
*
|
1171
1346
|
* @param {string} [options.propertyName]
|
1172
1347
|
* Target URL for link
|
1173
1348
|
*
|
1174
|
-
* @see {@link module:pageflow/ui.inputView inputView} for further options
|
1175
1349
|
* @class
|
1176
|
-
* @memberof module:pageflow/ui
|
1177
1350
|
*/
|
1178
1351
|
|
1179
1352
|
var UrlDisplayView = Marionette.ItemView.extend({
|
@@ -1204,6 +1377,8 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
1204
1377
|
/**
|
1205
1378
|
* Text based input view that can display a placeholder.
|
1206
1379
|
*
|
1380
|
+
* @param {Object} [options]
|
1381
|
+
*
|
1207
1382
|
* @param {string|function} [options.placeholder]
|
1208
1383
|
* Display a placeholder string if the input is blank. Either a
|
1209
1384
|
* string or a function taking the model as a first parameter and
|
@@ -1219,9 +1394,6 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
1219
1394
|
* @param {Backbone.Model} [options.placeholderModel]
|
1220
1395
|
* Obtain placeholder by looking up the configured `propertyName`
|
1221
1396
|
* inside a given model.
|
1222
|
-
*
|
1223
|
-
* @mixin
|
1224
|
-
* @memberof module:pageflow/ui
|
1225
1397
|
*/
|
1226
1398
|
var inputWithPlaceholderText = {
|
1227
1399
|
onRender: function onRender() {
|
@@ -1261,21 +1433,21 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
1261
1433
|
/**
|
1262
1434
|
* Input view for a single line of text.
|
1263
1435
|
*
|
1436
|
+
* See {@link inputWithPlaceholderText} for placeholder related
|
1437
|
+
* further options. See {@link inputView} for further options.
|
1438
|
+
*
|
1439
|
+
* @param {Object} [options]
|
1440
|
+
*
|
1264
1441
|
* @param {boolean} [options.required=false]
|
1265
|
-
*
|
1442
|
+
* Display an error if the input is blank.
|
1266
1443
|
*
|
1267
1444
|
* @param {number} [options.maxLength=255]
|
1268
|
-
* Maximum length of characters for this input.
|
1269
|
-
*
|
1270
|
-
* the option will only take effect for data which is
|
1445
|
+
* Maximum length of characters for this input. To support legacy
|
1446
|
+
* data which consists of more characters than the specified
|
1447
|
+
* maxLength, the option will only take effect for data which is
|
1448
|
+
* shorter than the specified maxLength.
|
1271
1449
|
*
|
1272
|
-
* @see
|
1273
|
-
* {@link module:pageflow/ui.inputWithPlaceholderText inputWithPlaceholderText}
|
1274
|
-
* for placeholder related further options
|
1275
|
-
*
|
1276
|
-
* @see {@link module:pageflow/ui.inputView inputView} for further options
|
1277
1450
|
* @class
|
1278
|
-
* @memberof module:pageflow/ui
|
1279
1451
|
*/
|
1280
1452
|
|
1281
1453
|
var TextInputView = Marionette.ItemView.extend({
|
@@ -1344,6 +1516,9 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
1344
1516
|
|
1345
1517
|
/**
|
1346
1518
|
* Input view for a color value in hex representation.
|
1519
|
+
* See {@link inputView} for further options
|
1520
|
+
*
|
1521
|
+
* @param {Object} [options]
|
1347
1522
|
*
|
1348
1523
|
* @param {string|function} [options.defaultValue]
|
1349
1524
|
* Color value to display by default. The corresponding value is not
|
@@ -1362,9 +1537,7 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
1362
1537
|
* down. The default value, if present, is always used as the
|
1363
1538
|
* first swatch automatically.
|
1364
1539
|
*
|
1365
|
-
* @see {@link module:pageflow/ui.inputView inputView} for further options
|
1366
1540
|
* @class
|
1367
|
-
* @memberof module:pageflow/ui
|
1368
1541
|
*/
|
1369
1542
|
|
1370
1543
|
var ColorInputView = Marionette.ItemView.extend({
|
@@ -1438,6 +1611,9 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
1438
1611
|
|
1439
1612
|
/**
|
1440
1613
|
* A drop down with support for grouped items.
|
1614
|
+
* See {@link inputView} for further options
|
1615
|
+
*
|
1616
|
+
* @param {Object} [options]
|
1441
1617
|
*
|
1442
1618
|
* @param {string[]} [options.values]
|
1443
1619
|
* List of possible values to persist in the attribute.
|
@@ -1451,7 +1627,7 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
1451
1627
|
* @param {string[]} [options.translationKeyPrefix]
|
1452
1628
|
* Obtain texts for items from translations by appending the item
|
1453
1629
|
* value to this prefix separated by a dot. By default the
|
1454
|
-
* [`attributeTranslationKeyPrefixes` option]{@link
|
1630
|
+
* [`attributeTranslationKeyPrefixes` option]{@link inputView}
|
1455
1631
|
* is used by appending the suffix `.values` to each candidate.
|
1456
1632
|
*
|
1457
1633
|
* @param {string[]} [options.groups]
|
@@ -1505,9 +1681,7 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
1505
1681
|
* value of the `placeholderModel` occurs whenever the attribute is
|
1506
1682
|
* blank.
|
1507
1683
|
*
|
1508
|
-
* @see {@link module:pageflow/ui.inputView inputView} for further options
|
1509
1684
|
* @class
|
1510
|
-
* @memberof module:pageflow/ui
|
1511
1685
|
*/
|
1512
1686
|
|
1513
1687
|
var SelectInputView = Marionette.ItemView.extend({
|
@@ -1777,6 +1951,10 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
1777
1951
|
|
1778
1952
|
/**
|
1779
1953
|
* Input view for multi line text with simple formatting options.
|
1954
|
+
* See {@link inputWithPlaceholderText} for placeholder related options.
|
1955
|
+
* See {@link inputView} for further options.
|
1956
|
+
*
|
1957
|
+
* @param {Object} [options]
|
1780
1958
|
*
|
1781
1959
|
* @param {string} [options.size="normal"]
|
1782
1960
|
* Pass `"short"` to reduce the text area height.
|
@@ -1792,13 +1970,7 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
1792
1970
|
* of a url fragment. Will receive a model with a `linkId`
|
1793
1971
|
* attribute.
|
1794
1972
|
*
|
1795
|
-
* @see
|
1796
|
-
* {@link module:pageflow/ui.inputWithPlaceholderText inputWithPlaceholderText}
|
1797
|
-
* for placeholder related options
|
1798
|
-
*
|
1799
|
-
* @see {@link module:pageflow/ui.inputView inputView} for further options
|
1800
1973
|
* @class
|
1801
|
-
* @memberof module:pageflow/ui
|
1802
1974
|
*/
|
1803
1975
|
|
1804
1976
|
var TextAreaInputView = Marionette.ItemView.extend({
|
@@ -1988,6 +2160,9 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
1988
2160
|
|
1989
2161
|
/**
|
1990
2162
|
* Input view for URLs.
|
2163
|
+
* See {@link inputView} for further options
|
2164
|
+
*
|
2165
|
+
* @param {Object} [options]
|
1991
2166
|
*
|
1992
2167
|
* @param {string[]} options.supportedHosts
|
1993
2168
|
* List of allowed url prefixes.
|
@@ -1998,13 +2173,11 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
1998
2173
|
* @param {boolean} [options.permitHttps=false]
|
1999
2174
|
* Allow urls with https protocol.
|
2000
2175
|
*
|
2001
|
-
* @see {@link module:pageflow/ui.inputView inputView} for further options
|
2002
2176
|
* @class
|
2003
|
-
* @memberof module:pageflow/ui
|
2004
2177
|
*/
|
2005
2178
|
|
2006
2179
|
var UrlInputView = Marionette.Layout.extend(
|
2007
|
-
/** @lends
|
2180
|
+
/** @lends UrlInputView.prototype */
|
2008
2181
|
{
|
2009
2182
|
mixins: [inputView],
|
2010
2183
|
template: template$9,
|
@@ -2142,6 +2315,10 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
2142
2315
|
* `http://example.com/some/path` but the string `/example/some/path`
|
2143
2316
|
* is persisited to the database.
|
2144
2317
|
*
|
2318
|
+
* See {@link inputView} for further options
|
2319
|
+
*
|
2320
|
+
* @param {Object} options
|
2321
|
+
*
|
2145
2322
|
* @param {string} options.displayPropertyName
|
2146
2323
|
* Attribute name to store the url entered by the user.
|
2147
2324
|
*
|
@@ -2171,13 +2348,11 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
2171
2348
|
* ]
|
2172
2349
|
* });
|
2173
2350
|
*
|
2174
|
-
* @see {@link module:pageflow/ui.inputView inputView} for further options
|
2175
2351
|
* @class
|
2176
|
-
* @memberof module:pageflow/ui
|
2177
2352
|
*/
|
2178
2353
|
|
2179
2354
|
var ProxyUrlInputView = UrlInputView.extend(
|
2180
|
-
/** @lends
|
2355
|
+
/** @lends ProxyUrlInputView.prototype */
|
2181
2356
|
{
|
2182
2357
|
// @override
|
2183
2358
|
validateUrl: function validateUrl(url) {
|
@@ -2194,11 +2369,11 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
2194
2369
|
});
|
2195
2370
|
}).promise();
|
2196
2371
|
},
|
2197
|
-
//
|
2372
|
+
// override
|
2198
2373
|
transformPropertyValue: function transformPropertyValue(url) {
|
2199
2374
|
return this.rewriteUrl(url);
|
2200
2375
|
},
|
2201
|
-
//
|
2376
|
+
// override
|
2202
2377
|
supportedHosts: function supportedHosts() {
|
2203
2378
|
return _.pluck(this.options.proxies, 'url');
|
2204
2379
|
},
|
@@ -2219,10 +2394,11 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
2219
2394
|
|
2220
2395
|
/**
|
2221
2396
|
* A slider for numeric inputs.
|
2397
|
+
* See {@link inputView} for options
|
2398
|
+
*
|
2399
|
+
* @param {Object} [options]
|
2222
2400
|
*
|
2223
|
-
* @see {@link module:pageflow/ui.inputView inputView} for options
|
2224
2401
|
* @class
|
2225
|
-
* @memberof module:pageflow/ui
|
2226
2402
|
*/
|
2227
2403
|
|
2228
2404
|
var SliderInputView = Marionette.ItemView.extend({
|
@@ -2340,14 +2516,15 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
2340
2516
|
|
2341
2517
|
/**
|
2342
2518
|
* Input view for boolean values.
|
2519
|
+
* See {@link inputView} for further options
|
2520
|
+
*
|
2521
|
+
* @param {Object} [options]
|
2343
2522
|
*
|
2344
2523
|
* @param {boolean} [options.displayUncheckedIfDisabled=false]
|
2345
2524
|
* Ignore the attribute value if the input is disabled and display
|
2346
2525
|
* an unchecked check box.
|
2347
2526
|
*
|
2348
|
-
* @see {@link module:pageflow/ui.inputView inputView} for further options
|
2349
2527
|
* @class
|
2350
|
-
* @memberof module:pageflow/ui
|
2351
2528
|
*/
|
2352
2529
|
|
2353
2530
|
var CheckBoxInputView = Marionette.ItemView.extend({
|
@@ -2430,6 +2607,8 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
2430
2607
|
*
|
2431
2608
|
* - `.cell_title` - Used as title attribute.
|
2432
2609
|
*
|
2610
|
+
* @param {Object} [options]
|
2611
|
+
*
|
2433
2612
|
* @param {function} [options.toggleDeleteButton]
|
2434
2613
|
* A function with boolean return value to be called on
|
2435
2614
|
* this.getModel(). Delete button will be visible only if the
|
@@ -2514,6 +2693,8 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
2514
2693
|
* - `.cell_title.<attribute_value>` - Used as title attribute.
|
2515
2694
|
* - `.cell_title.blank` - Used as title attribute if attribute is blank.
|
2516
2695
|
*
|
2696
|
+
* @param {Object} [options]
|
2697
|
+
*
|
2517
2698
|
* @param {string[]} [options.icons]
|
2518
2699
|
* An array of all possible attribute values to be mapped to HTML
|
2519
2700
|
* classes of the same name. A global mapping from those classes to
|
@@ -2544,6 +2725,8 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
2544
2725
|
* text. If attribute value is empty, use most specific default
|
2545
2726
|
* available.
|
2546
2727
|
*
|
2728
|
+
* @param {Object} [options]
|
2729
|
+
*
|
2547
2730
|
* @param {function|string} [options.column.default]
|
2548
2731
|
* A function returning a default value for display if attribute
|
2549
2732
|
* value is empty.
|
@@ -2668,6 +2851,7 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
2668
2851
|
exports.TooltipView = TooltipView;
|
2669
2852
|
exports.UrlDisplayView = UrlDisplayView;
|
2670
2853
|
exports.UrlInputView = UrlInputView;
|
2854
|
+
exports.cssModulesUtils = cssModulesUtils;
|
2671
2855
|
exports.i18nUtils = i18nUtils;
|
2672
2856
|
exports.inputView = inputView;
|
2673
2857
|
exports.inputWithPlaceholderText = inputWithPlaceholderText;
|