PageSourceSearch

https://www.apprentus.be/assets/bundles/workspace-411a35e5b0720ec79a1b.js

js apprentus.be collected 2026-09-29 16:33:14 UTC 92,426 bytes, 2 lines download raw bytes

1/*! For license information please see workspace-411a35e5b0720ec79a1b.js.LICENSE.txt */
2(self.webpackChunkapprentus_client=self.webpackChunkapprentus_client||[]).push([[1666],{141:function(t,e,n){"use strict";n(69455),n(18371),n(1119),n(67470),n(92830),n(42604),n(69946),n(79986),n(95372),n(22590),n(83494),n(7476),n(49701),n(78423),n(9555),n(85671),n(75382),n(78595),n(48081),n(22848),n(69821);var o=n(74691),r=n(12014),i=n(44982),a=n.n(i),s=n(84799),u=n(10088);function c(){var t,e,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",r=n.toStringTag||"@@toStringTag";function i(n,o,r,i){var u=o&&o.prototype instanceof s?o:s,c=Object.create(u.prototype);return l(c,"_invoke",function(n,o,r){var i,s,u,c=0,l=r||[],p=!1,f={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function(e,n){return i=e,s=0,u=t,f.n=n,a}};function d(n,o){for(s=n,u=o,e=0;!p&&c&&!r&&e<l.length;e++){var r,i=l[e],d=f.p,h=i[2];n>3?(r=h===o)&&(u=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=t):i[0]<=d&&((r=n<2&&d<i[1])?(s=0,f.v=o,f.n=i[1]):d<h&&(r=n<3||i[0]>o||o>h)&&(i[4]=n,i[5]=o,f.n=h,s=0))}if(r||n>1)return a;throw p=!0,o}return function(r,l,h){if(c>1)throw TypeError("Generator is already running");for(p&&1===l&&d(l,h),s=l,u=h;(e=s<2?t:u)||!p;){i||(s?s<3?(s>1&&(f.n=-1),d(s,u)):f.n=u:f.v=u);try{if(c=2,i){if(s||(r="next"),e=i[r]){if(!(e=e.call(i,u)))throw TypeError("iterator result is not an object");if(!e.done)return e;u=e.value,s<2&&(s=0)}else 1===s&&(e=i.return)&&e.call(i),s<2&&(u=TypeError("The iterator does not provide a '"+r+"' method"),s=1);i=t}else if((e=(p=f.n<0)?u:n.call(o,f))!==a)break}catch(e){i=t,s=1,u=e}finally{c=1}}return{value:e,done:p}}}(n,r,i),!0),c}var a={};function s(){}function u(){}function p(){}e=Object.getPrototypeOf;var f=[][o]?e(e([][o]())):(l(e={},o,function(){return this}),e),d=p.prototype=s.prototype=Object.create(f);function h(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,r,"GeneratorFunction")),t.prototype=Object.create(d),t}return u.prototype=p,l(d,"constructor",p),l(p,"constructor",u),u.displayName="GeneratorFunction",l(p,r,"GeneratorFunction"),l(d),l(d,r,"Generator"),l(d,o,function(){return this}),l(d,"toString",function(){return"[object Generator]"}),(c=function(){return{w:i,m:h}})()}function l(t,e,n,o){var r=Object.defineProperty;try{r({},"",{})}catch(t){r=0}l=function(t,e,n,o){function i(e,n){l(t,e,function(t){return this._invoke(e,n,t)})}e?r?r(t,e,{value:n,enumerable:!o,configurable:!o,writable:!o}):t[e]=n:(i("next",0),i("throw",1),i("return",2))},l(t,e,n,o)}function p(t,e,n,o,r,i,a){try{var s=t[i](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(o,r)}function f(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,r,i,a,s=[],u=!0,c=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;u=!1}else for(;!(u=(o=i.call(n)).done)&&(s.push(o.value),s.length!==e);u=!0);}catch(t){c=!0,r=t}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return d(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=Array(e);n<e;n++)o[n]=t[n];return o}var h=function(t){var e=t.scope,n=f((0,r.useState)(null),2),o=n[0],i=n[1];return(0,r.useEffect)(function(){var t;(t=c().m(function t(){var n,o;return c().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,t.n=1,(0,u.A)("/utils/site_translation_details",{key:e});case 1:n=t.v,i(n.details),t.n=3;break;case 2:t.p=2,o=t.v,console.error("Error loading details:",o);case 3:return t.a(2)}},t,null,[[0,2]])}),function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function a(t){p(i,o,r,a,s,"next",t)}function s(t){p(i,o,r,a,s,"throw",t)}a(void 0)})})()},[e]),o?r.createElement("table",{className:"i18n-table"},r.createElement("tbody",null,o.map(function(t){return r.createElement("tr",{key:t.locale,className:t.locale===I18n.locale?"selected":""},r.createElement("td",null,t.locale),r.createElement("td",null,t.content))}))):r.createElement(s.A,null)},m=function(t){var e=t.scope,n=t.options;return r.createElement(o.A,{placement:"bottom",trigger:["hover"],overlay:r.createElement("div",{className:"i18n-tooltip"},r.createElement("div",null,r.createElement("a",{href:"https://www.apprentus.com/admin/site_translations?path=".concat(e),target:"_blank",rel:"noreferrer"},e)),r.createElement(h,{scope:e}))},r.createElement("span",{className:"i18n-dev-string".concat(window.__missingKeys&&window.__missingKeys[e]?" missing":"")},I18n.t(e,n)))};h.propTypes={scope:a().string},m.propTypes={scope:a().string,options:a().object},e.A=m},313:function(t,e,n){"use strict";var o=n(7598),r=n(43868),i=n(88009),a=n(2164),s=n(12014),u=n(44982),c=n.n(u),l=function(t){function e(){return(0,r.A)(this,e),(0,i.A)(this,t.apply(this,arguments))}return(0,a.A)(e,t),e.prototype.shouldComponentUpdate=function(t){return t.hiddenClassName||t.visible},e.prototype.render=function(){var t=this.props,e=t.hiddenClassName,n=t.visible,r=(0,o.A)(t,["hiddenClassName","visible"]);return e||s.Children.count(r.children)>1?(!n&&e&&(r.className+=" "+e),s.createElement("div",r)):s.Children.only(r.children)},e}(s.Component);l.propTypes={children:c().any,className:c().string,visible:c().bool,hiddenClassName:c().string},e.A=l},2164:function(t,e,n){"use strict";var o=a(n(94525)),r=a(n(42950)),i=a(n(24821));function a(t){return t&&t.__esModule?t:{default:t}}e.A=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":(0,i.default)(e)));t.prototype=(0,r.default)(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(o.default?(0,o.default)(t,e):t.__proto__=e)}},2913:function(t,e,n){"use strict";var o=n(54955),r=n(57937),i=n(58122),a=n(39278),s=n(93672);function u(t,e,n){return t.left<n.left||t.left+e.width>n.right}function c(t,e,n){return t.top<n.top||t.top+e.height>n.bottom}function l(t,e,n){var r=[];return o.A.each(t,function(t){r.push(t.replace(e,function(t){return n[t]}))}),r}function p(t,e){return t[e]=-t[e],t}function f(t,e){return(/%$/.test(t)?parseInt(t.substring(0,t.length-1),10)/100*e:parseInt(t,10))||0}function d(t,e){t[0]=f(t[0],e.width),t[1]=f(t[1],e.height)}e.A=function(t,e,n,f){var h=n.points,m=n.offset||[0,0],v=n.targetOffset||[0,0],y=n.overflow,g=n.source||t;m=[].concat(m),v=[].concat(v),y=y||{};var b={},w=0,A=(0,r.A)(g),E=(0,a.A)(g);d(m,E),d(v,e);var T=(0,s.A)(E,e,h,m,v),C=o.A.merge(E,T);if(A&&(y.adjustX||y.adjustY)&&f){if(y.adjustX&&u(T,E,A)){var O=l(h,/[lr]/gi,{l:"r",r:"l"}),k=p(m,0),P=p(v,0);(function(t,e,n){return t.left>n.right||t.left+e.width<n.left})((0,s.A)(E,e,O,k,P),E,A)||(w=1,h=O,m=k,v=P)}if(y.adjustY&&c(T,E,A)){var S=l(h,/[tb]/gi,{t:"b",b:"t"}),x=p(m,1),M=p(v,1);(function(t,e,n){return t.top>n.bottom||t.top+e.height<n.top})((0,s.A)(E,e,S,x,M),E,A)||(w=1,h=S,m=x,v=M)}w&&(T=(0,s.A)(E,e,h,m,v),o.A.mix(C,T));var N=u(T,E,A),D=c(T,E,A);(N||D)&&(h=n.points,m=n.offset||[0,0],v=n.targetOffset||[0,0]),b.adjustX=y.adjustX&&N,b.adjustY=y.adjustY&&D,(b.adjustX||b.adjustY)&&(C=(0,i.A)(T,E,A,b))}return C.width!==E.width&&o.A.css(g,"width",o.A.width(g)+C.width-E.width),C.height!==E.height&&o.A.css(g,"height",o.A.height(g)+C.height-E.height),o.A.offset(g,{left:C.left,top:C.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:h,offset:m,targetOffset:v,overflow:b}}},3424:function(t,e,n){"use strict";
2var o=n(12131),r=n(43868),i=n(88009),a=n(2164),s=n(12014),u=n(44982),c=n.n(u),l=n(19599),p=n(79153),f=n(65608),d=n(55942),h=n(313),m=n(36939),v=function(t){function e(n){(0,r.A)(this,e);var o=(0,i.A)(this,t.call(this,n));return y.call(o),o.state={stretchChecked:!1,targetWidth:void 0,targetHeight:void 0},o.savePopupRef=m.lU.bind(o,"popupInstance"),o.saveAlignRef=m.lU.bind(o,"alignInstance"),o}return(0,a.A)(e,t),e.prototype.componentDidMount=function(){this.rootNode=this.getPopupDomNode(),this.setStretchSize()},e.prototype.componentDidUpdate=function(){this.setStretchSize()},e.prototype.getPopupDomNode=function(){return l.findDOMNode(this.popupInstance)},e.prototype.getMaskTransitionName=function(){var t=this.props,e=t.maskTransitionName,n=t.maskAnimation;return!e&&n&&(e=t.prefixCls+"-"+n),e},e.prototype.getTransitionName=function(){var t=this.props,e=t.transitionName;return!e&&t.animation&&(e=t.prefixCls+"-"+t.animation),e},e.prototype.getClassName=function(t){return this.props.prefixCls+" "+this.props.className+" "+t},e.prototype.getPopupElement=function(){var t=this,e=this.savePopupRef,n=this.state,r=n.stretchChecked,i=n.targetHeight,a=n.targetWidth,u=this.props,c=u.align,l=u.visible,h=u.prefixCls,m=u.style,v=u.getClassNameFromAlign,y=u.destroyPopupOnHide,g=u.stretch,b=u.children,w=u.onMouseEnter,A=u.onMouseLeave,E=u.onMouseDown,T=u.onTouchStart,C=this.getClassName(this.currentAlignClassName||v(c)),O=h+"-hidden";l||(this.currentAlignClassName=null);var k={};g&&(-1!==g.indexOf("height")?k.height=i:-1!==g.indexOf("minHeight")&&(k.minHeight=i),-1!==g.indexOf("width")?k.width=a:-1!==g.indexOf("minWidth")&&(k.minWidth=a),r||(k.visibility="hidden",setTimeout(function(){t.alignInstance&&t.alignInstance.forceAlign()},0)));var P={className:C,prefixCls:h,ref:e,onMouseEnter:w,onMouseLeave:A,onMouseDown:E,onTouchStart:T,style:(0,o.A)({},k,m,this.getZIndexStyle())};return y?s.createElement(f.A,{component:"",exclusive:!0,transitionAppear:!0,transitionName:this.getTransitionName()},l?s.createElement(p.A,{target:this.getAlignTarget(),key:"popup",ref:this.saveAlignRef,monitorWindowResize:!0,align:c,onAlign:this.onAlign},s.createElement(d.A,(0,o.A)({visible:!0},P),b)):null):s.createElement(f.A,{component:"",exclusive:!0,transitionAppear:!0,transitionName:this.getTransitionName(),showProp:"xVisible"},s.createElement(p.A,{target:this.getAlignTarget(),key:"popup",ref:this.saveAlignRef,monitorWindowResize:!0,xVisible:l,childrenProps:{visible:"xVisible"},disabled:!l,align:c,onAlign:this.onAlign},s.createElement(d.A,(0,o.A)({hiddenClassName:O},P),b)))},e.prototype.getZIndexStyle=function(){var t={},e=this.props;return void 0!==e.zIndex&&(t.zIndex=e.zIndex),t},e.prototype.getMaskElement=function(){var t=this.props,e=void 0;if(t.mask){var n=this.getMaskTransitionName();e=s.createElement(h.A,{style:this.getZIndexStyle(),key:"mask",className:t.prefixCls+"-mask",hiddenClassName:t.prefixCls+"-mask-hidden",visible:t.visible}),n&&(e=s.createElement(f.A,{key:"mask",showProp:"visible",transitionAppear:!0,component:"",transitionName:n},e))}return e},e.prototype.render=function(){return s.createElement("div",null,this.getMaskElement(),this.getPopupElement())},e}(s.Component);v.propTypes={visible:c().bool,style:c().object,getClassNameFromAlign:c().func,onAlign:c().func,getRootDomNode:c().func,align:c().any,destroyPopupOnHide:c().bool,className:c().string,prefixCls:c().string,onMouseEnter:c().func,onMouseLeave:c().func,onMouseDown:c().func,onTouchStart:c().func,stretch:c().string,children:c().node,point:c().shape({pageX:c().number,pageY:c().number})};var y=function(){var t=this;this.onAlign=function(e,n){var o=t.props,r=o.getClassNameFromAlign(n);t.currentAlignClassName!==r&&(t.currentAlignClassName=r,e.className=t.getClassName(r)),o.onAlign(e,n)},this.setStretchSize=function(){var e=t.props,n=e.stretch,o=e.getRootDomNode,r=e.visible,i=t.state,a=i.stretchChecked,s=i.targetHeight,u=i.targetWidth;if(n&&r){var c=o();if(c){var l=c.offsetHeight,p=c.offsetWidth;s===l&&u===p&&a||t.setState({stretchChecked:!0,targetHeight:l,targetWidth:p})}}else a&&t.setState({stretchChecked:!1}
2)},this.getTargetElement=function(){return t.props.getRootDomNode()},this.getAlignTarget=function(){var e=t.props.point;return e||t.getTargetElement}};e.A=v},3806:function(t,e,n){"use strict";n.d(e,{A:function(){return a}});var o=n(75645),r=n.n(o),i=n(19599);function a(t,e,n,o){var a=i.unstable_batchedUpdates?function(t){i.unstable_batchedUpdates(n,t)}:n;return r()(t,e,a,o)}},4951:function(t,e,n){"use strict";var o=n(54955),r=n(2913),i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};e.A=function(t,e,n){var a=void 0,s=void 0,u=o.A.getDocument(t),c=u.defaultView||u.parentWindow,l=o.A.getWindowScrollLeft(c),p=o.A.getWindowScrollTop(c),f=o.A.viewportWidth(c),d=o.A.viewportHeight(c),h={left:a="pageX"in e?e.pageX:l+e.clientX,top:s="pageY"in e?e.pageY:p+e.clientY,width:0,height:0},m=a>=0&&a<=l+f&&s>=0&&s<=p+d,v=[n.points[0],"cc"];return(0,r.A)(t,h,i({},n,{points:v}),m)}},5826:function(t,e,n){"use strict";var o=n(83455),r=n(44982),i=n.n(r),a=n(43915),s=n.n(a);
2e.A=(0,o.kea)({initScene:{scene:"workspaceHub",reload:function(){return s().index()},transform:function(t){return{entitlements:t.entitlements,cards:t.cards}}},path:function(){return["scenes","workspaceHub","index"]},reducers:function(){return{entitlements:[{},i().object,{}],cards:[[],i().array,{}]}}})},7598:function(t,e){"use strict";e.A=function(t,e){var n={};for(var o in t)e.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}},7812:function(t,e,n){var o=n(71820);o(o.S,"Object",{create:n(68786)})},9113:function(t,e,n){"use strict";var o=n(2913),r=n(69525),i=n(57937),a=n(39278);function s(t,e,n){var r=n.target||e,s=(0,a.A)(r),u=!function(t){var e=(0,i.A)(t),n=(0,a.A)(t);return!e||n.left+n.width<=e.left||n.top+n.height<=e.top||n.left>=e.right||n.top>=e.bottom}(r);return(0,o.A)(t,s,n,u)}s.__getOffsetParent=r.A,s.__getVisibleRectForElement=i.A,e.A=s},9291:function(t,e,n){n(57983),n(36375),n(45943),n(24571),t.exports=n(37629).Symbol},10810:function(t){t.exports=function(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0;n<t.length;++n)if(t[n]===e)return n;return-1}},11392:function(t,e,n){"use strict";var o=n(12131),r=n(7598),i=n(43868),a=n(88009),s=n(2164),u=n(12014),c=n(44982),l=n.n(c),p=n(56826),f=n(18531),d=n(93182),h=function(t){function e(){var n,o,r;(0,i.A)(this,e);for(var s=arguments.length,c=Array(s),l=0;l<s;l++)c[l]=arguments[l];return n=o=(0,a.A)(this,t.call.apply(t,[this].concat(c))),o.getPopupElement=function(){var t=o.props,e=t.arrowContent,n=t.overlay,r=t.prefixCls,i=t.id;return[u.createElement("div",{className:r+"-arrow",key:"arrow"},e),u.createElement(d.A,{key:"content",trigger:o.trigger,prefixCls:r,id:i,overlay:n})]},o.saveTrigger=function(t){o.trigger=t},r=n,(0,a.A)(o,r)}return(0,s.A)(e,t),e.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},e.prototype.render=function(){var t=this.props,e=t.overlayClassName,n=t.trigger,i=t.mouseEnterDelay,a=t.mouseLeaveDelay,s=t.overlayStyle,c=t.prefixCls,l=t.children,d=t.onVisibleChange,h=t.afterVisibleChange,m=t.transitionName,v=t.animation,y=t.placement,g=t.align,b=t.destroyTooltipOnHide,w=t.defaultVisible,A=t.getTooltipContainer,E=(0,r.A)(t,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer"]),T=(0,o.A)({},E);return"visible"in this.props&&(T.popupVisible=this.props.visible),u.createElement(p.A,(0,o.A)({popupClassName:e,ref:this.saveTrigger,prefixCls:c,popup:this.getPopupElement,action:n,builtinPlacements:f.D,popupPlacement:y,popupAlign:g,getPopupContainer:A,onPopupVisibleChange:d,afterPopupVisibleChange:h,popupTransitionName:m,popupAnimation:v,defaultPopupVisible:w,destroyPopupOnHide:b,mouseLeaveDelay:a,popupStyle:s,mouseEnterDelay:i},T),l)},e}(u.Component);h.propTypes={trigger:l().any,children:l().any,defaultVisible:l().bool,visible:l().bool,placement:l().string,transitionName:l().oneOfType([l().string,l().object]),animation:l().any,onVisibleChange:l().func,afterVisibleChange:l().func,overlay:l().oneOfType([l().node,l().func]).isRequired,overlayStyle:l().object,overlayClassName:l().string,prefixCls:l().string,mouseEnterDelay:l().number,mouseLeaveDelay:l().number,getTooltipContainer:l().func,destroyTooltipOnHide:l().bool,align:l().object,arrowContent:l().any,id:l().string},h.defaultProps={prefixCls:"rc-tooltip",mouseEnterDelay:0,destroyTooltipOnHide:!1,mouseLeaveDelay:.1,align:{},placement:"right",trigger:["hover"],arrowContent:null},e.A=h},12131:function(t,e,n){"use strict";var o,r=n(67811),i=(o=r)&&o.__esModule?o:{default:o};e.A=i.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}},14950:function(t,e,n){"use strict";var o,r=n(58815),i=(o=r)&&o.__esModule?o:{default:o};e.A=function(t,e,n){return e in t?(0,i.default)(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},15322:function(t,e,n){n(7812);var o=n(37629).Object;t.exports=function(t,e){return o.create(t,e)}},17764:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return v}});n(69455),n(18371),n(1119),n(94550),n(67470),n(92830),n(42604),n(69946),n(79986),n(95372),n(83494),n(85671),n(78595),n(48081),n(22848),n(69821);var o=n(12014),r=n(83455),i=n(82971),a=n.n(i),s=n(44982),u=n.n(s),c=n(28303),l=n(70305),p=n(79790);function f(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,r,i,a,s=[],u=!0,c=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;u=!1}else for(;!(u=(o=i.call(n)).done)&&(s.push(o.value),s.length!==e);u=!0);}catch(t){c=!0,r=t}
2finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return d(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=Array(e);n<e;n++)o[n]=t[n];return o}function h(t){if(!t)return"";var e=a()(t,"YYYY-MM-DD HH:mm");return e.isValid()?"".concat(e.format(c.A.t("date.moment.long")),", ").concat(e.format("YYYY")," - ").concat(e.format("HH:mm")):""}function m(t){var e=t.isOpen,n=t.onClose,r=t.videoUrl,i=t.title;return o.createElement(l.A,{isOpen:e,onClose:n,className:"lesson-replay-video-modal"},o.createElement("div",{className:"lesson-replay-video-modal-content"},r?o.createElement("video",{className:"lesson-replay-video",src:r,controls:!0,autoPlay:!0,playsInline:!0},o.createElement("track",{kind:"captions"})):null,i?o.createElement("div",{className:"lesson-replay-video-title"},i):null))}function v(){var t=(0,r.useValues)(p.A),e=t.recordings,n=t.hasMore,i=(0,r.useActions)(p.A).loadMore,a=f((0,o.useState)(null),2),s=a[0],u=a[1],l=(0,o.useMemo)(function(){if(!s)return"";var t=h(s.recordedAt);return t?"".concat(s.activityTitle,"  (").concat(t,")"):s.activityTitle},[s]);return o.createElement("div",{className:"grid small-wide"},o.createElement("div",{className:"lesson-replays-list col-1-1","data-attr":"lesson-replays-section"},o.createElement("div",{className:"subrow clearfix"},o.createElement("h1",{className:"page-title","data-attr":"page-title"},c.A.t("workspace.lesson_replays.page_title"))),e&&e.length>0?o.createElement(o.Fragment,null,o.createElement("div",{className:"lesson-replays-list-container"},e.map(function(t){var e=h(t.recordedAt);return o.createElement("div",{key:t.id,className:"lesson-replay-line","data-attr":"lesson-replay-row"},o.createElement("div",{className:"lesson-replay-title"},o.createElement("span",{className:"heading"},t.activityTitle,e?o.createElement(o.Fragment,null,"  ",o.createElement("span",{className:"when-label"},"(",e,")")):null)),o.createElement("div",{className:"lesson-replay-actions"},t.canWatchVideo&&t.videoUrl&&o.createElement("button",{type:"button",className:"lesson-replay-button","data-attr":"watch-replay",onClick:function(){return u(t)}},o.createElement("img",{className:"lesson-replay-button-icon",src:"/assets/workspace/lesson_replay_icon.png",width:28,height:28,alt:""}),o.createElement("span",null,c.A.t("workspace.lesson_replays.watch"))),t.canDownloadSummary&&t.summaryDownloadPath&&o.createElement("a",{href:t.summaryDownloadPath,className:"lesson-replay-button","data-attr":"download-summary"},o.createElement("img",{className:"lesson-replay-button-icon",src:"/assets/workspace/download_summary_icon.png",width:28,height:28,alt:""}),o.createElement("span",null,c.A.t("workspace.lesson_replays.download_summary")))))})),n&&o.createElement("div",{style:{minHeight:20,textAlign:"center",marginTop:15}},o.createElement("button",{type:"button",className:"white",style:{fontSize:16},onClick:function(){return i()}},c.A.t("workspace.lesson_replays.show_more")))):o.createElement("div",{className:"empty-list widget space2"},c.A.t("workspace.lesson_replays.empty"))),o.createElement(m,{isOpen:!!s,onClose:function(){return u(null)},videoUrl:s&&s.videoUrl,title:l}))}m.propTypes={isOpen:u().bool,onClose:u().func,videoUrl:u().string,title:u().string}},18531:function(t,e,n){"use strict";n.d(e,{D:function(){return i}});var o={adjustX:1,adjustY:1},r=[0,0],i={left:{points:["cr","cl"],overflow:o,offset:[-4,0],targetOffset:r},right:{points:["cl","cr"],overflow:o,offset:[4,0],targetOffset:r},top:{points:["bc","tc"],overflow:o,offset:[0,-4],targetOffset:r},bottom:{points:["tc","bc"],overflow:o,offset:[0,4],targetOffset:r},topLeft:{points:["bl","tl"],overflow:o,offset:[0,-4],targetOffset:r},leftTop:{points:["tr","tl"],overflow:o,offset:[-4,0],targetOffset:r},topRight:{points:["br","tr"],overflow:o,offset:[0,-4],targetOffset:r},rightTop:{points:["tl","tr"],overflow:o,offset:[4,0],targetOffset:r},bottomRight:{points:["tr","br"],overflow:o,offset:[0,4],targetOffset:r},rightBottom:{points:["bl","br"],overflow:o,offset:[4,0],targetOffset:r},bottomLeft:{points:["tl","bl"],overflow:o,offset:[0,4],targetOffset:r},leftBottom:{points:["br","bl"],overflow:o,offset:[-4,0],targetOffset:r}}},18562:function(t,e,n){"use strict";var o,r=n(58815),i=(o=r)&&o.__esModule?o:{default:o};e.A=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),(0,i.default)(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}()},19225:function(t,e,n){"use strict";function o(t,e){var n=void 0;function o(){n&&(clearTimeout(n),n=null)}function r(){o(),n=setTimeout(t,e)}return r.clear=o,r}function r(t,e){return t===e||!(!t||!e)&&("pageX"in e&&"pageY"in e?t.pageX===e.pageX&&t.pageY===e.pageY:"clientX"in e&&"clientY"in e&&(t.clientX===e.clientX&&t.clientY===e.clientY))}function i(t){return t&&"object"==typeof t&&t.window===t}n.d(e,{Vp:function(){return r},l6:function(){return i},r:function(){return o}})},19514:function(t,e,n){var o=n(51180);t.exports=Array.isArray||function(t){return"Array"==o(t)}},20248:function(t,e,n){"use strict";var o=n(43868),r=n(18562),i=n(88009),a=n(2164),s=n(12014),u=n(19599),c=n(44982),l=n.n(c),p=n(74866),f=n(91047),d={enter:"transitionEnter",appear:"transitionAppear",leave:"transitionLeave"},h=function(t){function e(){return(0,o.A)(this,e),(0,i.A)(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}
2return(0,a.A)(e,t),(0,r.A)(e,[{key:"componentWillUnmount",value:function(){this.stop()}},{key:"componentWillEnter",value:function(t){f.A.isEnterSupported(this.props)?this.transition("enter",t):t()}},{key:"componentWillAppear",value:function(t){f.A.isAppearSupported(this.props)?this.transition("appear",t):t()}},{key:"componentWillLeave",value:function(t){f.A.isLeaveSupported(this.props)?this.transition("leave",t):t()}},{key:"transition",value:function(t,e){var n=this,o=u.findDOMNode(this),r=this.props,i=r.transitionName,a="object"==typeof i;this.stop();var s=function(){n.stopper=null,e()};if((p._||!r.animation[t])&&i&&r[d[t]]){var c=a?i[t]:i+"-"+t,l=c+"-active";a&&i[t+"Active"]&&(l=i[t+"Active"]),this.stopper=(0,p.A)(o,{name:c,active:l},s)}else this.stopper=r.animation[t](o,s)}},{key:"stop",value:function(){var t=this.stopper;t&&(this.stopper=null,t.stop())}},{key:"render",value:function(){return this.props.children}}]),e}(s.Component);h.propTypes={children:l().any},e.A=h},21152:function(t,e,n){var o=n(27306),r=n(51601),i=n(8474),a=n(923),s=n(59740),u=n(25039),c=Object.getOwnPropertyDescriptor;e.f=n(8374)?c:function(t,e){if(t=i(t),e=a(e,!0),u)try{return c(t,e)}catch(t){}if(s(t,e))return r(!o.f.call(t,e),t[e])}},22061:function(t,e,n){"use strict";var o=n(12014),r=n(44982),i=n.n(r),a=function(t){var e=t.dir,n=t.stroke,r=void 0===n?"#222":n,i=t.onClick;return o.createElement("svg",{x:"0px",y:"0px",stroke:r,viewBox:"0 0 14 8",xmlSpace:"preserve",fill:"none",className:"menu-arrow generic-arrow generic-arrow-".concat(e),onClick:i},o.createElement("path",{d:"M1,1l6.2,6L13,1"}))};a.propTypes={dir:i().string,stroke:i().string,onClick:i().func},e.A=a},23559:function(t,e,n){"use strict";n(69455),n(86600),n(22590),n(27385);var o=n(12014),r=n(44982),i=n.n(r),a=["children","onClickOutside"];function s(){return s=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},s.apply(null,arguments)}var u=function(t){var e=t.children,n=t.onClickOutside,r=function(t,e){if(null==t)return{};var n,o,r=function(t,e){if(null==t)return{};var n={};for(var o in t)if({}.hasOwnProperty.call(t,o)){if(-1!==e.indexOf(o))continue;n[o]=t[o]}return n}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)n=i[o],-1===e.indexOf(n)&&{}.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}(t,a),i=(0,o.useRef)(null),u=(0,o.useCallback)(function(t){var e=!1;"touchend"===t.type&&(e=!0),"click"===t.type&&e||i.current.contains(t.target)||n(t)},[n]);return(0,o.useEffect)(function(){return document.addEventListener("touchend",u,!0),document.addEventListener("click",u,!0),function(){document.removeEventListener("touchend",u,!0),document.removeEventListener("click",u,!0)}},[u]),o.createElement("div",s({className:"click-outside-container"},r,{ref:i}),e)};u.propTypes={onClickOutside:i().func,children:i().node},e.A=u},24571:function(t,e,n){n(28027)("observable")},24821:function(t,e,n){"use strict";e.__esModule=!0;var o=a(n(91401)),r=a(n(51112)),i="function"==typeof r.default&&"symbol"==typeof o.default?function(t){return typeof t}:function(t){return t&&"function"==typeof r.default&&t.constructor===r.default&&t!==r.default.prototype?"symbol":typeof t};function a(t){return t&&t.__esModule?t:{default:t}}e.default="function"==typeof r.default&&"symbol"===i(o.default)?function(t){return void 0===t?"undefined":i(t)}:function(t){return t&&"function"==typeof r.default&&t.constructor===r.default&&t!==r.default.prototype?"symbol":void 0===t?"undefined":i(t)}},28027:function(t,e,n){var o=n(39501),r=n(37629),i=n(98115),a=n(84589),s=n(26438).f;t.exports=function(t){var e=r.Symbol||(r.Symbol=i?{}:o.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},28303:function(t,e,n){"use strict";n(69455),n(18371),n(1119),n(80376),n(87332),n(10745),n(42604),n(91032),n(8200),n(91693),n(49701),n(78591),n(36026),n(71628),n(85671),n(22848),n(78160),n(69821);var o=n(12014),r=n(141),i=n(15885);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
2e%2?s(Object(n),!0).forEach(function(e){c(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function c(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=a(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var l=function(t,e){return"undefined"!=typeof window&&window.i18nDevMode?(i.K[t]=I18n.t(t,e),o.createElement(r.A,{scope:t,options:e})):I18n.t(t,e)};e.A=u(u({},I18n),{},{t:l,translate:l})},32031:function(t,e,n){"use strict";n.d(e,{A:function(){return r}});var o=n(54955);function r(t){if(o.A.isWindow(t)||9===t.nodeType)return!1;var e=o.A.getDocument(t).body,n=null;for(n=t.parentNode;n&&n!==e;n=n.parentNode){if("fixed"===o.A.css(n,"position"))return!0}return!1}},36375:function(){},36939:function(t,e,n){"use strict";n.d(e,{H1:function(){return a},RD:function(){return i},lU:function(){return s}});var o=n(12131);function r(t,e,n){return n?t[0]===e[0]:t[0]===e[0]&&t[1]===e[1]}function i(t,e,n){var r=t[e]||{};return(0,o.A)({},r,n)}function a(t,e,n,o){var i=n.points;for(var a in t)if(t.hasOwnProperty(a)&&r(t[a].points,i,o))return e+"-placement-"+a;return""}function s(t,e){this[t]=e}},39278:function(t,e,n){"use strict";var o=n(54955);e.A=function(t){var e=void 0,n=void 0,r=void 0;if(o.A.isWindow(t)||9===t.nodeType){var i=o.A.getWindow(t);e={left:o.A.getWindowScrollLeft(i),top:o.A.getWindowScrollTop(i)},n=o.A.viewportWidth(i),r=o.A.viewportHeight(i)}else e=o.A.offset(t),n=o.A.outerWidth(t),r=o.A.outerHeight(t);return e.width=n,e.height=r,e}},42950:function(t,e,n){t.exports={default:n(15322),__esModule:!0}},43253:function(t,e,n){var o=n(71820);o(o.S+o.F*!n(8374),"Object",{defineProperty:n(26438).f})},43868:function(t,e){"use strict";e.A=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},43915:function(t){t.exports={index:function(t){var e=document.querySelector("meta[name=csrf-token]");return fetch("/_kea.json",{method:"post",headers:{Accept:"application/json","Content-Type":"application/json","X-CSRF-Token":e&&e.content},body:JSON.stringify({endpoint:"Workspace::Hub::Controller",method:"index",params:t}).replace(/[\u007F-\uFFFF]/g,function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).substr(-4)}),credentials:"same-origin"}).then(function(t){return t.json()})}}},45943:function(t,e,n){n(28027)("asyncIterator")},47295:function(t){t.exports={index:function(t){var e=document.querySelector("meta[name=csrf-token]");return fetch("/_kea.json",{method:"post",headers:{Accept:"application/json","Content-Type":"application/json","X-CSRF-Token":e&&e.content},body:JSON.stringify({endpoint:"Workspace::LessonReplays::Controller",method:"index",params:t}).replace(/[\u007F-\uFFFF]/g,function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).substr(-4)}),credentials:"same-origin"}).then(function(t){return t.json()})},more:function(t){var e=document.querySelector("meta[name=csrf-token]");return fetch("/_kea.json",{method:"post",headers:{Accept:"application/json","Content-Type":"application/json","X-CSRF-Token":e&&e.content},body:JSON.stringify({endpoint:"Workspace::LessonReplays::Controller",method:"more",params:t}).replace(/[\u007F-\uFFFF]/g,function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).substr(-4)}),credentials:"same-origin"}).then(function(t){return t.json()})},downloadSummary:function(t){var e=document.querySelector("meta[name=csrf-token]");return fetch("/_kea.json",{method:"post",headers:{Accept:"application/json","Content-Type":"application/json","X-CSRF-Token":e&&e.content},body:JSON.stringify({endpoint:"Workspace::LessonReplays::Controller",method:"download_summary",params:t}).replace(/[\u007F-\uFFFF]/g,function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).substr(-4)}),credentials:"same-origin"}).then(function(t){return t.json()})}}},48193:function(t,e,n){n(99555),t.exports=n(37629).Object.setPrototypeOf},49939:function(t,e,n){var o=n(51152),r=n(32749),i=function(t,e){if(r(t),!o(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,o){try{(o=n(35213)(Function.call,n(21152).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:o(t,n),t}}({},!1):void 0),check:i}},51112:function(t,e,n){t.exports={default:n(9291),__esModule:!0}},51228:function(t,e,n){var o=n(8474),r=n(93586).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?function(t){try{return r(t)}catch(t){return a.slice()}}(t):r(o(t))}},54955:function(t,e,n){"use strict";var o=n(81828),r="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},i=void 0;function a(t){var e=t.style.display;t.style.display="none",t.offsetHeight,t.style.display=e}function s(t,e,n){var o=n;if("object"!==(void 0===e?"undefined":r(e)))return void 0!==o?("number"==typeof o&&(o+="px"),void(t.style[e]=o)):i(t,e);
2for(var a in e)e.hasOwnProperty(a)&&s(t,a,e[a])}function u(t,e){var n=t["page"+(e?"Y":"X")+"Offset"],o="scroll"+(e?"Top":"Left");if("number"!=typeof n){var r=t.document;"number"!=typeof(n=r.documentElement[o])&&(n=r.body[o])}return n}function c(t){return u(t)}function l(t){return u(t,!0)}function p(t){var e=function(t){var e,n=void 0,o=void 0,r=t.ownerDocument,i=r.body,a=r&&r.documentElement;return n=(e=t.getBoundingClientRect()).left,o=e.top,{left:n-=a.clientLeft||i.clientLeft||0,top:o-=a.clientTop||i.clientTop||0}}(t),n=t.ownerDocument,o=n.defaultView||n.parentWindow;return e.left+=c(o),e.top+=l(o),e}function f(t){return null!=t&&t==t.window}function d(t){return f(t)?t.document:9===t.nodeType?t:t.ownerDocument}var h=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),m=/^(top|right|bottom|left)$/,v="currentStyle",y="runtimeStyle",g="left";function b(t,e){return"left"===t?e.useCssRight?"right":t:e.useCssBottom?"bottom":t}function w(t){return"left"===t?"right":"right"===t?"left":"top"===t?"bottom":"bottom"===t?"top":void 0}function A(t,e,n){"static"===s(t,"position")&&(t.style.position="relative");var r=-999,i=-999,u=b("left",n),c=b("top",n),l=w(u),f=w(c);"left"!==u&&(r=999),"top"!==c&&(i=999);var d="",h=p(t);("left"in e||"top"in e)&&(d=(0,o.Re)(t)||"",(0,o.fB)(t,"none")),"left"in e&&(t.style[l]="",t.style[u]=r+"px"),"top"in e&&(t.style[f]="",t.style[c]=i+"px"),a(t);var m=p(t),v={};for(var y in e)if(e.hasOwnProperty(y)){var g=b(y,n),A="left"===y?r:i,E=h[y]-m[y];v[g]=g===y?A+E:A-E}s(t,v),a(t),("left"in e||"top"in e)&&(0,o.fB)(t,d);var T={};for(var C in e)if(e.hasOwnProperty(C)){var O=b(C,n),k=e[C]-h[C];T[O]=C===O?v[O]+k:v[O]-k}s(t,T)}function E(t,e,n){if(n.ignoreShake){var r=p(t),i=r.left.toFixed(0),a=r.top.toFixed(0),s=e.left.toFixed(0),u=e.top.toFixed(0);if(i===s&&a===u)return}n.useCssRight||n.useCssBottom?A(t,e,n):n.useCssTransform&&(0,o.Q6)()in document.body.style?function(t,e){var n=p(t),r=(0,o.qx)(t),i={x:r.x,y:r.y};"left"in e&&(i.x=r.x+e.left-n.left),"top"in e&&(i.y=r.y+e.top-n.top),(0,o.aL)(t,i)}(t,e):A(t,e,n)}function T(t,e){for(var n=0;n<t.length;n++)e(t[n])}function C(t){return"border-box"===i(t,"boxSizing")}"undefined"!=typeof window&&(i=window.getComputedStyle?function(t,e,n){var o=n,r="",i=d(t);return(o=o||i.defaultView.getComputedStyle(t,null))&&(r=o.getPropertyValue(e)||o[e]),r}:function(t,e){var n=t[v]&&t[v][e];if(h.test(n)&&!m.test(e)){var o=t.style,r=o[g],i=t[y][g];t[y][g]=t[v][g],o[g]="fontSize"===e?"1em":n||0,n=o.pixelLeft+"px",o[g]=r,t[y][g]=i}return""===n?"auto":n});var O=["margin","border","padding"];function k(t,e,n){var o=0,r=void 0,a=void 0,s=void 0;for(a=0;a<e.length;a++)if(r=e[a])for(s=0;s<n.length;s++){var u=void 0;u="border"===r?""+r+n[s]+"Width":r+n[s],o+=parseFloat(i(t,u))||0}return o}var P={};function S(t,e,n){var o=n;if(f(t))return"width"===e?P.viewportWidth(t):P.viewportHeight(t);if(9===t.nodeType)return"width"===e?P.docWidth(t):P.docHeight(t);var r="width"===e?["Left","Right"]:["Top","Bottom"],a="width"===e?t.getBoundingClientRect().width:t.getBoundingClientRect().height,s=(i(t),C(t)),u=0;(null==a||a<=0)&&(a=void 0,(null==(u=i(t,e))||Number(u)<0)&&(u=t.style[e]||0),u=parseFloat(u)||0),void 0===o&&(o=s?1:-1);var c=void 0!==a||s,l=a||u;return-1===o?c?l-k(t,["border","padding"],r):u:c?1===o?l:l+(2===o?-k(t,["border"],r):k(t,["margin"],r)):u+k(t,O.slice(o),r)}T(["Width","Height"],function(t){P["doc"+t]=function(e){var n=e.document;return Math.max(n.documentElement["scroll"+t],n.body["scroll"+t],P["viewport"+t](n))},P["viewport"+t]=function(e){var n="client"+t,o=e.document,r=o.body,i=o.documentElement[n];return"CSS1Compat"===o.compatMode&&i||r&&r[n]||i}});var x={position:"absolute",visibility:"hidden",display:"block"};function M(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=void 0,r=e[0];return 0!==r.offsetWidth?o=S.apply(void 0,e):function(t,e,n){var o={},r=t.style,i=void 0;for(i in e)e.hasOwnProperty(i)&&(o[i]=r[i],r[i]=e[i]);for(i in n.call(t),e)e.hasOwnProperty(i)&&(r[i]=o[i])}(r,x,function(){o=S.apply(void 0,e)}),o}function N(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}T(["width","height"],function(t){var e=t.charAt(0).toUpperCase()+t.slice(1);P["outer"+e]=function(e,n){return e&&M(e,t,n?0:1)};var n="width"===t?["Left","Right"]:["Top","Bottom"];P[t]=function(e,o){var r=o;if(void 0===r)return e&&M(e,t,-1);if(e){i(e);return C(e)&&(r+=k(e,["padding","border"],n)),s(e,t,r)}}});var D={getWindow:function(t){if(t&&t.document&&t.setTimeout)return t;var e=t.ownerDocument||t;return e.defaultView||e.parentWindow},getDocument:d,offset:function(t,e,n){if(void 0===e)return p(t);E(t,e,n||{})},isWindow:f,each:T,css:s,clone:function(t){var e=void 0,n={};for(e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);if(t.overflow)for(e in t)t.hasOwnProperty(e)&&(n.overflow[e]=t.overflow[e]);return n},mix:N,getWindowScrollLeft:function(t){return c(t)},getWindowScrollTop:function(t){return l(t)},merge:function(){for(var t={},e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];for(var r=0;r<n.length;r++)D.mix(t,n[r]);return t}
2,viewportWidth:0,viewportHeight:0};N(D,P),e.A=D},55428:function(t,e,n){"use strict";var o=n(43868),r=n(18562),i=n(88009),a=n(2164),s=n(12014),u=n(19599),c=n(44982),l=n.n(c),p=function(t){function e(){return(0,o.A)(this,e),(0,i.A)(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return(0,a.A)(e,t),(0,r.A)(e,[{key:"componentDidMount",value:function(){this.createContainer()}},{key:"componentDidUpdate",value:function(t){var e=this.props.didUpdate;e&&e(t)}},{key:"componentWillUnmount",value:function(){this.removeContainer()}},{key:"createContainer",value:function(){this._container=this.props.getContainer(),this.forceUpdate()}},{key:"removeContainer",value:function(){this._container&&this._container.parentNode.removeChild(this._container)}},{key:"render",value:function(){return this._container?u.createPortal(this.props.children,this._container):null}}]),e}(s.Component);p.propTypes={getContainer:l().func.isRequired,children:l().node.isRequired,didUpdate:l().func},e.A=p},55942:function(t,e,n){"use strict";var o=n(43868),r=n(88009),i=n(2164),a=n(12014),s=n(44982),u=n.n(s),c=n(313),l=function(t){function e(){return(0,o.A)(this,e),(0,r.A)(this,t.apply(this,arguments))}return(0,i.A)(e,t),e.prototype.render=function(){var t=this.props,e=t.className;return t.visible||(e+=" "+t.hiddenClassName),a.createElement("div",{className:e,onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave,onMouseDown:t.onMouseDown,onTouchStart:t.onTouchStart,style:t.style},a.createElement(c.A,{className:t.prefixCls+"-content",visible:t.visible},t.children))},e}(a.Component);l.propTypes={hiddenClassName:u().string,className:u().string,prefixCls:u().string,onMouseEnter:u().func,onMouseLeave:u().func,onMouseDown:u().func,onTouchStart:u().func,children:u().any},e.A=l},56826:function(t,e,n){"use strict";var o=n(12131),r=n(43868),i=n(88009),a=n(2164),s=n(12014),u=n(44982),c=n.n(u),l=n(19599),p=n(73162),f=n(3806),d=n(84139),h=n(55428),m=n(30607),v=n.n(m),y=n(36939),g=n(3424);function b(){}var w=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"],A=!!l.createPortal,E={rcTrigger:c().shape({onPopupMouseDown:c().func})},T=function(t){function e(n){(0,r.A)(this,e);var o=(0,i.A)(this,t.call(this,n));C.call(o);var a=void 0;return a="popupVisible"in n?!!n.popupVisible:!!n.defaultPopupVisible,o.prevPopupVisible=a,o.state={popupVisible:a},o}return(0,a.A)(e,t),e.prototype.getChildContext=function(){return{rcTrigger:{onPopupMouseDown:this.onPopupMouseDown}}},e.prototype.componentWillMount=function(){var t=this;w.forEach(function(e){t["fire"+e]=function(n){t.fireEvents(e,n)}})},e.prototype.componentDidMount=function(){this.componentDidUpdate({},{popupVisible:this.state.popupVisible})},e.prototype.componentWillReceiveProps=function(t){var e=t.popupVisible;void 0!==e&&this.setState({popupVisible:e})},e.prototype.componentDidUpdate=function(t,e){var n=this.props,o=this.state;if(A||this.renderComponent(null,function(){e.popupVisible!==o.popupVisible&&n.afterPopupVisibleChange(o.popupVisible)}),this.prevPopupVisible=e.popupVisible,o.popupVisible){var r=void 0;return this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextMenuToShow()||(r=n.getDocument(),this.clickOutsideHandler=(0,f.A)(r,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(r=r||n.getDocument(),this.touchOutsideHandler=(0,f.A)(r,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(r=r||n.getDocument(),this.contextMenuOutsideHandler1=(0,f.A)(r,"scroll",this.onContextMenuClose)),void(!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=(0,f.A)(window,"blur",this.onContextMenuClose)))}this.clearOutsideHandler()},e.prototype.componentWillUnmount=function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout)},e.prototype.getPopupDomNode=function(){return this._component&&this._component.getPopupDomNode?this._component.getPopupDomNode():null},e.prototype.getPopupAlign=function(){var t=this.props,e=t.popupPlacement,n=t.popupAlign,o=t.builtinPlacements;return e&&o?(0,y.RD)(o,e,n):n},e.prototype.setPopupVisible=function(t,e){var n=this.props.alignPoint;this.clearDelayTimer(),this.state.popupVisible!==t&&("popupVisible"in this.props||this.setState({popupVisible:t}),this.props.onPopupVisibleChange(t)),n&&e&&this.setPoint(e)},e.prototype.delaySetPopupVisible=function(t,e,n){var o=this,r=1e3*e;if(this.clearDelayTimer(),r){var i=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=setTimeout(function(){o.setPopupVisible(t,i),o.clearDelayTimer()},r)}else this.setPopupVisible(t,n)},e.prototype.clearDelayTimer=function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)},e.prototype.clearOutsideHandler=function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)},e.prototype.createTwoChains=function(t){var e=this.props.children.props,n=this.props;return e[t]&&n[t]?this["fire"+t]:e[t]||n[t]},e.prototype.isClickToShow=function(){var t=this.props,e=t.action,n=t.showAction;return-1!==e.indexOf("click")||-1!==n.indexOf("click")},e.prototype.isContextMenuToShow=function(){var t=this.props,e=t.action,n=t.showAction;return-1!==e.indexOf("contextMenu")||-1!==n.indexOf("contextMenu")},e.prototype.isClickToHide=function(){var t=this.props,e=t.action,n=t.hideAction;return-1!==e.indexOf("click")||-1!==n.indexOf("click")},e.prototype.isMouseEnterToShow=function(){var t=this.props,e=t.action,n=t.showAction;
2return-1!==e.indexOf("hover")||-1!==n.indexOf("mouseEnter")},e.prototype.isMouseLeaveToHide=function(){var t=this.props,e=t.action,n=t.hideAction;return-1!==e.indexOf("hover")||-1!==n.indexOf("mouseLeave")},e.prototype.isFocusToShow=function(){var t=this.props,e=t.action,n=t.showAction;return-1!==e.indexOf("focus")||-1!==n.indexOf("focus")},e.prototype.isBlurToHide=function(){var t=this.props,e=t.action,n=t.hideAction;return-1!==e.indexOf("focus")||-1!==n.indexOf("blur")},e.prototype.forcePopupAlign=function(){this.state.popupVisible&&this._component&&this._component.alignInstance&&this._component.alignInstance.forceAlign()},e.prototype.fireEvents=function(t,e){var n=this.props.children.props[t];n&&n(e);var o=this.props[t];o&&o(e)},e.prototype.close=function(){this.setPopupVisible(!1)},e.prototype.render=function(){var t=this,e=this.state.popupVisible,n=this.props,o=n.children,r=n.forceRender,i=n.alignPoint,a=n.className,u=s.Children.only(o),c={key:"trigger"};this.isContextMenuToShow()?c.onContextMenu=this.onContextMenu:c.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(c.onClick=this.onClick,c.onMouseDown=this.onMouseDown,c.onTouchStart=this.onTouchStart):(c.onClick=this.createTwoChains("onClick"),c.onMouseDown=this.createTwoChains("onMouseDown"),c.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(c.onMouseEnter=this.onMouseEnter,i&&(c.onMouseMove=this.onMouseMove)):c.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?c.onMouseLeave=this.onMouseLeave:c.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(c.onFocus=this.onFocus,c.onBlur=this.onBlur):(c.onFocus=this.createTwoChains("onFocus"),c.onBlur=this.createTwoChains("onBlur"));var l=v()(u&&u.props&&u.props.className,a);l&&(c.className=l);var p=s.cloneElement(u,c);if(!A)return s.createElement(d.A,{parent:this,visible:e,autoMount:!1,forceRender:r,getComponent:this.getComponent,getContainer:this.getContainer},function(e){var n=e.renderComponent;return t.renderComponent=n,p});var f=void 0;return(e||this._component||r)&&(f=s.createElement(h.A,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),[p,f]},e}(s.Component);T.propTypes={children:c().any,action:c().oneOfType([c().string,c().arrayOf(c().string)]),showAction:c().any,hideAction:c().any,getPopupClassNameFromAlign:c().any,onPopupVisibleChange:c().func,afterPopupVisibleChange:c().func,popup:c().oneOfType([c().node,c().func]).isRequired,popupStyle:c().object,prefixCls:c().string,popupClassName:c().string,className:c().string,popupPlacement:c().string,builtinPlacements:c().object,popupTransitionName:c().oneOfType([c().string,c().object]),popupAnimation:c().any,mouseEnterDelay:c().number,mouseLeaveDelay:c().number,zIndex:c().number,focusDelay:c().number,blurDelay:c().number,getPopupContainer:c().func,getDocument:c().func,forceRender:c().bool,destroyPopupOnHide:c().bool,mask:c().bool,maskClosable:c().bool,onPopupAlign:c().func,popupAlign:c().object,popupVisible:c().bool,defaultPopupVisible:c().bool,maskTransitionName:c().oneOfType([c().string,c().object]),maskAnimation:c().string,stretch:c().string,alignPoint:c().bool},T.contextTypes=E,T.childContextTypes=E,T.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:function(){return""},getDocument:function(){return window.document},onPopupVisibleChange:b,afterPopupVisibleChange:b,onPopupAlign:b,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[]};var C=function(){var t=this;this.onMouseEnter=function(e){var n=t.props.mouseEnterDelay;t.fireEvents("onMouseEnter",e),t.delaySetPopupVisible(!0,n,n?null:e)},this.onMouseMove=function(e){t.fireEvents("onMouseMove",e),t.setPoint(e)},this.onMouseLeave=function(e){t.fireEvents("onMouseLeave",e),t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)},this.onPopupMouseEnter=function(){t.clearDelayTimer()},this.onPopupMouseLeave=function(e){e.relatedTarget&&!e.relatedTarget.setTimeout&&t._component&&t._component.getPopupDomNode&&(0,p.A)(t._component.getPopupDomNode(),e.relatedTarget)||t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)},this.onFocus=function(e){t.fireEvents("onFocus",e),t.clearDelayTimer(),t.isFocusToShow()&&(t.focusTime=Date.now(),t.delaySetPopupVisible(!0,t.props.focusDelay))},this.onMouseDown=function(e){t.fireEvents("onMouseDown",e),t.preClickTime=Date.now()},this.onTouchStart=function(e){t.fireEvents("onTouchStart",e),t.preTouchTime=Date.now()},this.onBlur=function(e){t.fireEvents("onBlur",e),t.clearDelayTimer(),t.isBlurToHide()&&t.delaySetPopupVisible(!1,t.props.blurDelay)},this.onContextMenu=function(e){e.preventDefault(),t.fireEvents("onContextMenu",e),t.setPopupVisible(!0,e)},this.onContextMenuClose=function(){t.isContextMenuToShow()&&t.close()}
2,this.onClick=function(e){if(t.fireEvents("onClick",e),t.focusTime){var n=void 0;if(t.preClickTime&&t.preTouchTime?n=Math.min(t.preClickTime,t.preTouchTime):t.preClickTime?n=t.preClickTime:t.preTouchTime&&(n=t.preTouchTime),Math.abs(n-t.focusTime)<20)return;t.focusTime=0}t.preClickTime=0,t.preTouchTime=0,e&&e.preventDefault&&e.preventDefault();var o=!t.state.popupVisible;(t.isClickToHide()&&!o||o&&t.isClickToShow())&&t.setPopupVisible(!t.state.popupVisible,e)},this.onPopupMouseDown=function(){var e=t.context.rcTrigger,n=void 0===e?{}:e;t.hasPopupMouseDown=!0,clearTimeout(t.mouseDownTimeout),t.mouseDownTimeout=setTimeout(function(){t.hasPopupMouseDown=!1},0),n.onPopupMouseDown&&n.onPopupMouseDown.apply(n,arguments)},this.onDocumentClick=function(e){if(!t.props.mask||t.props.maskClosable){var n=e.target,o=(0,l.findDOMNode)(t);(0,p.A)(o,n)||t.hasPopupMouseDown||t.close()}},this.getRootDomNode=function(){return(0,l.findDOMNode)(t)},this.getPopupClassNameFromAlign=function(e){var n=[],o=t.props,r=o.popupPlacement,i=o.builtinPlacements,a=o.prefixCls,s=o.alignPoint,u=o.getPopupClassNameFromAlign;return r&&i&&n.push((0,y.H1)(i,a,e,s)),u&&n.push(u(e)),n.join(" ")},this.getComponent=function(){var e=t.props,n=e.prefixCls,r=e.destroyPopupOnHide,i=e.popupClassName,a=e.action,u=e.onPopupAlign,c=e.popupAnimation,l=e.popupTransitionName,p=e.popupStyle,f=e.mask,d=e.maskAnimation,h=e.maskTransitionName,m=e.zIndex,v=e.popup,y=e.stretch,b=e.alignPoint,w=t.state,A=w.popupVisible,E=w.point,T=t.getPopupAlign(),C={};return t.isMouseEnterToShow()&&(C.onMouseEnter=t.onPopupMouseEnter),t.isMouseLeaveToHide()&&(C.onMouseLeave=t.onPopupMouseLeave),C.onMouseDown=t.onPopupMouseDown,C.onTouchStart=t.onPopupMouseDown,s.createElement(g.A,(0,o.A)({prefixCls:n,destroyPopupOnHide:r,visible:A,point:b&&E,className:i,action:a,align:T,onAlign:u,animation:c,getClassNameFromAlign:t.getPopupClassNameFromAlign},C,{stretch:y,getRootDomNode:t.getRootDomNode,style:p,mask:f,zIndex:m,transitionName:l,maskAnimation:d,maskTransitionName:h,ref:t.savePopup}),"function"==typeof v?v():v)},this.getContainer=function(){var e=t.props,n=document.createElement("div");return n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.width="100%",(e.getPopupContainer?e.getPopupContainer((0,l.findDOMNode)(t)):e.getDocument().body).appendChild(n),n},this.setPoint=function(e){t.props.alignPoint&&e&&t.setState({point:{pageX:e.pageX,pageY:e.pageY}})},this.handlePortalUpdate=function(){t.prevPopupVisible!==t.state.popupVisible&&t.props.afterPopupVisibleChange(t.state.popupVisible)},this.savePopup=function(e){t._component=e}};e.A=T},56986:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=o(n(58691)),i=o(n(8502)),a=!0,s=!1,u=["altKey","bubbles","cancelable","ctrlKey","currentTarget","eventPhase","metaKey","shiftKey","target","timeStamp","view","type"];function c(t){return null==t}var l=[{reg:/^key/,props:["char","charCode","key","keyCode","which"],fix:function(t,e){c(t.which)&&(t.which=c(e.charCode)?e.keyCode:e.charCode),void 0===t.metaKey&&(t.metaKey=t.ctrlKey)}},{reg:/^touch/,props:["touches","changedTouches","targetTouches"]},{reg:/^hashchange$/,props:["newURL","oldURL"]},{reg:/^gesturechange$/i,props:["rotation","scale"]},{reg:/^(mousewheel|DOMMouseScroll)$/,props:[],fix:function(t,e){var n=void 0,o=void 0,r=void 0,i=e.wheelDelta,a=e.axis,s=e.wheelDeltaY,u=e.wheelDeltaX,c=e.detail;i&&(r=i/120),c&&(r=0-(c%3==0?c/3:c)),void 0!==a&&(a===t.HORIZONTAL_AXIS?(o=0,n=0-r):a===t.VERTICAL_AXIS&&(n=0,o=r)),void 0!==s&&(o=s/120),void 0!==u&&(n=-1*u/120),n||o||(o=r),void 0!==n&&(t.deltaX=n),void 0!==o&&(t.deltaY=o),void 0!==r&&(t.delta=r)}},{reg:/^mouse|contextmenu|click|mspointer|(^DOMMouseScroll$)/i,props:["buttons","clientX","clientY","button","offsetX","relatedTarget","which","fromElement","toElement","offsetY","pageX","pageY","screenX","screenY"],fix:function(t,e){var n=void 0,o=void 0,r=void 0,i=t.target,a=e.button;return i&&c(t.pageX)&&!c(e.clientX)&&(o=(n=i.ownerDocument||document).documentElement,r=n.body,t.pageX=e.clientX+(o&&o.scrollLeft||r&&r.scrollLeft||0)-(o&&o.clientLeft||r&&r.clientLeft||0),t.pageY=e.clientY+(o&&o.scrollTop||r&&r.scrollTop||0)-(o&&o.clientTop||r&&r.clientTop||0)),t.which||void 0===a||(t.which=1&a?1:2&a?3:4&a?2:0),!t.relatedTarget&&t.fromElement&&(t.relatedTarget=t.fromElement===i?t.toElement:t.fromElement),t}}];function p(){return a}function f(){return s}function d(t){var e=t.type,n="function"==typeof t.stopPropagation||"boolean"==typeof t.cancelBubble;r.default.call(this),this.nativeEvent=t;var o=f;"defaultPrevented"in t?o=t.defaultPrevented?p:f:"getPreventDefault"in t?o=t.getPreventDefault()?p:f:"returnValue"in t&&(
2o=t.returnValue===s?p:f),this.isDefaultPrevented=o;var i=[],a=void 0,c=void 0,d=u.concat();for(l.forEach(function(t){e.match(t.reg)&&(d=d.concat(t.props),t.fix&&i.push(t.fix))}),a=d.length;a;)this[c=d[--a]]=t[c];for(!this.target&&n&&(this.target=t.srcElement||document),this.target&&3===this.target.nodeType&&(this.target=this.target.parentNode),a=i.length;a;)(0,i[--a])(this,t);this.timeStamp=t.timeStamp||Date.now()}var h=r.default.prototype;(0,i.default)(d.prototype,h,{constructor:d,preventDefault:function(){var t=this.nativeEvent;t.preventDefault?t.preventDefault():t.returnValue=s,h.preventDefault.call(this)},stopPropagation:function(){var t=this.nativeEvent;t.stopPropagation?t.stopPropagation():t.cancelBubble=a,h.stopPropagation.call(this)}}),e.default=d,t.exports=e.default},57937:function(t,e,n){"use strict";var o=n(54955),r=n(69525),i=n(32031);e.A=function(t){for(var e={left:0,right:1/0,top:0,bottom:1/0},n=(0,r.A)(t),a=o.A.getDocument(t),s=a.defaultView||a.parentWindow,u=a.body,c=a.documentElement;n;){if(-1!==navigator.userAgent.indexOf("MSIE")&&0===n.clientWidth||n===u||n===c||"visible"===o.A.css(n,"overflow")){if(n===u||n===c)break}else{var l=o.A.offset(n);l.left+=n.clientLeft,l.top+=n.clientTop,e.top=Math.max(e.top,l.top),e.right=Math.min(e.right,l.left+n.clientWidth),e.bottom=Math.min(e.bottom,l.top+n.clientHeight),e.left=Math.max(e.left,l.left)}n=(0,r.A)(n)}var p=null;o.A.isWindow(t)||9===t.nodeType||(p=t.style.position,"absolute"===o.A.css(t,"position")&&(t.style.position="fixed"));var f=o.A.getWindowScrollLeft(s),d=o.A.getWindowScrollTop(s),h=o.A.viewportWidth(s),m=o.A.viewportHeight(s),v=c.scrollWidth,y=c.scrollHeight;if(t.style&&(t.style.position=p),(0,i.A)(t))e.left=Math.max(e.left,f),e.top=Math.max(e.top,d),e.right=Math.min(e.right,f+h),e.bottom=Math.min(e.bottom,d+m);else{var g=Math.max(v,f+h);e.right=Math.min(e.right,g);var b=Math.max(y,d+m);e.bottom=Math.min(e.bottom,b)}return e.top>=0&&e.left>=0&&e.bottom>e.top&&e.right>e.left?e:null}},57983:function(t,e,n){"use strict";var o=n(39501),r=n(59740),i=n(8374),a=n(71820),s=n(24132),u=n(65403).KEY,c=n(49297),l=n(79311),p=n(92109),f=n(25554),d=n(5479),h=n(84589),m=n(28027),v=n(75560),y=n(19514),g=n(32749),b=n(51152),w=n(8474),A=n(923),E=n(51601),T=n(68786),C=n(51228),O=n(21152),k=n(26438),P=n(60866),S=O.f,x=k.f,M=C.f,N=o.Symbol,D=o.JSON,j=D&&D.stringify,_="prototype",L=d("_hidden"),R=d("toPrimitive"),V={}.propertyIsEnumerable,H=l("symbol-registry"),W=l("symbols"),F=l("op-symbols"),I=Object[_],z="function"==typeof N,Y=o.QObject,X=!Y||!Y[_]||!Y[_].findChild,B=i&&c(function(){return 7!=T(x({},"a",{get:function(){return x(this,"a",{value:7}).a}})).a})?function(t,e,n){var o=S(I,e);o&&delete I[e],x(t,e,n),o&&t!==I&&x(I,e,o)}:x,U=function(t){var e=W[t]=T(N[_]);return e._k=t,e},K=z&&"symbol"==typeof N.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof N},q=function(t,e,n){return t===I&&q(F,e,n),g(t),e=A(e,!0),g(n),r(W,e)?(n.enumerable?(r(t,L)&&t[L][e]&&(t[L][e]=!1),n=T(n,{enumerable:E(0,!1)})):(r(t,L)||x(t,L,E(1,{})),t[L][e]=!0),B(t,e,n)):x(t,e,n)},G=function(t,e){g(t);for(var n,o=v(e=w(e)),r=0,i=o.length;i>r;)q(t,n=o[r++],e[n]);return t},$=function(t){var e=V.call(this,t=A(t,!0));return!(this===I&&r(W,t)&&!r(F,t))&&(!(e||!r(this,t)||!r(W,t)||r(this,L)&&this[L][t])||e)},J=function(t,e){if(t=w(t),e=A(e,!0),t!==I||!r(W,e)||r(F,e)){var n=S(t,e);return!n||!r(W,e)||r(t,L)&&t[L][e]||(n.enumerable=!0),n}},Z=function(t){for(var e,n=M(w(t)),o=[],i=0;n.length>i;)r(W,e=n[i++])||e==L||e==u||o.push(e);return o},Q=function(t){for(var e,n=t===I,o=M(n?F:w(t)),i=[],a=0;o.length>a;)!r(W,e=o[a++])||n&&!r(I,e)||i.push(W[e]);return i};z||(N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var t=f(arguments.length>0?arguments[0]:void 0),e=function(n){this===I&&e.call(F,n),r(this,L)&&r(this[L],t)&&(this[L][t]=!1),B(this,t,E(1,n))};return i&&X&&B(I,t,{configurable:!0,set:e}),U(t)},s(N[_],"toString",function(){return this._k}),O.f=J,k.f=q,n(93586).f=C.f=Z,n(27306).f=$,n(23845).f=Q,i&&!n(98115)&&s(I,"propertyIsEnumerable",$,!0),h.f=function(t){return U(d(t))}),a(a.G+a.W+a.F*!z,{Symbol:N});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)d(tt[et++]);for(var nt=P(d.store),ot=0;nt.length>
2ot;)m(nt[ot++]);a(a.S+a.F*!z,"Symbol",{for:function(t){return r(H,t+="")?H[t]:H[t]=N(t)},keyFor:function(t){if(!K(t))throw TypeError(t+" is not a symbol!");for(var e in H)if(H[e]===t)return e},useSetter:function(){X=!0},useSimple:function(){X=!1}}),a(a.S+a.F*!z,"Object",{create:function(t,e){return void 0===e?T(t):G(T(t),e)},defineProperty:q,defineProperties:G,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:Q}),D&&a(a.S+a.F*(!z||c(function(){var t=N();return"[null]"!=j([t])||"{}"!=j({a:t})||"{}"!=j(Object(t))})),"JSON",{stringify:function(t){for(var e,n,o=[t],r=1;arguments.length>r;)o.push(arguments[r++]);if(n=e=o[1],(b(e)||void 0!==t)&&!K(t))return y(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!K(e))return e}),o[1]=e,j.apply(D,o)}}),N[_][R]||n(53874)(N[_],R,N[_].valueOf),p(N,"Symbol"),p(Math,"Math",!0),p(o.JSON,"JSON",!0)},58122:function(t,e,n){"use strict";var o=n(54955);e.A=function(t,e,n,r){var i=o.A.clone(t),a={width:e.width,height:e.height};return r.adjustX&&i.left<n.left&&(i.left=n.left),r.resizeWidth&&i.left>=n.left&&i.left+a.width>n.right&&(a.width-=i.left+a.width-n.right),r.adjustX&&i.left+a.width>n.right&&(i.left=Math.max(n.right-a.width,n.left)),r.adjustY&&i.top<n.top&&(i.top=n.top),r.resizeHeight&&i.top>=n.top&&i.top+a.height>n.bottom&&(a.height-=i.top+a.height-n.bottom),r.adjustY&&i.top+a.height>n.bottom&&(i.top=Math.max(n.bottom-a.height,n.top)),o.A.mix(i,a)}},58691:function(t,e){"use strict";function n(){return!1}function o(){return!0}function r(){this.timeStamp=Date.now(),this.target=void 0,this.currentTarget=void 0}Object.defineProperty(e,"__esModule",{value:!0}),r.prototype={isEventObject:1,constructor:r,isDefaultPrevented:n,isPropagationStopped:n,isImmediatePropagationStopped:n,preventDefault:function(){this.isDefaultPrevented=o},stopPropagation:function(){this.isPropagationStopped=o},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=o,this.stopPropagation()},halt:function(t){t?this.stopImmediatePropagation():this.stopPropagation(),this.preventDefault()}},e.default=r,t.exports=e.default},58760:function(t,e,n){"use strict";var o=n(43868),r=n(88009),i=n(2164),a=n(12014),s=n(44982),u=n.n(s),c=n(19599),l=n(74842),p=n(3806),f=n(19225);function d(t){return"function"==typeof t&&t?t():null}function h(t){return"object"==typeof t&&t?t:null}var m=function(t){function e(){var n,i,a;(0,o.A)(this,e);for(var s=arguments.length,u=Array(s),p=0;p<s;p++)u[p]=arguments[p];return n=i=(0,r.A)(this,t.call.apply(t,[this].concat(u))),i.forceAlign=function(){var t=i.props,e=t.disabled,n=t.target,o=t.align,r=t.onAlign;if(!e&&n){var a=c.findDOMNode(i),s=void 0,u=d(n),p=h(n);u?s=(0,l.Op)(a,u,o):p&&(s=(0,l.aG)(a,p,o)),r&&r(a,s)}},a=n,(0,r.A)(i,a)}return(0,i.A)(e,t),e.prototype.componentDidMount=function(){var t=this.props;this.forceAlign(),!t.disabled&&t.monitorWindowResize&&this.startMonitorWindowResize()},e.prototype.componentDidUpdate=function(t){var e=!1,n=this.props;if(!n.disabled){var o=c.findDOMNode(this),r=o?o.getBoundingClientRect():null;if(t.disabled)e=!0;else{var i=d(t.target),a=d(n.target),s=h(t.target),u=h(n.target);(0,f.l6)(i)&&(0,f.l6)(a)?e=!1:(i!==a||i&&!a&&u||s&&u&&a||u&&!(0,f.Vp)(s,u))&&(e=!0);var l=this.sourceRect||{};e||!o||l.width===r.width&&l.height===r.height||(e=!0)}this.sourceRect=r}e&&this.forceAlign(),n.monitorWindowResize&&!n.disabled?this.startMonitorWindowResize():this.stopMonitorWindowResize()},e.prototype.componentWillUnmount=function(){this.stopMonitorWindowResize()},e.prototype.startMonitorWindowResize=function(){this.resizeHandler||(this.bufferMonitor=(0,f.r)(this.forceAlign,this.props.monitorBufferTime),this.resizeHandler=(0,p.A)(window,"resize",this.bufferMonitor))},e.prototype.stopMonitorWindowResize=function(){this.resizeHandler&&(this.bufferMonitor.clear(),this.resizeHandler.remove(),this.resizeHandler=null)},e.prototype.render=function(){var t=this,e=this.props,n=e.childrenProps,o=e.children,r=a.Children.only(o);if(n){var i={};return Object.keys(n).forEach(function(e){i[e]=t.props[n[e]]}),a.cloneElement(r,i)}return r},e}(a.Component);m.propTypes={childrenProps:u().object,align:u().object.isRequired,target:u().oneOfType([u().func,u().shape({clientX:u().number,clientY:u().number,pageX:u().number,pageY:u().number})]),onAlign:u().func,monitorBufferTime:u().number,monitorWindowResize:u().bool,disabled:u().bool,children:u().any},m.defaultProps={target:function(){return window}
2,monitorBufferTime:50,monitorWindowResize:!1,disabled:!1},e.A=m},58815:function(t,e,n){t.exports={default:n(77691),__esModule:!0}},65403:function(t,e,n){var o=n(25554)("meta"),r=n(51152),i=n(59740),a=n(26438).f,s=0,u=Object.isExtensible||function(){return!0},c=!n(49297)(function(){return u(Object.preventExtensions({}))}),l=function(t){a(t,o,{value:{i:"O"+ ++s,w:{}}})},p=t.exports={KEY:o,NEED:!1,fastKey:function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,o)){if(!u(t))return"F";if(!e)return"E";l(t)}return t[o].i},getWeak:function(t,e){if(!i(t,o)){if(!u(t))return!0;if(!e)return!1;l(t)}return t[o].w},onFreeze:function(t){return c&&p.NEED&&u(t)&&!i(t,o)&&l(t),t}}},65608:function(t,e,n){"use strict";var o=n(12131),r=n(14950),i=n(43868),a=n(18562),s=n(88009),u=n(2164),c=n(12014),l=n(44982),p=n.n(l),f=n(68971),d=n(20248),h=n(91047),m="rc_animate_"+Date.now();function v(t){var e=t.children;return c.isValidElement(e)&&!e.key?c.cloneElement(e,{key:m}):e}function y(){}var g=function(t){function e(t){(0,i.A)(this,e);var n=(0,s.A)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return b.call(n),n.currentlyAnimatingKeys={},n.keysToEnter=[],n.keysToLeave=[],n.state={children:(0,f.Sr)(v(t))},n.childrenRefs={},n}return(0,u.A)(e,t),(0,a.A)(e,[{key:"componentDidMount",value:function(){var t=this,e=this.props.showProp,n=this.state.children;e&&(n=n.filter(function(t){return!!t.props[e]})),n.forEach(function(e){e&&t.performAppear(e.key)})}},{key:"componentWillReceiveProps",value:function(t){var e=this;this.nextProps=t;var n=(0,f.Sr)(v(t)),o=this.props;o.exclusive&&Object.keys(this.currentlyAnimatingKeys).forEach(function(t){e.stop(t)});var i=o.showProp,a=this.currentlyAnimatingKeys,s=o.exclusive?(0,f.Sr)(v(o)):this.state.children,u=[];i?(s.forEach(function(t){var e=t&&(0,f.cd)(n,t.key),o=void 0;(o=e&&e.props[i]||!t.props[i]?e:c.cloneElement(e||t,(0,r.A)({},i,!0)))&&u.push(o)}),n.forEach(function(t){t&&(0,f.cd)(s,t.key)||u.push(t)})):u=(0,f.mw)(s,n),this.setState({children:u}),n.forEach(function(t){var n=t&&t.key;if(!t||!a[n]){var o=t&&(0,f.cd)(s,n);if(i){var r=t.props[i];if(o)!(0,f.PB)(s,n,i)&&r&&e.keysToEnter.push(n);else r&&e.keysToEnter.push(n)}else o||e.keysToEnter.push(n)}}),s.forEach(function(t){var o=t&&t.key;if(!t||!a[o]){var r=t&&(0,f.cd)(n,o);if(i){var s=t.props[i];if(r)!(0,f.PB)(n,o,i)&&s&&e.keysToLeave.push(o);else s&&e.keysToLeave.push(o)}else r||e.keysToLeave.push(o)}})}},{key:"componentDidUpdate",value:function(){var t=this.keysToEnter;this.keysToEnter=[],t.forEach(this.performEnter);var e=this.keysToLeave;this.keysToLeave=[],e.forEach(this.performLeave)}},{key:"isValidChildByKey",value:function(t,e){var n=this.props.showProp;return n?(0,f.PB)(t,e,n):(0,f.cd)(t,e)}},{key:"stop",value:function(t){delete this.currentlyAnimatingKeys[t];var e=this.childrenRefs[t];e&&e.stop()}},{key:"render",value:function(){var t=this,e=this.props;this.nextProps=e;var n=this.state.children,r=null;n&&(r=n.map(function(n){if(null==n)return n;if(!n.key)throw new Error("must set key for <rc-animate> children");return c.createElement(d.A,{key:n.key,ref:function(e){t.childrenRefs[n.key]=e},animation:e.animation,transitionName:e.transitionName,transitionEnter:e.transitionEnter,transitionAppear:e.transitionAppear,transitionLeave:e.transitionLeave},n)}));var i=e.component;if(i){var a=e;return"string"==typeof i&&(a=(0,o.A)({className:e.className,style:e.style},e.componentProps)),c.createElement(i,a,r)}return r[0]||null}}]),e}(c.Component);g.isAnimate=!0,g.propTypes={component:p().any,componentProps:p().object,animation:p().object,transitionName:p().oneOfType([p().string,p().object]),transitionEnter:p().bool,transitionAppear:p().bool,exclusive:p().bool,transitionLeave:p().bool,onEnd:p().func,onEnter:p().func,onLeave:p().func,onAppear:p().func,showProp:p().string,children:p().node},g.defaultProps={animation:{},component:"span",componentProps:{},transitionEnter:!0,transitionLeave:!0,transitionAppear:!1,onEnd:y,onEnter:y,onLeave:y,onAppear:y};var b=function(){var t=this;this.performEnter=function(e){t.childrenRefs[e]&&(t.currentlyAnimatingKeys[e]=!0,t.childrenRefs[e].componentWillEnter(t.handleDoneAdding.bind(t,e,"enter")))},this.performAppear=function(e){t.childrenRefs[e]&&(t.currentlyAnimatingKeys[e]=!0,t.childrenRefs[e].componentWillAppear(t.handleDoneAdding.bind(t,e,"appear")))},this.handleDoneAdding=function(e,n){var o=t.props;if(delete t.currentlyAnimatingKeys[e],!o.exclusive||o===t.nextProps){var r=(0,f.Sr)(v(o));t.isValidChildByKey(r,e)?"appear"===n?h.A.allowAppearCallback(o)&&(o.onAppear(e),o.onEnd(e,!0)):h.A.allowEnterCallback(o)&&(o.onEnter(e),o.onEnd(e,!0)):t.performLeave(e)}},this.performLeave=function(e){t.childrenRefs[e]&&(t.currentlyAnimatingKeys[e]=!0,t.childrenRefs[e].componentWillLeave(t.handleDoneLeaving.bind(t,e)))},this.handleDoneLeaving=function(e){var n=t.props;if(delete t.currentlyAnimatingKeys[e],!n.exclusive||n===t.nextProps){var o=(0,f.Sr)(v(n));if(t.isValidChildByKey(o,e))t.performEnter(e);else{var r=function(){h.A.allowLeaveCallback(n)&&(n.onLeave(e),n.onEnd(e,!1))};(0,f.KS)(t.state.children,o,n.showProp)?r():t.setState({children:o},r)}}}};e.A=g},67178:function(t,e){"use strict";e.A=function(t,e){var n=e.charAt(0),o=e.charAt(1),r=t.width,i=t.height,a=t.left,s=t.top;return"c"===n?s+=i/2:"b"===n&&(s+=i),"c"===o?a+=r/2:"r"===o&&(a+=r),{left:a,top:s}}},68971:function(t,e,n){"use strict";n.d(e,{KS:function(){return s},PB:function(){return a},Sr:function(){return r},cd:function(){return i},mw:function(){return u}});var o=n(12014);function r(t){var e=[];
2return o.Children.forEach(t,function(t){e.push(t)}),e}function i(t,e){var n=null;return t&&t.forEach(function(t){n||t&&t.key===e&&(n=t)}),n}function a(t,e,n){var o=null;return t&&t.forEach(function(t){if(t&&t.key===e&&t.props[n]){if(o)throw new Error("two child with same key for <rc-animate> children");o=t}}),o}function s(t,e,n){var o=t.length===e.length;return o&&t.forEach(function(t,r){var i=e[r];t&&i&&(t&&!i||!t&&i||t.key!==i.key||n&&t.props[n]!==i.props[n])&&(o=!1)}),o}function u(t,e){var n=[],o={},r=[];return t.forEach(function(t){t&&i(e,t.key)?r.length&&(o[t.key]=r,r=[]):r.push(t)}),e.forEach(function(t){t&&Object.prototype.hasOwnProperty.call(o,t.key)&&(n=n.concat(o[t.key])),n.push(t)}),n=n.concat(r)}},69525:function(t,e,n){"use strict";var o=n(54955);e.A=function(t){if(o.A.isWindow(t)||9===t.nodeType)return null;var e=o.A.getDocument(t).body,n=void 0,r=o.A.css(t,"position");if(!("fixed"===r||"absolute"===r))return"html"===t.nodeName.toLowerCase()?null:t.parentNode;for(n=t.parentNode;n&&n!==e;n=n.parentNode)if("static"!==(r=o.A.css(n,"position")))return n;return null}},70305:function(t,e,n){"use strict";n.d(e,{A:function(){return f}});var o=n(12014),r=n(44982),i=n.n(r),a=n(77312),s=n(23559),u=n(74608),c=n(22061),l=n(91890),p="#222";function f(t){var e=t.isOpen,n=t.onClose,r=t.children,i=t.className,f=void 0===i?"":i,d=t.showCloseButton,h=void 0===d||d,m=t.useHistory,v=void 0===m||m;(0,l.A)(e,n,"shared-modal-".concat(f),v),(0,o.useEffect)(function(){return document.body.style.overflow=e?"hidden":"",function(){document.body.style.overflow=""}},[e]);return e?o.createElement("div",{className:"shared-modal-container"},o.createElement(a.A,null),o.createElement(s.A,{onClickOutside:function(t){t.preventDefault(),t.stopPropagation(),t.nativeEvent&&t.nativeEvent.stopImmediatePropagation&&t.nativeEvent.stopImmediatePropagation(),n()}},o.createElement("div",{className:"modal-popup".concat(f?" ".concat(f):"")},h&&o.createElement("div",{className:"close-button-container"},"review-modal"===f?o.createElement("div",{className:"arrow-icon-container"},o.createElement(c.A,{isMenu:!0,stroke:p,dir:"left",onClick:n})):o.createElement(u.A,{style:{background:"#fff"},pathStyle:{stroke:"#222"},onClick:n})),o.createElement("div",{className:"modal-content"},r)))):null}f.propTypes={isOpen:i().bool,onClose:i().func,children:i().node,className:i().string,showCloseButton:i().bool,useHistory:i().bool}},71834:function(t,e,n){"use strict";var o=n(83922),r=n(16300),i=Date,a=r(i.prototype.getTime);o({target:"Date",stat:!0},{now:function(){return a(new i)}})},72104:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return p}});n(69455),n(18371),n(69946),n(22590),n(27385),n(85671);var o=n(12014),r=n(83455),i=n(44982),a=n.n(i),s=n(28303),u=n(5826);function c(){return c=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},c.apply(null,arguments)}function l(t){var e=t.dataAttr,n=t.href,r=t.external,i=t.leftIcon,a=t.body,s=t.rightIcon;return o.createElement("div",{className:"profile-account-card","data-attr":"workspace-".concat(e)},o.createElement("a",c({className:"profile-account-card-link",href:n},r?{target:"_blank",rel:"noopener noreferrer"}:{}),o.createElement("div",{className:"left-card-side"},o.createElement("div",{className:"leftIcon"},o.createElement("img",{src:i.src,width:i.width,height:i.height,alt:i.alt}))),o.createElement("div",{className:"right-card-side"},o.createElement("div",{className:"profile-account-card-body"},o.createElement("div",{className:"title-wrapper"},o.createElement("span",{className:"profile-account-title"},a.title),o.createElement("div",{className:"rightIcon"},o.createElement("img",{src:s.src,width:s.width,height:s.height,alt:"right-icon"}))),o.createElement("div",{className:"profile-account-description"},o.createElement("p",null,a.description))),o.createElement("div",{className:"rightIcon small-screen"},o.createElement("img",{src:s.src,width:s.width,height:s.height,alt:"right-icon"})))))}function p(){var t=(0,r.useValues)(u.A).cards;return o.createElement("div",{className:"row responsive-menu-row","data-attr":"workspace-hub"},o.createElement("div",{className:"columns cards"},o.createElement("h1",{className:"page-title","data-attr":"page-title"},s.A.t("profiles.editmenu.workspace")),o.createElement("div",{className:"profile-account-cards-container workspace-hub-cards"},(t||[]).map(function(t){return o.createElement(l,c({key:t.dataAttr},t))}))))}
2l.propTypes={dataAttr:a().string,href:a().string,external:a().bool,leftIcon:a().object,body:a().object,rightIcon:a().object}},73162:function(t,e,n){"use strict";function o(t,e){for(var n=e;n;){if(n===t)return!0;n=n.parentNode}return!1}n.d(e,{A:function(){return o}})},74608:function(t,e,n){"use strict";n(94550);var o=n(12014),r=n(44982),i=n.n(r),a=function(t){var e=t.color,n=t.onClick,r=t.style,i=t.pathStyle,a=t.inputMode,s=t.className;return o.createElement("div",{className:"box exit-search-logo".concat(e?" ".concat(e,"-background-exit"):"").concat(a?" with-border":"").concat(s?" ".concat(s):""),style:r,onClick:n},o.createElement("svg",{viewBox:"0 0 40 40"},o.createElement("path",{style:i,className:"close-x",d:"M 10,10 L 30,30 M 30,10 L 10,30"})))};a.propTypes={className:i().string,onClick:i().func,color:i().string,style:i().object,pathStyle:i().object,inputMode:i().bool},e.A=a},74691:function(t,e,n){"use strict";var o=n(11392);e.A=o.A},74842:function(t,e,n){"use strict";n.d(e,{Op:function(){return o.A},aG:function(){return r.A}});var o=n(9113),r=n(4951)},74866:function(t,e,n){"use strict";n.d(e,{_:function(){return s}});var o=n(24821),r=n(86410),i=n(96395),a=n.n(i),s=0!==r.A.endEvents.length,u=["Webkit","Moz","O","ms"],c=["-webkit-","-moz-","-o-","ms-",""];function l(t,e){for(var n=window.getComputedStyle(t,null),o="",r=0;r<c.length&&!(o=n.getPropertyValue(c[r]+e));r++);return o}function p(t){if(s){var e=parseFloat(l(t,"transition-delay"))||0,n=parseFloat(l(t,"transition-duration"))||0,o=parseFloat(l(t,"animation-delay"))||0,r=parseFloat(l(t,"animation-duration"))||0,i=Math.max(n+e,r+o);t.rcEndAnimTimeout=setTimeout(function(){t.rcEndAnimTimeout=null,t.rcEndListener&&t.rcEndListener()},1e3*i+200)}}function f(t){t.rcEndAnimTimeout&&(clearTimeout(t.rcEndAnimTimeout),t.rcEndAnimTimeout=null)}var d=function(t,e,n){var i="object"===(void 0===e?"undefined":(0,o.default)(e)),s=i?e.name:e,u=i?e.active:e+"-active",c=n,l=void 0,d=void 0,h=a()(t);return n&&"[object Object]"===Object.prototype.toString.call(n)&&(c=n.end,l=n.start,d=n.active),t.rcEndListener&&t.rcEndListener(),t.rcEndListener=function(e){e&&e.target!==t||(t.rcAnimTimeout&&(clearTimeout(t.rcAnimTimeout),t.rcAnimTimeout=null),f(t),h.remove(s),h.remove(u),r.A.removeEndEventListener(t,t.rcEndListener),t.rcEndListener=null,c&&c())},r.A.addEndEventListener(t,t.rcEndListener),l&&l(),h.add(s),t.rcAnimTimeout=setTimeout(function(){t.rcAnimTimeout=null,h.add(u),d&&setTimeout(d,0),p(t)},30),{stop:function(){t.rcEndListener&&t.rcEndListener()}}};d.style=function(t,e,n){t.rcEndListener&&t.rcEndListener(),t.rcEndListener=function(e){e&&e.target!==t||(t.rcAnimTimeout&&(clearTimeout(t.rcAnimTimeout),t.rcAnimTimeout=null),f(t),r.A.removeEndEventListener(t,t.rcEndListener),t.rcEndListener=null,n&&n())},r.A.addEndEventListener(t,t.rcEndListener),t.rcAnimTimeout=setTimeout(function(){for(var n in e)e.hasOwnProperty(n)&&(t.style[n]=e[n]);t.rcAnimTimeout=null,p(t)},0)},d.setTransition=function(t,e,n){var o=e,r=n;void 0===n&&(r=o,o=""),o=o||"",u.forEach(function(e){t.style[e+"Transition"+o]=r})},d.isCssAnimationSupported=s,e.A=d},75560:function(t,e,n){var o=n(60866),r=n(23845),i=n(27306);t.exports=function(t){var e=o(t),n=r.f;if(n)for(var a,s=n(t),u=i.f,c=0;s.length>c;)u.call(t,a=s[c++])&&e.push(a);return e}},75645:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,o){function r(e){var o=new i.default(e);n.call(t,o)}if(t.addEventListener){var a=(s=!1,"object"==typeof o?s=o.capture||!1:"boolean"==typeof o&&(s=o),t.addEventListener(e,r,o||!1),{v:{remove:function(){t.removeEventListener(e,r,s)}}});if("object"==typeof a)return a.v}else if(t.attachEvent)return t.attachEvent("on"+e,r),{remove:function(){t.detachEvent("on"+e,r)}};var s};var o,r=n(56986),i=(o=r)&&o.__esModule?o:{default:o};t.exports=e.default},77312:function(t,e,n){"use strict";var o=n(12014);e.A=function(){return o.createElement("div",{className:"generic-overlay"})}},77691:function(t,e,n){n(43253);var o=n(37629).Object;t.exports=function(t,e,n){return o.defineProperty(t,e,n)}},79153:function(t,e,n){"use strict";var o=n(58760);e.A=o.A},79790:function(t,e,n){"use strict";n(69455),n(18371),n(1119),n(80376),n(94550),n(67470),n(92830),n(42604),n(79986),n(91032),n(95372),n(22590),n(83494),n(8200),n(7476),n(49701),n(78423),n(9555),n(85671),n(75382),n(78595),n(48081),n(22848),n(69821);var o=n(83455),r=n(44982),i=n.n(r),a=n(28303),s=n(47295),u=n.n(s);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function l(){var t,e,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",r=n.toStringTag||"@@toStringTag";function i(n,o,r,i){var u=o&&o.prototype instanceof s?o:s,c=Object.create(u.prototype);return p(c,"_invoke",function(n,o,r){var i,s,u,c=0,l=r||[],p=!1,f={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function(e,n){return i=e,s=0,u=t,f.n=n,a}};function d(n,o){for(s=n,u=o,e=0;!p&&c&&!r&&e<l.length;e++){var r,i=l[e],d=f.p,h=i[2];n>3?(r=h===o)&&(u=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=t):i[0]<=d&&((r=n<2&&d<i[1])?(s=0,f.v=o,f.n=i[1]):d<h&&
vendor: 2,800 bytes, line 2
2(r=n<3||i[0]>o||o>h)&&(i[4]=n,i[5]=o,f.n=h,s=0))}if(r||n>1)return a;throw p=!0,o}return function(r,l,h){if(c>1)throw TypeError("Generator is already running");for(p&&1===l&&d(l,h),s=l,u=h;(e=s<2?t:u)||!p;){i||(s?s<3?(s>1&&(f.n=-1),d(s,u)):f.n=u:f.v=u);try{if(c=2,i){if(s||(r="next"),e=i[r]){if(!(e=e.call(i,u)))throw TypeError("iterator result is not an object");if(!e.done)return e;u=e.value,s<2&&(s=0)}else 1===s&&(e=i.return)&&e.call(i),s<2&&(u=TypeError("The iterator does not provide a '"+r+"' method"),s=1);i=t}else if((e=(p=f.n<0)?u:n.call(o,f))!==a)break}catch(e){i=t,s=1,u=e}finally{c=1}}return{value:e,done:p}}}(n,r,i),!0),c}var a={};function s(){}function u(){}function c(){}e=Object.getPrototypeOf;var f=[][o]?e(e([][o]())):(p(e={},o,function(){return this}),e),d=c.prototype=s.prototype=Object.create(f);function h(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,c):(t.__proto__=c,p(t,r,"GeneratorFunction")),t.prototype=Object.create(d),t}return u.prototype=c,p(d,"constructor",c),p(c,"constructor",u),u.displayName="GeneratorFunction",p(c,r,"GeneratorFunction"),p(d),p(d,r,"Generator"),p(d,o,function(){return this}),p(d,"toString",function(){return"[object Generator]"}),(l=function(){return{w:i,m:h}})()}function p(t,e,n,o){var r=Object.defineProperty;try{r({},"",{})}catch(t){r=0}p=function(t,e,n,o){function i(e,n){p(t,e,function(t){return this._invoke(e,n,t)})}e?r?r(t,e,{value:n,enumerable:!o,configurable:!o,writable:!o}):t[e]=n:(i("next",0),i("throw",1),i("return",2))},p(t,e,n,o)}function f(t,e,n,o,r,i,a){try{var s=t[i](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(o,r)}function d(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=c(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=c(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==c(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function h(t){return function(t){if(Array.isArray(t))return m(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return m(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=Array(e);n<e;n++)o[n]=t[n];return o}
2e.A=(0,o.kea)({initScene:{scene:"workspaceLessonReplays",reload:function(){return u().index()},transform:function(t){return{entitlements:t.entitlements,recordings:t.recordings||[],hasMore:!!t.hasMore,nextOffset:t.nextOffset||0,morePath:t.morePath}}},path:function(){return["scenes","workspaceLessonReplays","index"]},actions:function(){return{loadMore:!0,appendRecordings:function(t){return{recordings:t.recordings,hasMore:t.hasMore,nextOffset:t.nextOffset}}}},reducers:function(t){var e=t.actions;return{entitlements:[{},i().object,{}],recordings:[[],i().array,d({},e.appendRecordings,function(t,e){var n=e.recordings;return[].concat(h(t),h(n))})],hasMore:[!1,i().bool,d({},e.appendRecordings,function(t,e){return e.hasMore})],nextOffset:[0,i().number,d({},e.appendRecordings,function(t,e){return e.nextOffset})],morePath:[null,i().string,{}]}},listeners:function(t){var e,n=t.actions,o=t.values;return d({},n.loadMore,(e=l().m(function t(){var e,r,i,s;return l().w(function(t){for(;;)switch(t.p=t.n){case 0:if(e=o.morePath,r=o.nextOffset,o.hasMore&&e){t.n=1;break}return t.a(2);case 1:return t.p=1,t.n=2,fetch("".concat(e,"?offset=").concat(r),{headers:{Accept:"application/json"},credentials:"same-origin"});case 2:if((i=t.v).ok){t.n=3;break}throw new Error("load failed");case 3:return t.n=4,i.json();case 4:s=t.v,n.appendRecordings({recordings:s.recordings||[],hasMore:!!s.hasMore,nextOffset:s.nextOffset||r}),t.n=6;break;case 5:t.p=5,t.v,messg.error(a.A.t("modals.error_text"),2500);case 6:return t.a(2)}},t,null,[[1,5]])}),function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function a(t){f(i,o,r,a,s,"next",t)}function s(t){f(i,o,r,a,s,"throw",t)}a(void 0)})}))}})},81828:function(t,e,n){"use strict";n.d(e,{Q6:function(){return s},Re:function(){return l},aL:function(){return h},fB:function(){return u},qx:function(){return p}});var o=void 0,r={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function i(){if(void 0!==o)return o;o="";var t=document.createElement("p").style;for(var e in r)e+"Transform"in t&&(o=e);return o}function a(){return i()?i()+"TransitionProperty":"transitionProperty"}function s(){return i()?i()+"Transform":"transform"}function u(t,e){var n=a();n&&(t.style[n]=e,"transitionProperty"!==n&&(t.style.transitionProperty=e))}function c(t,e){var n=s();n&&(t.style[n]=e,"transform"!==n&&(t.style.transform=e))}function l(t){return t.style.transitionProperty||t.style[a()]}function p(t){var e=window.getComputedStyle(t,null),n=e.getPropertyValue("transform")||e.getPropertyValue(s());if(n&&"none"!==n){var o=n.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(o[12]||o[4],0),y:parseFloat(o[13]||o[5],0)}}return{x:0,y:0}}var f=/matrix\((.*)\)/,d=/matrix3d\((.*)\)/;function h(t,e){var n=window.getComputedStyle(t,null),o=n.getPropertyValue("transform")||n.getPropertyValue(s());if(o&&"none"!==o){var r=void 0,i=o.match(f);if(i)(r=(i=i[1]).split(",").map(function(t){return parseFloat(t,10)}))[4]=e.x,r[5]=e.y,c(t,"matrix("+r.join(",")+")");else(r=o.match(d)[1].split(",").map(function(t){return parseFloat(t,10)}))[12]=e.x,r[13]=e.y,c(t,"matrix3d("+r.join(",")+")")}else c(t,"translateX("+e.x+"px) translateY("+e.y+"px) translateZ(0)")}},84139:function(t,e,n){"use strict";var o=n(43868),r=n(18562),i=n(88009),a=n(2164),s=n(12014),u=n(19599),c=n(44982),l=n.n(c),p=function(t){function e(){var t,n,r,a;(0,o.A)(this,e);for(var s=arguments.length,c=Array(s),l=0;l<s;l++)c[l]=arguments[l];return n=r=(0,i.A)(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(c))),r.removeContainer=function(){r.container&&(u.unmountComponentAtNode(r.container),r.container.parentNode.removeChild(r.container),r.container=null)},r.renderComponent=function(t,e){var n=r.props,o=n.visible,i=n.getComponent,a=n.forceRender,s=n.getContainer,c=n.parent;(o||c._component||a)&&(r.container||(r.container=s()),u.unstable_renderSubtreeIntoContainer(c,i(t),r.container,function(){e&&e.call(this)}))},a=n,(0,i.A)(r,a)}return(0,a.A)(e,t),(0,r.A)(e,[{key:"componentDidMount",value:function(){this.props.autoMount&&this.renderComponent()}},{key:"componentDidUpdate",value:function(){this.props.autoMount&&this.renderComponent()}},{key:"componentWillUnmount",value:function(){this.props.autoDestroy&&this.removeContainer()}},{key:"render",value:function(){return this.props.children({renderComponent:this.renderComponent,removeContainer:this.removeContainer})}}]),e}(s.Component);p.propTypes={autoMount:l().bool,autoDestroy:l().bool,visible:l().bool,forceRender:l().bool,parent:l().any,getComponent:l().func.isRequired,getContainer:l().func.isRequired,children:l().func.isRequired},p.defaultProps={autoMount:!0,autoDestroy:!0,forceRender:!1},e.A=p},84589:function(t,e,n){e.f=n(5479)},86410:function(t,e){"use strict";var n={transitionstart:{transition:"transitionstart",WebkitTransition:"webkitTransitionStart",MozTransition:"mozTransitionStart",OTransition:"oTransitionStart",msTransition:"MSTransitionStart"},animationstart:{animation:"animationstart",WebkitAnimation:"webkitAnimationStart",MozAnimation:"mozAnimationStart",OAnimation:"oAnimationStart",msAnimation:"MSAnimationStart"}},o={transitionend:{transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"mozTransitionEnd",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd"},animationend:{animation:"animationend",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"mozAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd"}},r=[],i=[];function a(t,e,n){t.addEventListener(e,n,!1)}function s(t,e,n){t.removeEventListener(e,n,!1)}"undefined"!=typeof window&&"undefined"!=typeof document&&function(){var t=document.createElement("div").style;function e(e,n){for(var o in e)if(e.hasOwnProperty(o)){var r=e[o];for(var i in r)if(i in t){n.push(r[i]);break}}}"AnimationEvent"in window||(delete n.animationstart.animation,delete o.animationend.animation),"TransitionEvent"in window||(delete n.transitionstart.transition,delete o.transitionend.transition),e(n,r),e(o,i)}();var u={startEvents:r,addStartEventListener:function(t,e){0!==r.length?r.forEach(function(n){a(t,n,e)}):window.setTimeout(e,0)},removeStartEventListener:function(t,e){0!==r.length&&r.forEach(function(n){s(t,n,e)})},endEvents:i,addEndEventListener:function(t,e){0!==i.length?i.forEac
2h(function(n){a(t,n,e)}):window.setTimeout(e,0)},removeEndEventListener:function(t,e){0!==i.length&&i.forEach(function(n){s(t,n,e)})}};e.A=u},88009:function(t,e,n){"use strict";var o,r=n(24821),i=(o=r)&&o.__esModule?o:{default:o};e.A=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":(0,i.default)(e))&&"function"!=typeof e?t:e}},91047:function(t,e){"use strict";e.A={isAppearSupported:function(t){return t.transitionName&&t.transitionAppear||t.animation.appear},isEnterSupported:function(t){return t.transitionName&&t.transitionEnter||t.animation.enter},isLeaveSupported:function(t){return t.transitionName&&t.transitionLeave||t.animation.leave},allowAppearCallback:function(t){return t.transitionAppear||t.animation.appear},allowEnterCallback:function(t){return t.transitionEnter||t.animation.enter},allowLeaveCallback:function(t){return t.transitionLeave||t.animation.leave}}},91401:function(t,e,n){t.exports={default:n(93541),__esModule:!0}},91890:function(t,e,n){"use strict";n.d(e,{A:function(){return r}});n(71834),n(84107);var o=n(12014);function r(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"modal",r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=(0,o.useRef)(!1),a=(0,o.useRef)(!1);return(0,o.useEffect)(function(){r&&(t&&!i.current&&(window.history.pushState({modal:n,timestamp:Date.now()},"",window.location.href),i.current=!0),t||!i.current||a.current||(i.current=!1))},[t,n,r]),(0,o.useEffect)(function(){if(r){var n=function(n){t&&i.current&&(n.preventDefault(),a.current=!0,e(),i.current=!1,setTimeout(function(){a.current=!1},100))};return window.addEventListener("popstate",n),function(){window.removeEventListener("popstate",n),i.current&&t&&(window.history.back(),i.current=!1)}}},[t,e,r]),null}},93182:function(t,e,n){"use strict";var o=n(43868),r=n(88009),i=n(2164),a=n(12014),s=n(44982),u=n.n(s),c=function(t){function e(){return(0,o.A)(this,e),(0,r.A)(this,t.apply(this,arguments))}return(0,i.A)(e,t),e.prototype.componentDidUpdate=function(){var t=this.props.trigger;t&&t.forcePopupAlign()},e.prototype.render=function(){var t=this.props,e=t.overlay,n=t.prefixCls,o=t.id;return a.createElement("div",{className:n+"-inner",id:o,role:"tooltip"},"function"==typeof e?e():e)},e}(a.Component);c.propTypes={prefixCls:u().string,overlay:u().oneOfType([u().node,u().func]).isRequired,id:u().string,trigger:u().any},e.A=c},93541:function(t,e,n){n(79184),n(45651),t.exports=n(84589).f("iterator")},93586:function(t,e,n){var o=n(13166),r=n(73821).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return o(t,r)}},93672:function(t,e,n){"use strict";var o=n(67178);e.A=function(t,e,n,r,i){var a=(0,o.A)(e,n[1]),s=(0,o.A)(t,n[0]),u=[s.left-a.left,s.top-a.top];return{left:t.left-u[0]+r[0]-i[0],top:t.top-u[1]+r[1]-i[1]}}},94525:function(t,e,n){t.exports={default:n(48193),__esModule:!0}},96395:function(t,e,n){try{var o=n(10810)}catch(t){o=n(10810)}var r=/\s+/,i=Object.prototype.toString;function a(t){if(!t||!t.nodeType)throw new Error("A DOM element reference is required");this.el=t,this.list=t.classList}t.exports=function(t){return new a(t)},a.prototype.add=function(t){if(this.list)return this.list.add(t),this;var e=this.array();return~o(e,t)||e.push(t),this.el.className=e.join(" "),this},a.prototype.remove=function(t){if("[object RegExp]"==i.call(t))return this.removeMatching(t);if(this.list)return this.list.remove(t),this;var e=this.array(),n=o(e,t);return~n&&e.splice(n,1),this.el.className=e.join(" "),this},a.prototype.removeMatching=function(t){for(var e=this.array(),n=0;n<e.length;n++)t.test(e[n])&&this.remove(e[n]);return this},a.prototype.toggle=function(t,e){return this.list?(void 0!==e?e!==this.list.toggle(t,e)&&this.list.toggle(t):this.list.toggle(t),this):(void 0!==e?e?this.add(t):this.remove(t):this.has(t)?this.remove(t):this.add(t),this)},a.prototype.array=function(){var t=(this.el.getAttribute("class")||"").replace(/^\s+|\s+$/g,"").split(r);return""===t[0]&&t.shift(),t},a.prototype.has=a.prototype.contains=function(t){return this.list?this.list.contains(t):!!~o(this.array(),t)}},99555:function(t,e,n){var o=n(71820);o(o.S,"Object",{setPrototypeOf:n(49939).set})}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.