2 lines
142 KiB
JavaScript
2 lines
142 KiB
JavaScript
// [AIV_SHORT] Build version: 4.5.13 - Monday, April 13th, 2020, 12:48:56 PM
|
||
!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=94)}([function(t,e,n){"use strict";n.d(e,"K",function(){return r}),n.d(e,"M",function(){return o}),n.d(e,"ib",function(){return i}),n.d(e,"mb",function(){return a}),n.d(e,"hb",function(){return c}),n.d(e,"nb",function(){return u}),n.d(e,"jb",function(){return s}),n.d(e,"fb",function(){return l}),n.d(e,"gb",function(){return f}),n.d(e,"Z",function(){return d}),n.d(e,"db",function(){return h}),n.d(e,"cb",function(){return p}),n.d(e,"Y",function(){return m}),n.d(e,"eb",function(){return b}),n.d(e,"bb",function(){return g}),n.d(e,"ab",function(){return v}),n.d(e,"kb",function(){return y}),n.d(e,"ob",function(){return O}),n.d(e,"pb",function(){return w}),n.d(e,"lb",function(){return E}),n.d(e,"W",function(){return j}),n.d(e,"X",function(){return T}),n.d(e,"p",function(){return _}),n.d(e,"t",function(){return S}),n.d(e,"n",function(){return A}),n.d(e,"u",function(){return N}),n.d(e,"q",function(){return M}),n.d(e,"o",function(){return x}),n.d(e,"l",function(){return R}),n.d(e,"m",function(){return L}),n.d(e,"k",function(){return I}),n.d(e,"r",function(){return k}),n.d(e,"v",function(){return P}),n.d(e,"w",function(){return C}),n.d(e,"s",function(){return F}),n.d(e,"j",function(){return D}),n.d(e,"Ab",function(){return z}),n.d(e,"yb",function(){return H}),n.d(e,"zb",function(){return B}),n.d(e,"xb",function(){return Y}),n.d(e,"Bb",function(){return U}),n.d(e,"Cb",function(){return W}),n.d(e,"ub",function(){return q}),n.d(e,"wb",function(){return V}),n.d(e,"tb",function(){return G}),n.d(e,"vb",function(){return $}),n.d(e,"sb",function(){return K}),n.d(e,"qb",function(){return X}),n.d(e,"rb",function(){return J}),n.d(e,"H",function(){return Q}),n.d(e,"F",function(){return Z}),n.d(e,"G",function(){return tt}),n.d(e,"E",function(){return et}),n.d(e,"I",function(){return nt}),n.d(e,"J",function(){return rt}),n.d(e,"B",function(){return ot}),n.d(e,"D",function(){return it}),n.d(e,"A",function(){return at}),n.d(e,"C",function(){return ct}),n.d(e,"z",function(){return ut}),n.d(e,"x",function(){return st}),n.d(e,"y",function(){return lt}),n.d(e,"d",function(){return ft}),n.d(e,"Db",function(){return dt}),n.d(e,"O",function(){return ht}),n.d(e,"h",function(){return pt}),n.d(e,"N",function(){return mt}),n.d(e,"g",function(){return bt}),n.d(e,"Q",function(){return gt}),n.d(e,"a",function(){return vt}),n.d(e,"f",function(){return yt}),n.d(e,"e",function(){return Ot}),n.d(e,"c",function(){return wt}),n.d(e,"b",function(){return Et}),n.d(e,"i",function(){return jt}),n.d(e,"P",function(){return Tt}),n.d(e,"L",function(){return _t}),n.d(e,"T",function(){return St}),n.d(e,"U",function(){return At}),n.d(e,"R",function(){return Nt}),n.d(e,"V",function(){return Mt}),n.d(e,"S",function(){return xt}),n.d(e,"Eb",function(){return Rt});var r="PLAYER_INIT",o="PLAYER_READY",i="PLAYER_SHOW_COMPONENT_INFO",a="PLAYER_SHOW_COMPONENT_SHOW_TITLE",c="PLAYER_SHOW_COMPONENT_EPISODE_TITLE",u="PLAYER_SHOW_COMPONENT_SUBTITLE",s="PLAYER_SHOW_COMPONENT_INFO_POSTER",l="PLAYER_SHOW_COMPONENT_CONTROLS_CHAPTERS",f="PLAYER_SHOW_COMPONENT_CONTROLS_STEPPERS",d="PLAYER_SHOW_COMPONENT_CONTROLS_BUTTON_LOADING",h="PLAYER_SHOW_COMPONENT_CONTROLS_BUTTON_REPLAY",p="PLAYER_SHOW_COMPONENT_CONTROLS_BUTTON_REMAINING",m="PLAYER_SHOW_COMPONENT_CONTROLS_BUTTON_DURATION",b="PLAYER_SHOW_COMPONENT_CONTROLS_BUTTON_RETRY",g="PLAYER_SHOW_COMPONENT_CONTROLS_BUTTON_PLAYING",v="PLAYER_SHOW_COMPONENT_CONTROLS_BUTTON_PAUSE",y="PLAYER_SHOW_COMPONENT_PROGRESSBAR",O="PLAYER_SHOW_COMPONENT_TAB",w="PLAYER_SHOW_COMPONENT_VOLUME_SLIDER",E="PLAYER_SHOW_COMPONENT_RATE_SLIDER",j="PLAYER_SHOW_COMPONENT_CHANNELS",T="PLAYER_SHOW_COMPONENT_CONTROLS_BUTTON",_="PLAYER_HIDE_COMPONENT_INFO",S="PLAYER_HIDE_COMPONENT_SHOW_TITLE",A="PLAYER_HIDE_COMPONENT_EPISODE_TITLE",N="PLAYER_HIDE_COMPONENT_SUBTITLE",M="PLAYER_HIDE_COMPONENT_INFO_POSTER",x="PLAYER_HIDE_COMPONENT_ERROR",R="PLAYER_HIDE_COMPONENT_CONTROLS_CHAPTERS",L="PLAYER_HIDE_COMPONENT_CONTROLS_STEPPERS",I="PLAYER_HIDE_COMPONENT_CONTROLS_BUTTON",k="PLAYER_HIDE_COMPONENT_PROGRESSBAR",P="PLAYER_HIDE_COMPONENT_TAB",C="PLAYER_HIDE_COMPONENT_VOLUME_SLIDER",F="PLAYER_HIDE_COMPONENT_RATE_SLIDER",D="PLAYER_HIDE_COMPONENT_CHANNELS",z="PLAYER_SHOW_VISIBLE_COMPONENTS_TAB_INFO",H="PLAYER_SHOW_VISIBLE_COMPONENTS_TAB_CHAPTERS",B="PLAYER_SHOW_VISIBLE_COMPONENTS_TAB_FILES",Y="PLAYER_SHOW_VISIBLE_COMPONENTS_TAB_AUDIO",U="PLAYER_SHOW_VISIBLE_COMPONENTS_TAB_SHARE",W="PLAYER_SHOW_VISIBLE_COMPONENTS_TAB_TRANSCRIPTS",q="PLAYER_SHOW_VISIBLE_COMPONENTS_HEADER_POSTER",V="PLAYER_SHOW_VISIBLE_COMPONENTS_HEADER_TITLE",G="PLAYER_SHOW_VISIBLE_COMPONENTS_HEADER_EPISODE",$="PLAYER_SHOW_VISIBLE_COMPONENTS_HEADER_SUBTITLE",K="PLAYER_SHOW_VISIBLE_COMPONENTS_CONTROLS_STEPPER",X="PLAYER_SHOW_VISIBLE_COMPONENTS_CONTROLS_CHAPTERS",J="PLAYER_SHOW_VISIBLE_COMPONENTS_CONTROLS_PROGRESSBAR",Q="PLAYER_HIDE_VISIBLE_COMPONENTS_TAB_INFO",Z="PLAYER_HIDE_VISIBLE_COMPONENTS_TAB_CHAPTERS",tt="PLAYER_HIDE_VISIBLE_COMPONENTS_TAB_FILES",et="PLAYER_HIDE_VISIBLE_COMPONENTS_TAB_AUDIO",nt="PLAYER_HIDE_VISIBLE_COMPONENTS_TAB_SHARE",rt="PLAYER_HIDE_VISIBLE_COMPONENTS_TAB_TRANSCRIPTS",ot="PLAYER_HIDE_VISIBLE_COMPONENTS_HEADER_POSTER",it="PLAYER_HIDE_VISIBLE_COMPONENTS_HEADER_TITLE",at="PLAYER_HIDE_VISIBLE_COMPONENTS_HEADER_EPISODE",ct="PLAYER_HIDE_VISIBLE_COMPONENTS_HEADER_SUBTITLE",ut="PLAYER_HIDE_VISIBLE_COMPONENTS_CONTROLS_STEPPER",st="PLAYER_HIDE_VISIBLE_COMPONENTS_CONTROLS_CHAPTERS",lt="PLAYER_HIDE_VISIBLE_COMPONENTS_CONTROLS_PROGRESSBAR",ft="PLAYER_BACKEND_ERROR",dt="PLAYER_SIMULATE_PLAYTIME",ht="PLAYER_REQUEST_PLAY",pt="PLAYER_BACKEND_PLAY",mt="PLAYER_REQUEST_PAUSE",bt="PLAYER_BACKEND_PAUSE",gt="PLAYER_REQUEST_RESTART",vt="PLAYER_BACKEND_BUFFER",yt="PLAYER_BACKEND_LOADING_START",Ot="PLAYER_BACKEND_LOADING_END",wt="PLAYER_BACKEND_END",Et="PLAYER_BACKEND_DURATION",jt="PLAYER_BACKEND_PLAYTIME",Tt="PLAYER_REQUEST_PLAYTIME",_t="PLAYER_LOAD_QUANTILES",St="PLAYER_SET_QUANTILE",At="PLAYER_SET_RUNTIME",Nt="PLAYER_SET_LANGUAGE",Mt="PLAYER_SET_VERSION",xt="PLAYER_SET_MODE",Rt="PLAYER_TOGGLE_TAB"},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n(3),o=n(4);function i(t){return function e(n,i){switch(arguments.length){case 0:return e;case 1:return Object(o.a)(n)?e:Object(r.a)(function(e){return t(n,e)});default:return Object(o.a)(n)&&Object(o.a)(i)?e:Object(o.a)(n)?Object(r.a)(function(e){return t(e,i)}):Object(o.a)(i)?Object(r.a)(function(e){return t(n,e)}):t(n,i)}}}},function(t,e,n){"use strict";var r=n(21),o=n.n(r),i=n(23),a=n(19),c=function(t){return null===t};function u(t,e,n){void 0===e&&(e=a.a),o()(Object(i.a)(e)||c(e),"Expected payloadCreator to be a function, undefined or null");var r=c(e)||e===a.a?a.a:function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t instanceof Error?t:e.apply(void 0,[t].concat(r))},u=Object(i.a)(n),s=t.toString(),l=function(){var e=r.apply(void 0,arguments),o={type:t};return e instanceof Error&&(o.error=!0),void 0!==e&&(o.payload=e),u&&(o.meta=n.apply(void 0,arguments)),o};return l.toString=function(){return s},l}n.d(e,"a",function(){return u})},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(4);function o(t){return function e(n){return 0===arguments.length||Object(r.a)(n)?e:t.apply(this,arguments)}}},function(t,e,n){"use strict";function r(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}n.d(e,"a",function(){return r})},function(t,e,n){"use strict";var r,o,i,a=n(65),c=n(47),u=n(57),s=n(66),l=n(3),f=n(1),d=n(15),h=n(14),p=Object(f.a)(function(t,e){return e>t?e:t}),m=n(42),b=Object(f.a)(function(t,e){return Object(c.a)(Object(m.a)(t),e)}),g=n(31),v=Object(f.a)(function(t,e){return Object(h.a)(Object(g.a)(p,0,b("length",e)),function(){var n=arguments,r=this;return t.apply(r,Object(d.a)(function(t){return t.apply(r,n)},e))})}),y=Object(l.a)(function(t){return v(function(){return Array.prototype.slice.call(arguments,0)},t)}),O=n(32),w=Object(O.a)(0,"toUpperCase"),E=n(69),j=n(45),T=(r=function(t){return void 0===t},o=Object(l.a)(function(t){return null==t}),function(t){return r(t)||o(t)});i=T;n.d(e,"c",function(){return _}),n.d(e,"b",function(){return S}),n.d(e,"a",function(){return A});var _=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return isNaN(parseInt(t,10))?0:parseInt(t,10)},S=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return isNaN(parseFloat(t))?0:parseFloat(t)},A=Object(a.a)(function(t,e){return Object(c.a)(function(t){return t(e)},t)}),N=Object(a.a)(function(t,e){return e.startsWith(t)}),M=Object(a.a)(function(t,e){return e.endsWith(t)}),x=Object(a.a)(function(t,e){return N(t,e)?e.slice(t.length):e}),R=Object(a.a)(function(t,e){return M(t,e)?e.slice(0,e.length-t.length):e});Object(a.a)(function(t,e){return x(t,R(t,e))}),Object(u.a)(Object(s.a)(""),y([Object(u.a)(w,E.a),j.a]))},function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n(3),o=n(1),i=n(4);function a(t){return function e(n,a,c){switch(arguments.length){case 0:return e;case 1:return Object(i.a)(n)?e:Object(o.a)(function(e,r){return t(n,e,r)});case 2:return Object(i.a)(n)&&Object(i.a)(a)?e:Object(i.a)(n)?Object(o.a)(function(e,n){return t(e,a,n)}):Object(i.a)(a)?Object(o.a)(function(e,r){return t(n,e,r)}):Object(r.a)(function(e){return t(n,a,e)});default:return Object(i.a)(n)&&Object(i.a)(a)&&Object(i.a)(c)?e:Object(i.a)(n)&&Object(i.a)(a)?Object(o.a)(function(e,n){return t(e,n,c)}):Object(i.a)(n)&&Object(i.a)(c)?Object(o.a)(function(e,n){return t(e,a,n)}):Object(i.a)(a)&&Object(i.a)(c)?Object(o.a)(function(e,r){return t(n,e,r)}):Object(i.a)(n)?Object(r.a)(function(e){return t(e,a,c)}):Object(i.a)(a)?Object(r.a)(function(e){return t(n,e,c)}):Object(i.a)(c)?Object(r.a)(function(e){return t(n,a,e)}):t(n,a,c)}}}},function(t,e,n){"use strict";function r(t,e){return Object.prototype.hasOwnProperty.call(e,t)}n.d(e,"a",function(){return r})},function(t,e,n){"use strict";var r=n(3),o=n(7),i=n(36),a=!{toString:null}.propertyIsEnumerable("toString"),c=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],u=function(){return arguments.propertyIsEnumerable("length")}(),s=function(t,e){for(var n=0;n<t.length;){if(t[n]===e)return!0;n+=1}return!1},l="function"!=typeof Object.keys||u?Object(r.a)(function(t){if(Object(t)!==t)return[];var e,n,r=[],l=u&&Object(i.a)(t);for(e in t)!Object(o.a)(e,t)||l&&"length"===e||(r[r.length]=e);if(a)for(n=c.length-1;n>=0;)e=c[n],Object(o.a)(e,t)&&!s(r,e)&&(r[r.length]=e),n-=1;return r}):Object(r.a)(function(t){return Object(t)!==t?[]:Object.keys(t)});e.a=l},function(t,e,n){"use strict";function r(t){return"[object String]"===Object.prototype.toString.call(t)}n.d(e,"a",function(){return r})},function(t,e,n){"use strict";e.a=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)}},function(t,e,n){t.exports=n(58)},,function(t,e,n){"use strict";function r(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(t){return e.apply(this,arguments)};case 2:return function(t,n){return e.apply(this,arguments)};case 3:return function(t,n,r){return e.apply(this,arguments)};case 4:return function(t,n,r,o){return e.apply(this,arguments)};case 5:return function(t,n,r,o,i){return e.apply(this,arguments)};case 6:return function(t,n,r,o,i,a){return e.apply(this,arguments)};case 7:return function(t,n,r,o,i,a,c){return e.apply(this,arguments)};case 8:return function(t,n,r,o,i,a,c,u){return e.apply(this,arguments)};case 9:return function(t,n,r,o,i,a,c,u,s){return e.apply(this,arguments)};case 10:return function(t,n,r,o,i,a,c,u,s,l){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}n.d(e,"a",function(){return r})},function(t,e,n){"use strict";var r=n(13),o=n(3),i=n(1),a=n(4);var c=Object(i.a)(function(t,e){return 1===t?Object(o.a)(e):Object(r.a)(t,function t(e,n,o){return function(){for(var i=[],c=0,u=e,s=0;s<n.length||c<arguments.length;){var l;s<n.length&&(!Object(a.a)(n[s])||c>=arguments.length)?l=n[s]:(l=arguments[c],c+=1),i[s]=l,Object(a.a)(l)||(u-=1),s+=1}return u<=0?o.apply(this,i):Object(r.a)(u,t(e,i,o))}}(t,[],e))});e.a=c},function(t,e,n){"use strict";function r(t,e){for(var n=0,r=e.length,o=Array(r);n<r;)o[n]=t(e[n]),n+=1;return o}n.d(e,"a",function(){return r})},function(t,e,n){"use strict";n.d(e,"c",function(){return i}),n.d(e,"a",function(){return a}),n.d(e,"d",function(){return c}),n.d(e,"b",function(){return u});var r=n(2),o=n(0),i=(Object(r.a)(o.ib),Object(r.a)(o.mb),Object(r.a)(o.hb),Object(r.a)(o.nb),Object(r.a)(o.kb)),a=(Object(r.a)(o.jb),Object(r.a)(o.fb)),c=Object(r.a)(o.gb),u=(Object(r.a)(o.X),Object(r.a)(o.Z),Object(r.a)(o.db),Object(r.a)(o.cb),Object(r.a)(o.Y),Object(r.a)(o.eb),Object(r.a)(o.bb),Object(r.a)(o.ab));Object(r.a)(o.ob),Object(r.a)(o.pb),Object(r.a)(o.lb),Object(r.a)(o.W),Object(r.a)(o.p),Object(r.a)(o.o),Object(r.a)(o.r),Object(r.a)(o.q),Object(r.a)(o.t),Object(r.a)(o.n),Object(r.a)(o.u),Object(r.a)(o.l),Object(r.a)(o.m),Object(r.a)(o.k),Object(r.a)(o.v),Object(r.a)(o.w),Object(r.a)(o.s),Object(r.a)(o.j)},function(t,e,n){"use strict";var r=n(3),o=n(10),i=n(9),a=Object(r.a)(function(t){return!!Object(o.a)(t)||!!t&&("object"==typeof t&&(!Object(i.a)(t)&&(1===t.nodeType?!!t.length:0===t.length||t.length>0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))}),c=function(){function t(t){this.f=t}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(t){return t},t.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},t}();var u=n(13),s=n(1),l=Object(s.a)(function(t,e){return Object(u.a)(t.length,function(){return t.apply(e,arguments)})});function f(t,e,n){for(var r=n.next();!r.done;){if((e=t["@@transducer/step"](e,r.value))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}r=n.next()}return t["@@transducer/result"](e)}function d(t,e,n,r){return t["@@transducer/result"](n[r](l(t["@@transducer/step"],t),e))}n.d(e,"a",function(){return p});var h="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function p(t,e,n){if("function"==typeof t&&(t=function(t){return new c(t)}(t)),a(n))return function(t,e,n){for(var r=0,o=n.length;r<o;){if((e=t["@@transducer/step"](e,n[r]))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}r+=1}return t["@@transducer/result"](e)}(t,e,n);if("function"==typeof n["fantasy-land/reduce"])return d(t,e,n,"fantasy-land/reduce");if(null!=n[h])return f(t,e,n[h]());if("function"==typeof n.next)return f(t,e,n);if("function"==typeof n.reduce)return d(t,e,n,"reduce");throw new TypeError("reduce: list must be array or iterable")}},function(t,e,n){"use strict";e.a={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}}},function(t,e,n){"use strict";e.a=function(t){return t}},,function(t,e,n){"use strict";t.exports=function(t,e,n,r,o,i,a,c){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 s=[n,r,o,i,a,c],l=0;(u=new Error(e.replace(/%s/g,function(){return s[l++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(t,e,n){"use strict";function r(t){return"[object Object]"===Object.prototype.toString.call(t)}n.d(e,"a",function(){return r})},function(t,e,n){"use strict";e.a=function(t){return"function"==typeof t}},function(t,e){function n(t,e,n,r,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void n(t)}c.done?e(u):Promise.resolve(u).then(r,o)}t.exports=function(t){return function(){var e=this,r=arguments;return new Promise(function(o,i){var a=t.apply(e,r);function c(t){n(a,o,i,c,u,"next",t)}function u(t){n(a,o,i,c,u,"throw",t)}c(void 0)})}}},function(t,e,n){"use strict";var r=n(1);function o(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}var i=n(29);var a=n(7);var c="function"==typeof Object.is?Object.is:function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e},u=n(8),s=n(3),l=Object(s.a)(function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)});function f(t,e,n,r){var a=o(t),c=o(e);function u(t,e){return d(t,e,n.slice(),r.slice())}return!Object(i.a)(function(t,e){return!Object(i.a)(u,e,t)},c,a)}function d(t,e,n,r){if(c(t,e))return!0;var o,i,s=l(t);if(s!==l(e))return!1;if(null==t||null==e)return!1;if("function"==typeof t["fantasy-land/equals"]||"function"==typeof e["fantasy-land/equals"])return"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e)&&"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t);if("function"==typeof t.equals||"function"==typeof e.equals)return"function"==typeof t.equals&&t.equals(e)&&"function"==typeof e.equals&&e.equals(t);switch(s){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===(o=t.constructor,null==(i=String(o).match(/^function (\w*)/))?"":i[1]))return t===e;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof e||!c(t.valueOf(),e.valueOf()))return!1;break;case"Date":if(!c(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(t.source!==e.source||t.global!==e.global||t.ignoreCase!==e.ignoreCase||t.multiline!==e.multiline||t.sticky!==e.sticky||t.unicode!==e.unicode)return!1}for(var h=n.length-1;h>=0;){if(n[h]===t)return r[h]===e;h-=1}switch(s){case"Map":return t.size===e.size&&f(t.entries(),e.entries(),n.concat([t]),r.concat([e]));case"Set":return t.size===e.size&&f(t.values(),e.values(),n.concat([t]),r.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var p=Object(u.a)(t);if(p.length!==Object(u.a)(e).length)return!1;var m=n.concat([t]),b=r.concat([e]);for(h=p.length-1;h>=0;){var g=p[h];if(!Object(a.a)(g,e)||!d(e[g],t[g],m,b))return!1;h-=1}return!0}var h=Object(r.a)(function(t,e){return d(t,e,[],[])});e.a=h},function(t,e,n){"use strict";var r=n(3),o=n(28),i=n(15);function a(t){return'"'+t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var c=function(t){return(t<10?"0":"")+t},u="function"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+c(t.getUTCMonth()+1)+"-"+c(t.getUTCDate())+"T"+c(t.getUTCHours())+":"+c(t.getUTCMinutes())+":"+c(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"},s=n(8);var l=n(1),f=n(46),d=Object(l.a)(function(t,e){return Object(f.a)((n=t,function(){return!n.apply(this,arguments)}),e);var n});var h=Object(r.a)(function(t){return function t(e,n){var r=function(r){var i=n.concat([e]);return Object(o.a)(r,i)?"<Circular>":t(r,i)},c=function(t,e){return Object(i.a)(function(e){return a(e)+": "+r(t[e])},e.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+Object(i.a)(r,e).join(", ")+"))";case"[object Array]":return"["+Object(i.a)(r,e).concat(c(e,d(function(t){return/^\d+$/.test(t)},Object(s.a)(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+r(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?r(NaN):a(u(e)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+r(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object String]":return"object"==typeof e?"new String("+r(e.valueOf())+")":a(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var l=e.toString();if("[object Object]"!==l)return l}return"{"+c(e,Object(s.a)(e)).join(", ")+"}"}}(t,[])});e.a=h},function(t,e,n){"use strict";var r=n(1),o=Object(r.a)(function(t,e){return null!=e&&e.constructor===t||e instanceof t}),i=n(57),a=n(5);n.d(e,"a",function(){return u});var c=new RegExp(/^(?:(\d{1,2}):)?(?:(\d{1,2}):)?(\d{1,2})(?:\.(\d{1,3}))?$/),u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"0";if(o(Number,t))return t;var e=c.exec(t||"0");return e?60*parseInt(e[2]?e[1]:0)*60*1e3+60*parseInt(e[2]?e[2]:e[1]||0)*1e3+1e3*parseInt(e[3]||0)+parseInt(e[4]||0):0},s=(Object(i.a)(a.c,function(t){return 1e3*t},a.b),Object(i.a)(a.b,function(t){return t/1e3},a.c));Object(i.a)(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return parseInt(t%60)},s),Object(i.a)(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return parseInt(t/60)%60},s),Object(i.a)(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return parseInt(t/3600)%24},s)},function(t,e,n){"use strict";var r=n(25);function o(t,e){return function(t,e,n){var o,i;if("function"==typeof t.indexOf)switch(typeof e){case"number":if(0===e){for(o=1/e;n<t.length;){if(0===(i=t[n])&&1/i===o)return n;n+=1}return-1}if(e!=e){for(;n<t.length;){if("number"==typeof(i=t[n])&&i!=i)return n;n+=1}return-1}return t.indexOf(e,n);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,n);case"object":if(null===e)return t.indexOf(e,n)}for(;n<t.length;){if(Object(r.a)(t[n],e))return n;n+=1}return-1}(e,t,0)>=0}n.d(e,"a",function(){return o})},function(t,e,n){"use strict";function r(t,e,n){for(var r=0,o=n.length;r<o;){if(t(e,n[r]))return!0;r+=1}return!1}n.d(e,"a",function(){return r})},function(t,e,n){var r=n(35);t.exports=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),o.forEach(function(e){r(t,e,n[e])})}return t}},function(t,e,n){"use strict";var r=n(6),o=n(17),i=Object(r.a)(o.a);e.a=i},function(t,e,n){"use strict";var r=n(1),o=n(34),i=n(14),a=n(26),c=Object(r.a)(function(t,e){return Object(i.a)(t+1,function(){var n=arguments[t];if(null!=n&&Object(o.a)(n[e]))return n[e].apply(n,Array.prototype.slice.call(arguments,0,t));throw new TypeError(Object(a.a)(n)+' does not have a method named "'+e+'"')})});e.a=c},function(t,e,n){"use strict";var r=n(10);function o(t,e,n){return function(){if(0===arguments.length)return n();var o=Array.prototype.slice.call(arguments,0),i=o.pop();if(!Object(r.a)(i)){for(var a=0;a<t.length;){if("function"==typeof i[t[a]])return i[t[a]].apply(i,o);a+=1}if(function(t){return null!=t&&"function"==typeof t["@@transducer/step"]}(i))return e.apply(null,o)(i)}return n.apply(this,arguments)}}n.d(e,"a",function(){return o})},function(t,e,n){"use strict";function r(t){return"[object Function]"===Object.prototype.toString.call(t)}n.d(e,"a",function(){return r})},function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){"use strict";var r=n(7),o=Object.prototype.toString,i=function(){return"[object Arguments]"===o.call(arguments)?function(t){return"[object Arguments]"===o.call(t)}:function(t){return Object(r.a)("callee",t)}}();e.a=i},function(t,e,n){"use strict";var r=n(1),o=Object(r.a)(function(t,e){for(var n=e,r=0;r<t.length;){if(null==n)return;n=n[t[r]],r+=1}return n});e.a=o},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n(2),o=n(0),i=(Object(r.a)(o.i),Object(r.a)(o.P));Object(r.a)(o.Db),Object(r.a)(o.b)},function(t,e,n){"use strict";n.d(e,"b",function(){return i}),n.d(e,"a",function(){return a});var r=n(2),o=n(0),i=Object(r.a)(o.O),a=(Object(r.a)(o.h),Object(r.a)(o.N));Object(r.a)(o.g),Object(r.a)(o.Q),Object(r.a)(o.f),Object(r.a)(o.e),Object(r.a)(o.a),Object(r.a)(o.c),Object(r.a)(o.d)},function(t,e,n){"use strict";n.d(e,"a",function(){return f});var r=n(30),o=n.n(r),i=n(43),a=n.n(i),c=n(51),u=n.n(c),s=n(27),l=u.a.parse(window.location.search),f=o()({},function(t){var e={};if(t.t){var n=t.t.split(","),r=a()(n,2),o=r[0],i=r[1];e.starttime="string"==typeof o?Object(s.a)(o):void 0,e.stoptime="string"==typeof i?Object(s.a)(i):void 0}return t.episode&&(e.episode=t.episode),t.autoplay&&(e.autoplay=!0),e}(l))},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n(2),o=n(0),i=Object(r.a)(o.Eb)},function(t,e,n){"use strict";var r=n(1),o=n(37),i=Object(r.a)(function(t,e){return Object(o.a)([t],e)});e.a=i},function(t,e,n){var r=n(59),o=n(60),i=n(61);t.exports=function(t,e){return r(t)||o(t,e)||i()}},function(t,e,n){"use strict";var r={};n.r(r),n.d(r,"playtime",function(){return i}),n.d(r,"duration",function(){return a});var o=n(42),i=Object(o.a)("playtime"),a=Object(o.a)("duration"),c=n(35),u=n.n(c),s=n(30),l=n.n(s),f=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var r="function"!=typeof e[e.length-1]&&e.pop(),o=e;if(void 0===r)throw new TypeError("The initial state may not be undefined. If you do not want to set a value for this reducer, you can use null instead of undefined.");return function(t,e){for(var n=arguments.length,i=Array(n>2?n-2:0),a=2;a<n;a++)i[a-2]=arguments[a];var c=void 0===t,u=void 0===e;return c&&u&&r?r:o.reduce(function(t,n){return n.apply(void 0,[t,e].concat(i))},c&&!u&&r?r:t)}},d=n(21),h=n.n(d),p=function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e},m=function(t){return"undefined"!=typeof Map&&t instanceof Map};function b(t){if(m(t))return Array.from(t.keys());if("undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys)return Reflect.ownKeys(t);var e=Object.getOwnPropertyNames(t);return"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(t))),e}var g="||";function v(t,e){return m(e)?e.get(t):e[t]}var y,O=(y=function(t){return(p(t)||m(t))&&(e=b(t),n=e.every(function(t){return"next"===t||"throw"===t}),!(e.length&&e.length<=2&&n));var e,n},function t(e,n,r,o){var i=void 0===n?{}:n,a=i.namespace,c=void 0===a?"/":a,u=i.prefix;return void 0===r&&(r={}),void 0===o&&(o=""),b(e).forEach(function(n){var i=function(t){return o||!u?t:""+u+c+t}(function(t){var e;if(!o)return t;var n=t.toString().split(g),r=o.split(g);return(e=[]).concat.apply(e,r.map(function(t){return n.map(function(e){return""+t+c+e})})).join(g)}(n)),a=v(n,e);y(a)?t(a,{namespace:c,prefix:u},r,i):r[i]=a}),r}),w=n(23),E=n(19),j=function(t){return null==t},T=function(t){return void 0===t},_=function(t){return t.toString()};var S,A=n(0),N=n(5),M=n(57),x=n(64),R=n(47),L=n(27),I=Object(M.a)(L.a,Object(x.a)(0,"duration")),k=Object(M.a)(L.a,Object(x.a)(0,"playtime")),P=(Object(M.a)(Object(R.a)(Object(N.a)({url:Object(x.a)(null,"url"),size:Object(x.a)(0,"size"),title:Object(x.a)(null,"title"),mimeType:Object(x.a)(null,"mimeType")})),Object(x.a)([],"audio")),Object(x.a)([],"chapters"),Object(x.a)({},"reference")),C=(Object(x.a)([],"transcripts"),Object(M.a)(Object(x.a)(null,"share"),P),Object(M.a)(Object(x.a)(null,"origin"),P),Object(M.a)(Object(x.a)(null,"config"),P),Object(x.a)({},"runtime"));Object(M.a)(Object(o.a)("language"),C),Object(M.a)(Object(o.a)("platform"),C),function(t,e,n){void 0===n&&(n={}),h()(p(t)||m(t),"Expected handlers to be a plain object.");var r=O(t,n),o=b(r).map(function(t){return function(t,e,n){void 0===e&&(e=E.a);var r=_(t).split(g);h()(!T(n),"defaultState for reducer handling "+r.join(", ")+" should be defined"),h()(Object(w.a)(e)||p(e),"Expected reducer to be a function or object with next and throw reducers");var o=Object(w.a)(e)?[e,e]:[e.next,e.throw].map(function(t){return j(t)?E.a:t}),i=o[0],a=o[1];return function(t,e){void 0===t&&(t=n);var o=e.type;return o&&-1!==r.indexOf(_(o))?(!0===e.error?a:i)(t,e):t}}(t,v(t,r),e)}),i=f.apply(void 0,o.concat([e]))}((S={},u()(S,A.K,function(t,e){var n=e.payload;return l()({},t,{duration:I(n),playtime:k(n)})}),u()(S,A.b,function(t,e){var n=e.payload;return l()({},t,{duration:Object(N.c)(n||t.duration)})}),u()(S,A.i,function(t,e){var n=e.payload;return l()({},t,{playtime:Object(N.c)(n)})}),u()(S,A.P,function(t,e){var n=e.payload;return l()({},t,{playtime:Object(N.c)(n)})}),S),{duration:0,playtime:0});n.d(e,"a",function(){return r})},function(t,e,n){"use strict";var r=n(10);function o(t,e){return function(){var n=arguments.length;if(0===n)return e();var o=arguments[n-1];return Object(r.a)(o)||"function"!=typeof o[t]?e.apply(this,arguments):o[t].apply(o,Array.prototype.slice.call(arguments,0,n-1))}}var i=n(3),a=n(6),c=Object(a.a)(o("slice",function(t,e,n){return Array.prototype.slice.call(n,t,e)})),u=Object(i.a)(o("tail",c(1,1/0)));e.a=u},function(t,e,n){"use strict";var r=n(1),o=n(33);var i=n(22),a=n(17),c=n(18),u=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=c.a.init,t.prototype["@@transducer/result"]=c.a.result,t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):t},t}(),s=Object(r.a)(function(t,e){return new u(t,e)}),l=n(8),f=Object(r.a)(Object(o.a)(["filter"],s,function(t,e){return Object(i.a)(e)?Object(a.a)(function(n,r){return t(e[r])&&(n[r]=e[r]),n},{},Object(l.a)(e)):function(t,e){for(var n=0,r=e.length,o=[];n<r;)t(e[n])&&(o[o.length]=e[n]),n+=1;return o}(t,e)}));e.a=f},function(t,e,n){"use strict";var r=n(1),o=n(33),i=n(15),a=n(17),c=n(18),u=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=c.a.init,t.prototype["@@transducer/result"]=c.a.result,t.prototype["@@transducer/step"]=function(t,e){return this.xf["@@transducer/step"](t,this.f(e))},t}(),s=Object(r.a)(function(t,e){return new u(t,e)}),l=n(14),f=n(8),d=Object(r.a)(Object(o.a)(["fantasy-land/map","map"],s,function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return Object(l.a)(e.length,function(){return t.call(this,e.apply(this,arguments))});case"[object Object]":return Object(a.a)(function(n,r){return n[r]=t(e[r]),n},{},Object(f.a)(e));default:return Object(i.a)(t,e)}}));e.a=d},function(t){t.exports={a:"4.5.13"}},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n(2),o=n(0),i=Object(r.a)(o.K);Object(r.a)(o.M)},function(t,e,n){"use strict";n.d(e,"a",function(){return f});var r=n(57),o=n(64),i=n(44),a=n(39),c=n(38),u=n(40),s=n(16),l=Object(r.a)(i.a.playtime,Object(o.a)({},"timepiece")),f=function(t){var e=u.a.starttime,n=u.a.stoptime,r=u.a.autoplay;(e||r||n)&&(t.dispatch(Object(s.b)()),t.dispatch(Object(s.d)()),t.dispatch(Object(s.a)()),t.dispatch(Object(s.c)())),e&&t.dispatch(Object(c.a)(e+1e3)),r&&t.dispatch(Object(a.b)()),n&&function(t,e){var n=!1;e.subscribe(function(){n||l(e.getState())<t||(n=!0,e.dispatch(Object(a.a)()))})}(n+1e3,t)}},function(t,e,n){"use strict";const r=n(62),o=n(63);function i(t,e){return e.encode?e.strict?r(t):encodeURIComponent(t):t}function a(t,e){return e.decode?o(t):t}function c(t){const e=t.indexOf("?");return-1===e?"":t.slice(e+1)}function u(t,e){const n=function(t){let e;switch(t.arrayFormat){case"index":return(t,n,r)=>{e=/\[(\d*)\]$/.exec(t),t=t.replace(/\[\d*\]$/,""),e?(void 0===r[t]&&(r[t]={}),r[t][e[1]]=n):r[t]=n};case"bracket":return(t,n,r)=>{e=/(\[\])$/.exec(t),t=t.replace(/\[\]$/,""),e?void 0!==r[t]?r[t]=[].concat(r[t],n):r[t]=[n]:r[t]=n};default:return(t,e,n)=>{void 0!==n[t]?n[t]=[].concat(n[t],e):n[t]=e}}}(e=Object.assign({decode:!0,arrayFormat:"none"},e)),r=Object.create(null);if("string"!=typeof t)return r;if(!(t=t.trim().replace(/^[?#&]/,"")))return r;for(const o of t.split("&")){let[t,i]=o.replace(/\+/g," ").split("=");i=void 0===i?null:a(i,e),n(a(t,e),i,r)}return Object.keys(r).sort().reduce((t,e)=>{const n=r[e];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?t[e]=function t(e){return Array.isArray(e)?e.sort():"object"==typeof e?t(Object.keys(e)).sort((t,e)=>Number(t)-Number(e)).map(t=>e[t]):e}(n):t[e]=n,t},Object.create(null))}e.extract=c,e.parse=u,e.stringify=((t,e)=>{if(!t)return"";const n=function(t){switch(t.arrayFormat){case"index":return(e,n,r)=>null===n?[i(e,t),"[",r,"]"].join(""):[i(e,t),"[",i(r,t),"]=",i(n,t)].join("");case"bracket":return(e,n)=>null===n?[i(e,t),"[]"].join(""):[i(e,t),"[]=",i(n,t)].join("");default:return(e,n)=>null===n?i(e,t):[i(e,t),"=",i(n,t)].join("")}}(e=Object.assign({encode:!0,strict:!0,arrayFormat:"none"},e)),r=Object.keys(t);return!1!==e.sort&&r.sort(e.sort),r.map(r=>{const o=t[r];if(void 0===o)return"";if(null===o)return i(r,e);if(Array.isArray(o)){const t=[];for(const e of o.slice())void 0!==e&&t.push(n(r,e,t.length));return t.join("&")}return i(r,e)+"="+i(o,e)}).filter(t=>t.length>0).join("&")}),e.parseUrl=((t,e)=>{const n=t.indexOf("#");return-1!==n&&(t=t.slice(0,n)),{url:t.split("?")[0]||"",query:u(c(t),e)}})},function(t,e){t.exports=class{constructor(t){this._namespace=t,this._store=window.localStorage,this._sep="\0"}static clear(){window.localStorage.clear()}_notFound(t){const e=new Error(`Not Found [${t}]`);return e.notFound=!0,e.key=t,e}get(t){const e=[this._namespace,t].join(this._sep);if(!this._store[e])return[this._notFound(e)];try{return[null,JSON.parse(this._store[e])]}catch(t){return[t]}}put(t,e){if(void 0===e)return[new Error(`Invalid parameters to put, ('${t}', undefined)`)];try{const n=[this._namespace,t].join(this._sep),r=JSON.stringify(e);return[null,this._store[n]=r]}catch(t){return[t]}}has(t){const e=[this._namespace,t].join(this._sep);return this._store[e]?[null,!0]:[this._notFound(e)]}del(t){if(t){const e=[this._namespace,t].join(this._sep);return this._store[e]?(delete this._store[e],[null]):[this._notFound(e)]}Object.keys(window.localStorage).forEach(t=>{t.split(this._sep)[0]===this._namespace&&delete this._store[t]})}search(t){if(!t)throw new Error("A pattern is required");return[null,Object.keys(this._store).filter(e=>{const[,n]=e.split(this._sep);if(n&&t.test(n))return e}).map(t=>({key:t.split(this._sep)[1],value:this._store[t]}))]}}},function(t,e){e.hashCode=function(){var t=function(t){t=t.toString();var e,n=0;for(e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e)&4294967295;return n},e=function(e){var r=0;for(var o in e)e.hasOwnProperty(o)&&(r+=t(o+n(e[o])));return r},n=function(n){var r={string:t,number:t,boolean:t,object:e},o=typeof n;return null!=n&&r[o]?r[o](n)+t(o):0};return{value:n}}},function(t,e,n){"use strict";var r=n(11),o=n.n(r),i=n(24),a=n.n(i),c=n(64),u=n(29),s=n(1),l=Object(s.a)(function(t,e){for(var n,r=0,o=e.length,i=[];r<o;)n=e[r],Object(u.a)(t,n,i)||(i[i.length]=n),r+=1;return i}),f=n(6),d=n(25),h=Object(f.a)(function(t,e,n){return Object(d.a)(e[t],n[t])}),p=n(77),m=n(22),b=n(7),g=Object(f.a)(function(t,e,n){var r,o={};for(r in e)Object(b.a)(r,e)&&(o[r]=Object(b.a)(r,n)?t(r,e[r],n[r]):e[r]);for(r in n)Object(b.a)(r,n)&&!Object(b.a)(r,o)&&(o[r]=n[r]);return o}),v=Object(f.a)(function t(e,n,r){return g(function(n,r,o){return Object(m.a)(r)&&Object(m.a)(o)?t(e,r,o):e(n,r,o)},n,r)}),y=Object(s.a)(function(t,e){return v(function(t,e,n){return n},t,e)});n.d(e,"a",function(){return _});var O=function(){var t=a()(o.a.mark(function t(e){return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",fetch(e).then(function(t){return t.json()}));case 1:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}(),w=function(t){var e=Object(c.a)([],"media",t),n=Object(c.a)([],"audio",t),r=Object(c.a)([],"video",t);return l(h("url"),Object(p.a)(e,n,r,n))},E=w,j=function(){var t=a()(o.a.mark(function t(e){return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,"string"!=typeof e.chapters){t.next=7;break}return t.next=4,O(e.chapters);case 4:t.t0=t.sent,t.next=8;break;case 7:t.t0=e.chapters;case 8:return t.abrupt("return",t.t0);case 11:return t.prev=11,t.t1=t.catch(0),console.warn("Couldn't parse chapters \"".concat(j,'", falling back to empty list')),t.abrupt("return",[]);case 15:case"end":return t.stop()}},t,null,[[0,11]])}));return function(e){return t.apply(this,arguments)}}(),T=function(){var t=a()(o.a.mark(function t(e){return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,"string"!=typeof e.transcripts){t.next=7;break}return t.next=4,O(e.transcripts);case 4:t.t0=t.sent,t.next=8;break;case 7:t.t0=e.transcripts;case 8:return t.abrupt("return",t.t0);case 11:return t.prev=11,t.t1=t.catch(0),console.warn("Couldn't parse transcripts \"".concat(T,'", falling back to empty list')),t.abrupt("return",[]);case 15:case"end":return t.stop()}},t,null,[[0,11]])}));return function(e){return t.apply(this,arguments)}}(),_=function(){var t=a()(o.a.mark(function t(){var e,n,r,i=arguments;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=i.length>0&&void 0!==i[0]?i[0]:{},n=i.length>1&&void 0!==i[1]?i[1]:{},t.prev=2,"string"!=typeof e){t.next=9;break}return t.next=6,O(e);case 6:t.t0=t.sent,t.next=10;break;case 9:t.t0=e;case 10:r=t.t0,t.next=16;break;case 13:throw t.prev=13,t.t1=t.catch(2),new Error("Couldn't parse configuration \"".concat(e,'"'));case 16:return t.t2=y,t.t3=Object,t.t4={},t.t5=r,t.t6=w(r),t.t7=E(r),t.next=24,T(r);case 24:return t.t8=t.sent,t.next=27,j(r);case 27:return t.t9=t.sent,t.t10={media:t.t6,files:t.t7,transcripts:t.t8,chapters:t.t9},t.t11=t.t3.assign.call(t.t3,t.t4,t.t5,t.t10),t.t12=n,t.abrupt("return",(0,t.t2)(t.t11,t.t12));case 32:case"end":return t.stop()}},t,null,[[2,13]])}));return function(){return t.apply(this,arguments)}}()},function(t,e,n){"use strict";var r=n(43),o=n.n(r);var i=n(44),a=n(38),c=n(16),u=n(2),s=n(0),l=(Object(u.a)(s.T),Object(u.a)(s.L)),f=n(41),d=n(57),h=n(64),p=n(3),m=n(36),b=n(10),g=n(22),v=n(9),y=Object(p.a)(function(t){return null!=t&&"function"==typeof t["fantasy-land/empty"]?t["fantasy-land/empty"]():null!=t&&null!=t.constructor&&"function"==typeof t.constructor["fantasy-land/empty"]?t.constructor["fantasy-land/empty"]():null!=t&&"function"==typeof t.empty?t.empty():null!=t&&null!=t.constructor&&"function"==typeof t.constructor.empty?t.constructor.empty():Object(b.a)(t)?[]:Object(v.a)(t)?"":Object(g.a)(t)?{}:Object(m.a)(t)?function(){return arguments}():void 0}),O=n(25),w=Object(p.a)(function(t){return null!=t&&Object(O.a)(t,y(t))}),E=n(52),j=n.n(E),T=n(53);n.d(e,"a",function(){return N});var _=Object(d.a)(i.a.playtime,Object(h.a)({},"timepiece")),S=Object(h.a)([],"quantiles"),A=Object(h.a)({},"tabs"),N=function(t,e){var n=new j.a("pwp-"),r=Object(T.hashCode)().value(t),i=n.get(r),u=o()(i,2)[1],s=void 0===u?{}:u;if(w(s)||(e.dispatch(Object(c.b)()),e.dispatch(Object(c.d)()),e.dispatch(Object(c.a)()),e.dispatch(Object(c.c)())),s.tabs){var d=Object.keys(s.tabs).find(function(t){return s.tabs[t]});e.dispatch(Object(f.a)(d))}s.playtime&&e.dispatch(Object(a.a)(s.playtime)),s.quantiles&&e.dispatch(l(s.quantiles)),e.subscribe(function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=null,o=!0;return function(){var i=this,a=arguments,c=function(){t.apply(i,a),r=null};n&&o&&(o=!1,c()),r||(r=setTimeout(c,e))}}(function(){var t=e.getState(),o=_(t),i=A(t),a=S(t);n.put(r,{playtime:o,tabs:i,quantiles:a})},1e3))}},function(t,e,n){"use strict";var r=n(57),o=n(25),i=n(3);var a=Object(i.a)(function(t){return null!=t&&(e=t.length,"[object Number]"===Object.prototype.toString.call(e))?t.length:NaN;var e}),c=n(28),u=n(1),s=Object(u.a)(c.a),l=n(64),f=n(2),d=n(0),h=Object(f.a)(d.Ab),p=Object(f.a)(d.H),m=Object(f.a)(d.yb),b=Object(f.a)(d.F),g=Object(f.a)(d.zb),v=Object(f.a)(d.G),y=Object(f.a)(d.xb),O=Object(f.a)(d.E),w=Object(f.a)(d.Bb),E=Object(f.a)(d.I),j=Object(f.a)(d.Cb),T=Object(f.a)(d.J),_=Object(f.a)(d.ub),S=Object(f.a)(d.B),A=Object(f.a)(d.wb),N=Object(f.a)(d.D),M=Object(f.a)(d.tb),x=Object(f.a)(d.A),R=Object(f.a)(d.vb),L=Object(f.a)(d.C),I=Object(f.a)(d.qb),k=Object(f.a)(d.x),P=Object(f.a)(d.sb),C=Object(f.a)(d.z),F=Object(f.a)(d.rb),D=Object(f.a)(d.y);n.d(e,"a",function(){return Z});var z=Object(r.a)(Object(o.a)(0),a),H=s("tabInfo"),B=s("tabChapters"),Y=s("tabFiles"),U=s("tabAudio"),W=s("tabShare"),q=s("tabTranscripts"),V=s("poster"),G=s("showTitle"),$=s("episodeTitle"),K=s("subtitle"),X=s("progressbar"),J=s("controlSteppers"),Q=s("controlChapters"),Z=function(t,e){var n=Object(l.a)([],"visibleComponents",t);z(n)||(H(n)?e.dispatch(h()):e.dispatch(p()),B(n)?e.dispatch(m()):e.dispatch(b()),Y(n)?e.dispatch(g()):e.dispatch(v()),U(n)?e.dispatch(y()):e.dispatch(O()),W(n)?e.dispatch(w()):e.dispatch(E()),q(n)?e.dispatch(j()):e.dispatch(T()),V(n)?e.dispatch(_()):e.dispatch(S()),G(n)?e.dispatch(A()):e.dispatch(N()),$(n)?e.dispatch(M()):e.dispatch(x()),K(n)?e.dispatch(R()):e.dispatch(L()),X(n)?e.dispatch(F()):e.dispatch(D()),J(n)?e.dispatch(P()):e.dispatch(C()),Q(n)?e.dispatch(I()):e.dispatch(k()))}},function(t,e,n){"use strict";var r=n(13);function o(t,e){return function(){return e.call(this,t.apply(this,arguments))}}var i=n(31),a=n(45);var c=n(3),u=n(9),s=Object(c.a)(function(t){return Object(u.a)(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()});function l(){if(0===arguments.length)throw new Error("compose requires at least one argument");return function(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return Object(r.a)(arguments[0].length,Object(i.a)(o,arguments[0],Object(a.a)(arguments)))}.apply(this,s(arguments))}n.d(e,"a",function(){return l})},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",c=o.toStringTag||"@@toStringTag";function u(t,e,n,r){var o=e&&e.prototype instanceof m?e:m,i=Object.create(o.prototype),a=new A(r||[]);return i._invoke=function(t,e,n){var r=l;return function(o,i){if(r===d)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw i;return M()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=T(a,n);if(c){if(c===p)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var u=s(t,e,n);if("normal"===u.type){if(r=n.done?h:f,u.arg===p)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=h,n.method="throw",n.arg=u.arg)}}}(t,n,a),i}function s(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",d="executing",h="completed",p={};function m(){}function b(){}function g(){}var v={};v[i]=function(){return this};var y=Object.getPrototypeOf,O=y&&y(y(N([])));O&&O!==n&&r.call(O,i)&&(v=O);var w=g.prototype=m.prototype=Object.create(v);function E(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function j(t){var e;this._invoke=function(n,o){function i(){return new Promise(function(e,i){!function e(n,o,i,a){var c=s(t[n],t,o);if("throw"!==c.type){var u=c.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(c.arg)}(n,o,e,i)})}return e=e?e.then(i,i):i()}}function T(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,T(t,n),"throw"===n.method))return p;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var o=s(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,p;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,p):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,p)}function _(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 S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function N(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:M}}function M(){return{value:e,done:!0}}return b.prototype=w.constructor=g,g.constructor=b,g[c]=b.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},E(j.prototype),j.prototype[a]=function(){return this},t.AsyncIterator=j,t.async=function(e,n,r,o){var i=new j(u(e,n,r,o));return t.isGeneratorFunction(n)?i:i.next().then(function(t){return t.done?t.value:i.next()})},E(w),w[c]="Generator",w[i]=function(){return this},w.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=N,A.prototype={constructor:A,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(S),!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 c.type="throw",c.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],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(u&&s){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(!s)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,p):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),p},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),S(n),p}},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;S(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:N(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),p}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(t,e,n){"use strict";t.exports=(t=>encodeURIComponent(t).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`))},function(t,e,n){"use strict";var r=new RegExp("%[a-f0-9]{2}","gi"),o=new RegExp("(%[a-f0-9]{2})+","gi");function i(t,e){try{return decodeURIComponent(t.join(""))}catch(t){}if(1===t.length)return t;e=e||1;var n=t.slice(0,e),r=t.slice(e);return Array.prototype.concat.call([],i(n),i(r))}function a(t){try{return decodeURIComponent(t)}catch(o){for(var e=t.match(r),n=1;n<e.length;n++)e=(t=i(e,n).join("")).match(r);return t}}t.exports=function(t){if("string"!=typeof t)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof t+"`");try{return t=t.replace(/\+/g," "),decodeURIComponent(t)}catch(e){return function(t){for(var e={"%FE%FF":"<22><>","%FF%FE":"<22><>"},n=o.exec(t);n;){try{e[n[0]]=decodeURIComponent(n[0])}catch(t){var r=a(n[0]);r!==n[0]&&(e[n[0]]=r)}n=o.exec(t)}e["%C2"]="<22>";for(var i=Object.keys(e),c=0;c<i.length;c++){var u=i[c];t=t.replace(new RegExp(u,"g"),e[u])}return t}(t)}}},function(t,e,n){"use strict";var r=n(6),o=n(1),i=Object(o.a)(function(t,e){return null==e||e!=e?t:e}),a=n(37),c=Object(r.a)(function(t,e,n){return i(t,Object(a.a)(e,n))}),u=Object(r.a)(function(t,e,n){return c(t,[e],n)});e.a=u},function(t,e,n){"use strict";var r=n(3),o=n(14),i=Object(r.a)(function(t){return Object(o.a)(t.length,t)});e.a=i},function(t,e,n){"use strict";var r=n(32),o=Object(r.a)(1,"join");e.a=o},function(t,e,n){"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(t,e,n){var r=n(67),o={};for(var i in r)r.hasOwnProperty(i)&&(o[r[i]]=i);var a=t.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var c in a)if(a.hasOwnProperty(c)){if(!("channels"in a[c]))throw new Error("missing channels property: "+c);if(!("labels"in a[c]))throw new Error("missing channel labels property: "+c);if(a[c].labels.length!==a[c].channels)throw new Error("channel and label counts mismatch: "+c);var u=a[c].channels,s=a[c].labels;delete a[c].channels,delete a[c].labels,Object.defineProperty(a[c],"channels",{value:u}),Object.defineProperty(a[c],"labels",{value:s})}a.rgb.hsl=function(t){var e,n,r=t[0]/255,o=t[1]/255,i=t[2]/255,a=Math.min(r,o,i),c=Math.max(r,o,i),u=c-a;return c===a?e=0:r===c?e=(o-i)/u:o===c?e=2+(i-r)/u:i===c&&(e=4+(r-o)/u),(e=Math.min(60*e,360))<0&&(e+=360),n=(a+c)/2,[e,100*(c===a?0:n<=.5?u/(c+a):u/(2-c-a)),100*n]},a.rgb.hsv=function(t){var e,n,r,o,i,a=t[0]/255,c=t[1]/255,u=t[2]/255,s=Math.max(a,c,u),l=s-Math.min(a,c,u),f=function(t){return(s-t)/6/l+.5};return 0===l?o=i=0:(i=l/s,e=f(a),n=f(c),r=f(u),a===s?o=r-n:c===s?o=1/3+e-r:u===s&&(o=2/3+n-e),o<0?o+=1:o>1&&(o-=1)),[360*o,100*i,100*s]},a.rgb.hwb=function(t){var e=t[0],n=t[1],r=t[2];return[a.rgb.hsl(t)[0],100*(1/255*Math.min(e,Math.min(n,r))),100*(r=1-1/255*Math.max(e,Math.max(n,r)))]},a.rgb.cmyk=function(t){var e,n=t[0]/255,r=t[1]/255,o=t[2]/255;return[100*((1-n-(e=Math.min(1-n,1-r,1-o)))/(1-e)||0),100*((1-r-e)/(1-e)||0),100*((1-o-e)/(1-e)||0),100*e]},a.rgb.keyword=function(t){var e=o[t];if(e)return e;var n,i,a,c=1/0;for(var u in r)if(r.hasOwnProperty(u)){var s=r[u],l=(i=t,a=s,Math.pow(i[0]-a[0],2)+Math.pow(i[1]-a[1],2)+Math.pow(i[2]-a[2],2));l<c&&(c=l,n=u)}return n},a.keyword.rgb=function(t){return r[t]},a.rgb.xyz=function(t){var e=t[0]/255,n=t[1]/255,r=t[2]/255;return[100*(.4124*(e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*e+.7152*n+.0722*r),100*(.0193*e+.1192*n+.9505*r)]},a.rgb.lab=function(t){var e=a.rgb.xyz(t),n=e[0],r=e[1],o=e[2];return r/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},a.hsl.rgb=function(t){var e,n,r,o,i,a=t[0]/360,c=t[1]/100,u=t[2]/100;if(0===c)return[i=255*u,i,i];e=2*u-(n=u<.5?u*(1+c):u+c-u*c),o=[0,0,0];for(var s=0;s<3;s++)(r=a+1/3*-(s-1))<0&&r++,r>1&&r--,i=6*r<1?e+6*(n-e)*r:2*r<1?n:3*r<2?e+(n-e)*(2/3-r)*6:e,o[s]=255*i;return o},a.hsl.hsv=function(t){var e=t[0],n=t[1]/100,r=t[2]/100,o=n,i=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,o*=i<=1?i:2-i,[e,100*(0===r?2*o/(i+o):2*n/(r+n)),100*((r+n)/2)]},a.hsv.rgb=function(t){var e=t[0]/60,n=t[1]/100,r=t[2]/100,o=Math.floor(e)%6,i=e-Math.floor(e),a=255*r*(1-n),c=255*r*(1-n*i),u=255*r*(1-n*(1-i));switch(r*=255,o){case 0:return[r,u,a];case 1:return[c,r,a];case 2:return[a,r,u];case 3:return[a,c,r];case 4:return[u,a,r];case 5:return[r,a,c]}},a.hsv.hsl=function(t){var e,n,r,o=t[0],i=t[1]/100,a=t[2]/100,c=Math.max(a,.01);return r=(2-i)*a,n=i*c,[o,100*(n=(n/=(e=(2-i)*c)<=1?e:2-e)||0),100*(r/=2)]},a.hwb.rgb=function(t){var e,n,r,o,i,a,c,u=t[0]/360,s=t[1]/100,l=t[2]/100,f=s+l;switch(f>1&&(s/=f,l/=f),r=6*u-(e=Math.floor(6*u)),0!=(1&e)&&(r=1-r),o=s+r*((n=1-l)-s),e){default:case 6:case 0:i=n,a=o,c=s;break;case 1:i=o,a=n,c=s;break;case 2:i=s,a=n,c=o;break;case 3:i=s,a=o,c=n;break;case 4:i=o,a=s,c=n;break;case 5:i=n,a=s,c=o}return[255*i,255*a,255*c]},a.cmyk.rgb=function(t){var e=t[0]/100,n=t[1]/100,r=t[2]/100,o=t[3]/100;return[255*(1-Math.min(1,e*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))]},a.xyz.rgb=function(t){var e,n,r,o=t[0]/100,i=t[1]/100,a=t[2]/100;return n=-.9689*o+1.8758*i+.0415*a,r=.0557*o+-.204*i+1.057*a,e=(e=3.2406*o+-1.5372*i+-.4986*a)>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(e=Math.min(Math.max(0,e),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},a.xyz.lab=function(t){var e=t[0],n=t[1],r=t[2];return n/=100,r/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},a.lab.xyz=function(t){var e,n,r,o=t[0];e=t[1]/500+(n=(o+16)/116),r=n-t[2]/200;var i=Math.pow(n,3),a=Math.pow(e,3),c=Math.pow(r,3);return n=i>.008856?i:(n-16/116)/7.787,e=a>.008856?a:(e-16/116)/7.787,r=c>.008856?c:(r-16/116)/7.787,[e*=95.047,n*=100,r*=108.883]},a.lab.lch=function(t){var e,n=t[0],r=t[1],o=t[2];return(e=360*Math.atan2(o,r)/2/Math.PI)<0&&(e+=360),[n,Math.sqrt(r*r+o*o),e]},a.lch.lab=function(t){var e,n=t[0],r=t[1];return e=t[2]/360*2*Math.PI,[n,r*Math.cos(e),r*Math.sin(e)]},a.rgb.ansi16=function(t){var e=t[0],n=t[1],r=t[2],o=1 in arguments?arguments[1]:a.rgb.hsv(t)[2];if(0===(o=Math.round(o/50)))return 30;var i=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(e/255));return 2===o&&(i+=60),i},a.hsv.ansi16=function(t){return a.rgb.ansi16(a.hsv.rgb(t),t[2])},a.rgb.ansi256=function(t){var e=t[0],n=t[1],r=t[2];return e===n&&n===r?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},a.ansi16.rgb=function(t){var e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),[e=e/10.5*255,e,e];var n=.5*(1+~~(t>50));return[(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255]},a.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}var n;return t-=16,[Math.floor(t/36)/5*255,Math.floor((n=t%36)/6)/5*255,n%6/5*255]},a.rgb.hex=function(t){var e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},a.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var n=e[0];3===e[0].length&&(n=n.split("").map(function(t){return t+t}).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},a.rgb.hcg=function(t){var e,n=t[0]/255,r=t[1]/255,o=t[2]/255,i=Math.max(Math.max(n,r),o),a=Math.min(Math.min(n,r),o),c=i-a;return e=c<=0?0:i===n?(r-o)/c%6:i===r?2+(o-n)/c:4+(n-r)/c+4,e/=6,[360*(e%=1),100*c,100*(c<1?a/(1-c):0)]},a.hsl.hcg=function(t){var e=t[1]/100,n=t[2]/100,r=1,o=0;return(r=n<.5?2*e*n:2*e*(1-n))<1&&(o=(n-.5*r)/(1-r)),[t[0],100*r,100*o]},a.hsv.hcg=function(t){var e=t[1]/100,n=t[2]/100,r=e*n,o=0;return r<1&&(o=(n-r)/(1-r)),[t[0],100*r,100*o]},a.hcg.rgb=function(t){var e=t[0]/360,n=t[1]/100,r=t[2]/100;if(0===n)return[255*r,255*r,255*r];var o,i=[0,0,0],a=e%1*6,c=a%1,u=1-c;switch(Math.floor(a)){case 0:i[0]=1,i[1]=c,i[2]=0;break;case 1:i[0]=u,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=c;break;case 3:i[0]=0,i[1]=u,i[2]=1;break;case 4:i[0]=c,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=u}return o=(1-n)*r,[255*(n*i[0]+o),255*(n*i[1]+o),255*(n*i[2]+o)]},a.hcg.hsv=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e),r=0;return n>0&&(r=e/n),[t[0],100*r,100*n]},a.hcg.hsl=function(t){var e=t[1]/100,n=t[2]/100*(1-e)+.5*e,r=0;return n>0&&n<.5?r=e/(2*n):n>=.5&&n<1&&(r=e/(2*(1-n))),[t[0],100*r,100*n]},a.hcg.hwb=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e);return[t[0],100*(n-e),100*(1-n)]},a.hwb.hcg=function(t){var e=t[1]/100,n=1-t[2]/100,r=n-e,o=0;return r<1&&(o=(n-r)/(1-r)),[t[0],100*r,100*o]},a.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},a.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},a.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},a.gray.hsl=a.gray.hsv=function(t){return[0,0,t[0]]},a.gray.hwb=function(t){return[0,100,t[0]]},a.gray.cmyk=function(t){return[0,0,0,t[0]]},a.gray.lab=function(t){return[t[0],0,0]},a.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(n.length)+n},a.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}},function(t,e,n){"use strict";var r=n(1),o=n(9),i=Object(r.a)(function(t,e){var n=t<0?e.length+t:t;return Object(o.a)(e)?e.charAt(n):e[n]})(0);e.a=i},function(t,e,n){t.exports=function(){"use strict";var t=["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"],e=["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"],n=["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"],r=["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmuliscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mpspace","msqrt","mystyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"],o=["#text"],i=["accept","action","align","alt","autocomplete","background","bgcolor","border","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","coords","crossorigin","datetime","default","dir","disabled","download","enctype","face","for","headers","height","hidden","high","href","hreflang","id","integrity","ismap","label","lang","list","loop","low","max","maxlength","media","method","min","multiple","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","type","usemap","valign","value","width","xmlns"],a=["accent-height","accumulate","additivive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"],c=["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"],u=["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"];function s(t,e){for(var n=e.length;n--;)"string"==typeof e[n]&&(e[n]=e[n].toLowerCase()),t[e[n]]=!0;return t}function l(t){var e={},n=void 0;for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}var f=/\{\{[\s\S]*|[\s\S]*\}\}/gm,d=/<%[\s\S]*|[\s\S]*%>/gm,h=/^data-[\-\w.\u00B7-\uFFFF]/,p=/^aria-[\-\w]+$/,m=/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i,b=/^(?:\w+script|data):/i,g=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,v="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 y(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)}var O=function(){return"undefined"==typeof window?null:window};return function w(){var E=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O(),j=function(t){return w(t)};if(j.version="1.0.8",j.removed=[],!E||!E.document||9!==E.document.nodeType)return j.isSupported=!1,j;var T=E.document,_=!1,S=!1,A=E.document,N=E.DocumentFragment,M=E.HTMLTemplateElement,x=E.Node,R=E.NodeFilter,L=E.NamedNodeMap,I=void 0===L?E.NamedNodeMap||E.MozNamedAttrMap:L,k=E.Text,P=E.Comment,C=E.DOMParser;if("function"==typeof M){var F=A.createElement("template");F.content&&F.content.ownerDocument&&(A=F.content.ownerDocument)}var D=A,z=D.implementation,H=D.createNodeIterator,B=D.getElementsByTagName,Y=D.createDocumentFragment,U=T.importNode,W={};j.isSupported=z&&void 0!==z.createHTMLDocument&&9!==A.documentMode;var q=f,V=d,G=h,$=p,K=b,X=g,J=m,Q=null,Z=s({},[].concat(y(t),y(e),y(n),y(r),y(o))),tt=null,et=s({},[].concat(y(i),y(a),y(c),y(u))),nt=null,rt=null,ot=!0,it=!0,at=!1,ct=!1,ut=!1,st=!1,lt=!1,ft=!1,dt=!1,ht=!1,pt=!1,mt=!0,bt=!0,gt=!1,vt={},yt=s({},["audio","head","math","script","style","template","svg","video"]),Ot=s({},["audio","video","img","source","image"]),wt=s({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Et=null,jt=A.createElement("form"),Tt=function(f){"object"!==(void 0===f?"undefined":v(f))&&(f={}),Q="ALLOWED_TAGS"in f?s({},f.ALLOWED_TAGS):Z,tt="ALLOWED_ATTR"in f?s({},f.ALLOWED_ATTR):et,nt="FORBID_TAGS"in f?s({},f.FORBID_TAGS):{},rt="FORBID_ATTR"in f?s({},f.FORBID_ATTR):{},vt="USE_PROFILES"in f&&f.USE_PROFILES,ot=!1!==f.ALLOW_ARIA_ATTR,it=!1!==f.ALLOW_DATA_ATTR,at=f.ALLOW_UNKNOWN_PROTOCOLS||!1,ct=f.SAFE_FOR_JQUERY||!1,ut=f.SAFE_FOR_TEMPLATES||!1,st=f.WHOLE_DOCUMENT||!1,dt=f.RETURN_DOM||!1,ht=f.RETURN_DOM_FRAGMENT||!1,pt=f.RETURN_DOM_IMPORT||!1,ft=f.FORCE_BODY||!1,mt=!1!==f.SANITIZE_DOM,bt=!1!==f.KEEP_CONTENT,gt=f.IN_PLACE||!1,J=f.ALLOWED_URI_REGEXP||J,ut&&(it=!1),ht&&(dt=!0),vt&&(Q=s({},[].concat(y(o))),tt=[],!0===vt.html&&(s(Q,t),s(tt,i)),!0===vt.svg&&(s(Q,e),s(tt,a),s(tt,u)),!0===vt.svgFilters&&(s(Q,n),s(tt,a),s(tt,u)),!0===vt.mathMl&&(s(Q,r),s(tt,c),s(tt,u))),f.ADD_TAGS&&(Q===Z&&(Q=l(Q)),s(Q,f.ADD_TAGS)),f.ADD_ATTR&&(tt===et&&(tt=l(tt)),s(tt,f.ADD_ATTR)),f.ADD_URI_SAFE_ATTR&&s(wt,f.ADD_URI_SAFE_ATTR),bt&&(Q["#text"]=!0),st&&s(Q,["html","head","body"]),Q.table&&s(Q,["tbody"]),Object&&"freeze"in Object&&Object.freeze(f),Et=f},_t=function(t){j.removed.push({element:t});try{t.parentNode.removeChild(t)}catch(e){t.outerHTML=""}},St=function(t,e){try{j.removed.push({attribute:e.getAttributeNode(t),from:e})}catch(t){j.removed.push({attribute:null,from:e})}e.removeAttribute(t)},At=function(t){var e=void 0;if(ft&&(t="<remove></remove>"+t),_)try{e=(new C).parseFromString(t,"text/html")}catch(t){}if(S&&s(nt,["title"]),!e||!e.documentElement){var n=e=z.createHTMLDocument(""),r=n.body;r.parentNode.removeChild(r.parentNode.firstElementChild),r.outerHTML=t}return B.call(e,st?"html":"body")[0]};j.isSupported&&(function(){try{var t=At('<svg><p><style><img src="</style><img src=x onerror=alert(1)//">');t.querySelector("svg img")&&(_=!0)}catch(t){}}(),function(){try{var t=At("<x/><title></title><img>");t.querySelector("title").textContent.match(/<\/title/)&&(S=!0)}catch(t){}}());var Nt=function(t){return H.call(t.ownerDocument||t,t,R.SHOW_ELEMENT|R.SHOW_COMMENT|R.SHOW_TEXT,function(){return R.FILTER_ACCEPT},!1)},Mt=function(t){return"object"===(void 0===x?"undefined":v(x))?t instanceof x:t&&"object"===(void 0===t?"undefined":v(t))&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},xt=function(t,e,n){W[t]&&W[t].forEach(function(t){t.call(j,e,n,Et)})},Rt=function(t){var e,n=void 0;if(xt("beforeSanitizeElements",t,null),!((e=t)instanceof k||e instanceof P||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof I&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute))return _t(t),!0;var r=t.nodeName.toLowerCase();if(xt("uponSanitizeElement",t,{tagName:r,allowedTags:Q}),!Q[r]||nt[r]){if(bt&&!yt[r]&&"function"==typeof t.insertAdjacentHTML)try{t.insertAdjacentHTML("AfterEnd",t.innerHTML)}catch(t){}return _t(t),!0}return!ct||t.firstElementChild||t.content&&t.content.firstElementChild||!/</g.test(t.textContent)||(j.removed.push({element:t.cloneNode()}),t.innerHTML?t.innerHTML=t.innerHTML.replace(/</g,"<"):t.innerHTML=t.textContent.replace(/</g,"<")),ut&&3===t.nodeType&&(n=(n=(n=t.textContent).replace(q," ")).replace(V," "),t.textContent!==n&&(j.removed.push({element:t.cloneNode()}),t.textContent=n)),xt("afterSanitizeElements",t,null),!1},Lt=function(t,e,n){if(mt&&("id"===e||"name"===e)&&(n in A||n in jt))return!1;if(ut&&(n=(n=n.replace(q," ")).replace(V," ")),it&&G.test(e));else if(ot&&$.test(e));else{if(!tt[e]||rt[e])return!1;if(wt[e]);else if(J.test(n.replace(X,"")));else if("src"!==e&&"xlink:href"!==e||"script"===t||0!==n.indexOf("data:")||!Ot[t])if(at&&!K.test(n.replace(X,"")));else if(n)return!1}return!0},It=function(t){var e=void 0,n=void 0,r=void 0,o=void 0,i=void 0;xt("beforeSanitizeAttributes",t,null);var a=t.attributes;if(a){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:tt};for(i=a.length;i--;){var u=e=a[i],s=u.name,l=u.namespaceURI;if(n=e.value.trim(),r=s.toLowerCase(),c.attrName=r,c.attrValue=n,c.keepAttr=!0,xt("uponSanitizeAttribute",t,c),n=c.attrValue,"name"===r&&"IMG"===t.nodeName&&a.id)o=a.id,a=Array.prototype.slice.apply(a),St("id",t),St(s,t),a.indexOf(o)>i&&t.setAttribute("id",o.value);else{if("INPUT"===t.nodeName&&"type"===r&&"file"===n&&(tt[r]||!rt[r]))continue;"id"===s&&t.setAttribute(s,""),St(s,t)}if(c.keepAttr){var f=t.nodeName.toLowerCase();if(Lt(f,r,n))try{l?t.setAttributeNS(l,s,n):t.setAttribute(s,n),j.removed.pop()}catch(t){}}}xt("afterSanitizeAttributes",t,null)}},kt=function t(e){var n=void 0,r=Nt(e);for(xt("beforeSanitizeShadowDOM",e,null);n=r.nextNode();)xt("uponSanitizeShadowNode",n,null),Rt(n)||(n.content instanceof N&&t(n.content),It(n));xt("afterSanitizeShadowDOM",e,null)};return j.sanitize=function(t,e){var n=void 0,r=void 0,o=void 0,i=void 0,a=void 0;if(t||(t="\x3c!--\x3e"),"string"!=typeof t&&!Mt(t)){if("function"!=typeof t.toString)throw new TypeError("toString is not a function");if("string"!=typeof(t=t.toString()))throw new TypeError("dirty is not a string, aborting")}if(!j.isSupported){if("object"===v(E.toStaticHTML)||"function"==typeof E.toStaticHTML){if("string"==typeof t)return E.toStaticHTML(t);if(Mt(t))return E.toStaticHTML(t.outerHTML)}return t}if(lt||Tt(e),j.removed=[],gt);else if(t instanceof x)n=At("\x3c!--\x3e"),1===(r=n.ownerDocument.importNode(t,!0)).nodeType&&"BODY"===r.nodeName?n=r:n.appendChild(r);else{if(!dt&&!st&&-1===t.indexOf("<"))return t;if(!(n=At(t)))return dt?null:""}n&&ft&&_t(n.firstChild);for(var c=Nt(gt?t:n);o=c.nextNode();)3===o.nodeType&&o===i||Rt(o)||(o.content instanceof N&&kt(o.content),It(o),i=o);if(gt)return t;if(dt){if(ht)for(a=Y.call(n.ownerDocument);n.firstChild;)a.appendChild(n.firstChild);else a=n;return pt&&(a=U.call(T,a,!0)),a}return st?n.outerHTML:n.innerHTML},j.setConfig=function(t){Tt(t),lt=!0},j.clearConfig=function(){Et=null,lt=!1},j.isValidAttribute=function(t,e,n){Et||Tt({});var r=t.toLowerCase(),o=e.toLowerCase();return Lt(r,o,n)},j.addHook=function(t,e){"function"==typeof e&&(W[t]=W[t]||[],W[t].push(e))},j.removeHook=function(t){W[t]&&W[t].pop()},j.removeHooks=function(t){W[t]&&(W[t]=[])},j.removeAllHooks=function(){W={}},j}()}()},function(t,e,n){"use strict";t.exports=n(78)},function(t,e){t.exports='/*! iFrame Resizer (iframeSizer.contentWindow.min.js) - v4.0.4 - 2019-03-04\n * Desc: Include this file in any page being loaded into an iframe\n * to force the iframe to resize to the content size.\n * Requires: iframeResizer.min.js on host page.\n * Copyright: (c) 2019 David J. Bradshaw - dave@bradshaw.net\n * License: MIT\n */\n\n!function(l){if("undefined"!=typeof window){var n=!0,o=10,i="",r=0,a="",t=null,u="",c=!1,s={resize:1,click:1},d=128,f=!0,m=1,h="bodyOffset",g=h,p=!0,v="",y={},b=32,e=null,w=!1,T="[iFrameSizer]",E=T.length,O="",S={max:1,min:1,bodyScroll:1,documentElementScroll:1},M="child",I=!0,N=window.parent,A="*",C=0,k=!1,z=null,R=16,x=1,L="scroll",F=L,P=window,D=function(){ue("onMessage function not defined")},j=function(){},q=function(){},H={height:function(){return ue("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return ue("Custom width calculation function not defined"),document.body.scrollWidth}},W={},B=!1;try{var U=Object.create({},{passive:{get:function(){B=!0}}});window.addEventListener("test",te,U),window.removeEventListener("test",te,U)}catch(e){}var J,V,K,Q,X,Y,G,Z=Date.now||function(){return(new Date).getTime()},$={bodyOffset:function(){return document.body.offsetHeight+be("marginTop")+be("marginBottom")},offset:function(){return $.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return H.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,Te($))},min:function(){return Math.min.apply(null,Te($))},grow:function(){return $.max()},lowestElement:function(){return Math.max($.bodyOffset()||$.documentElementOffset(),we("bottom",Oe()))},taggedElement:function(){return Ee("bottom","data-iframe-height")}},_={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return H.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(_.bodyScroll(),_.documentElementScroll())},max:function(){return Math.max.apply(null,Te(_))},min:function(){return Math.min.apply(null,Te(_))},rightMostElement:function(){return we("right",Oe())},taggedElement:function(){return Ee("right","data-iframe-width")}},ee=(J=Se,X=null,Y=0,G=function(){Y=Z(),X=null,Q=J.apply(V,K),X||(V=K=null)},function(){var e=Z();Y||(Y=e);var t=R-(e-Y);return V=this,K=arguments,t<=0||R<t?(X&&(clearTimeout(X),X=null),Y=e,Q=J.apply(V,K),X||(V=K=null)):X||(X=setTimeout(G,t)),Q});ne(window,"message",ke),ne(window,"readystatechange",ze),ze()}function te(){}function ne(e,t,n,o){e.addEventListener(t,n,!!B&&(o||{}))}function oe(e,t,n){e.removeEventListener(t,n,!1)}function ie(e){return e.charAt(0).toUpperCase()+e.slice(1)}function re(e){return T+"["+O+"] "+e}function ae(e){w&&"object"==typeof window.console&&console.log(re(e))}function ue(e){"object"==typeof window.console&&console.warn(re(e))}function ce(){var e;!function(){function e(e){return"true"===e}var t=v.substr(E).split(":");O=t[0],r=l!==t[1]?Number(t[1]):r,c=l!==t[2]?e(t[2]):c,w=l!==t[3]?e(t[3]):w,b=l!==t[4]?Number(t[4]):b,n=l!==t[6]?e(t[6]):n,a=t[7],g=l!==t[8]?t[8]:g,i=t[9],u=t[10],C=l!==t[11]?Number(t[11]):C,y.enable=l!==t[12]&&e(t[12]),M=l!==t[13]?t[13]:M,F=l!==t[14]?t[14]:F}(),ae("Initialising iFrame ("+location.href+")"),function(){function e(e,t){return"function"==typeof e&&(ae("Setup custom "+t+"CalcMethod"),H[t]=e,e="custom"),e}"iFrameResizer"in window&&Object===window.iFrameResizer.constructor&&(t=window.iFrameResizer,ae("Reading data from page: "+JSON.stringify(t)),Object.keys(t).forEach(se,t),D="onMessage"in t?t.onMessage:D,j="onReady"in t?t.onReady:j,A="targetOrigin"in t?t.targetOrigin:A,g="heightCalculationMethod"in t?t.heightCalculationMethod:g,F="widthCalculationMethod"in t?t.widthCalculationMethod:F,g=e(g,"height"),F=e(F,"width"));var t;ae("TargetOrigin for parent set to: "+A)}(),function(){l===a&&(a=r+"px");de("margin",function(e,t){-1!==t.indexOf("-")&&(ue("Negative CSS value ignored for "+e),t="");return t}("margin",a))}(),de("background",i),de("padding",u),(e=document.createElement("div")).style.clear="both",e.style.display="block",e.style.height="0",document.body.appendChild(e),he(),ge(),document.documentElement.style.height="",document.body.style.height="",ae(\'HTML & body height set to "auto"\'),ae("Enable public methods"),P.parentIFrame={autoResize:function(e){return!0===e&&!1===n?(n=!0,pe()):!1===e&&!0===n&&(n=!1,ve()),n},close:function(){Ce(0,0,"close"),ae("Disable outgoing messages"),I=!1,ae("Remove event listener: Message"),oe(window,"message",ke),!0===n&&ve()},getId:function(){return O},getPageInfo:function(e){"function"==typeof e?(q=e,Ce(0,0,"pageInfo")):(q=function(){},Ce(0,0,"pageInfoStop"))},moveToAnchor:function(e){y.findTarget(e)},reset:function(){Ae("parentIFrame.reset")},scrollTo:function(e,t){Ce(t,e,"scrollTo")},scrollToOffset:function(e,t){Ce(t,e,"scrollToOffset")},sendMessage:function(e,t){Ce(0,0,"message",JSON.stringify(e),t)},setHeightCalculationMethod:function(e){g=e,he()},setWidthCalculationMethod:function(e){F=e,ge()},setTargetOrigin:function(e){ae("Set targetOrigin: "+e),A=e},size:function(e,t){var n=(e||"")+(t?","+t:"");Me("size","parentIFrame.size("+n+")",e,t)}},pe(),y=function(){function r(e){var t=e.getBoundingClientRect(),n={x:window.pageXOffset!==l?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==l?window.pageYOffset:document.documentElement.scrollTop};return{x:parseInt(t.left,10)+parseInt(n.x,10),y:parseInt(t.top,10)+parseInt(n.y,10)}}function n(e){var t,n=e.split("#")[1]||e,o=decodeURIComponent(n),i=document.getElementById(o)||document.getElementsByName(o)[0];l!==i?(t=r(i),ae("Moving to in page link (#"+n+") at x: "+t.x+" y: "+t.y),Ce(t.y,t.x,"scrollToOffset")):(ae("In page link (#"+n+") not found in iFrame, so sending to parent"),Ce(0,0,"inPageLink","#"+n))}function e(){""!==location.hash&&"#"!==location.hash&&n(location.href)}function t(){Array.prototype.forEach.call(document.querySelectorAll(\'a[href^="#"]\'),function(e){function t(e){e.preventDefault(),n(this.getAttribute("href"))}"#"!==e.getAttribute("href")&&ne(e,"click",t)})}y.enable?Array.prototype.forEach&&document.querySelectorAll?(ae("Setting up location.hash handlers"),t(),ne(window,"hashchange",e),setTimeout(e,d)):ue("In page linking not fully supported in this browser! (See README.md for IE8 workaround)"):ae("In page linking not enabled");return{findTarget:n}}(),Me("init","Init message from host page"),j()}function se(e){var t=e.split("Callback");if(2===t.length){var n="on"+t[0].charAt(0).toUpperCase()+t[0].slice(1);this[n]=this[e],delete this[e],ue("Deprecated: \'"+e+"\' has been renamed \'"+n+"\'. The old method will be removed in the next major version.")}}function de(e,t){l!==t&&""!==t&&"null"!==t&&ae("Body "+e+\' set to "\'+(document.body.style[e]=t)+\'"\')}function le(n){var e={add:function(e){function t(){Me(n.eventName,n.eventType)}W[e]=t,ne(window,e,t,{passive:!0})},remove:function(e){var t=W[e];delete W[e],oe(window,e,t)}};n.eventNames&&Array.prototype.map?(n.eventName=n.eventNames[0],n.eventNames.map(e[n.method])):e[n.method](n.eventName),ae(ie(n.method)+" event listener: "+n.eventType)}function fe(e){le({method:e,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),le({method:e,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),le({method:e,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),le({method:e,eventType:"Input",eventName:"input"}),le({method:e,eventType:"Mouse Up",eventName:"mouseup"}),le({method:e,eventType:"Mouse Down",eventName:"mousedown"}),le({method:e,eventType:"Orientation Change",eventName:"orientationchange"}),le({method:e,eventType:"Print",eventName:["afterprint","beforeprint"]}),le({method:e,eventType:"Ready State Change",eventName:"readystatechange"}),le({method:e,eventType:"Touch Start",eventName:"touchstart"}),le({method:e,eventType:"Touch End",eventName:"touchend"}),le({method:e,eventType:"Touch Cancel",eventName:"touchcancel"}),le({method:e,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),le({method:e,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),le({method:e,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}),"child"===M&&le({method:e,eventType:"IFrame Resized",eventName:"resize"})}function me(e,t,n,o){return t!==e&&(e in n||(ue(e+" is not a valid option for "+o+"CalculationMethod."),e=t),ae(o+\' calculation method set to "\'+e+\'"\')),e}function he(){g=me(g,h,$,"height")}function ge(){F=me(F,L,_,"width")}function pe(){var e;!0===n?(fe("add"),e=b<0,window.MutationObserver||window.WebKitMutationObserver?e?ye():t=function(){function t(e){function t(e){!1===e.complete&&(ae("Attach listeners to "+e.src),e.addEventListener("load",i,!1),e.addEventListener("error",r,!1),c.push(e))}"attributes"===e.type&&"src"===e.attributeName?t(e.target):"childList"===e.type&&Array.prototype.forEach.call(e.target.querySelectorAll("img"),t)}function o(e){var t;ae("Remove listeners from "+e.src),e.removeEventListener("load",i,!1),e.removeEventListener("error",r,!1),t=e,c.splice(c.indexOf(t),1)}function n(e,t,n){o(e.target),Me(t,n+": "+e.target.src,l,l)}function i(e){n(e,"imageLoad","Image loaded")}function r(e){n(e,"imageLoadFailed","Image load failed")}function e(e){Me("mutationObserver","mutationObserver: "+e[0].target+" "+e[0].type),e.forEach(t)}var a,u,c=[],s=window.MutationObserver||window.WebKitMutationObserver,d=(a=document.querySelector("body"),u={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0},d=new s(e),ae("Create body MutationObserver"),d.observe(a,u),d);return{disconnect:function(){"disconnect"in d&&(ae("Disconnect body MutationObserver"),d.disconnect(),c.forEach(o))}}}():(ae("MutationObserver not supported in this browser!"),ye())):ae("Auto Resize disabled")}function ve(){fe("remove"),null!==t&&t.disconnect(),clearInterval(e)}function ye(){0!==b&&(ae("setInterval: "+b+"ms"),e=setInterval(function(){Me("interval","setInterval: "+b)},Math.abs(b)))}function be(e,t){var n=0;return t=t||document.body,n=null!==(n=document.defaultView.getComputedStyle(t,null))?n[e]:0,parseInt(n,o)}function we(e,t){for(var n,o=t.length,i=0,r=0,a=ie(e),u=Z(),c=0;c<o;c++)r<(i=t[c].getBoundingClientRect()[e]+be("margin"+a,t[c]))&&(r=i);return u=Z()-u,ae("Parsed "+o+" HTML elements"),ae("Element position calculated in "+u+"ms"),R/2<(n=u)&&ae("Event throttle increased to "+(R=2*n)+"ms"),r}function Te(e){return[e.bodyOffset(),e.bodyScroll(),e.documentElementOffset(),e.documentElementScroll()]}function Ee(e,t){var n=document.querySelectorAll("["+t+"]");return 0===n.length&&(ue("No tagged elements ("+t+") found on page"),document.querySelectorAll("body *")),we(e,n)}function Oe(){return document.querySelectorAll("body *")}function Se(e,t,n,o){var i,r;!function(){function e(e,t){return!(Math.abs(e-t)<=C)}return i=l!==n?n:$[g](),r=l!==o?o:_[F](),e(m,i)||c&&e(x,r)}()&&"init"!==e?e in{init:1,interval:1,size:1}||!(g in S||c&&F in S)?e in{interval:1}||ae("No change in size detected"):Ae(t):(Ie(),Ce(m=i,x=r,e))}function Me(e,t,n,o){k&&e in s?ae("Trigger event cancelled: "+e):(e in{reset:1,resetPage:1,init:1}||ae("Trigger event: "+t),"init"===e?Se(e,t,n,o):ee(e,t,n,o))}function Ie(){k||(k=!0,ae("Trigger event lock on")),clearTimeout(z),z=setTimeout(function(){k=!1,ae("Trigger event lock off"),ae("--")},d)}function Ne(e){m=$[g](),x=_[F](),Ce(m,x,e)}function Ae(e){var t=g;g=h,ae("Reset trigger event: "+e),Ie(),Ne("reset"),g=t}function Ce(e,t,n,o,i){var r;!0===I&&(l===i?i=A:ae("Message targetOrigin: "+i),ae("Sending message to host page ("+(r=O+":"+e+":"+t+":"+n+(l!==o?":"+o:""))+")"),N.postMessage(T+r,i))}function ke(t){var n={init:function(){v=t.data,N=t.source,ce(),f=!1,setTimeout(function(){p=!1},d)},reset:function(){p?ae("Page reset ignored by init"):(ae("Page size reset by host page"),Ne("resetPage"))},resize:function(){Me("resizeParent","Parent window requested size check")},moveToAnchor:function(){y.findTarget(i())},inPageLink:function(){this.moveToAnchor()},pageInfo:function(){var e=i();ae("PageInfoFromParent called from parent: "+e),q(JSON.parse(e)),ae(" --")},message:function(){var e=i();ae("onMessage called from parent: "+e),D(JSON.parse(e)),ae(" --")}};function o(){return t.data.split("]")[1].split(":")[0]}function i(){return t.data.substr(t.data.indexOf(":")+1)}function r(){return t.data.split(":")[2]in{true:1,false:1}}function e(){var e=o();e in n?n[e]():("undefined"==typeof module||!module.exports)&&"iFrameResize"in window||"jQuery"in window&&"iFrameResize"in window.jQuery.prototype||r()||ue("Unexpected message ("+t.data+")")}T===(""+t.data).substr(0,E)&&(!1===f?e():r()?n.init():ae(\'Ignored message of type "\'+o()+\'". Received before initialization.\'))}function ze(){"loading"!==document.readyState&&window.parent.postMessage("[iFrameResizerChild]Ready","*")}}();\n//# sourceMappingURL=iframeResizer.contentWindow.map'},function(t,e,n){var r=n(81);t.exports=function(){var t=new r.Template({code:function(t,e,n){var r=this;return r.b(n=n||""),r.b('<script type="text/javascript">window.resourceBaseUrl = \''),r.b(r.v(r.f("base",t,e,0))),r.b("';<\/script><podlove-player></podlove-player> "),r.s(r.f("styles",t,e,1),t,e,0,123,177,"{{ }}")&&(r.rs(t,e,function(t,e,n){n.b(' <link rel="stylesheet" href="'),n.b(n.v(n.f("base",t,e,0))),n.b(n.v(n.d(".",t,e,0))),n.b('.css"> ')}),t.pop()),r.b(" "),r.s(r.f("scripts",t,e,1),t,e,0,201,270,"{{ }}")&&(r.rs(t,e,function(t,e,n){n.b(' <script type="text/javascript" src="'),n.b(n.v(n.f("base",t,e,0))),n.b(n.v(n.d(".",t,e,0))),n.b('.js"><\/script> ')}),t.pop()),r.b(" <script>window.iFrameResizer = {"),r.b("\n"+n),r.b(" heightCalculationMethod: 'documentElementOffset'"),r.b("\n"+n),r.b(" }; "),r.b(r.t(r.f("resizer",t,e,0))),r.b("<\/script> "),r.b(r.t(r.f("loader",t,e,0))),r.fl()},partials:{},subs:{}},'<script type="text/javascript">window.resourceBaseUrl = \'{{ base }}\';<\/script><podlove-player></podlove-player> {{#styles}} <link rel="stylesheet" href="{{ base }}{{ . }}.css"> {{/styles}} {{#scripts}} <script type="text/javascript" src="{{ base }}{{ . }}.js"><\/script> {{/scripts}} <script>window.iFrameResizer = {\n heightCalculationMethod: \'documentElementOffset\'\n }; {{{ resizer }}}<\/script> {{{ loader }}}',r);return t.render.apply(t,arguments)}},function(t,e,n){"use strict";var r=n(84),o=n(87),i=[].slice,a=["keyword","gray","hex"],c={};Object.keys(o).forEach(function(t){c[i.call(o[t].labels).sort().join("")]=t});var u={};function s(t,e){if(!(this instanceof s))return new s(t,e);if(e&&e in a&&(e=null),e&&!(e in o))throw new Error("Unknown model: "+e);var n,l;if(void 0===t)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(t instanceof s)this.model=t.model,this.color=t.color.slice(),this.valpha=t.valpha;else if("string"==typeof t){var f=r.get(t);if(null===f)throw new Error("Unable to parse color from string: "+t);this.model=f.model,l=o[this.model].channels,this.color=f.value.slice(0,l),this.valpha="number"==typeof f.value[l]?f.value[l]:1}else if(t.length){this.model=e||"rgb",l=o[this.model].channels;var h=i.call(t,0,l);this.color=d(h,l),this.valpha="number"==typeof t[l]?t[l]:1}else if("number"==typeof t)t&=16777215,this.model="rgb",this.color=[t>>16&255,t>>8&255,255&t],this.valpha=1;else{this.valpha=1;var p=Object.keys(t);"alpha"in t&&(p.splice(p.indexOf("alpha"),1),this.valpha="number"==typeof t.alpha?t.alpha:0);var m=p.sort().join("");if(!(m in c))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=c[m];var b=o[this.model].labels,g=[];for(n=0;n<b.length;n++)g.push(t[b[n]]);this.color=d(g)}if(u[this.model])for(l=o[this.model].channels,n=0;n<l;n++){var v=u[this.model][n];v&&(this.color[n]=v(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}function l(t,e,n){return(t=Array.isArray(t)?t:[t]).forEach(function(t){(u[t]||(u[t]=[]))[e]=n}),t=t[0],function(r){var o;return arguments.length?(n&&(r=n(r)),(o=this[t]()).color[e]=r,o):(o=this[t]().color[e],n&&(o=n(o)),o)}}function f(t){return function(e){return Math.max(0,Math.min(t,e))}}function d(t,e){for(var n=0;n<e;n++)"number"!=typeof t[n]&&(t[n]=0);return t}s.prototype={toString:function(){return this.string()},toJSON:function(){return this[this.model]()},string:function(t){var e=this.model in r.to?this:this.rgb(),n=1===(e=e.round("number"==typeof t?t:1)).valpha?e.color:e.color.concat(this.valpha);return r.to[e.model](n)},percentString:function(t){var e=this.rgb().round("number"==typeof t?t:1),n=1===e.valpha?e.color:e.color.concat(this.valpha);return r.to.rgb.percent(n)},array:function(){return 1===this.valpha?this.color.slice():this.color.concat(this.valpha)},object:function(){for(var t={},e=o[this.model].channels,n=o[this.model].labels,r=0;r<e;r++)t[n[r]]=this.color[r];return 1!==this.valpha&&(t.alpha=this.valpha),t},unitArray:function(){var t=this.rgb().color;return t[0]/=255,t[1]/=255,t[2]/=255,1!==this.valpha&&t.push(this.valpha),t},unitObject:function(){var t=this.rgb().object();return t.r/=255,t.g/=255,t.b/=255,1!==this.valpha&&(t.alpha=this.valpha),t},round:function(t){return t=Math.max(t||0,0),new s(this.color.map(function(t){return function(e){return function(t,e){return Number(t.toFixed(e))}(e,t)}}(t)).concat(this.valpha),this.model)},alpha:function(t){return arguments.length?new s(this.color.concat(Math.max(0,Math.min(1,t))),this.model):this.valpha},red:l("rgb",0,f(255)),green:l("rgb",1,f(255)),blue:l("rgb",2,f(255)),hue:l(["hsl","hsv","hsl","hwb","hcg"],0,function(t){return(t%360+360)%360}),saturationl:l("hsl",1,f(100)),lightness:l("hsl",2,f(100)),saturationv:l("hsv",1,f(100)),value:l("hsv",2,f(100)),chroma:l("hcg",1,f(100)),gray:l("hcg",2,f(100)),white:l("hwb",1,f(100)),wblack:l("hwb",2,f(100)),cyan:l("cmyk",0,f(100)),magenta:l("cmyk",1,f(100)),yellow:l("cmyk",2,f(100)),black:l("cmyk",3,f(100)),x:l("xyz",0,f(100)),y:l("xyz",1,f(100)),z:l("xyz",2,f(100)),l:l("lab",0,f(100)),a:l("lab",1),b:l("lab",2),keyword:function(t){return arguments.length?new s(t):o[this.model].keyword(this.color)},hex:function(t){return arguments.length?new s(t):r.to.hex(this.rgb().round().color)},rgbNumber:function(){var t=this.rgb().color;return(255&t[0])<<16|(255&t[1])<<8|255&t[2]},luminosity:function(){for(var t=this.rgb().color,e=[],n=0;n<t.length;n++){var r=t[n]/255;e[n]=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),n=t.luminosity();return e>n?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},isDark:function(){var t=this.rgb().color;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},isLight:function(){return!this.isDark()},negate:function(){for(var t=this.rgb(),e=0;e<3;e++)t.color[e]=255-t.color[e];return t},lighten:function(t){var e=this.hsl();return e.color[2]+=e.color[2]*t,e},darken:function(t){var e=this.hsl();return e.color[2]-=e.color[2]*t,e},saturate:function(t){var e=this.hsl();return e.color[1]+=e.color[1]*t,e},desaturate:function(t){var e=this.hsl();return e.color[1]-=e.color[1]*t,e},whiten:function(t){var e=this.hwb();return e.color[1]+=e.color[1]*t,e},blacken:function(t){var e=this.hwb();return e.color[2]+=e.color[2]*t,e},grayscale:function(){var t=this.rgb().color,e=.3*t[0]+.59*t[1]+.11*t[2];return s.rgb(e,e,e)},fade:function(t){return this.alpha(this.valpha-this.valpha*t)},opaquer:function(t){return this.alpha(this.valpha+this.valpha*t)},rotate:function(t){var e=this.hsl(),n=e.color[0];return n=(n=(n+t)%360)<0?360+n:n,e.color[0]=n,e},mix:function(t,e){var n=t.rgb(),r=this.rgb(),o=void 0===e?.5:e,i=2*o-1,a=n.alpha()-r.alpha(),c=((i*a==-1?i:(i+a)/(1+i*a))+1)/2,u=1-c;return s.rgb(c*n.red()+u*r.red(),c*n.green()+u*r.green(),c*n.blue()+u*r.blue(),n.alpha()*o+r.alpha()*(1-o))}},Object.keys(o).forEach(function(t){if(-1===a.indexOf(t)){var e=o[t].channels;s.prototype[t]=function(){if(this.model===t)return new s(this);if(arguments.length)return new s(arguments,t);var n,r="number"==typeof arguments[e]?e:this.valpha;return new s((n=o[this.model][t].raw(this.color),Array.isArray(n)?n:[n]).concat(r),t)},s[t]=function(n){return"number"==typeof n&&(n=d(i.call(arguments),e)),new s(n,t)}}}),t.exports=s},function(t,e,n){(t.exports=n(89)(!1)).push([t.i,".loader {\n width: 100%;\n height: 100%;\n position: fixed;\n left: 0;\n top: 0;\n z-index: 999;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 1;\n transition: opacity linear 300ms; }\n .loader .dot {\n width: 20px;\n height: 20px;\n margin: 3px;\n border-radius: 100%;\n display: inline-block;\n animation: loader 1.4s ease-in-out 0s infinite both; }\n .loader .bounce1 {\n animation-delay: -0.32s; }\n .loader .bounce2 {\n animation-delay: -0.16s; }\n .loader.done {\n opacity: 0; }\n\n@-webkit-keyframes loader {\n 0%,\n 80%,\n 100% {\n transform: scale(0); }\n 40% {\n transform: scale(1); } }\n\n@keyframes loader {\n 0%,\n 80%,\n 100% {\n transform: scale(0); }\n 40% {\n transform: scale(1); } }\n",""])},,function(t,e,n){"use strict";var r=n(1),o=n(10),i=n(34),a=n(9),c=n(26),u=Object(r.a)(function(t,e){if(Object(o.a)(t)){if(Object(o.a)(e))return t.concat(e);throw new TypeError(Object(c.a)(e)+" is not an array")}if(Object(a.a)(t)){if(Object(a.a)(e))return t+e;throw new TypeError(Object(c.a)(e)+" is not a string")}if(null!=t&&Object(i.a)(t["fantasy-land/concat"]))return t["fantasy-land/concat"](e);if(null!=t&&Object(i.a)(t.concat))return t.concat(e);throw new TypeError(Object(c.a)(t)+' does not have a method named "concat" or "fantasy-land/concat"')});e.a=u},function(t,e,n){e.iframeResizer=n(79),e.iframeResizerContentWindow=n(80)},function(t,e,n){var r,o,i;!function(n){if("undefined"!=typeof window){var a,c=0,u=!1,s=!1,l="message".length,f="[iFrameSizer]",d=f.length,h=null,p=window.requestAnimationFrame,m={max:1,scroll:1,bodyScroll:1,documentElementScroll:1},b={},g=null,v={autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",onClosed:function(){},onInit:function(){},onMessage:function(){A("onMessage function not defined")},onResized:function(){},onScroll:function(){return!0}},y={};window.jQuery&&((a=window.jQuery).fn?a.fn.iFrameResize||(a.fn.iFrameResize=function(t){return this.filter("iframe").each(function(e,n){B(n,t)}).end()}):S("","Unable to bind to jQuery, it is not fully loaded.")),o=[],(i="function"==typeof(r=V)?r.apply(e,o):r)===n||(t.exports=i),window.iFrameResize=window.iFrameResize||V()}function O(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function w(t,e,n){t.addEventListener(e,n,!1)}function E(t,e,n){t.removeEventListener(e,n,!1)}function j(t){return f+"["+function(t){var e="Host page: "+t;return window.top!==window.self&&(e=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+t:"Nested host page: "+t),e}(t)+"]"}function T(t){return b[t]?b[t].log:u}function _(t,e){N("log",t,e,T(t))}function S(t,e){N("info",t,e,T(t))}function A(t,e){N("warn",t,e,!0)}function N(t,e,n,r){!0===r&&"object"==typeof window.console&&console[t](j(e),n)}function M(t){function e(){n("Height"),n("Width"),D(function(){F(v),k(O),u("onResized",v)},v,"init")}function n(t){var e=Number(b[O]["max"+t]),n=Number(b[O]["min"+t]),r=t.toLowerCase(),o=Number(v[r]);_(O,"Checking "+r+" is in range "+n+"-"+e),o<n&&(o=n,_(O,"Set "+r+" to min value")),o>e&&(o=e,_(O,"Set "+r+" to max value")),v[r]=""+o}function r(t){return g.substr(g.indexOf(":")+l+t)}function o(t,e){var n,r,o;n=function(){var n,r;z("Send Page Info","pageInfo:"+(n=document.body.getBoundingClientRect(),r=v.iframe.getBoundingClientRect(),JSON.stringify({iframeHeight:r.height,iframeWidth:r.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(r.top-n.top,10),offsetLeft:parseInt(r.left-n.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset})),t,e)},r=32,y[o=e]||(y[o]=setTimeout(function(){y[o]=null,n()},r))}function i(t){var e=t.getBoundingClientRect();return I(O),{x:Math.floor(Number(e.left)+Number(h.x)),y:Math.floor(Number(e.top)+Number(h.y))}}function a(t){var e=t?i(v.iframe):{x:0,y:0},n={x:Number(v.width)+e.x,y:Number(v.height)+e.y};_(O,"Reposition requested from iFrame (offset x:"+e.x+" y:"+e.y+")"),window.top!==window.self?window.parentIFrame?window.parentIFrame["scrollTo"+(t?"Offset":"")](n.x,n.y):A(O,"Unable to scroll to requested position, window.parentIFrame not found"):(h=n,c(),_(O,"--"))}function c(){!1!==u("onScroll",h)?k(O):P()}function u(t,e){return x(O,t,e)}var s,p,m,g=t.data,v={},O=null;"[iFrameResizerChild]Ready"===g?function(){for(var t in b)z("iFrame requested init",H(t),document.getElementById(t),t)}():f===(""+g).substr(0,d)&&g.substr(d).split(":")[0]in b?(m=g.substr(d).split(":"),v={iframe:b[m[0]]&&b[m[0]].iframe,id:m[0],height:m[1],width:m[2],type:m[3]},O=v.id,b[O]&&(b[O].loaded=!0),(p=v.type in{true:1,false:1,undefined:1})&&_(O,"Ignoring init message from meta parent page"),!p&&function(t){var e=!0;return b[t]||(e=!1,A(v.type+" No settings for "+t+". Message was: "+g)),e}(O)&&(_(O,"Received: "+g),s=!0,null===v.iframe&&(A(O,"IFrame ("+v.id+") not found"),s=!1),s&&function(){var e,n=t.origin,r=b[O]&&b[O].checkOrigin;if(r&&""+n!="null"&&!(r.constructor===Array?function(){var t=0,e=!1;for(_(O,"Checking connection is from allowed list of origins: "+r);t<r.length;t++)if(r[t]===n){e=!0;break}return e}():(e=b[O]&&b[O].remoteHost,_(O,"Checking connection is from: "+e),n===e)))throw new Error("Unexpected message received from: "+n+" for "+v.iframe.id+". Message was: "+t.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return!0}()&&function(){switch(b[O]&&b[O].firstRun&&b[O]&&(b[O].firstRun=!1),v.type){case"close":b[O].closeRequeston?x(O,"onCloseRequest",b[O].iframe):L(v.iframe);break;case"message":d=r(6),_(O,"onMessage passed: {iframe: "+v.iframe.id+", message: "+d+"}"),u("onMessage",{iframe:v.iframe,message:JSON.parse(d)}),_(O,"--");break;case"scrollTo":a(!1);break;case"scrollToOffset":a(!0);break;case"pageInfo":o(b[O]&&b[O].iframe,O),function(){function t(t,r){function i(){b[n]?o(b[n].iframe,n):e()}["scroll","resize"].forEach(function(e){_(n,t+e+" listener for sendPageInfo"),r(window,e,i)})}function e(){t("Remove ",E)}var n=O;t("Add ",w),b[n]&&(b[n].stopPageInfo=e)}();break;case"pageInfoStop":b[O]&&b[O].stopPageInfo&&(b[O].stopPageInfo(),delete b[O].stopPageInfo);break;case"inPageLink":t=r(9),s=t.split("#")[1]||"",l=decodeURIComponent(s),(f=document.getElementById(l)||document.getElementsByName(l)[0])?(n=i(f),_(O,"Moving to in page link (#"+s+") at x: "+n.x+" y: "+n.y),h={x:n.x,y:n.y},c(),_(O,"--")):window.top!==window.self?window.parentIFrame?window.parentIFrame.moveToAnchor(s):_(O,"In page link #"+s+" not found and window.parentIFrame not found"):_(O,"In page link #"+s+" not found");break;case"reset":C(v);break;case"init":e(),u("onInit",v.iframe);break;default:e()}var t,n,s,l,f,d}())):S(O,"Ignored: "+g)}function x(t,e,n){var r=null,o=null;if(b[t]){if("function"!=typeof(r=b[t][e]))throw new TypeError(e+" on iFrame["+t+"] is not a function");o=r(n)}return o}function R(t){var e=t.id;delete b[e]}function L(t){var e=t.id;_(e,"Removing iFrame: "+e);try{t.parentNode&&t.parentNode.removeChild(t)}catch(t){A(t)}x(e,"onClosed",e),_(e,"--"),R(t)}function I(t){null===h&&_(t,"Get page position: "+(h={x:window.pageXOffset!==n?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==n?window.pageYOffset:document.documentElement.scrollTop}).x+","+h.y)}function k(t){null!==h&&(window.scrollTo(h.x,h.y),_(t,"Set page position: "+h.x+","+h.y),P())}function P(){h=null}function C(t){_(t.id,"Size reset requested by "+("init"===t.type?"host page":"iFrame")),I(t.id),D(function(){F(t),z("reset","reset",t.iframe,t.id)},t,"reset")}function F(t){function e(e){s||"0"!==t[e]||(s=!0,_(r,"Hidden iFrame detected, creating visibility listener"),function(){function t(){Object.values(b).forEach(function(t){function e(e){return"0px"===(b[t]&&b[t].iframe.style[e])}b[t]&&(n=b[t].iframe,null!==n.offsetParent)&&(e("height")||e("width"))&&z("Visibility change","resize",b[t].iframe,t);var n})}function e(e){_("window","Mutation observed: "+e[0].target+" "+e[0].type),Y(t,16)}var n=O();n&&(r=document.querySelector("body"),new n(e).observe(r,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}));var r}())}function n(n){!function(e){t.id?(t.iframe.style[e]=t[e]+"px",_(t.id,"IFrame ("+r+") "+e+" set to "+t[e]+"px")):_("undefined","messageData id not set")}(n),e(n)}var r=t.iframe.id;b[r]&&(b[r].sizeHeight&&n("height"),b[r].sizeWidth&&n("width"))}function D(t,e,n){n!==e.type&&p?(_(e.id,"Requesting animation frame"),p(t)):t()}function z(t,e,n,r,o){var i,a=!1;r=r||n.id,b[r]&&(n&&"contentWindow"in n&&null!==n.contentWindow?(i=b[r]&&b[r].targetOrigin,_(r,"["+t+"] Sending msg to iframe["+r+"] ("+e+") targetOrigin: "+i),n.contentWindow.postMessage(f+e,i)):A(r,"["+t+"] IFrame("+r+") not found"),o&&b[r]&&b[r].warningTimeout&&(b[r].msgTimeout=setTimeout(function(){!b[r]||b[r].loaded||a||(a=!0,A(r,"IFrame has not responded within "+b[r].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))},b[r].warningTimeout)))}function H(t){return t+":"+b[t].bodyMarginV1+":"+b[t].sizeWidth+":"+b[t].log+":"+b[t].interval+":"+b[t].enablePublicMethods+":"+b[t].autoResize+":"+b[t].bodyMargin+":"+b[t].heightCalculationMethod+":"+b[t].bodyBackground+":"+b[t].bodyPadding+":"+b[t].tolerance+":"+b[t].inPageLinks+":"+b[t].resizeFrom+":"+b[t].widthCalculationMethod}function B(t,e){function r(t){var e=t.split("Callback");if(2===e.length){var n="on"+e[0].charAt(0).toUpperCase()+e[0].slice(1);this[n]=this[t],delete this[t],A(a,"Deprecated: '"+t+"' has been renamed '"+n+"'. The old method will be removed in the next major version.")}}var o,i,a=function(n){var r;return""===n&&(t.id=(r=e&&e.id||v.id+c++,null!==document.getElementById(r)&&(r+=c++),n=r),u=(e||{}).log,_(n,"Added missing iframe ID: "+n+" ("+t.src+")")),n}(t.id);a in b&&"iFrameResizer"in t?A(a,"Ignored iFrame, already setup."):(!function(e){var n;e=e||{},b[a]={firstRun:!0,iframe:t,remoteHost:t.src.split("/").slice(0,3).join("/")},function(t){if("object"!=typeof t)throw new TypeError("Options is not an object")}(e),Object.keys(e).forEach(r,e),function(t){for(var e in v)Object.prototype.hasOwnProperty.call(v,e)&&(b[a][e]=Object.prototype.hasOwnProperty.call(t,e)?t[e]:v[e])}(e),b[a]&&(b[a].targetOrigin=!0===b[a].checkOrigin?""===(n=b[a].remoteHost)||"file://"===n?"*":n:"*")}(e),function(){switch(_(a,"IFrame scrolling "+(b[a]&&b[a].scrolling?"enabled":"disabled")+" for "+a),t.style.overflow=!1===(b[a]&&b[a].scrolling)?"hidden":"auto",b[a]&&b[a].scrolling){case"omit":break;case!0:t.scrolling="yes";break;case!1:t.scrolling="no";break;default:t.scrolling=b[a]?b[a].scrolling:"no"}}(),function(){function e(e){1/0!==b[a][e]&&0!==b[a][e]&&(t.style[e]=b[a][e]+"px",_(a,"Set "+e+" = "+b[a][e]+"px"))}function n(t){if(b[a]["min"+t]>b[a]["max"+t])throw new Error("Value for min"+t+" can not be greater than max"+t)}n("Height"),n("Width"),e("maxHeight"),e("minHeight"),e("maxWidth"),e("minWidth")}(),"number"!=typeof(b[a]&&b[a].bodyMargin)&&"0"!==(b[a]&&b[a].bodyMargin)||(b[a].bodyMarginV1=b[a].bodyMargin,b[a].bodyMargin=b[a].bodyMargin+"px"),o=H(a),(i=O())&&function(e){t.parentNode&&new e(function(e){e.forEach(function(e){Array.prototype.slice.call(e.removedNodes).forEach(function(e){e===t&&L(t)})})}).observe(t.parentNode,{childList:!0})}(i),w(t,"load",function(){var e,r;z("iFrame.onload",o,t,n,!0),e=b[a]&&b[a].firstRun,r=b[a]&&b[a].heightCalculationMethod in m,!e&&r&&C({iframe:t,height:0,width:0,type:"init"})}),z("init",o,t,n,!0),b[a]&&(b[a].iframe.iFrameResizer={close:L.bind(null,b[a].iframe),removeListeners:R.bind(null,b[a].iframe),resize:z.bind(null,"Window resize","resize",b[a].iframe),moveToAnchor:function(t){z("Move to anchor","moveToAnchor:"+t,b[a].iframe,a)},sendMessage:function(t){z("Send Message","message:"+(t=JSON.stringify(t)),b[a].iframe,a)}}))}function Y(t,e){null===g&&(g=setTimeout(function(){g=null,t()},e))}function U(){"hidden"!==document.visibilityState&&(_("document","Trigger event: Visiblity change"),Y(function(){W("Tab Visable","resize")},16))}function W(t,e){Object.keys(b).forEach(function(n){(function(t){return b[t]&&"parent"===b[t].resizeFrom&&b[t].autoResize&&!b[t].firstRun})(n)&&z(t,e,document.getElementById(n),n)})}function q(){w(window,"message",M),w(window,"resize",function(){var t;_("window","Trigger event: "+(t="resize")),Y(function(){W("Window "+t,"resize")},16)}),w(document,"visibilitychange",U),w(document,"-webkit-visibilitychange",U)}function V(){function t(t,n){n&&(!function(){if(!n.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==n.tagName.toUpperCase())throw new TypeError("Expected <IFRAME> tag, found <"+n.tagName+">")}(),B(n,t),e.push(n))}var e;return function(){var t,e=["moz","webkit","o","ms"];for(t=0;t<e.length&&!p;t+=1)p=window[e[t]+"RequestAnimationFrame"];p||_("setup","RequestAnimationFrame not supported")}(),q(),function(r,o){switch(e=[],function(t){t&&t.enablePublicMethods&&A("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}(r),typeof o){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(o||"iframe"),t.bind(n,r));break;case"object":t(r,o);break;default:throw new TypeError("Unexpected data type ("+typeof o+")")}return e}}}()},function(t,e,n){!function(e){if("undefined"!=typeof window){var n=!0,r=10,o="",i=0,a="",c=null,u="",s=!1,l={resize:1,click:1},f=128,d=!0,h=1,p="bodyOffset",m=p,b=!0,g="",v={},y=32,O=null,w=!1,E="[iFrameSizer]",j=E.length,T="",_={max:1,min:1,bodyScroll:1,documentElementScroll:1},S="child",A=!0,N=window.parent,M="*",x=0,R=!1,L=null,I=16,k=1,P="scroll",C=P,F=window,D=function(){ut("onMessage function not defined")},z=function(){},H=function(){},B={height:function(){return ut("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return ut("Custom width calculation function not defined"),document.body.scrollWidth}},Y={},U=!1;try{var W=Object.create({},{passive:{get:function(){U=!0}}});window.addEventListener("test",nt,W),window.removeEventListener("test",nt,W)}catch(t){}var q,V,G,$,K,X,J,Q=Date.now||function(){return(new Date).getTime()},Z={bodyOffset:function(){return document.body.offsetHeight+Ot("marginTop")+Ot("marginBottom")},offset:function(){return Z.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return B.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,Et(Z))},min:function(){return Math.min.apply(null,Et(Z))},grow:function(){return Z.max()},lowestElement:function(){return Math.max(Z.bodyOffset()||Z.documentElementOffset(),wt("bottom",Tt()))},taggedElement:function(){return jt("bottom","data-iframe-height")}},tt={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return B.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(tt.bodyScroll(),tt.documentElementScroll())},max:function(){return Math.max.apply(null,Et(tt))},min:function(){return Math.min.apply(null,Et(tt))},rightMostElement:function(){return wt("right",Tt())},taggedElement:function(){return jt("right","data-iframe-width")}},et=(q=_t,K=null,X=0,J=function(){X=Q(),K=null,$=q.apply(V,G),K||(V=G=null)},function(){var t=Q();X||(X=t);var e=I-(t-X);return V=this,G=arguments,e<=0||e>I?(K&&(clearTimeout(K),K=null),X=t,$=q.apply(V,G),K||(V=G=null)):K||(K=setTimeout(J,e)),$});rt(window,"message",Rt),rt(window,"readystatechange",Lt),Lt()}function nt(){}function rt(t,e,n,r){t.addEventListener(e,n,!!U&&(r||{}))}function ot(t,e,n){t.removeEventListener(e,n,!1)}function it(t){return t.charAt(0).toUpperCase()+t.slice(1)}function at(t){return E+"["+T+"] "+t}function ct(t){w&&"object"==typeof window.console&&console.log(at(t))}function ut(t){"object"==typeof window.console&&console.warn(at(t))}function st(){var t;!function(){function t(t){return"true"===t}var r=g.substr(j).split(":");T=r[0],i=e!==r[1]?Number(r[1]):i,s=e!==r[2]?t(r[2]):s,w=e!==r[3]?t(r[3]):w,y=e!==r[4]?Number(r[4]):y,n=e!==r[6]?t(r[6]):n,a=r[7],m=e!==r[8]?r[8]:m,o=r[9],u=r[10],x=e!==r[11]?Number(r[11]):x,v.enable=e!==r[12]&&t(r[12]),S=e!==r[13]?r[13]:S,C=e!==r[14]?r[14]:C}(),ct("Initialising iFrame ("+location.href+")"),function(){function t(t,e){return"function"==typeof t&&(ct("Setup custom "+e+"CalcMethod"),B[e]=t,t="custom"),t}"iFrameResizer"in window&&Object===window.iFrameResizer.constructor&&(e=window.iFrameResizer,ct("Reading data from page: "+JSON.stringify(e)),Object.keys(e).forEach(lt,e),D="onMessage"in e?e.onMessage:D,z="onReady"in e?e.onReady:z,M="targetOrigin"in e?e.targetOrigin:M,m="heightCalculationMethod"in e?e.heightCalculationMethod:m,C="widthCalculationMethod"in e?e.widthCalculationMethod:C,m=t(m,"height"),C=t(C,"width"));var e;ct("TargetOrigin for parent set to: "+M)}(),function(){e===a&&(a=i+"px");ft("margin",function(t,e){-1!==e.indexOf("-")&&(ut("Negative CSS value ignored for "+t),e="");return e}("margin",a))}(),ft("background",o),ft("padding",u),(t=document.createElement("div")).style.clear="both",t.style.display="block",t.style.height="0",document.body.appendChild(t),mt(),bt(),document.documentElement.style.height="",document.body.style.height="",ct('HTML & body height set to "auto"'),ct("Enable public methods"),F.parentIFrame={autoResize:function(t){return!0===t&&!1===n?(n=!0,gt()):!1===t&&!0===n&&(n=!1,vt()),n},close:function(){xt(0,0,"close"),ct("Disable outgoing messages"),A=!1,ct("Remove event listener: Message"),ot(window,"message",Rt),!0===n&&vt()},getId:function(){return T},getPageInfo:function(t){"function"==typeof t?(H=t,xt(0,0,"pageInfo")):(H=function(){},xt(0,0,"pageInfoStop"))},moveToAnchor:function(t){v.findTarget(t)},reset:function(){Mt("parentIFrame.reset")},scrollTo:function(t,e){xt(e,t,"scrollTo")},scrollToOffset:function(t,e){xt(e,t,"scrollToOffset")},sendMessage:function(t,e){xt(0,0,"message",JSON.stringify(t),e)},setHeightCalculationMethod:function(t){m=t,mt()},setWidthCalculationMethod:function(t){C=t,bt()},setTargetOrigin:function(t){ct("Set targetOrigin: "+t),M=t},size:function(t,e){var n=(t||"")+(e?","+e:"");St("size","parentIFrame.size("+n+")",t,e)}},gt(),v=function(){function t(t){var n=t.getBoundingClientRect(),r={x:window.pageXOffset!==e?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==e?window.pageYOffset:document.documentElement.scrollTop};return{x:parseInt(n.left,10)+parseInt(r.x,10),y:parseInt(n.top,10)+parseInt(r.y,10)}}function n(n){var r=n.split("#")[1]||n,o=decodeURIComponent(r),i=document.getElementById(o)||document.getElementsByName(o)[0];e!==i?function(e){var n=t(e);ct("Moving to in page link (#"+r+") at x: "+n.x+" y: "+n.y),xt(n.y,n.x,"scrollToOffset")}(i):(ct("In page link (#"+r+") not found in iFrame, so sending to parent"),xt(0,0,"inPageLink","#"+r))}function r(){""!==location.hash&&"#"!==location.hash&&n(location.href)}v.enable?Array.prototype.forEach&&document.querySelectorAll?(ct("Setting up location.hash handlers"),Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),function(t){"#"!==t.getAttribute("href")&&rt(t,"click",function(t){t.preventDefault(),n(this.getAttribute("href"))})}),rt(window,"hashchange",r),setTimeout(r,f)):ut("In page linking not fully supported in this browser! (See README.md for IE8 workaround)"):ct("In page linking not enabled");return{findTarget:n}}(),St("init","Init message from host page"),z()}function lt(t){var e=t.split("Callback");if(2===e.length){var n="on"+e[0].charAt(0).toUpperCase()+e[0].slice(1);this[n]=this[t],delete this[t],ut("Deprecated: '"+t+"' has been renamed '"+n+"'. The old method will be removed in the next major version.")}}function ft(t,n){e!==n&&""!==n&&"null"!==n&&(document.body.style[t]=n,ct("Body "+t+' set to "'+n+'"'))}function dt(t){var e={add:function(e){function n(){St(t.eventName,t.eventType)}Y[e]=n,rt(window,e,n,{passive:!0})},remove:function(t){var e=Y[t];delete Y[t],ot(window,t,e)}};t.eventNames&&Array.prototype.map?(t.eventName=t.eventNames[0],t.eventNames.map(e[t.method])):e[t.method](t.eventName),ct(it(t.method)+" event listener: "+t.eventType)}function ht(t){dt({method:t,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),dt({method:t,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),dt({method:t,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),dt({method:t,eventType:"Input",eventName:"input"}),dt({method:t,eventType:"Mouse Up",eventName:"mouseup"}),dt({method:t,eventType:"Mouse Down",eventName:"mousedown"}),dt({method:t,eventType:"Orientation Change",eventName:"orientationchange"}),dt({method:t,eventType:"Print",eventName:["afterprint","beforeprint"]}),dt({method:t,eventType:"Ready State Change",eventName:"readystatechange"}),dt({method:t,eventType:"Touch Start",eventName:"touchstart"}),dt({method:t,eventType:"Touch End",eventName:"touchend"}),dt({method:t,eventType:"Touch Cancel",eventName:"touchcancel"}),dt({method:t,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),dt({method:t,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),dt({method:t,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}),"child"===S&&dt({method:t,eventType:"IFrame Resized",eventName:"resize"})}function pt(t,e,n,r){return e!==t&&(t in n||(ut(t+" is not a valid option for "+r+"CalculationMethod."),t=e),ct(r+' calculation method set to "'+t+'"')),t}function mt(){m=pt(m,p,Z,"height")}function bt(){C=pt(C,P,tt,"width")}function gt(){var t;!0===n?(ht("add"),t=0>y,window.MutationObserver||window.WebKitMutationObserver?t?yt():c=function(){function t(t){function e(t){!1===t.complete&&(ct("Attach listeners to "+t.src),t.addEventListener("load",o,!1),t.addEventListener("error",i,!1),u.push(t))}"attributes"===t.type&&"src"===t.attributeName?e(t.target):"childList"===t.type&&Array.prototype.forEach.call(t.target.querySelectorAll("img"),e)}function n(t){ct("Remove listeners from "+t.src),t.removeEventListener("load",o,!1),t.removeEventListener("error",i,!1),function(t){u.splice(u.indexOf(t),1)}(t)}function r(t,r,o){n(t.target),St(r,o+": "+t.target.src,e,e)}function o(t){r(t,"imageLoad","Image loaded")}function i(t){r(t,"imageLoadFailed","Image load failed")}function a(e){St("mutationObserver","mutationObserver: "+e[0].target+" "+e[0].type),e.forEach(t)}var c,u=[],s=window.MutationObserver||window.WebKitMutationObserver,l=(c=document.querySelector("body"),l=new s(a),ct("Create body MutationObserver"),l.observe(c,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}),l);return{disconnect:function(){"disconnect"in l&&(ct("Disconnect body MutationObserver"),l.disconnect(),u.forEach(n))}}}():(ct("MutationObserver not supported in this browser!"),yt())):ct("Auto Resize disabled")}function vt(){ht("remove"),null!==c&&c.disconnect(),clearInterval(O)}function yt(){0!==y&&(ct("setInterval: "+y+"ms"),O=setInterval(function(){St("interval","setInterval: "+y)},Math.abs(y)))}function Ot(t,e){var n=0;return e=e||document.body,n=null!==(n=document.defaultView.getComputedStyle(e,null))?n[t]:0,parseInt(n,r)}function wt(t,e){for(var n=e.length,r=0,o=0,i=it(t),a=Q(),c=0;c<n;c++)(r=e[c].getBoundingClientRect()[t]+Ot("margin"+i,e[c]))>o&&(o=r);return a=Q()-a,ct("Parsed "+n+" HTML elements"),ct("Element position calculated in "+a+"ms"),function(t){t>I/2&&ct("Event throttle increased to "+(I=2*t)+"ms")}(a),o}function Et(t){return[t.bodyOffset(),t.bodyScroll(),t.documentElementOffset(),t.documentElementScroll()]}function jt(t,e){var n=document.querySelectorAll("["+e+"]");return 0===n.length&&(ut("No tagged elements ("+e+") found on page"),document.querySelectorAll("body *")),wt(t,n)}function Tt(){return document.querySelectorAll("body *")}function _t(t,n,r,o){var i,a;!function(){function t(t,e){return!(Math.abs(t-e)<=x)}return i=e!==r?r:Z[m](),a=e!==o?o:tt[C](),t(h,i)||s&&t(k,a)}()&&"init"!==t?t in{init:1,interval:1,size:1}||!(m in _||s&&C in _)?t in{interval:1}||ct("No change in size detected"):Mt(n):(At(),xt(h=i,k=a,t))}function St(t,e,n,r){R&&t in l?ct("Trigger event cancelled: "+t):(t in{reset:1,resetPage:1,init:1}||ct("Trigger event: "+e),"init"===t?_t(t,e,n,r):et(t,e,n,r))}function At(){R||(R=!0,ct("Trigger event lock on")),clearTimeout(L),L=setTimeout(function(){R=!1,ct("Trigger event lock off"),ct("--")},f)}function Nt(t){h=Z[m](),k=tt[C](),xt(h,k,t)}function Mt(t){var e=m;m=p,ct("Reset trigger event: "+t),At(),Nt("reset"),m=e}function xt(t,n,r,o,i){var a;!0===A&&(e===i?i=M:ct("Message targetOrigin: "+i),ct("Sending message to host page ("+(a=T+":"+t+":"+n+":"+r+(e!==o?":"+o:""))+")"),N.postMessage(E+a,i))}function Rt(e){var n={init:function(){g=e.data,N=e.source,st(),d=!1,setTimeout(function(){b=!1},f)},reset:function(){b?ct("Page reset ignored by init"):(ct("Page size reset by host page"),Nt("resetPage"))},resize:function(){St("resizeParent","Parent window requested size check")},moveToAnchor:function(){v.findTarget(o())},inPageLink:function(){this.moveToAnchor()},pageInfo:function(){var t=o();ct("PageInfoFromParent called from parent: "+t),H(JSON.parse(t)),ct(" --")},message:function(){var t=o();ct("onMessage called from parent: "+t),D(JSON.parse(t)),ct(" --")}};function r(){return e.data.split("]")[1].split(":")[0]}function o(){return e.data.substr(e.data.indexOf(":")+1)}function i(){return e.data.split(":")[2]in{true:1,false:1}}function a(){var o=r();o in n?n[o]():!t.exports&&"iFrameResize"in window||"jQuery"in window&&"iFrameResize"in window.jQuery.prototype||i()||ut("Unexpected message ("+e.data+")")}E===(""+e.data).substr(0,j)&&(!1===d?a():i()?n.init():ct('Ignored message of type "'+r()+'". Received before initialization.'))}function Lt(){"loading"!==document.readyState&&window.parent.postMessage("[iFrameResizerChild]Ready","*")}}()},function(t,e,n){var r=n(82);r.Template=n(83).Template,r.template=r.Template,t.exports=r},function(t,e,n){!function(t){var e=/\S/,n=/\"/g,r=/\n/g,o=/\r/g,i=/\\/g,a=/\u2028/,c=/\u2029/;function u(t){"}"===t.n.substr(t.n.length-1)&&(t.n=t.n.substring(0,t.n.length-1))}function s(t){return t.trim?t.trim():t.replace(/^\s*|\s*$/g,"")}function l(t,e,n){if(e.charAt(n)!=t.charAt(0))return!1;for(var r=1,o=t.length;r<o;r++)if(e.charAt(n+r)!=t.charAt(r))return!1;return!0}t.tags={"#":1,"^":2,"<":3,$:4,"/":5,"!":6,">":7,"=":8,_v:9,"{":10,"&":11,_t:12},t.scan=function(n,r){var o=n.length,i=0,a=null,c=null,f="",d=[],h=!1,p=0,m=0,b="{{",g="}}";function v(){f.length>0&&(d.push({tag:"_t",text:new String(f)}),f="")}function y(n,r){if(v(),n&&function(){for(var n=!0,r=m;r<d.length;r++)if(!(n=t.tags[d[r].tag]<t.tags._v||"_t"==d[r].tag&&null===d[r].text.match(e)))return!1;return n}())for(var o,i=m;i<d.length;i++)d[i].text&&((o=d[i+1])&&">"==o.tag&&(o.indent=d[i].text.toString()),d.splice(i,1));else r||d.push({tag:"\n"});h=!1,m=d.length}function O(t,e){var n="="+g,r=t.indexOf(n,e),o=s(t.substring(t.indexOf("=",e)+1,r)).split(" ");return b=o[0],g=o[o.length-1],r+n.length-1}for(r&&(r=r.split(" "),b=r[0],g=r[1]),p=0;p<o;p++)0==i?l(b,n,p)?(--p,v(),i=1):"\n"==n.charAt(p)?y(h):f+=n.charAt(p):1==i?(p+=b.length-1,"="==(a=(c=t.tags[n.charAt(p+1)])?n.charAt(p+1):"_v")?(p=O(n,p),i=0):(c&&p++,i=2),h=p):l(g,n,p)?(d.push({tag:a,n:s(f),otag:b,ctag:g,i:"/"==a?h-b.length:p+g.length}),f="",p+=g.length-1,i=0,"{"==a&&("}}"==g?p++:u(d[d.length-1]))):f+=n.charAt(p);return y(h,!0),d};var f={_t:!0,"\n":!0,$:!0,"/":!0};function d(t,e){for(var n=0,r=e.length;n<r;n++)if(e[n].o==t.n)return t.tag="#",!0}function h(t,e,n){for(var r=0,o=n.length;r<o;r++)if(n[r].c==t&&n[r].o==e)return!0}function p(t){var e=[];for(var n in t.partials)e.push('"'+b(n)+'":{name:"'+b(t.partials[n].name)+'", '+p(t.partials[n])+"}");return"partials: {"+e.join(",")+"}, subs: "+function(t){var e=[];for(var n in t)e.push('"'+b(n)+'": function(c,p,t,i) {'+t[n]+"}");return"{ "+e.join(",")+" }"}(t.subs)}t.stringify=function(e,n,r){return"{code: function (c,p,i) { "+t.wrapMain(e.code)+" },"+p(e)+"}"};var m=0;function b(t){return t.replace(i,"\\\\").replace(n,'\\"').replace(r,"\\n").replace(o,"\\r").replace(a,"\\u2028").replace(c,"\\u2029")}function g(t){return~t.indexOf(".")?"d":"f"}function v(t,e){var n="<"+(e.prefix||"")+t.n+m++;return e.partials[n]={name:t.n,partials:{}},e.code+='t.b(t.rp("'+b(n)+'",c,p,"'+(t.indent||"")+'"));',n}function y(t,e){e.code+="t.b(t.t(t."+g(t.n)+'("'+b(t.n)+'",c,p,0)));'}function O(t){return"t.b("+t+");"}t.generate=function(e,n,r){m=0;var o={code:"",subs:{},partials:{}};return t.walk(e,o),r.asString?this.stringify(o,n,r):this.makeTemplate(o,n,r)},t.wrapMain=function(t){return'var t=this;t.b(i=i||"");'+t+"return t.fl();"},t.template=t.Template,t.makeTemplate=function(t,e,n){var r=this.makePartials(t);return r.code=new Function("c","p","i",this.wrapMain(t.code)),new this.template(r,e,this,n)},t.makePartials=function(t){var e,n={subs:{},partials:t.partials,name:t.name};for(e in n.partials)n.partials[e]=this.makePartials(n.partials[e]);for(e in t.subs)n.subs[e]=new Function("c","p","t","i",t.subs[e]);return n},t.codegen={"#":function(e,n){n.code+="if(t.s(t."+g(e.n)+'("'+b(e.n)+'",c,p,1),c,p,0,'+e.i+","+e.end+',"'+e.otag+" "+e.ctag+'")){t.rs(c,p,function(c,p,t){',t.walk(e.nodes,n),n.code+="});c.pop();}"},"^":function(e,n){n.code+="if(!t.s(t."+g(e.n)+'("'+b(e.n)+'",c,p,1),c,p,1,0,0,"")){',t.walk(e.nodes,n),n.code+="};"},">":v,"<":function(e,n){var r={partials:{},code:"",subs:{},inPartial:!0};t.walk(e.nodes,r);var o=n.partials[v(e,n)];o.subs=r.subs,o.partials=r.partials},$:function(e,n){var r={subs:{},code:"",partials:n.partials,prefix:e.n};t.walk(e.nodes,r),n.subs[e.n]=r.code,n.inPartial||(n.code+='t.sub("'+b(e.n)+'",c,p,i);')},"\n":function(t,e){e.code+=O('"\\n"'+(t.last?"":" + i"))},_v:function(t,e){e.code+="t.b(t.v(t."+g(t.n)+'("'+b(t.n)+'",c,p,0)));'},_t:function(t,e){e.code+=O('"'+b(t.text)+'"')},"{":y,"&":y},t.walk=function(e,n){for(var r,o=0,i=e.length;o<i;o++)(r=t.codegen[e[o].tag])&&r(e[o],n);return n},t.parse=function(e,n,r){return function e(n,r,o,i){var a,c=[],u=null,s=null;for(a=o[o.length-1];n.length>0;){if(s=n.shift(),a&&"<"==a.tag&&!(s.tag in f))throw new Error("Illegal content in < super tag.");if(t.tags[s.tag]<=t.tags.$||d(s,i))o.push(s),s.nodes=e(n,s.tag,o,i);else{if("/"==s.tag){if(0===o.length)throw new Error("Closing tag without opener: /"+s.n);if(u=o.pop(),s.n!=u.n&&!h(s.n,u.n,i))throw new Error("Nesting error: "+u.n+" vs. "+s.n);return u.end=s.i,c}"\n"==s.tag&&(s.last=0==n.length||"\n"==n[0].tag)}c.push(s)}if(o.length>0)throw new Error("missing closing tag: "+o.pop().n);return c}(e,0,[],(r=r||{}).sectionTags||[])},t.cache={},t.cacheKey=function(t,e){return[t,!!e.asString,!!e.disableLambda,e.delimiters,!!e.modelGet].join("||")},t.compile=function(e,n){n=n||{};var r=t.cacheKey(e,n),o=this.cache[r];if(o){var i=o.partials;for(var a in i)delete i[a].instance;return o}return o=this.generate(this.parse(this.scan(e,n.delimiters),e,n),e,n),this.cache[r]=o}}(e)},function(t,e,n){!function(t){function e(t,e,n){var r;return e&&"object"==typeof e&&(void 0!==e[t]?r=e[t]:n&&e.get&&"function"==typeof e.get&&(r=e.get(t))),r}t.Template=function(t,e,n,r){t=t||{},this.r=t.code||this.r,this.c=n,this.options=r||{},this.text=e||"",this.partials=t.partials||{},this.subs=t.subs||{},this.buf=""},t.Template.prototype={r:function(t,e,n){return""},v:function(t){return t=u(t),c.test(t)?t.replace(n,"&").replace(r,"<").replace(o,">").replace(i,"'").replace(a,"""):t},t:u,render:function(t,e,n){return this.ri([t],e||{},n)},ri:function(t,e,n){return this.r(t,e,n)},ep:function(t,e){var n=this.partials[t],r=e[n.name];if(n.instance&&n.base==r)return n.instance;if("string"==typeof r){if(!this.c)throw new Error("No compiler available.");r=this.c.compile(r,this.options)}if(!r)return null;if(this.partials[t].base=r,n.subs){for(key in e.stackText||(e.stackText={}),n.subs)e.stackText[key]||(e.stackText[key]=void 0!==this.activeSub&&e.stackText[this.activeSub]?e.stackText[this.activeSub]:this.text);r=function(t,e,n,r,o,i){function a(){}function c(){}var u;a.prototype=t,c.prototype=t.subs;var s=new a;for(u in s.subs=new c,s.subsText={},s.buf="",r=r||{},s.stackSubs=r,s.subsText=i,e)r[u]||(r[u]=e[u]);for(u in r)s.subs[u]=r[u];for(u in o=o||{},s.stackPartials=o,n)o[u]||(o[u]=n[u]);for(u in o)s.partials[u]=o[u];return s}(r,n.subs,n.partials,this.stackSubs,this.stackPartials,e.stackText)}return this.partials[t].instance=r,r},rp:function(t,e,n,r){var o=this.ep(t,n);return o?o.ri(e,n,r):""},rs:function(t,e,n){var r=t[t.length-1];if(s(r))for(var o=0;o<r.length;o++)t.push(r[o]),n(t,e,this),t.pop();else n(t,e,this)},s:function(t,e,n,r,o,i,a){var c;return(!s(t)||0!==t.length)&&("function"==typeof t&&(t=this.ms(t,e,n,r,o,i,a)),c=!!t,!r&&c&&e&&e.push("object"==typeof t?t:e[e.length-1]),c)},d:function(t,n,r,o){var i,a=t.split("."),c=this.f(a[0],n,r,o),u=this.options.modelGet,l=null;if("."===t&&s(n[n.length-2]))c=n[n.length-1];else for(var f=1;f<a.length;f++)void 0!==(i=e(a[f],c,u))?(l=c,c=i):c="";return!(o&&!c)&&(o||"function"!=typeof c||(n.push(l),c=this.mv(c,n,r),n.pop()),c)},f:function(t,n,r,o){for(var i=!1,a=!1,c=this.options.modelGet,u=n.length-1;u>=0;u--)if(void 0!==(i=e(t,n[u],c))){a=!0;break}return a?(o||"function"!=typeof i||(i=this.mv(i,n,r)),i):!o&&""},ls:function(t,e,n,r,o){var i=this.options.delimiters;return this.options.delimiters=o,this.b(this.ct(u(t.call(e,r)),e,n)),this.options.delimiters=i,!1},ct:function(t,e,n){if(this.options.disableLambda)throw new Error("Lambda features disabled.");return this.c.compile(t,this.options).render(e,n)},b:function(t){this.buf+=t},fl:function(){var t=this.buf;return this.buf="",t},ms:function(t,e,n,r,o,i,a){var c,u=e[e.length-1],s=t.call(u);return"function"==typeof s?!!r||(c=this.activeSub&&this.subsText&&this.subsText[this.activeSub]?this.subsText[this.activeSub]:this.text,this.ls(s,u,n,c.substring(o,i),a)):s},mv:function(t,e,n){var r=e[e.length-1],o=t.call(r);return"function"==typeof o?this.ct(u(o.call(r)),r,n):o},sub:function(t,e,n,r){var o=this.subs[t];o&&(this.activeSub=t,o(e,n,this,r),this.activeSub=!1)}};var n=/&/g,r=/</g,o=/>/g,i=/\'/g,a=/\"/g,c=/[&<>\"\']/;function u(t){return String(null==t?"":t)}var s=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}}(e)},function(t,e,n){var r=n(67),o=n(85),i={};for(var a in r)r.hasOwnProperty(a)&&(i[r[a]]=a);var c=t.exports={to:{},get:{}};function u(t,e,n){return Math.min(Math.max(e,t),n)}function s(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}c.get=function(t){var e,n;switch(t.substring(0,3).toLowerCase()){case"hsl":e=c.get.hsl(t),n="hsl";break;case"hwb":e=c.get.hwb(t),n="hwb";break;default:e=c.get.rgb(t),n="rgb"}return e?{model:n,value:e}:null},c.get.rgb=function(t){if(!t)return null;var e,n,o,i=[0,0,0,1];if(e=t.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(o=e[2],e=e[1],n=0;n<3;n++){var a=2*n;i[n]=parseInt(e.slice(a,a+2),16)}o&&(i[3]=Math.round(parseInt(o,16)/255*100)/100)}else if(e=t.match(/^#([a-f0-9]{3,4})$/i)){for(o=(e=e[1])[3],n=0;n<3;n++)i[n]=parseInt(e[n]+e[n],16);o&&(i[3]=Math.round(parseInt(o+o,16)/255*100)/100)}else if(e=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(n=0;n<3;n++)i[n]=parseInt(e[n+1],0);e[4]&&(i[3]=parseFloat(e[4]))}else{if(!(e=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)))return(e=t.match(/(\D+)/))?"transparent"===e[1]?[0,0,0,0]:(i=r[e[1]])?(i[3]=1,i):null:null;for(n=0;n<3;n++)i[n]=Math.round(2.55*parseFloat(e[n+1]));e[4]&&(i[3]=parseFloat(e[4]))}for(n=0;n<3;n++)i[n]=u(i[n],0,255);return i[3]=u(i[3],0,1),i},c.get.hsl=function(t){if(!t)return null;var e=t.match(/^hsla?\(\s*([+-]?(?:\d*\.)?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);if(e){var n=parseFloat(e[4]);return[(parseFloat(e[1])+360)%360,u(parseFloat(e[2]),0,100),u(parseFloat(e[3]),0,100),u(isNaN(n)?1:n,0,1)]}return null},c.get.hwb=function(t){if(!t)return null;var e=t.match(/^hwb\(\s*([+-]?\d*[\.]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);if(e){var n=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,u(parseFloat(e[2]),0,100),u(parseFloat(e[3]),0,100),u(isNaN(n)?1:n,0,1)]}return null},c.to.hex=function(){var t=o(arguments);return"#"+s(t[0])+s(t[1])+s(t[2])+(t[3]<1?s(Math.round(255*t[3])):"")},c.to.rgb=function(){var t=o(arguments);return t.length<4||1===t[3]?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"},c.to.rgb.percent=function(){var t=o(arguments),e=Math.round(t[0]/255*100),n=Math.round(t[1]/255*100),r=Math.round(t[2]/255*100);return t.length<4||1===t[3]?"rgb("+e+"%, "+n+"%, "+r+"%)":"rgba("+e+"%, "+n+"%, "+r+"%, "+t[3]+")"},c.to.hsl=function(){var t=o(arguments);return t.length<4||1===t[3]?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"},c.to.hwb=function(){var t=o(arguments),e="";return t.length>=4&&1!==t[3]&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"},c.to.keyword=function(t){return i[t.slice(0,3)]}},function(t,e,n){"use strict";var r=n(86),o=Array.prototype.concat,i=Array.prototype.slice,a=t.exports=function(t){for(var e=[],n=0,a=t.length;n<a;n++){var c=t[n];r(c)?e=o.call(e,i.call(c)):e.push(c)}return e};a.wrap=function(t){return function(){return t(a(arguments))}}},function(t,e){t.exports=function(t){return!(!t||"string"==typeof t)&&(t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&"String"!==t.constructor.name))}},function(t,e,n){var r=n(68),o=n(88),i={};Object.keys(r).forEach(function(t){i[t]={},Object.defineProperty(i[t],"channels",{value:r[t].channels}),Object.defineProperty(i[t],"labels",{value:r[t].labels});var e=o(t);Object.keys(e).forEach(function(n){var r=e[n];i[t][n]=function(t){var e=function(e){if(null==e)return e;arguments.length>1&&(e=Array.prototype.slice.call(arguments));var n=t(e);if("object"==typeof n)for(var r=n.length,o=0;o<r;o++)n[o]=Math.round(n[o]);return n};return"conversion"in t&&(e.conversion=t.conversion),e}(r),i[t][n].raw=function(t){var e=function(e){return null==e?e:(arguments.length>1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(r)})}),t.exports=i},function(t,e,n){var r=n(68);function o(t){var e=function(){for(var t={},e=Object.keys(r),n=e.length,o=0;o<n;o++)t[e[o]]={distance:-1,parent:null};return t}(),n=[t];for(e[t].distance=0;n.length;)for(var o=n.pop(),i=Object.keys(r[o]),a=i.length,c=0;c<a;c++){var u=i[c],s=e[u];-1===s.distance&&(s.distance=e[o].distance+1,s.parent=o,n.unshift(u))}return e}function i(t,e){return function(n){return e(t(n))}}function a(t,e){for(var n=[e[t].parent,t],o=r[e[t].parent][t],a=e[t].parent;e[a].parent;)n.unshift(e[a].parent),o=i(r[e[a].parent][a],o),a=e[a].parent;return o.conversion=n,o}t.exports=function(t){for(var e=o(t),n={},r=Object.keys(e),i=r.length,c=0;c<i;c++){var u=r[c];null!==e[u].parent&&(n[u]=a(u,e))}return n}},function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var o=(a=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),i=r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"});return[n].concat(i).concat([o]).join("\n")}var a;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<t.length;o++){var a=t[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},,,,,function(t,e,n){"use strict";n.r(e);var r=n(11),o=n.n(r),i=n(24),a=n.n(i),c=n(49),u=n(48),s=n(69),l=n(65),f=n(57),d=n(46),h=n(3);function p(t){return t}var m=Object(h.a)(p),b=n(66),g=n(28);function v(t,e,n){var r,o=typeof t;switch(o){case"string":case"number":return 0===t&&1/t==-1/0?!!n._items["-0"]||(e&&(n._items["-0"]=!0),!1):null!==n._nativeSet?e?(r=n._nativeSet.size,n._nativeSet.add(t),n._nativeSet.size===r):n._nativeSet.has(t):o in n._items?t in n._items[o]||(e&&(n._items[o][t]=!0),!1):(e&&(n._items[o]={},n._items[o][t]=!0),!1);case"boolean":if(o in n._items){var i=t?1:0;return!!n._items[o][i]||(e&&(n._items[o][i]=!0),!1)}return e&&(n._items[o]=t?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?e?(r=n._nativeSet.size,n._nativeSet.add(t),n._nativeSet.size===r):n._nativeSet.has(t):o in n._items?!!Object(g.a)(t,n._items[o])||(e&&n._items[o].push(t),!1):(e&&(n._items[o]=[t]),!1);case"undefined":return!!n._items[o]||(e&&(n._items[o]=!0),!1);case"object":if(null===t)return!!n._items.null||(e&&(n._items.null=!0),!1);default:return(o=Object.prototype.toString.call(t))in n._items?!!Object(g.a)(t,n._items[o])||(e&&n._items[o].push(t),!1):(e&&(n._items[o]=[t]),!1)}}var y=function(){function t(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return t.prototype.add=function(t){return!v(t,!0,this)},t.prototype.has=function(t){return v(t,!1,this)},t}(),O=n(1),w=Object(O.a)(function(t,e){for(var n,r,o=new y,i=[],a=0;a<e.length;)n=t(r=e[a]),o.add(n)&&i.push(r),a+=1;return i})(m),E=n(77),j=(n(70),Object(l.a)(function(t,e){return t.appendChild(e),e})),T=Object(l.a)(function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,r=Object.keys(n||{}).map(function(t){return" ".concat(t,'="').concat(n[t],'"')}).join("");return"<".concat(t).concat(r,">").concat(e,"</").concat(t,">")}),_=Object(l.a)(function(t,e){return Object.keys(t).forEach(function(n){e.style[n]=t[n]}),e}),S=(Object(l.a)(function(t,e){(t||[]).forEach(function(t){e.style.removeProperty(t)})}),Object(f.a)(Object(d.a)(m),function(t){return t.className.split(" ")})),A=(Object(l.a)(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;return e.className=Object(f.a)(Object(b.a)(" "),w,Object(E.a)(t),S)(e),e}),Object(l.a)(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;return e.className=Object(f.a)(Object(b.a)(" "),Object(d.a)(function(e){return!~t.indexOf(e)}),S)(e),e}),Object(l.a)(function(t,e){return Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])}),e})),N=(Object(l.a)(function(t,e){new MutationObserver(e).observe(t,{childList:!0}),window.addEventListener("resize",e)}),function(t){var e=function(t){return"string"==typeof t?Object(s.a)(document.querySelectorAll(t)):t}(t),n=e.innerHTML;return{node:e,init:function(){e.innerHTML=""},reset:function(){e.innerHTML=n}}}),M=n(54),x=n(42),R=Object(f.a)(A({"min-width":"100%",seamless:"",scrolling:"no",frameborder:"0"}),_({height:"auto"}),function(t){return document.createElement(t)}),L=Object(x.a)("contentWindow"),I=Object(f.a)(Object(x.a)("document"),L),k=Object(l.a)(function(t,e){var n=function(){return A({width:t.offsetWidth},e)};return n(),window.addEventListener("load",n),window.addEventListener("resize",n),e}),P=Object(l.a)(function(t,e){return new Promise(function(n){var r=L(e),o=I(e);window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__&&(r.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__);o.open(),o.write("<!DOCTYPE html>"),o.write("<html>"),o.write('<head><meta charset="utf-8" /></head>'),o.write("<body>"),o.write(t),o.write("</body>"),o.close(),function t(){return"complete"===o.readyState?n(e):setTimeout(t,150)}()})}),C=Object(l.a)(function(t,e){return new Promise(function(t){return t(R("iframe"))}).then(j(t)).then(P(e))}),F=n(71),D=n(72),z=n.n(D),H=n(73),B=n.n(H),Y=n(74),U=n.n(Y),W=n(64),q=n(75),V=T("style",n.n(q).a.toString()),G=T("script","\n var loader = document.getElementById('loader')\n\n window.addEventListener('load', function() {\n setTimeout(function () {\n loader.className += ' done'\n }, 300)\n\n setTimeout(function () {\n loader.parentNode.removeChild(loader)\n }, 600)\n })\n"),$=function(t){return[V,(e=t,n=e.theme,r=Object(W.a)("#2B8AC6","main",n),o=U()(r).luminosity(),i=Object(W.a)(o<.25?"#fff":"#000","highlight",n),'<div class="loader" id="loader" style="background: '.concat(r,'">\n <div class="dot bounce1" style="background: ').concat(i,'"></div>\n <div class="dot bounce2" style="background: ').concat(i,'"></div>\n <div class="dot bounce3" style="background: ').concat(i,'"></div>\n </div>')),G].join("");var e,n,r,o,i},K=Object(l.a)(function(t,e){var n="Podlove Web Player".concat(Object(x.a)("title",t)?": "+Object(x.a)("title",t):"");return A({title:n,"aria-label":n,tabindex:0},e)}),X=function(){var t=a()(o.a.mark(function t(e,n){var r,i,a;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return"//cdn.podlove.org/web-player/",r=B()({base:"".concat("//cdn.podlove.org/web-player/").concat(u.a,"/"),styles:["styles"],scripts:["vendor","styles","runtime","player","bootstrap"],resizer:z.a,loader:$(e)}),t.next=4,C(n,r).then(_({"max-width":"768px","min-height":"230px",transition:"all 500ms"})).then(k(n)).then(_({"min-height":null}));case 4:return i=t.sent,K(e,i),Object(F.iframeResizer)({checkOrigin:!1,log:!1},i),a=Object(x.a)("PODLOVE_STORE",L(i)),t.abrupt("return",a);case 9:case"end":return t.stop()}},t)}));return function(e,n){return t.apply(this,arguments)}}(),J=n(56),Q=n(41),Z=n(8),tt=Object(f.a)(s.a,Z.a,Object(d.a)(m),Object(W.a)({},"tabs")),et=function(t,e){var n=tt(t);n&&e.dispatch(Object(Q.a)(n))},nt=n(50),rt=n(55),ot=function(){var t=a()(o.a.mark(function t(e,n){var r,i,a,s,l=arguments;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=l.length>2&&void 0!==l[2]?l[2]:{},i=N(e),t.prev=2,i.init(),t.next=6,Object(M.a)(n,r);case 6:return a=t.sent,t.next=9,X(a,i.node);case 9:return(s=t.sent).dispatch(Object(c.a)(a)),Object(J.a)(a,s),et(a,s),Object(rt.a)(a,s),Object(nt.a)(s),t.abrupt("return",s);case 18:t.prev=18,t.t0=t.catch(2),i.reset(),console.group("Can't load Podlove Webplayer ".concat(u.a)),console.error("selector",e),console.error("config",n),console.error(t.t0),console.groupEnd();case 26:case"end":return t.stop()}},t,null,[[2,18]])}));return function(e,n){return t.apply(this,arguments)}}();void 0===window.podlovePlayer&&(window.podlovePlayer=ot)}]);
|