commit 2018-06-06 07:16:59.103484

This commit is contained in:
Jenkins
2018-06-06 10:17:04 +03:00
parent 1dce5fd8ac
commit 081635809d
10 changed files with 14 additions and 14 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,7 +1,7 @@
webpackJsonp([6],{108:function(e,t,n){"use strict";function o(e){return t=function(t){function n(e,n){var o=t.call(this,e,n)||this;return o._getWrappedComponent=function(e){o._instance=e},o}return r.__extends(n,t),n.prototype.componentDidMount=function(){this._instance.componentWillEnter&&this.context.lifecycleProvider.registerWillEnterCb(this._instance.componentWillEnter.bind(this._instance)),this._instance.componentDidEnter&&this.context.lifecycleProvider.registerDidEnterCb(this._instance.componentDidEnter.bind(this._instance)),this._instance.componentWillLeave&&this.context.lifecycleProvider.registerWillLeaveCb(this._instance.componentWillLeave.bind(this._instance)),this._instance.componentDidLeave&&this.context.lifecycleProvider.registerDidLeaveCb(this._instance.componentDidLeave.bind(this._instance))},n.prototype.render=function(){return i.createElement(e,r.__assign({},this.props,{ref:this._getWrappedComponent}),this.props.children)},n}(i.PureComponent),t.displayName="Lifecycle Consumer",t.contextTypes={lifecycleProvider:s.object},t;var t}var r,i,s,a;Object.defineProperty(t,"__esModule",{value:!0}),r=n(5),i=n(2),s=n(86),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t}(i.PureComponent),t.LifecycleConsumer=a,t.makeTransitionGroupLifecycleConsumer=o},153:function(e,t){e.exports={body:"body-1yAIljnK-"}},154:function(e,t){e.exports={footer:"footer-AwxgkLHY-"}},155:function(e,t){e.exports={header:"header-2Hz0Lxou-",close:"close-3H_MMLbw-"}},156:function(e,t){e.exports={message:"message-1CYdTy_T-",error:"error-1u_m-Ehm-"}},157:function(e,t){e.exports={dialog:"dialog-13-QRYuG-",rounded:"rounded-1GLivxii-",shadowed:"shadowed-30OTTAts-"}},182:function(e,t,n){"use strict";function o(e){return r.createElement("div",{className:i.body,ref:e.reference},e.children)}var r,i;Object.defineProperty(t,"__esModule",{value:!0}),r=n(2),i=n(153),t.Body=o},183:function(e,t,n){"use strict";var o,r,i,s;Object.defineProperty(t,"__esModule",{value:!0}),o=n(185),t.Header=o.Header,r=n(184),t.Footer=r.Footer,i=n(182),t.Body=i.Body,s=n(186),t.Message=s.Message},184:function(e,t,n){"use strict";function o(e){return r.createElement("div",{className:i.footer,ref:e.reference},e.children)}var r,i;Object.defineProperty(t,"__esModule",{value:!0}),r=n(2),i=n(154),t.Footer=o},185:function(e,t,n){"use strict";function o(e){return r.createElement("div",{className:i.header,"data-dragg-area":!0,ref:e.reference},e.children,r.createElement(a.Icon,{className:i.close,icon:s,onClick:e.onClose}))}var r,i,s,a;Object.defineProperty(t,"__esModule",{value:!0}),r=n(2),i=n(155),s=n(109),a=n(77),t.Header=o},186:function(e,t,n){"use strict";function o(e){var t,n;return e.text?t=r.createElement("span",null,e.text):e.html&&(t=r.createElement("span",{dangerouslySetInnerHTML:{__html:e.html}})),n=i.message,e.isError&&(n+=" "+i.error),r.createElement(s.CSSTransitionGroup,{transitionName:"message",transitionEnterTimeout:c.dur,transitionLeaveTimeout:c.dur},t?r.createElement("div",{className:n,key:"0"
},r.createElement(a.OutsideEvent,{mouseDown:!0,touchStart:!0,handler:e.onClickOutside},t)):null)}var r,i,s,a,c;Object.defineProperty(t,"__esModule",{value:!0}),r=n(2),i=n(156),s=n(46),a=n(107),c=n(28),t.Message=o},187:function(e,t,n){"use strict";function o(e){var t,n=e.rounded,o=void 0===n||n,a=e.shadowed,c=void 0===a||a,u=e.className,l=void 0===u?"":u,d=s(i.dialog,(t={},t[l]=!!l,t[i.rounded]=o,t[i.shadowed]=c,t[i.animated]=i.animated,t)),p={bottom:e.bottom,left:e.left,maxWidth:e.width,right:e.right,top:e.top,zIndex:e.zIndex};return r.createElement("div",{className:d,ref:e.reference,style:p,onMouseDown:e.onMouseDown,onMouseUp:e.onMouseUp,onClick:e.onClick},e.children)}var r,i,s;Object.defineProperty(t,"__esModule",{value:!0}),r=n(2),i=n(157),s=n(26),t.Dialog=o},188:function(e,t,n){"use strict";function o(){d=document.createElement("div"),document.body.appendChild(d),i()}function r(e,t){p.getItems().forEach(function(n){n!==t&&m.emitEvent(e+":"+n)})}function i(e){a.render(s.createElement(c.TransitionGroup,{component:"div"},Array.from(f.values())),d,e)}var s,a,c,u,l,d,p,h,m,f;Object.defineProperty(t,"__esModule",{value:!0}),s=n(2),a=n(55),c=n(46),u=n(110),l=function(){function e(){this._storage=[]}return e.prototype.add=function(e){this._storage.push(e)},e.prototype.remove=function(e){this._storage=this._storage.filter(function(t){return e!==t})},e.prototype.getIndex=function(e){return this._storage.findIndex(function(t){return e===t})},e.prototype.toTop=function(e){this.remove(e),this.add(e)},e.prototype.has=function(e){return this._storage.includes(e)},e.prototype.getItems=function(){return this._storage},e}(),t.EVENTS={ZindexUpdate:"ZindexUpdate"},p=new l,h=150,m=new u,f=new Map,function(e){function n(e){p.has(e)||(p.add(e),r(t.EVENTS.ZindexUpdate,e))}function o(e){p.remove(e),f.delete(e)}function s(e){return p.getIndex(e)+h}function a(e,t,n){f.set(e,t),i(n)}function c(e,t){o(e),i(t)}function u(){return m}e.registerWindow=n,e.unregisterWindow=o,e.getZindex=s,e.renderWindow=a,e.removeWindow=c,e.getStream=u}(t.OverlapManager||(t.OverlapManager={})),o()},189:function(e,t,n){"use strict";function o(e){return t=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(n,t),n.prototype.componentWillEnter=function(e){this.props.beforeOpen?this.props.beforeOpen(e):e()},n.prototype.componentDidEnter=function(){this.props.afterOpen&&this.props.afterOpen()},n.prototype.componentWillLeave=function(e){this.props.beforeClose?this.props.beforeClose(e):e()},n.prototype.componentDidLeave=function(){this.props.afterClose&&this.props.afterClose()},n.prototype.render=function(){return s.createElement(e,i.__assign({},this.props))},n}(s.PureComponent),t.displayName="OverlapLifecycle("+(e.displayName||"Component")+")",t;var t}function r(e){var t,n=u.makeTransitionGroupLifecycleProvider(l.makeTransitionGroupLifecycleConsumer(o(e)));return t=function(e){function t(t){var n=e.call(this,t)||this;return n._onZIndexUpdate=function(){
n.props.isOpened&&("parent"===n.props.root?n.forceUpdate():n._renderWindow(n.props))},n._uuid=d.guid(),n._zIndexUpdateEvent=c.EVENTS.ZindexUpdate+":"+n._uuid,n}return i.__extends(t,e),t.prototype.componentDidMount=function(){this._subscribe()},t.prototype.componentWillUnmount=function(){this._unsubscribe(),c.OverlapManager.removeWindow(this._uuid)},t.prototype.componentWillReceiveProps=function(e){"parent"!==this.props.root&&this._renderWindow(e)},t.prototype.render=function(){return"parent"===this.props.root?s.createElement(a.TransitionGroup,{component:"div"},this._createContent(this.props)):null},t.prototype._renderWindow=function(e){c.OverlapManager.renderWindow(this._uuid,this._createContent(e))},t.prototype._createContent=function(e){return e.isOpened?(c.OverlapManager.registerWindow(this._uuid),s.createElement(n,i.__assign({},e,{key:this._uuid,zIndex:c.OverlapManager.getZindex(this._uuid)}),e.children)):(c.OverlapManager.unregisterWindow(this._uuid),null)},t.prototype._subscribe=function(){c.OverlapManager.getStream().on(this._zIndexUpdateEvent,this._onZIndexUpdate)},t.prototype._unsubscribe=function(){c.OverlapManager.getStream().off(this._zIndexUpdateEvent,this._onZIndexUpdate)},t}(s.PureComponent),t.displayName="Overlapable("+(e.displayName||"Component")+")",t}var i,s,a,c,u,l,d;Object.defineProperty(t,"__esModule",{value:!0}),i=n(5),s=n(2),a=n(46),c=n(188),u=n(191),l=n(108),d=n(64),t.makeOverlapable=r},191:function(e,t,n){"use strict";function o(e){return t=function(t){function n(e){var n=t.call(this,e)||this;return n._registerWillEnterCb=function(e){n._willEnter.push(e)},n._registerDidEnterCb=function(e){n._didEnter.push(e)},n._registerWillLeaveCb=function(e){n._willLeave.push(e)},n._registerDidLeaveCb=function(e){n._didLeave.push(e)},n._willEnter=[],n._didEnter=[],n._willLeave=[],n._didLeave=[],n}return r.__extends(n,t),n.prototype.getChildContext=function(){return{lifecycleProvider:{registerWillEnterCb:this._registerWillEnterCb,registerDidEnterCb:this._registerDidEnterCb,registerWillLeaveCb:this._registerWillLeaveCb,registerDidLeaveCb:this._registerDidLeaveCb}}},n.prototype.componentWillEnter=function(e){var t=this._willEnter.map(function(e){return new Promise(function(t){e(t)})});Promise.all(t).then(e)},n.prototype.componentDidEnter=function(){this._didEnter.forEach(function(e){e()})},n.prototype.componentWillLeave=function(e){var t=this._willLeave.map(function(e){return new Promise(function(t){e(t)})});Promise.all(t).then(e)},n.prototype.componentDidLeave=function(){this._didLeave.forEach(function(e){e()})},n.prototype.render=function(){return i.createElement(e,r.__assign({},this.props),this.props.children)},n}(i.PureComponent),t.displayName="Lifecycle Provider",t.childContextTypes={lifecycleProvider:s.object},t;var t}var r,i,s;Object.defineProperty(t,"__esModule",{value:!0}),r=n(5),i=n(2),s=n(86),t.makeTransitionGroupLifecycleProvider=o},201:function(e,t){e.exports={inputWrapper:"inputWrapper-23iUt2Ae-",textInput:"textInput-3hvomQp9-",error:"error-2ydrzcvg-",success:"success-2y4Cbw_L-",
xsmall:"xsmall-2Dz_yiDV-",small:"small-3g0mV7FW-",large:"large-CZ_w52Xn-",iconed:"iconed-2X3rffL9-",inputIcon:"inputIcon-nJhQLYdg-",clearable:"clearable-3HVD9v3B-",clearIcon:"clearIcon-UZyPhrkf-",grouped:"grouped-2xS7_jZ2-"}},255:function(e,t){e.exports={loader:"loader-1aihbDEL-",warning:"warning-1sksz0Rq-",danger:"danger-1jVFBwRj-",xsmall:"xsmall-1XIYvP4K-",disabled:"disabled-2jaDvv_v-",button:"button-2jCWN5M1-",hiddenText:"hiddenText-13D-S4nC-",secondary:"secondary-2H-Jwmir-",small:"small-2fwP8rrU-",base:"base-2PiGQ3aT-",active:"active-3Eem2fUt-",ghost:"ghost-2xkVjo4o-",success:"success-13aJxw0L-",large:"large-1a-qmr37-",growable:"growable-S0qQuxEB-",link:"link-1v4pOPj2-",grouped:"grouped-3T2Y_EXg-",text:"text-1d01iK8L-",secondaryScript:"secondaryScript-3pO7_bSM-",withPadding:"withPadding-UPhHkA1c-",primary:"primary-nwbhr-QZ-"}},256:function(e,t){e.exports={dialog:"dialog-2MaUXXMw-",dragging:"dragging-3oeGgbIQ-"}},257:function(e,t){e.exports={loader:"loader-3q6az1FO-",item:"item-I1y2jPt8-","tv-button-loader":"tv-button-loader-or3q47Bu-",black:"black-29_3FgL9-",white:"white-PhPAMkPg-"}},258:function(e,t){e.exports={calendar:"calendar-31T-f8xW-",header:"header-1IspLgQG-",title:"title-165i_Hrv-",switchBtn:"switchBtn-3TukPHdl-",prev:"prev-x9isN-kp-",next:"next-34HZFkxR-",month:"month-2hQY5F0z-",weekdays:"weekdays-uTDB6j1H-",weeks:"weeks-2XtkuRel-",week:"week-5_tvG-8b-",day:"day-1IQ3pxmF-",disabled:"disabled-3CCvhen1-",selected:"selected-1HN89txM-",currentDay:"currentDay-3Ojny1au-",otherMonth:"otherMonth-3Wqk07bY-"}},259:function(e,t){e.exports={clock:"clock-24NOooZu-",header:"header-2zhGNKci-",number:"number-2B8nA4rf-",active:"active-p8XQNXmZ-",body:"body-1lkcbofs-",clockFace:"clockFace-ratNcUJ8-",face:"face-2S_dz-Lt-",inner:"inner-1O9iOFrM-",hand:"hand-14LdqePA-",knob:"knob-3OZv5WLP-",centerDot:"centerDot-1Fru2d4j-"}},322:function(e,t,n){"use strict";function o(e){switch(e){case"default":return u.base;case"primary":return u.primary;case"secondary":return u.secondary;case"secondary-script":return u.secondaryScript;case"success":return u.success;case"warning":return u.warning;case"danger":return u.danger;case"link":return u.link;default:return""}}function r(e){switch(e){case"xsmall":return u.xsmall;case"small":return u.small;case"large":return u.large;default:return""}}function i(e){switch(e){case"ghost":return u.ghost;default:return""}}function s(e){var t,n=e.active,s=void 0===n||n,h=e.children,m=e.className,f=void 0===m?"":m,_=e.disabled,v=void 0!==_&&_,g=e.grouped,y=void 0!==g&&g,w=e.growable,E=void 0!==w&&w,M=e.id,b=void 0===M?0:M,C=e.onClick,k=e.reference,x=e.size,D=e.theme,S=e.type,P=void 0===S?"default":S,T=e.loading,N=void 0!==T&&T,L=e.withPadding,O=void 0===L||L,H=e.title,I=void 0===H?"":H,W=e.disabledClassName,z=e.tabIndex,j=void 0===z?0:z,F=e.component,V=void 0===F?"button":F,R=e.target,Y=void 0===R?"":R,G=e.href,U=void 0===G?"":G,B=c((t={},t[f]=!!f,t[u.button]=!0,t[u.active]=s&&!v,t[W||u.disabled]=v,t[u.grouped]=y,t[u.growable]=E,t[u.withPadding]=O,t[r(x)]=!!x,t[i(D)]=!!D,t[o(P)]=!0,
xsmall:"xsmall-2Dz_yiDV-",small:"small-3g0mV7FW-",large:"large-CZ_w52Xn-",iconed:"iconed-2X3rffL9-",inputIcon:"inputIcon-nJhQLYdg-",clearable:"clearable-3HVD9v3B-",clearIcon:"clearIcon-UZyPhrkf-",grouped:"grouped-2xS7_jZ2-"}},255:function(e,t){e.exports={ghost:"ghost-2xkVjo4o-",primary:"primary-nwbhr-QZ-",success:"success-13aJxw0L-",danger:"danger-1jVFBwRj-",warning:"warning-1sksz0Rq-",secondary:"secondary-2H-Jwmir-",button:"button-2jCWN5M1-",withPadding:"withPadding-UPhHkA1c-",hiddenText:"hiddenText-13D-S4nC-",text:"text-1d01iK8L-",loader:"loader-1aihbDEL-",base:"base-2PiGQ3aT-",secondaryScript:"secondaryScript-3pO7_bSM-",link:"link-1v4pOPj2-",xsmall:"xsmall-1XIYvP4K-",small:"small-2fwP8rrU-",large:"large-1a-qmr37-",grouped:"grouped-3T2Y_EXg-",growable:"growable-S0qQuxEB-",active:"active-3Eem2fUt-",disabled:"disabled-2jaDvv_v-"}},256:function(e,t){e.exports={dialog:"dialog-2MaUXXMw-",dragging:"dragging-3oeGgbIQ-"}},257:function(e,t){e.exports={loader:"loader-3q6az1FO-",item:"item-I1y2jPt8-","tv-button-loader":"tv-button-loader-or3q47Bu-",black:"black-29_3FgL9-",white:"white-PhPAMkPg-"}},258:function(e,t){e.exports={calendar:"calendar-31T-f8xW-",header:"header-1IspLgQG-",title:"title-165i_Hrv-",switchBtn:"switchBtn-3TukPHdl-",prev:"prev-x9isN-kp-",next:"next-34HZFkxR-",month:"month-2hQY5F0z-",weekdays:"weekdays-uTDB6j1H-",weeks:"weeks-2XtkuRel-",week:"week-5_tvG-8b-",day:"day-1IQ3pxmF-",disabled:"disabled-3CCvhen1-",selected:"selected-1HN89txM-",currentDay:"currentDay-3Ojny1au-",otherMonth:"otherMonth-3Wqk07bY-"}},259:function(e,t){e.exports={clock:"clock-24NOooZu-",header:"header-2zhGNKci-",number:"number-2B8nA4rf-",active:"active-p8XQNXmZ-",body:"body-1lkcbofs-",clockFace:"clockFace-ratNcUJ8-",face:"face-2S_dz-Lt-",inner:"inner-1O9iOFrM-",hand:"hand-14LdqePA-",knob:"knob-3OZv5WLP-",centerDot:"centerDot-1Fru2d4j-"}},322:function(e,t,n){"use strict";function o(e){switch(e){case"default":return u.base;case"primary":return u.primary;case"secondary":return u.secondary;case"secondary-script":return u.secondaryScript;case"success":return u.success;case"warning":return u.warning;case"danger":return u.danger;case"link":return u.link;default:return""}}function r(e){switch(e){case"xsmall":return u.xsmall;case"small":return u.small;case"large":return u.large;default:return""}}function i(e){switch(e){case"ghost":return u.ghost;default:return""}}function s(e){var t,n=e.active,s=void 0===n||n,h=e.children,m=e.className,f=void 0===m?"":m,_=e.disabled,v=void 0!==_&&_,g=e.grouped,y=void 0!==g&&g,w=e.growable,E=void 0!==w&&w,M=e.id,b=void 0===M?0:M,C=e.onClick,k=e.reference,x=e.size,D=e.theme,S=e.type,P=void 0===S?"default":S,T=e.loading,N=void 0!==T&&T,L=e.withPadding,O=void 0===L||L,H=e.title,I=void 0===H?"":H,W=e.disabledClassName,z=e.tabIndex,j=void 0===z?0:z,F=e.component,V=void 0===F?"button":F,R=e.target,Y=void 0===R?"":R,G=e.href,U=void 0===G?"":G,B=c((t={},t[f]=!!f,t[u.button]=!0,t[u.active]=s&&!v,t[W||u.disabled]=v,t[u.grouped]=y,t[u.growable]=E,t[u.withPadding]=O,t[r(x)]=!!x,t[i(D)]=!!D,t[o(P)]=!0,
t)),A="default"===P?"black":"white",X=a.createElement("span",{key:"1",className:u.text},h);return N&&(X=a.createElement("span",{key:"2",className:u.loader},a.createElement(d.Loader,{color:A}))),a.createElement(l.CSSTransitionGroup,{component:V,tabIndex:j,transitionEnterTimeout:p.dur,transitionLeaveTimeout:p.dur,transitionName:"body",className:B,disabled:v,key:b,onClick:N?void 0:C,ref:k,title:I,target:Y,href:U},a.createElement("span",{className:u.hiddenText},h),X)}var a,c,u,l,d,p;Object.defineProperty(t,"__esModule",{value:!0}),a=n(2),c=n(26),u=n(255),l=n(46),d=n(327),p=n(28),t.Button=s},323:function(e,t){"use strict";function n(e,t,n){return e+t>n&&(e=n-t),e<0&&(e=0),e}function o(e){return{x:e.pageX,y:e.pageY}}function r(e){return{x:e.touches[0].pageX,y:e.touches[0].pageY}}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){var n=this;this._drag=null,this._onMouseDragStart=function(e){e.preventDefault(),n._dragStart(o(e))},this._onTouchDragStart=function(e){n._dragStart(r(e))},this._onMouseDragMove=function(e){n._dragMove(o(e))},this._onTouchDragMove=function(e){e.preventDefault(),n._dragMove(r(e))},this._onDragStop=function(){n._drag=null,n._header.classList.remove("dragging")},this._dialog=e,this._header=t,t.addEventListener("mousedown",this._onMouseDragStart),t.addEventListener("touchstart",this._onTouchDragStart),document.addEventListener("mousemove",this._onMouseDragMove),document.addEventListener("touchmove",this._onTouchDragMove),document.addEventListener("mouseup",this._onDragStop),document.addEventListener("touchend",this._onDragStop)}return e.prototype.destroy=function(){this._header.removeEventListener("mousedown",this._onMouseDragStart),this._header.removeEventListener("touchstart",this._onTouchDragStart),document.removeEventListener("mousemove",this._onMouseDragMove),document.removeEventListener("touchmove",this._onTouchDragMove),document.removeEventListener("mouseup",this._onDragStop),document.removeEventListener("touchend",this._onDragStop)},e.prototype._dragStart=function(e){var t=this._dialog.getBoundingClientRect();this._drag={startX:e.x,startY:e.y,dialogX:t.left,dialogY:t.top},this._dialog.style.left=t.left+"px",this._dialog.style.top=t.top+"px",this._header.classList.add("dragging")},e.prototype._dragMove=function(e){var t,n;this._drag&&(t=e.x-this._drag.startX,n=e.y-this._drag.startY,this._moveDialog(this._drag.dialogX+t,this._drag.dialogY+n))},e.prototype._moveDialog=function(e,t){var o=this._dialog.getBoundingClientRect();this._dialog.style.left=n(e,o.width,window.innerWidth)+"px",this._dialog.style.top=n(t,o.height,window.innerHeight)+"px"},e}();t.DragHandler=i},324:function(e,t,n){"use strict";var o,r,i,s,a,c,u,l,d,p,h;Object.defineProperty(t,"__esModule",{value:!0}),o=n(5),r=n(2),i=n(187),s=n(189),a=n(108),c=n(107),u=n(256),l=n(323),d=n(325),p=n(26),h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._setDialog=function(e){e&&(t._dialog=e)},t}return o.__extends(t,e),t.prototype.render=function(){return r.createElement("span",{
style:{zIndex:this.props.zIndex}},r.createElement(c.OutsideEvent,{mouseDown:!0,touchStart:!0,handler:this.props.onClickOutside},r.createElement(i.Dialog,o.__assign({},this.props,{reference:this._setDialog,className:p(u.dialog,this.props.className)}),this.props.children)))},t.prototype.componentDidMount=function(){if(this._dialog){var e=this._dialog.querySelector("[data-dragg-area]");e&&(this._drag=new l.DragHandler(this._dialog,e)),this._resize=new d.ResizeHandler(this._dialog)}},t.prototype.componentWillEnter=function(e){this._resize&&this._resize.position(),e()},t.prototype.componentWillUnmount=function(){this._drag&&this._drag.destroy(),this._resize&&this._resize.destroy()},t}(r.PureComponent),t.PopupDialog=s.makeOverlapable(a.makeTransitionGroupLifecycleConsumer(h))},325:function(e,t){"use strict";function n(e,t,n){return e+t>n&&(e=n-t),e<0&&(e=0),e}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e){this._onResizeThrottled=requestAnimationFrame.bind(null,this._onResize.bind(this)),this._dialog=e,this._initialHeight=e.style.height,window.addEventListener("resize",this._onResizeThrottled)}return e.prototype.position=function(){var e,t=this._dialog.getBoundingClientRect(),n=window.innerWidth/2-t.width/2;this._dialog.style.left=n+"px",e=window.innerHeight/2-t.height/2,this._dialog.style.top=e+"px"},e.prototype.destroy=function(){window.removeEventListener("resize",this._onResizeThrottled)},e.prototype._onResize=function(){var e,t=this._dialog.getBoundingClientRect(),o=n(t.left,t.width,window.innerWidth);o!==t.left&&(this._dialog.style.left=o+"px"),e=n(t.top,t.height,window.innerHeight),e!==t.top&&(this._dialog.style.top=e+"px"),this._dialog.style.height=window.innerHeight<t.height?window.innerHeight+"px":this._initialHeight},e}();t.ResizeHandler=o},326:function(e,t,n){"use strict";function o(e){var t,n=e.className,o=e.icon,d=e.clearable,p=e.onClear,h=e.size,m=r.__rest(e,["className","icon","clearable","onClear","size"]),f=s(u.inputWrapper,(t={},t[n]=!!n,t[u.iconed]=!!o,t[u.clearable]=d,t));return i.createElement(l,r.__assign({theme:u,className:f,leftComponent:o?i.createElement(a.Icon,{key:"inputIcon",icon:o,className:u.inputIcon}):void 0,rightComponent:d?i.createElement(a.Icon,{className:u.clearIcon,icon:c,key:"clearIcon",onClick:p}):void 0,sizeMode:h},m))}var r,i,s,a,c,u,l;Object.defineProperty(t,"__esModule",{value:!0}),r=n(5),i=n(2),s=n(26),a=n(77),c=n(331),u=n(201),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.render=function(){var e,t,n,o,a=this.props,c=a.theme,u=a.error,l=a.success,d=a.sizeMode,p=a.leftComponent,h=a.rightComponent,m=a.grouped,f=a.fontSize,_=a.reference,v=a.className,g=r.__rest(a,["theme","error","success","sizeMode","leftComponent","rightComponent","grouped","fontSize","reference","className"]),y={fontSize:f},w=s(c.textInput,(n={},n[c.error]=u,n[c.success]=l,n[c[d]]=!!d,n)),E=s(c.inputWrapper,(o={},o[v]=!!v,o[c.grouped]=m,o)),M=[],b=i.createElement("input",r.__assign({ref:_,className:w,key:"textInput",
style:y},g));return p&&(e={className:s(c.leftComponent,p.props.className),key:"leftComponent"},M.push(i.cloneElement(p,e))),M.push(b),h&&(t={className:s(c.leftComponent,h.props.className),key:"rightComponent"},M.push(i.cloneElement(h,t))),i.createElement("div",{className:E},M)},t}(i.PureComponent),t.CommonTextInput=l,t.TextInput=o},327:function(e,t,n){"use strict";function o(e){var t,n=e.color,o=void 0===n?"black":n,u=s(c.item,(t={},t[c[o]]=!!o,t));return r.createElement(i.CSSTransitionGroup,{transitionName:"loader",transitionAppear:!0,transitionAppearTimeout:2*a.dur,transitionEnter:!1,transitionLeave:!1},r.createElement("span",{className:c.loader},r.createElement("span",{className:u}),r.createElement("span",{className:u}),r.createElement("span",{className:u})))}var r,i,s,a,c;Object.defineProperty(t,"__esModule",{value:!0}),r=n(2),i=n(46),s=n(26),a=n(28),c=n(257),t.Loader=o},500:function(e,t,n){"use strict";function o(e){i({isOpened:!1}),i({isOpened:!0,onClose:function(){i({isOpened:!1}),u=null},dateOnly:e.model().mainSeries().isDWM(),onGoToDate:function(t){r(e,t)}})}function r(e,t){void 0!==e.model().timeScale().tickMarks().minIndex&&(i({isOpened:!0,processing:!0}),e.model().gotoTime(t).done(function(t){e.model().mainSeries().setGotoDateResult(t)}).always(function(){i({isOpened:!1,processing:!1})}))}function i(e){u||(u=document.createElement("div"),document.body.appendChild(u)),a.render(s.createElement(c.GoToDateDialog,e),u)}var s,a,c,u;Object.defineProperty(t,"__esModule",{value:!0}),s=n(2),a=n(55),c=n(1104),t.showGoToDateDialog=o},504:function(e,t,n){"use strict";var o,r,i,s,a,c,u,l,d,p,h;Object.defineProperty(t,"__esModule",{value:!0}),o=n(5),r=n(2),i=n(77),s=n(326),a=n(201),c=n(26),u=n(46),l=n(28),d=n(107),p=n(662),h=function(e){function t(t){var n=e.call(this,t)||this;return n._onShowPicker=function(e){if(e){var t=e.getBoundingClientRect();t.width&&t.right>window.innerWidth?e.style.right="0":e.style.right="auto"}},n._onChange=function(){var e=n._input.value;n.setState({value:e}),n.props.onType(n.props.isValid(e)?e:null)},n._onKeyDown=function(e){n.props.onHidePicker()},n._onKeyPress=function(e){if(e.charCode){var t=String.fromCharCode(e.charCode);n.props.inputRegex.test(t)||e.preventDefault()}},n._onKeyUp=function(e){var t,o;8!==e.keyCode&&(t=n._input.value,(o=n.props.fixValue(t))!==t&&n.setState({value:o}))},n.state={value:t.value},n}return o.__extends(t,e),t.prototype.componentWillReceiveProps=function(e){e.value!==this.props.value&&this.setState({value:e.value})},t.prototype.render=function(){var e,t=this,n=c(p.inputIcon,(e={},e[p.disabled]=this.props.disabled,e));return r.createElement("div",{className:p.pickerInput},r.createElement(s.CommonTextInput,{value:this.state.value,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onChange:this._onChange,onFocus:this.props.onShowPicker,onClick:this.props.onShowPicker,reference:function(e){return t._input=e},rightComponent:r.createElement(i.Icon,{icon:this.props.icon,className:n,onClick:this.props.disabled?void 0:this.props.onShowPicker}),

View File

@@ -1,7 +1,7 @@
webpackJsonp([2],{108:function(e,t,n){"use strict";function o(e){return t=function(t){function n(e,n){var o=t.call(this,e,n)||this;return o._getWrappedComponent=function(e){o._instance=e},o}return r.__extends(n,t),n.prototype.componentDidMount=function(){this._instance.componentWillEnter&&this.context.lifecycleProvider.registerWillEnterCb(this._instance.componentWillEnter.bind(this._instance)),this._instance.componentDidEnter&&this.context.lifecycleProvider.registerDidEnterCb(this._instance.componentDidEnter.bind(this._instance)),this._instance.componentWillLeave&&this.context.lifecycleProvider.registerWillLeaveCb(this._instance.componentWillLeave.bind(this._instance)),this._instance.componentDidLeave&&this.context.lifecycleProvider.registerDidLeaveCb(this._instance.componentDidLeave.bind(this._instance))},n.prototype.render=function(){return i.createElement(e,r.__assign({},this.props,{ref:this._getWrappedComponent}),this.props.children)},n}(i.PureComponent),t.displayName="Lifecycle Consumer",t.contextTypes={lifecycleProvider:a.object},t;var t}var r,i,a,s;Object.defineProperty(t,"__esModule",{value:!0}),r=n(5),i=n(2),a=n(86),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t}(i.PureComponent),t.LifecycleConsumer=s,t.makeTransitionGroupLifecycleConsumer=o},153:function(e,t){e.exports={body:"body-1yAIljnK-"}},154:function(e,t){e.exports={footer:"footer-AwxgkLHY-"}},155:function(e,t){e.exports={header:"header-2Hz0Lxou-",close:"close-3H_MMLbw-"}},156:function(e,t){e.exports={message:"message-1CYdTy_T-",error:"error-1u_m-Ehm-"}},157:function(e,t){e.exports={dialog:"dialog-13-QRYuG-",rounded:"rounded-1GLivxii-",shadowed:"shadowed-30OTTAts-"}},182:function(e,t,n){"use strict";function o(e){return r.createElement("div",{className:i.body,ref:e.reference},e.children)}var r,i;Object.defineProperty(t,"__esModule",{value:!0}),r=n(2),i=n(153),t.Body=o},183:function(e,t,n){"use strict";var o,r,i,a;Object.defineProperty(t,"__esModule",{value:!0}),o=n(185),t.Header=o.Header,r=n(184),t.Footer=r.Footer,i=n(182),t.Body=i.Body,a=n(186),t.Message=a.Message},184:function(e,t,n){"use strict";function o(e){return r.createElement("div",{className:i.footer,ref:e.reference},e.children)}var r,i;Object.defineProperty(t,"__esModule",{value:!0}),r=n(2),i=n(154),t.Footer=o},185:function(e,t,n){"use strict";function o(e){return r.createElement("div",{className:i.header,"data-dragg-area":!0,ref:e.reference},e.children,r.createElement(s.Icon,{className:i.close,icon:a,onClick:e.onClose}))}var r,i,a,s;Object.defineProperty(t,"__esModule",{value:!0}),r=n(2),i=n(155),a=n(109),s=n(77),t.Header=o},186:function(e,t,n){"use strict";function o(e){var t,n;return e.text?t=r.createElement("span",null,e.text):e.html&&(t=r.createElement("span",{dangerouslySetInnerHTML:{__html:e.html}})),n=i.message,e.isError&&(n+=" "+i.error),r.createElement(a.CSSTransitionGroup,{transitionName:"message",transitionEnterTimeout:c.dur,transitionLeaveTimeout:c.dur},t?r.createElement("div",{className:n,key:"0"
},r.createElement(s.OutsideEvent,{mouseDown:!0,touchStart:!0,handler:e.onClickOutside},t)):null)}var r,i,a,s,c;Object.defineProperty(t,"__esModule",{value:!0}),r=n(2),i=n(156),a=n(46),s=n(107),c=n(28),t.Message=o},187:function(e,t,n){"use strict";function o(e){var t,n=e.rounded,o=void 0===n||n,s=e.shadowed,c=void 0===s||s,l=e.className,u=void 0===l?"":l,p=a(i.dialog,(t={},t[u]=!!u,t[i.rounded]=o,t[i.shadowed]=c,t[i.animated]=i.animated,t)),d={bottom:e.bottom,left:e.left,maxWidth:e.width,right:e.right,top:e.top,zIndex:e.zIndex};return r.createElement("div",{className:p,ref:e.reference,style:d,onMouseDown:e.onMouseDown,onMouseUp:e.onMouseUp,onClick:e.onClick},e.children)}var r,i,a;Object.defineProperty(t,"__esModule",{value:!0}),r=n(2),i=n(157),a=n(26),t.Dialog=o},188:function(e,t,n){"use strict";function o(){p=document.createElement("div"),document.body.appendChild(p),i()}function r(e,t){d.getItems().forEach(function(n){n!==t&&f.emitEvent(e+":"+n)})}function i(e){s.render(a.createElement(c.TransitionGroup,{component:"div"},Array.from(h.values())),p,e)}var a,s,c,l,u,p,d,m,f,h;Object.defineProperty(t,"__esModule",{value:!0}),a=n(2),s=n(55),c=n(46),l=n(110),u=function(){function e(){this._storage=[]}return e.prototype.add=function(e){this._storage.push(e)},e.prototype.remove=function(e){this._storage=this._storage.filter(function(t){return e!==t})},e.prototype.getIndex=function(e){return this._storage.findIndex(function(t){return e===t})},e.prototype.toTop=function(e){this.remove(e),this.add(e)},e.prototype.has=function(e){return this._storage.includes(e)},e.prototype.getItems=function(){return this._storage},e}(),t.EVENTS={ZindexUpdate:"ZindexUpdate"},d=new u,m=150,f=new l,h=new Map,function(e){function n(e){d.has(e)||(d.add(e),r(t.EVENTS.ZindexUpdate,e))}function o(e){d.remove(e),h.delete(e)}function a(e){return d.getIndex(e)+m}function s(e,t,n){h.set(e,t),i(n)}function c(e,t){o(e),i(t)}function l(){return f}e.registerWindow=n,e.unregisterWindow=o,e.getZindex=a,e.renderWindow=s,e.removeWindow=c,e.getStream=l}(t.OverlapManager||(t.OverlapManager={})),o()},189:function(e,t,n){"use strict";function o(e){return t=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(n,t),n.prototype.componentWillEnter=function(e){this.props.beforeOpen?this.props.beforeOpen(e):e()},n.prototype.componentDidEnter=function(){this.props.afterOpen&&this.props.afterOpen()},n.prototype.componentWillLeave=function(e){this.props.beforeClose?this.props.beforeClose(e):e()},n.prototype.componentDidLeave=function(){this.props.afterClose&&this.props.afterClose()},n.prototype.render=function(){return a.createElement(e,i.__assign({},this.props))},n}(a.PureComponent),t.displayName="OverlapLifecycle("+(e.displayName||"Component")+")",t;var t}function r(e){var t,n=l.makeTransitionGroupLifecycleProvider(u.makeTransitionGroupLifecycleConsumer(o(e)));return t=function(e){function t(t){var n=e.call(this,t)||this;return n._onZIndexUpdate=function(){
n.props.isOpened&&("parent"===n.props.root?n.forceUpdate():n._renderWindow(n.props))},n._uuid=p.guid(),n._zIndexUpdateEvent=c.EVENTS.ZindexUpdate+":"+n._uuid,n}return i.__extends(t,e),t.prototype.componentDidMount=function(){this._subscribe()},t.prototype.componentWillUnmount=function(){this._unsubscribe(),c.OverlapManager.removeWindow(this._uuid)},t.prototype.componentWillReceiveProps=function(e){"parent"!==this.props.root&&this._renderWindow(e)},t.prototype.render=function(){return"parent"===this.props.root?a.createElement(s.TransitionGroup,{component:"div"},this._createContent(this.props)):null},t.prototype._renderWindow=function(e){c.OverlapManager.renderWindow(this._uuid,this._createContent(e))},t.prototype._createContent=function(e){return e.isOpened?(c.OverlapManager.registerWindow(this._uuid),a.createElement(n,i.__assign({},e,{key:this._uuid,zIndex:c.OverlapManager.getZindex(this._uuid)}),e.children)):(c.OverlapManager.unregisterWindow(this._uuid),null)},t.prototype._subscribe=function(){c.OverlapManager.getStream().on(this._zIndexUpdateEvent,this._onZIndexUpdate)},t.prototype._unsubscribe=function(){c.OverlapManager.getStream().off(this._zIndexUpdateEvent,this._onZIndexUpdate)},t}(a.PureComponent),t.displayName="Overlapable("+(e.displayName||"Component")+")",t}var i,a,s,c,l,u,p;Object.defineProperty(t,"__esModule",{value:!0}),i=n(5),a=n(2),s=n(46),c=n(188),l=n(191),u=n(108),p=n(64),t.makeOverlapable=r},191:function(e,t,n){"use strict";function o(e){return t=function(t){function n(e){var n=t.call(this,e)||this;return n._registerWillEnterCb=function(e){n._willEnter.push(e)},n._registerDidEnterCb=function(e){n._didEnter.push(e)},n._registerWillLeaveCb=function(e){n._willLeave.push(e)},n._registerDidLeaveCb=function(e){n._didLeave.push(e)},n._willEnter=[],n._didEnter=[],n._willLeave=[],n._didLeave=[],n}return r.__extends(n,t),n.prototype.getChildContext=function(){return{lifecycleProvider:{registerWillEnterCb:this._registerWillEnterCb,registerDidEnterCb:this._registerDidEnterCb,registerWillLeaveCb:this._registerWillLeaveCb,registerDidLeaveCb:this._registerDidLeaveCb}}},n.prototype.componentWillEnter=function(e){var t=this._willEnter.map(function(e){return new Promise(function(t){e(t)})});Promise.all(t).then(e)},n.prototype.componentDidEnter=function(){this._didEnter.forEach(function(e){e()})},n.prototype.componentWillLeave=function(e){var t=this._willLeave.map(function(e){return new Promise(function(t){e(t)})});Promise.all(t).then(e)},n.prototype.componentDidLeave=function(){this._didLeave.forEach(function(e){e()})},n.prototype.render=function(){return i.createElement(e,r.__assign({},this.props),this.props.children)},n}(i.PureComponent),t.displayName="Lifecycle Provider",t.childContextTypes={lifecycleProvider:a.object},t;var t}var r,i,a;Object.defineProperty(t,"__esModule",{value:!0}),r=n(5),i=n(2),a=n(86),t.makeTransitionGroupLifecycleProvider=o},201:function(e,t){e.exports={inputWrapper:"inputWrapper-23iUt2Ae-",textInput:"textInput-3hvomQp9-",error:"error-2ydrzcvg-",success:"success-2y4Cbw_L-",
xsmall:"xsmall-2Dz_yiDV-",small:"small-3g0mV7FW-",large:"large-CZ_w52Xn-",iconed:"iconed-2X3rffL9-",inputIcon:"inputIcon-nJhQLYdg-",clearable:"clearable-3HVD9v3B-",clearIcon:"clearIcon-UZyPhrkf-",grouped:"grouped-2xS7_jZ2-"}},233:function(e,t,n){"use strict";function o(e,t,n){function o(e){p||(p=document.createElement("div"),document.body.appendChild(p)),l.render(c.createElement(u.TakeSnapshotModal,e),p)}function r(){o({isOpened:!1})}void 0===t&&(t={}),a.trackEvent("GUI","Get image button");var p;o({isOpened:!1}),i.takeSnapshot(e,function(i){var a,c;n&&n(i),a="",a=s.enabled("charting_library_base")?(t.snapshotUrl?"":"https://www.tradingview.com/x/")+i:window.location.protocol+"//"+window.location.host+"/x/"+i+"/",c=e.activeChartWidget.value().symbolProperty().value(),o({isOpened:!0,onClose:r,imageUrl:a,symbol:c})},function(){o({isOpened:!0,onClose:r,error:window.t("URL cannot be received")})},{onWidget:e.onWidget,snapshotUrl:t.snapshotUrl}),o({isOpened:!0,onClose:r})}function r(e,t,n){i.takeSnapshot(e,function(e){n&&n(e)},function(){console.warn(window.t("Error while trying to create snapshot."))},{snapshotUrl:t.snapshotUrl})}var i,a,s,c,l,u;Object.defineProperty(t,"__esModule",{value:!0}),n(23),i=n(435),a=n(48),s=n(7),c=n(2),l=n(55),u=n(1106),t.getImageOfChart=o,t.getImageOfChartSilently=r},255:function(e,t){e.exports={loader:"loader-1aihbDEL-",warning:"warning-1sksz0Rq-",danger:"danger-1jVFBwRj-",xsmall:"xsmall-1XIYvP4K-",disabled:"disabled-2jaDvv_v-",button:"button-2jCWN5M1-",hiddenText:"hiddenText-13D-S4nC-",secondary:"secondary-2H-Jwmir-",small:"small-2fwP8rrU-",base:"base-2PiGQ3aT-",active:"active-3Eem2fUt-",ghost:"ghost-2xkVjo4o-",success:"success-13aJxw0L-",large:"large-1a-qmr37-",growable:"growable-S0qQuxEB-",link:"link-1v4pOPj2-",grouped:"grouped-3T2Y_EXg-",text:"text-1d01iK8L-",secondaryScript:"secondaryScript-3pO7_bSM-",withPadding:"withPadding-UPhHkA1c-",primary:"primary-nwbhr-QZ-"}},257:function(e,t){e.exports={loader:"loader-3q6az1FO-",item:"item-I1y2jPt8-","tv-button-loader":"tv-button-loader-or3q47Bu-",black:"black-29_3FgL9-",white:"white-PhPAMkPg-"}},322:function(e,t,n){"use strict";function o(e){switch(e){case"default":return l.base;case"primary":return l.primary;case"secondary":return l.secondary;case"secondary-script":return l.secondaryScript;case"success":return l.success;case"warning":return l.warning;case"danger":return l.danger;case"link":return l.link;default:return""}}function r(e){switch(e){case"xsmall":return l.xsmall;case"small":return l.small;case"large":return l.large;default:return""}}function i(e){switch(e){case"ghost":return l.ghost;default:return""}}function a(e){
xsmall:"xsmall-2Dz_yiDV-",small:"small-3g0mV7FW-",large:"large-CZ_w52Xn-",iconed:"iconed-2X3rffL9-",inputIcon:"inputIcon-nJhQLYdg-",clearable:"clearable-3HVD9v3B-",clearIcon:"clearIcon-UZyPhrkf-",grouped:"grouped-2xS7_jZ2-"}},233:function(e,t,n){"use strict";function o(e,t,n){function o(e){p||(p=document.createElement("div"),document.body.appendChild(p)),l.render(c.createElement(u.TakeSnapshotModal,e),p)}function r(){o({isOpened:!1})}void 0===t&&(t={}),a.trackEvent("GUI","Get image button");var p;o({isOpened:!1}),i.takeSnapshot(e,function(i){var a,c;n&&n(i),a="",a=s.enabled("charting_library_base")?(t.snapshotUrl?"":"https://www.tradingview.com/x/")+i:window.location.protocol+"//"+window.location.host+"/x/"+i+"/",c=e.activeChartWidget.value().symbolProperty().value(),o({isOpened:!0,onClose:r,imageUrl:a,symbol:c})},function(){o({isOpened:!0,onClose:r,error:window.t("URL cannot be received")})},{onWidget:e.onWidget,snapshotUrl:t.snapshotUrl}),o({isOpened:!0,onClose:r})}function r(e,t,n){i.takeSnapshot(e,function(e){n&&n(e)},function(){console.warn(window.t("Error while trying to create snapshot."))},{snapshotUrl:t.snapshotUrl})}var i,a,s,c,l,u;Object.defineProperty(t,"__esModule",{value:!0}),n(23),i=n(435),a=n(48),s=n(7),c=n(2),l=n(55),u=n(1106),t.getImageOfChart=o,t.getImageOfChartSilently=r},255:function(e,t){e.exports={ghost:"ghost-2xkVjo4o-",primary:"primary-nwbhr-QZ-",success:"success-13aJxw0L-",danger:"danger-1jVFBwRj-",warning:"warning-1sksz0Rq-",secondary:"secondary-2H-Jwmir-",button:"button-2jCWN5M1-",withPadding:"withPadding-UPhHkA1c-",hiddenText:"hiddenText-13D-S4nC-",text:"text-1d01iK8L-",loader:"loader-1aihbDEL-",base:"base-2PiGQ3aT-",secondaryScript:"secondaryScript-3pO7_bSM-",link:"link-1v4pOPj2-",xsmall:"xsmall-1XIYvP4K-",small:"small-2fwP8rrU-",large:"large-1a-qmr37-",grouped:"grouped-3T2Y_EXg-",growable:"growable-S0qQuxEB-",active:"active-3Eem2fUt-",disabled:"disabled-2jaDvv_v-"}},257:function(e,t){e.exports={loader:"loader-3q6az1FO-",item:"item-I1y2jPt8-","tv-button-loader":"tv-button-loader-or3q47Bu-",black:"black-29_3FgL9-",white:"white-PhPAMkPg-"}},322:function(e,t,n){"use strict";function o(e){switch(e){case"default":return l.base;case"primary":return l.primary;case"secondary":return l.secondary;case"secondary-script":return l.secondaryScript;case"success":return l.success;case"warning":return l.warning;case"danger":return l.danger;case"link":return l.link;default:return""}}function r(e){switch(e){case"xsmall":return l.xsmall;case"small":return l.small;case"large":return l.large;default:return""}}function i(e){switch(e){case"ghost":return l.ghost;default:return""}}function a(e){
var t,n=e.active,a=void 0===n||n,m=e.children,f=e.className,h=void 0===f?"":f,v=e.disabled,g=void 0!==v&&v,y=e.grouped,_=void 0!==y&&y,b=e.growable,w=void 0!==b&&b,E=e.id,C=void 0===E?0:E,x=e.onClick,k=e.reference,O=e.size,P=e.theme,M=e.type,L=void 0===M?"default":M,N=e.loading,I=void 0!==N&&N,T=e.withPadding,W=void 0===T||T,U=e.title,j=void 0===U?"":U,S=e.disabledClassName,D=e.tabIndex,A=void 0===D?0:D,z=e.component,V=void 0===z?"button":z,B=e.target,G=void 0===B?"":B,H=e.href,Z=void 0===H?"":H,F=c((t={},t[h]=!!h,t[l.button]=!0,t[l.active]=a&&!g,t[S||l.disabled]=g,t[l.grouped]=_,t[l.growable]=w,t[l.withPadding]=W,t[r(O)]=!!O,t[i(P)]=!!P,t[o(L)]=!0,t)),R="default"===L?"black":"white",Y=s.createElement("span",{key:"1",className:l.text},m);return I&&(Y=s.createElement("span",{key:"2",className:l.loader},s.createElement(p.Loader,{color:R}))),s.createElement(u.CSSTransitionGroup,{component:V,tabIndex:A,transitionEnterTimeout:d.dur,transitionLeaveTimeout:d.dur,transitionName:"body",className:F,disabled:g,key:C,onClick:I?void 0:x,ref:k,title:j,target:G,href:Z},s.createElement("span",{className:l.hiddenText},m),Y)}var s,c,l,u,p,d;Object.defineProperty(t,"__esModule",{value:!0}),s=n(2),c=n(26),l=n(255),u=n(46),p=n(327),d=n(28),t.Button=a},326:function(e,t,n){"use strict";function o(e){var t,n=e.className,o=e.icon,p=e.clearable,d=e.onClear,m=e.size,f=r.__rest(e,["className","icon","clearable","onClear","size"]),h=a(l.inputWrapper,(t={},t[n]=!!n,t[l.iconed]=!!o,t[l.clearable]=p,t));return i.createElement(u,r.__assign({theme:l,className:h,leftComponent:o?i.createElement(s.Icon,{key:"inputIcon",icon:o,className:l.inputIcon}):void 0,rightComponent:p?i.createElement(s.Icon,{className:l.clearIcon,icon:c,key:"clearIcon",onClick:d}):void 0,sizeMode:m},f))}var r,i,a,s,c,l,u;Object.defineProperty(t,"__esModule",{value:!0}),r=n(5),i=n(2),a=n(26),s=n(77),c=n(331),l=n(201),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.render=function(){var e,t,n,o,s=this.props,c=s.theme,l=s.error,u=s.success,p=s.sizeMode,d=s.leftComponent,m=s.rightComponent,f=s.grouped,h=s.fontSize,v=s.reference,g=s.className,y=r.__rest(s,["theme","error","success","sizeMode","leftComponent","rightComponent","grouped","fontSize","reference","className"]),_={fontSize:h},b=a(c.textInput,(n={},n[c.error]=l,n[c.success]=u,n[c[p]]=!!p,n)),w=a(c.inputWrapper,(o={},o[g]=!!g,o[c.grouped]=f,o)),E=[],C=i.createElement("input",r.__assign({ref:v,className:b,key:"textInput",style:_},y));return d&&(e={className:a(c.leftComponent,d.props.className),key:"leftComponent"},E.push(i.cloneElement(d,e))),E.push(C),m&&(t={className:a(c.leftComponent,m.props.className),key:"rightComponent"},E.push(i.cloneElement(m,t))),i.createElement("div",{className:w},E)},t}(i.PureComponent),t.CommonTextInput=u,t.TextInput=o},327:function(e,t,n){"use strict";function o(e){var t,n=e.color,o=void 0===n?"black":n,l=a(c.item,(t={},t[c[o]]=!!o,t));return r.createElement(i.CSSTransitionGroup,{transitionName:"loader",transitionAppear:!0,
transitionAppearTimeout:2*s.dur,transitionEnter:!1,transitionLeave:!1},r.createElement("span",{className:c.loader},r.createElement("span",{className:l}),r.createElement("span",{className:l}),r.createElement("span",{className:l})))}var r,i,a,s,c;Object.defineProperty(t,"__esModule",{value:!0}),r=n(2),i=n(46),a=n(26),s=n(28),c=n(257),t.Loader=o},660:function(e,t){e.exports={modal:"modal-2zD2ALtD-",content:"content-2CGvrzwk-",form:"form-bYALUAA--",copyForm:"copyForm-11zYGUUD-",copyBtn:"copyBtn-15A10th9-",actions:"actions-3V3KnGhD-",link:"link-2LhR6WUZ-",socials:"socials-3Rpn-Ob0-"}},663:function(e,t){e.exports={modal:"modal-3RDUwmY4-",backdrop:"backdrop-21zUnyPe-",animated:"animated-1bktBs9g-",notAnimated:"notAnimated-1-OJgr7K-"}},1074:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a,s,c,l,u,p,d,m;Object.defineProperty(t,"__esModule",{value:!0}),a=Object.assign||function(e){var t,n,o;for(t=1;t<arguments.length;t++){n=arguments[t];for(o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s=function(){function e(e,t){var n,o;for(n=0;n<t.length;n++)o=t[n],o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),c=function(e,t,n){for(var o,r,i,a,s,c,l=!0;l;){if(o=e,r=t,i=n,l=!1,null===o&&(o=Function.prototype),void 0!==(a=Object.getOwnPropertyDescriptor(o,r))){if("value"in a)return a.value;if(void 0===(c=a.get))return;return c.call(i)}if(null===(s=Object.getPrototypeOf(o)))return;e=s,t=r,n=i,l=!0,a=s=void 0}},l=n(2),u=o(l),p=n(305),d=o(p),m=function(e){function t(){r(this,t),c(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return i(t,e),s(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.color,n=e.config,o=a({width:2,radius:10,length:7,color:t},n);this.spinner=new d.default(o),this.spinner.spin(this.refs.container)}},{key:"componentWillUnmount",value:function(){this.spinner.stop()}},{key:"render",value:function(){return u.default.createElement("span",{ref:"container"})}}],[{key:"propTypes",value:{config:l.PropTypes.object,color:l.PropTypes.string.isRequired},enumerable:!0},{key:"defaultProps",value:{config:{},color:"black"},enumerable:!0}]),t}(u.default.Component),t.default=m,e.exports=t.default},1106:function(e,t,n){"use strict";var o,r,i,a,s,c,l,u,p,d,m,f,h,v;Object.defineProperty(t,"__esModule",{value:!0}),o=n(5),n(23),r=n(2),i=n(1177),a=n(183),s=n(77),c=n(326),l=n(322),u=n(1184),p=n(1150),d=n(234),m=n(660),f=n(1341),h=n(1186),v=function(e){function t(t){var n=e.call(this,t)||this
;return n._hideMessages=function(){n.setState({message:"",error:""})},n._setInput=function(e){n._input=e,setTimeout(function(){e.focus(),e.select()})},n._select=function(){n._input.select()},n._shareTwitter=function(){p.Twitter.shareSnapshotInstantly(n.props.symbol||"",n.props.imageUrl||"")},n._onClose=function(){n.props.onClose&&n.props.onClose(),n._copyBtn=null},n.state={message:t.message,error:t.error},n}return o.__extends(t,e),t.prototype.componentWillReceiveProps=function(e){this.setState({message:e.message,error:e.error})},t.prototype.render=function(){var e=this,t=!this.props.imageUrl&&!this.props.message&&!this.props.error;return r.createElement(i.Modal,{isOpened:this.props.isOpened,className:m.modal,onClickOutside:this._onClose,animated:!1},r.createElement(a.Header,{onClose:this._onClose},window.t("Image URL")),r.createElement(a.Message,{text:this.state.message,isError:!1,onClickOutside:this._hideMessages}),r.createElement(a.Message,{text:this.state.error,isError:!0,onClickOutside:this._hideMessages}),r.createElement(a.Body,null,r.createElement(d.KeyboardDocumentListener,{keyCode:27,handler:this._onClose}),r.createElement("div",{className:m.content},t&&r.createElement(u.Spinner,{presetName:"mini"}),r.createElement("div",{className:m.form,style:{visibility:this.props.imageUrl?"visible":"hidden"}},r.createElement("div",{className:m.copyForm},r.createElement(c.TextInput,{reference:function(t){return t&&e._setInput(t)},readOnly:!0,value:this.props.imageUrl||"",onClick:this._select,onFocus:this._select}),r.createElement("div",{ref:function(t){return t&&e._setupClipboard(t)},"data-clipboard-text":this.props.imageUrl,className:m.copyBtn},r.createElement(l.Button,{type:"primary",theme:"ghost"},window.t("Copy")))),r.createElement("div",{className:m.actions},r.createElement("a",{className:m.link,href:this.props.imageUrl,target:"_blank"},r.createElement(s.Icon,{icon:h}),r.createElement("span",null,window.t("Save image"))),r.createElement("span",{className:m.socials,onClick:this._shareTwitter},r.createElement(s.Icon,{icon:f}),r.createElement("span",null,window.t("Tweet"))))))))},t.prototype._setupClipboard=function(e){var t=this;this._copyBtn||(this._copyBtn=e,n.e(13,function(o){var r=n(334),i=new r(e);i.on("success",function(){TradingView.trackEvent("GUI","Copied Image Link"),t.setState({message:window.t("Copied to clipboard")})}),i.on("error",function(){t.setState({message:window.t("Sorry, the Copy Link button doesn't work in your browser. Please select the link and copy it manually.")})})}))},t}(r.Component),t.TakeSnapshotModal=v},1150:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1151);t.Twitter=o.Twitter},1151:function(e,t,n){"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),o=n(1152),function(e){function t(e,t){return TradingView.isCmeWidget?t+" from cmegroup.com via @tradingview $"+e:"$"+e+" chart "+t+" via https://www.tradingview.com"}function n(e){var t=i();return{onFailure:function(){t.close()},onSuccess:function(n){t.location.href=a(e,n)}}}

View File

@@ -1,4 +1,4 @@
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n,r,o=window.webpackJsonp;window.webpackJsonp=function(i,a){for(var s,u,c=0,l=[];c<i.length;c++)u=i[c],r[u]&&l.push.apply(l,r[u]),r[u]=0;for(s in a)Object.prototype.hasOwnProperty.call(a,s)&&(e[s]=a[s]);for(o&&o(i,a);l.length;)l.shift().call(null,t);if(a[0])return n[0]=0,t(0)},n={},r={4:0},t.e=function(e,n){var o,i;if(0===r[e])return n.call(null,t);void 0!==r[e]?r[e].push(n):(r[e]=[n],o=document.getElementsByTagName("head")[0],i=document.createElement("script"),i.type="text/javascript",i.charset="utf-8",i.async=!0,i.src=t.p+""+({0:"lazy-velocity",1:"lt-pane-views",2:"take-chart-image-dialog-impl",3:"objecttreedialog",5:"ds-property-pages",6:"go-to-date-dialog-impl",7:"symbol-info-dialog-impl",8:"lazy-jquery-ui",9:"editobjectdialog",10:"ie-fallback-logos",11:"propertypagesfactory",12:"library"}[e]||e)+"."+{0:"97588d47c84409f2bc4b",1:"96fd54d9b7bad567d490",2:"d8f49fce300496653730",3:"3f22589e98a1cedf9028",5:"1a3d233b8aa4552a7048",6:"1e876e63af6d26496269",7:"f6bc55c14cd39967110a",8:"8a95a81e0b032b2d76df",9:"25fa62e6b4f8125e697e",10:"b27f679ee44b7d0992e1",11:"54b21a18753b2d8c83c2",12:"77596ca6783cb5996d22",13:"280894673316ad6ac6f2"}[e]+".js",o.appendChild(i))},t.m=e,t.c=n,t.p="bundles/",t.p=window.WEBPACK_PUBLIC_PATH||t.p,t(0)}([function(e,t,n){n(1352),n(1005),n(22),n(1161),n(741),n(192),n(54),n(36),n(1006),n(722),n(433),n(990),n(991),n(90),n(434),n(987),n(988),n(321),n(989),n(992),n(1003),n(377),n(26),n(2),n(55),n(288),e.exports=n(46)},,function(e,t,n){"use strict";e.exports=n(140)},,,,function(e,t,n){var r=n(35),o=n(126),i=n(113),a=n(129),s=n(99),u="prototype",c=function(e,t,n){var l,f,p,d,h=e&c.F,m=e&c.G,g=e&c.S,y=e&c.P,v=e&c.B,b=m?r:g?r[t]||(r[t]={}):(r[t]||{})[u],_=m?o:o[t]||(o[t]={}),w=_[u]||(_[u]={});m&&(n=t);for(l in n)f=!h&&b&&void 0!==b[l],p=(f?b:n)[l],d=v&&f?s(p,r):y&&"function"==typeof p?s(Function.call,p):p,b&&a(b,l,p,e&c.U),_[l]!=p&&i(_,l,d),y&&w[l]!=p&&(w[l]=p)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},,,,,,,,,,,function(e,t,n){"use strict";function r(e,t,n,r,i,a,s,u){var c,l,f;if(o(t),!e)throw void 0===t?c=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings."):(l=[n,r,i,a,s,u],f=0,c=Error(t.replace(/%s/g,function(){return l[f++]})),c.name="Invariant Violation"),c.framesToPop=1,c}var o=function(e){};e.exports=r},,,,,function(e,t){function n(e){var t,n,r=Ct[e]={};for(e=e.split(/\s+/),t=0,n=e.length;t<n;t++)r[e[t]]=!0;return r}function r(e,t,n){if(void 0===n&&1===e.nodeType){var r="data-"+t.replace(L,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:xt.isNumeric(n)?+n:A.test(n)?xt.parseJSON(n):n)}catch(e){}xt.data(e,t,n)}else n=void 0}return n}function o(e){for(var t in e)if(("data"!==t||!xt.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function i(e,t,n){
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n,r,o=window.webpackJsonp;window.webpackJsonp=function(i,a){for(var s,u,c=0,l=[];c<i.length;c++)u=i[c],r[u]&&l.push.apply(l,r[u]),r[u]=0;for(s in a)Object.prototype.hasOwnProperty.call(a,s)&&(e[s]=a[s]);for(o&&o(i,a);l.length;)l.shift().call(null,t);if(a[0])return n[0]=0,t(0)},n={},r={4:0},t.e=function(e,n){var o,i;if(0===r[e])return n.call(null,t);void 0!==r[e]?r[e].push(n):(r[e]=[n],o=document.getElementsByTagName("head")[0],i=document.createElement("script"),i.type="text/javascript",i.charset="utf-8",i.async=!0,i.src=t.p+""+({0:"lazy-velocity",1:"lt-pane-views",2:"take-chart-image-dialog-impl",3:"objecttreedialog",5:"ds-property-pages",6:"go-to-date-dialog-impl",7:"symbol-info-dialog-impl",8:"lazy-jquery-ui",9:"editobjectdialog",10:"ie-fallback-logos",11:"propertypagesfactory",12:"library"}[e]||e)+"."+{0:"97588d47c84409f2bc4b",1:"96fd54d9b7bad567d490",2:"5ae42a6bc17c617b055f",3:"3f22589e98a1cedf9028",5:"1a3d233b8aa4552a7048",6:"5faeb6b7a961fd527d9b",7:"f6bc55c14cd39967110a",8:"1803178846ddad426aeb",9:"25fa62e6b4f8125e697e",10:"b27f679ee44b7d0992e1",11:"54b21a18753b2d8c83c2",12:"19c99ed5d0307c67f071",13:"280894673316ad6ac6f2"}[e]+".js",o.appendChild(i))},t.m=e,t.c=n,t.p="bundles/",t.p=window.WEBPACK_PUBLIC_PATH||t.p,t(0)}([function(e,t,n){n(1352),n(1005),n(22),n(1161),n(741),n(192),n(54),n(36),n(1006),n(722),n(433),n(990),n(991),n(90),n(434),n(987),n(988),n(321),n(989),n(992),n(1003),n(377),n(26),n(2),n(55),n(288),e.exports=n(46)},,function(e,t,n){"use strict";e.exports=n(140)},,,,function(e,t,n){var r=n(35),o=n(126),i=n(113),a=n(129),s=n(99),u="prototype",c=function(e,t,n){var l,f,p,d,h=e&c.F,m=e&c.G,g=e&c.S,y=e&c.P,v=e&c.B,b=m?r:g?r[t]||(r[t]={}):(r[t]||{})[u],_=m?o:o[t]||(o[t]={}),w=_[u]||(_[u]={});m&&(n=t);for(l in n)f=!h&&b&&void 0!==b[l],p=(f?b:n)[l],d=v&&f?s(p,r):y&&"function"==typeof p?s(Function.call,p):p,b&&a(b,l,p,e&c.U),_[l]!=p&&i(_,l,d),y&&w[l]!=p&&(w[l]=p)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},,,,,,,,,,,function(e,t,n){"use strict";function r(e,t,n,r,i,a,s,u){var c,l,f;if(o(t),!e)throw void 0===t?c=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings."):(l=[n,r,i,a,s,u],f=0,c=Error(t.replace(/%s/g,function(){return l[f++]})),c.name="Invariant Violation"),c.framesToPop=1,c}var o=function(e){};e.exports=r},,,,,function(e,t){function n(e){var t,n,r=Ct[e]={};for(e=e.split(/\s+/),t=0,n=e.length;t<n;t++)r[e[t]]=!0;return r}function r(e,t,n){if(void 0===n&&1===e.nodeType){var r="data-"+t.replace(L,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:xt.isNumeric(n)?+n:A.test(n)?xt.parseJSON(n):n)}catch(e){}xt.data(e,t,n)}else n=void 0}return n}function o(e){for(var t in e)if(("data"!==t||!xt.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function i(e,t,n){
var r=t+"defer",o=t+"queue",i=t+"mark",a=xt._data(e,r);!a||"queue"!==n&&xt._data(e,o)||"mark"!==n&&xt._data(e,i)||setTimeout(function(){xt._data(e,o)||xt._data(e,i)||(xt.removeData(e,r,!0),a.fire())},0)}function a(){return!1}function s(){return!0}function u(e){return!e||!e.parentNode||11===e.parentNode.nodeType}function c(e,t,n){if(t=t||0,xt.isFunction(t))return xt.grep(e,function(e,r){return!!t.call(e,r,e)===n});if(t.nodeType)return xt.grep(e,function(e,r){return e===t===n});if("string"==typeof t){var r=xt.grep(e,function(e){return 1===e.nodeType});if(ie.test(t))return xt.filter(t,r,!n);t=xt.filter(t,r)}return xt.grep(e,function(e,r){return xt.inArray(e,t)>=0===n})}function l(e){var t=ce.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function f(e,t){return xt.nodeName(e,"table")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function p(e,t){if(1===t.nodeType&&xt.hasData(e)){var n,r,o,i=xt._data(e),a=xt._data(t,i),s=i.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,o=s[n].length;r<o;r++)xt.event.add(t,n,s[n][r])}a.data&&(a.data=xt.extend({},a.data))}}function d(e,t){var n;1===t.nodeType&&(t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(e),n=t.nodeName.toLowerCase(),"object"===n?t.outerHTML=e.outerHTML:"input"!==n||"checkbox"!==e.type&&"radio"!==e.type?"option"===n?t.selected=e.defaultSelected:"input"===n||"textarea"===n?t.defaultValue=e.defaultValue:"script"===n&&t.text!==e.text&&(t.text=e.text):(e.checked&&(t.defaultChecked=t.checked=e.checked),t.value!==e.value&&(t.value=e.value)),t.removeAttribute(xt.expando),t.removeAttribute("_submit_attached"),t.removeAttribute("_change_attached"))}function h(e){return void 0!==e.getElementsByTagName?e.getElementsByTagName("*"):void 0!==e.querySelectorAll?e.querySelectorAll("*"):[]}function m(e){"checkbox"!==e.type&&"radio"!==e.type||(e.defaultChecked=e.checked)}function g(e){var t=(e.nodeName||"").toLowerCase();"input"===t?m(e):"script"!==t&&void 0!==e.getElementsByTagName&&xt.grep(e.getElementsByTagName("input"),m)}function y(e){var t=bt.createElement("div");return Ce.appendChild(t),t.innerHTML=e.outerHTML,t.firstChild}function v(e,t,n){var r="width"===t?e.offsetWidth:e.offsetHeight,o="width"===t?1:0,i=4;if(r>0){if("border"!==n)for(;o<i;o+=2)n||(r-=parseFloat(xt.css(e,"padding"+Pe[o]))||0),"margin"===n?r+=parseFloat(xt.css(e,n+Pe[o]))||0:r-=parseFloat(xt.css(e,"border"+Pe[o]+"Width"))||0;return r+"px"}if(r=Ae(e,t),(r<0||null==r)&&(r=e.style[t]),Me.test(r))return r;if(r=parseFloat(r)||0,n)for(;o<i;o+=2)r+=parseFloat(xt.css(e,"padding"+Pe[o]))||0,"padding"!==n&&(r+=parseFloat(xt.css(e,"border"+Pe[o]+"Width"))||0),"margin"===n&&(r+=parseFloat(xt.css(e,n+Pe[o]))||0);return r+"px"}function b(e){return function(t,n){if("string"!=typeof t&&(n=t,t="*"),xt.isFunction(n))for(var r,o,i,a=t.toLowerCase().split(Ge),s=0,u=a.length;s<u;s++)r=a[s],i=/^\+/.test(r),i&&(r=r.substr(1)||"*"),o=e[r]=e[r]||[],o[i?"unshift":"push"](n)}}
function _(e,t,n,r,o,i){o=o||t.dataTypes[0],i=i||{},i[o]=!0;for(var a,s=e[o],u=0,c=s?s.length:0,l=e===Je;u<c&&(l||!a);u++)"string"==typeof(a=s[u](t,n,r))&&(!l||i[a]?a=void 0:(t.dataTypes.unshift(a),a=_(e,t,n,r,a,i)));return!l&&a||i["*"]||(a=_(e,t,n,r,"*",i)),a}function w(e,t){var n,r,o=xt.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);r&&xt.extend(!0,e,r)}function x(e,t,n,r){if(xt.isArray(t))xt.each(t,function(t,o){n||Re.test(e)?r(e,o):x(e+"["+("object"==typeof o?t:"")+"]",o,n,r)});else if(n||"object"!==xt.type(t))r(e,t);else for(var o in t)x(e+"["+o+"]",t[o],n,r)}function C(e,t,n){var r,o,i,a,s=e.contents,u=e.dataTypes,c=e.responseFields;for(o in c)o in n&&(t[c[o]]=n[o]);for(;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("content-type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){u.unshift(o);break}if(u[0]in n)i=u[0];else{for(o in n){if(!u[0]||e.converters[o+" "+u[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==u[0]&&u.unshift(i),n[i]}function T(e,t){e.dataFilter&&(t=e.dataFilter(t,e.dataType));var n,r,o,i,a,s,u,c,l=e.dataTypes,f={},p=l.length,d=l[0];for(n=1;n<p;n++){if(1===n)for(r in e.converters)"string"==typeof r&&(f[r.toLowerCase()]=e.converters[r]);if(i=d,"*"===(d=l[n]))d=i;else if("*"!==i&&i!==d){if(a=i+" "+d,!(s=f[a]||f["* "+d])){c=void 0;for(u in f)if(o=u.split(" "),(o[0]===i||"*"===o[0])&&(c=f[o[1]+" "+d])){u=f[u],!0===u?s=c:!0===c&&(s=u);break}}s||c||xt.error("No conversion from "+a.replace(" "," to ")),!0!==s&&(t=s?s(t):c(u(t)))}}return t}function k(){try{return new window.XMLHttpRequest}catch(e){}}function E(){try{return new window.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function S(){return setTimeout(M,0),mt=xt.now()}function M(){mt=void 0}function O(e,t){var n={};return xt.each(ht.concat.apply([],ht.slice(0,t)),function(){n[this]=e}),n}function N(e){if(!ut[e]){var t=bt.body,n=xt("<"+e+">").appendTo(t),r=n.css("display");n.remove(),"none"!==r&&""!==r||(ct||(ct=bt.createElement("iframe"),ct.frameBorder=ct.width=ct.height=0),t.appendChild(ct),lt&&ct.createElement||(lt=(ct.contentWindow||ct.contentDocument).document,lt.write((xt.support.boxModel?"<!doctype html>":"")+"<html><body>"),lt.close()),n=lt.createElement(e),lt.body.appendChild(n),r=xt.css(n,"display"),t.removeChild(ct)),ut[e]=r}return ut[e]}function D(e){return xt.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}var P,A,L,I,j,R,F,U,H,Y,W,B,V,q,z,$,G,K,X,Q,J,Z,ee,te,ne,re,oe,ie,ae,se,ue,ce,le,fe,pe,de,he,me,ge,ye,ve,be,_e,we,xe,Ce,Te,ke,Ee,Se,Me,Oe,Ne,De,Pe,Ae,Le,Ie,je,Re,Fe,Ue,He,Ye,We,Be,Ve,qe,ze,$e,Ge,Ke,Xe,Qe,Je,Ze,et,tt,nt,rt,ot,it,at,st,ut,ct,lt,ft,pt,dt,ht,mt,gt,yt,vt,bt=window.document,_t=window.navigator,wt=window.location,xt=function(){function e(){if(!i.isReady){try{bt.documentElement.doScroll("left")}catch(t){return void setTimeout(e,1)}i.ready()}}var t,n,r,o,i=function(e,n){return new i.fn.init(e,n,t)
},a=window.jQuery,s=window.$,u=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,c=/\S/,l=/^\s+/,f=/\s+$/,p=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,d=/^[\],:{}\s]*$/,h=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,m=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,g=/(?:^|:|,)(?:\s*\[)+/g,y=/(webkit)[ \/]([\w.]+)/,v=/(opera)(?:.*version)?[ \/]([\w.]+)/,b=/(msie) ([\w.]+)/,_=/(mozilla)(?:.*? rv:([\w.]+))?/,w=/-([a-z]|[0-9])/gi,x=/^-ms-/,C=function(e,t){return(t+"").toUpperCase()},T=_t.userAgent,k=Object.prototype.toString,E=Object.prototype.hasOwnProperty,S=Array.prototype.push,M=Array.prototype.slice,O=String.prototype.trim,N=Array.prototype.indexOf,D={};return i.fn=i.prototype={constructor:i,init:function(e,t,n){var r,o,a,s;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if("body"===e&&!t&&bt.body)return this.context=bt,this[0]=bt.body,this.selector=e,this.length=1,this;if("string"==typeof e){if(!(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:u.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1])return t=t instanceof i?t[0]:t,s=t?t.ownerDocument||t:bt,a=p.exec(e),a?i.isPlainObject(t)?(e=[bt.createElement(a[1])],i.fn.attr.call(e,t,!0)):e=[s.createElement(a[1])]:(a=i.buildFragment([r[1]],[s]),e=(a.cacheable?i.clone(a.fragment):a.fragment).childNodes),i.merge(this,e);if((o=bt.getElementById(r[2]))&&o.parentNode){if(o.id!==r[2])return n.find(e);this.length=1,this[0]=o}return this.context=bt,this.selector=e,this}return i.isFunction(e)?n.ready(e):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),i.makeArray(e,this))},selector:"",jquery:"1.7.2",length:0,size:function(){return this.length},toArray:function(){return M.call(this,0)},get:function(e){return null==e?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,n){var r=this.constructor();return i.isArray(e)?S.apply(r,e):i.merge(r,e),r.prevObject=this,r.context=this.context,"find"===t?r.selector=this.selector+(this.selector?" ":"")+n:t&&(r.selector=this.selector+"."+t+"("+n+")"),r},each:function(e,t){return i.each(this,e,t)},ready:function(e){return i.bindReady(),r.add(e),this},eq:function(e){return e=+e,-1===e?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(M.apply(this,arguments),"slice",M.call(arguments).join(","))},map:function(e){return this.pushStack(i.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:S,sort:[].sort,splice:[].splice},i.fn.init.prototype=i.fn,i.extend=i.fn.extend=function(){var e,t,n,r,o,a,s=arguments[0]||{},u=1,c=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[1]||{},u=2),"object"==typeof s||i.isFunction(s)||(s={}),c===u&&(s=this,--u);u<c;u++)if(null!=(e=arguments[u]))for(t in e)n=s[t],r=e[t],s!==r&&(l&&r&&(i.isPlainObject(r)||(o=i.isArray(r)))?(o?(o=!1,a=n&&i.isArray(n)?n:[]):a=n&&i.isPlainObject(n)?n:{},
@@ -16,7 +16,7 @@ this.timeStamp=e&&e.timeStamp||xt.now(),this[xt.expando]=!0},xt.Event.prototype=
r.guid=i.guid||(i.guid=xt.guid++)),this.each(function(){xt.event.add(this,e,r,n,t)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,xt(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=a),this.each(function(){xt.event.remove(this,e,n,t)})},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},live:function(e,t,n){return xt(this.context).on(e,this.selector,t,n),this},die:function(e,t){return xt(this.context).off(e,this.selector||"**",t),this},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1==arguments.length?this.off(e,"**"):this.off(t,e,n)},trigger:function(e,t){return this.each(function(){xt.event.trigger(e,t,this)})},triggerHandler:function(e,t){if(this[0])return xt.event.trigger(e,t,this[0],!0)},toggle:function(e){var t=arguments,n=e.guid||xt.guid++,r=0,o=function(n){var o=(xt._data(this,"lastToggle"+e.guid)||0)%r;return xt._data(this,"lastToggle"+e.guid,o+1),n.preventDefault(),t[o].apply(this,arguments)||!1};for(o.guid=n;r<t.length;)t[r++].guid=n;return this.click(o)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),xt.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){xt.fn[t]=function(e,n){return null==n&&(n=e,e=null),arguments.length>0?this.on(t,null,e,n):this.trigger(t)},xt.attrFn&&(xt.attrFn[t]=!0),K.test(t)&&(xt.event.fixHooks[t]=xt.event.keyHooks),X.test(t)&&(xt.event.fixHooks[t]=xt.event.mouseHooks)}),function(){function e(e,t,n,r,o,i){var a,s,u,c;for(a=0,s=r.length;a<s;a++)if(u=r[a]){for(c=!1,u=u[e];u;){if(u[d]===n){c=r[u.sizset];break}if(1!==u.nodeType||i||(u[d]=n,u.sizset=a),u.nodeName.toLowerCase()===t){c=u;break}u=u[e]}r[a]=c}}function t(e,t,r,o,i,a){var s,u,c,l;for(s=0,u=o.length;s<u;s++)if(c=o[s]){for(l=!1,c=c[e];c;){if(c[d]===r){l=o[c.sizset];break}if(1===c.nodeType)if(a||(c[d]=r,c.sizset=s),"string"!=typeof t){if(c===t){l=!0;break}}else if(n.filter(t,[c]).length>0){l=c;break}c=c[e]}o[s]=l}}var n,r,o,i,a,s,u,c,l,f,p=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),h=0,m=Object.prototype.toString,g=!1,y=!0,v=/\\/g,b=/\r\n/g,_=/\W/;[0,0].sort(function(){return y=!1,0}),n=function(e,t,r,a){var s,c,l,d,h,g,y,v,b,_,w,x,C;if(r=r||[],t=t||bt,s=t,1!==t.nodeType&&9!==t.nodeType)return[];if(!e||"string"!=typeof e)return r;_=!0,w=n.isXML(t),x=[],C=e;do{if(p.exec(""),(c=p.exec(C))&&(C=c[3],x.push(c[1]),c[2])){h=c[3];break}}while(c)
;if(x.length>1&&i.exec(e))if(2===x.length&&o.relative[x[0]])l=f(x[0]+x[1],t,a);else for(l=o.relative[x[0]]?[t]:n(x.shift(),t);x.length;)e=x.shift(),o.relative[e]&&(e+=x.shift()),l=f(e,l,a);else if(!a&&x.length>1&&9===t.nodeType&&!w&&o.match.ID.test(x[0])&&!o.match.ID.test(x[x.length-1])&&(g=n.find(x.shift(),t,w),t=g.expr?n.filter(g.expr,g.set)[0]:g.set[0]),t)for(g=a?{expr:x.pop(),set:u(a)}:n.find(x.pop(),1!==x.length||"~"!==x[0]&&"+"!==x[0]||!t.parentNode?t:t.parentNode,w),l=g.expr?n.filter(g.expr,g.set):g.set,x.length>0?d=u(l):_=!1;x.length;)y=x.pop(),v=y,o.relative[y]?v=x.pop():y="",null==v&&(v=t),o.relative[y](d,v,w);else d=x=[];if(d||(d=l),d||n.error(y||e),"[object Array]"===m.call(d))if(_)if(t&&1===t.nodeType)for(b=0;null!=d[b];b++)d[b]&&(!0===d[b]||1===d[b].nodeType&&n.contains(t,d[b]))&&r.push(l[b]);else for(b=0;null!=d[b];b++)d[b]&&1===d[b].nodeType&&r.push(l[b]);else r.push.apply(r,d);else u(d,r);return h&&(n(h,s,r,a),n.uniqueSort(r)),r},n.uniqueSort=function(e){if(c&&(g=y,e.sort(c),g))for(var t=1;t<e.length;t++)e[t]===e[t-1]&&e.splice(t--,1);return e},n.matches=function(e,t){return n(e,null,null,t)},n.matchesSelector=function(e,t){return n(t,null,null,[e]).length>0},n.find=function(e,t,n){var r,i,a,s,u,c;if(!e)return[];for(i=0,a=o.order.length;i<a;i++)if(u=o.order[i],(s=o.leftMatch[u].exec(e))&&(c=s[1],s.splice(1,1),"\\"!==c.substr(c.length-1)&&(s[1]=(s[1]||"").replace(v,""),null!=(r=o.find[u](s,t,n))))){e=e.replace(o.match[u],"");break}return r||(r=void 0!==t.getElementsByTagName?t.getElementsByTagName("*"):[]),{set:r,expr:e}},n.filter=function(e,t,r,i){for(var a,s,u,c,l,f,p,d,h,m=e,g=[],y=t,v=t&&t[0]&&n.isXML(t[0]);e&&t.length;){for(u in o.filter)if(null!=(a=o.leftMatch[u].exec(e))&&a[2]){if(f=o.filter[u],p=a[1],s=!1,a.splice(1,1),"\\"===p.substr(p.length-1))continue;if(y===g&&(g=[]),o.preFilter[u])if(a=o.preFilter[u](a,y,r,g,i,v)){if(!0===a)continue}else s=c=!0;if(a)for(d=0;null!=(l=y[d]);d++)l&&(c=f(l,a,d,y),h=i^c,r&&null!=c?h?s=!0:y[d]=!1:h&&(g.push(l),s=!0));if(void 0!==c){if(r||(y=g),e=e.replace(o.match[u],""),!s)return[];break}}if(e===m){if(null!=s)break;n.error(e)}m=e}return y},n.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},r=n.getText=function(e){var t,n,o=e.nodeType,i="";if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;if("string"==typeof e.innerText)return e.innerText.replace(b,"");for(e=e.firstChild;e;e=e.nextSibling)i+=r(e)}else if(3===o||4===o)return e.nodeValue}else for(t=0;n=e[t];t++)8!==n.nodeType&&(i+=r(n));return i},o=n.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,
POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{class:"className",for:"htmlFor"},attrHandle:{href:function(e){return e.getAttribute("href")},type:function(e){return e.getAttribute("type")}},relative:{"+":function(e,t){var r,o,i,a="string"==typeof t,s=a&&!_.test(t),u=a&&!s;for(s&&(t=t.toLowerCase()),r=0,o=e.length;r<o;r++)if(i=e[r]){for(;(i=i.previousSibling)&&1!==i.nodeType;);e[r]=u||i&&i.nodeName.toLowerCase()===t?i||!1:i===t}u&&n.filter(t,e,!0)},">":function(e,t){var r,o,i="string"==typeof t,a=0,s=e.length;if(i&&!_.test(t))for(t=t.toLowerCase();a<s;a++)(r=e[a])&&(o=r.parentNode,e[a]=o.nodeName.toLowerCase()===t&&o);else{for(;a<s;a++)(r=e[a])&&(e[a]=i?r.parentNode:r.parentNode===t);i&&n.filter(t,e,!0)}},"":function(n,r,o){var i,a=h++,s=t;"string"!=typeof r||_.test(r)||(r=r.toLowerCase(),i=r,s=e),s("parentNode",r,a,n,i,o)},"~":function(n,r,o){var i,a=h++,s=t;"string"!=typeof r||_.test(r)||(r=r.toLowerCase(),i=r,s=e),s("previousSibling",r,a,n,i,o)}},find:{ID:function(e,t,n){if(void 0!==t.getElementById&&!n){var r=t.getElementById(e[1]);return r&&r.parentNode?[r]:[]}},NAME:function(e,t){var n,r,o,i;if(void 0!==t.getElementsByName){for(n=[],r=t.getElementsByName(e[1]),o=0,i=r.length;o<i;o++)r[o].getAttribute("name")===e[1]&&n.push(r[o]);return 0===n.length?null:n}},TAG:function(e,t){if(void 0!==t.getElementsByTagName)return t.getElementsByTagName(e[1])}},preFilter:{CLASS:function(e,t,n,r,o,i){if(e=" "+e[1].replace(v,"")+" ",i)return e;for(var a,s=0;null!=(a=t[s]);s++)a&&(o^(a.className&&(" "+a.className+" ").replace(/[\t\n\r]/g," ").indexOf(e)>=0)?n||r.push(a):n&&(t[s]=!1));return!1},ID:function(e){return e[1].replace(v,"")},TAG:function(e,t){return e[1].replace(v,"").toLowerCase()},CHILD:function(e){if("nth"===e[1]){e[2]||n.error(e[0]),e[2]=e[2].replace(/^\+|\s*/g,"");var t=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec("even"===e[2]&&"2n"||"odd"===e[2]&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=t[1]+(t[2]||1)-0,e[3]=t[3]-0}else e[2]&&n.error(e[0]);return e[0]=h++,e},ATTR:function(e,t,n,r,i,a){var s=e[1]=e[1].replace(v,"");return!a&&o.attrMap[s]&&(e[1]=o.attrMap[s]),e[4]=(e[4]||e[5]||"").replace(v,""),"~="===e[2]&&(e[4]=" "+e[4]+" "),e},PSEUDO:function(e,t,r,i,a){if("not"===e[1]){if(!((p.exec(e[3])||"").length>1||/^\w/.test(e[3]))){var s=n.filter(e[3],t,r,!0^a);return r||i.push.apply(i,s),!1}e[3]=n(e[3],null,null,t)}else if(o.match.POS.test(e[0])||o.match.CHILD.test(e[0]))return!0;return e},POS:function(e){return e.unshift(!0),e}},filters:{enabled:function(e){return!1===e.disabled&&"hidden"!==e.type},disabled:function(e){return!0===e.disabled},checked:function(e){return!0===e.checked},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},parent:function(e){return!!e.firstChild},empty:function(e){return!e.firstChild},has:function(e,t,r){return!!n(r[3],e).length},header:function(e){return/h\d/i.test(e.nodeName)},text:function(e){var t=e.getAttribute("type"),n=e.type
;return"input"===e.nodeName.toLowerCase()&&"text"===n&&(t===n||null===t)},radio:function(e){return"input"===e.nodeName.toLowerCase()&&"radio"===e.type},checkbox:function(e){return"input"===e.nodeName.toLowerCase()&&"checkbox"===e.type},file:function(e){return"input"===e.nodeName.toLowerCase()&&"file"===e.type},password:function(e){return"input"===e.nodeName.toLowerCase()&&"password"===e.type},submit:function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&"submit"===e.type},image:function(e){return"input"===e.nodeName.toLowerCase()&&"image"===e.type},reset:function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&"reset"===e.type},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},input:function(e){return/input|select|textarea|button/i.test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(e,t){return 0===t},last:function(e,t,n,r){return t===r.length-1},even:function(e,t){return t%2==0},odd:function(e,t){return t%2==1},lt:function(e,t,n){return t<n[3]-0},gt:function(e,t,n){return t>n[3]-0},nth:function(e,t,n){return n[3]-0===t},eq:function(e,t,n){return n[3]-0===t}},filter:{PSEUDO:function(e,t,i,a){var s,u,c,l=t[1],f=o.filters[l];if(f)return f(e,i,t,a);if("contains"===l)return(e.textContent||e.innerText||r([e])||"").indexOf(t[3])>=0;if("not"===l){for(s=t[3],u=0,c=s.length;u<c;u++)if(s[u]===e)return!1;return!0}n.error(l)},CHILD:function(e,t){var n,r,o,i,a,s,u=t[1],c=e;switch(u){case"only":case"first":for(;c=c.previousSibling;)if(1===c.nodeType)return!1;if("first"===u)return!0;c=e;case"last":for(;c=c.nextSibling;)if(1===c.nodeType)return!1;return!0;case"nth":if(n=t[2],r=t[3],1===n&&0===r)return!0;if(o=t[0],(i=e.parentNode)&&(i[d]!==o||!e.nodeIndex)){for(a=0,c=i.firstChild;c;c=c.nextSibling)1===c.nodeType&&(c.nodeIndex=++a);i[d]=o}return s=e.nodeIndex-r,0===n?0===s:s%n==0&&s/n>=0}},ID:function(e,t){return 1===e.nodeType&&e.getAttribute("id")===t},TAG:function(e,t){return"*"===t&&1===e.nodeType||!!e.nodeName&&e.nodeName.toLowerCase()===t},CLASS:function(e,t){return(" "+(e.className||e.getAttribute("class"))+" ").indexOf(t)>-1},ATTR:function(e,t){var r=t[1],i=n.attr?n.attr(e,r):o.attrHandle[r]?o.attrHandle[r](e):null!=e[r]?e[r]:e.getAttribute(r),a=i+"",s=t[2],u=t[4];return null==i?"!="===s:!s&&n.attr?null!=i:"="===s?a===u:"*="===s?a.indexOf(u)>=0:"~="===s?(" "+a+" ").indexOf(u)>=0:u?"!="===s?a!==u:"^="===s?0===a.indexOf(u):"$="===s?a.substr(a.length-u.length)===u:"|="===s&&(a===u||a.substr(0,u.length+1)===u+"-"):a&&!1!==i},POS:function(e,t,n,r){var i=t[2],a=o.setFilters[i];if(a)return a(e,n,t,r)}}},i=o.match.POS,a=function(e,t){return"\\"+(t-0+1)};for(s in o.match)o.match[s]=RegExp(o.match[s].source+"(?![^\\[]*\\])(?![^\\(]*\\))"),o.leftMatch[s]=RegExp("(^(?:.|\\r|\\n)*?)"+o.match[s].source.replace(/\\(\d+)/g,a));o.match.globalPOS=i,u=function(e,t){return e=Array.prototype.slice.call(e,0),t?(t.push.apply(t,e),t):e};try{
;return"input"===e.nodeName.toLowerCase()&&"text"===n&&(t===n||null===t)},radio:function(e){return"input"===e.nodeName.toLowerCase()&&"radio"===e.type},checkbox:function(e){return"input"===e.nodeName.toLowerCase()&&"checkbox"===e.type},file:function(e){return"input"===e.nodeName.toLowerCase()&&"file"===e.type},password:function(e){return"input"===e.nodeName.toLowerCase()&&"password"===e.type},submit:function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&"submit"===e.type},image:function(e){return"input"===e.nodeName.toLowerCase()&&"image"===e.type},reset:function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&"reset"===e.type},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},input:function(e){return/input|select|textarea|button/i.test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(e,t){return 0===t},last:function(e,t,n,r){return t===r.length-1},even:function(e,t){return t%2==0},odd:function(e,t){return t%2==1},lt:function(e,t,n){return t<n[3]-0},gt:function(e,t,n){return t>n[3]-0},nth:function(e,t,n){return n[3]-0===t},eq:function(e,t,n){return n[3]-0===t}},filter:{PSEUDO:function(e,t,i,a){var s,u,c,l=t[1],f=o.filters[l];if(f)return f(e,i,t,a);if("contains"===l)return(e.textContent||e.innerText||r([e])||"").indexOf(t[3])>=0;if("not"===l){for(s=t[3],u=0,c=s.length;u<c;u++)if(s[u]===e)return!1;return!0}n.error(l)},CHILD:function(e,t){var n,r,o,i,a,s,u=t[1],c=e;switch(u){case"only":case"first":for(;c=c.previousSibling;)if(1===c.nodeType)return!1;if("first"===u)return!0;c=e;case"last":for(;c=c.nextSibling;)if(1===c.nodeType)return!1;return!0;case"nth":if(n=t[2],r=t[3],1===n&&0===r)return!0;if(o=t[0],(i=e.parentNode)&&(i[d]!==o||!e.nodeIndex)){for(a=0,c=i.firstChild;c;c=c.nextSibling)1===c.nodeType&&(c.nodeIndex=++a);i[d]=o}return s=e.nodeIndex-r,0===n?0===s:s%n==0&&s/n>=0}},ID:function(e,t){return 1===e.nodeType&&e.getAttribute("id")===t},TAG:function(e,t){return"*"===t&&1===e.nodeType||!!e.nodeName&&e.nodeName.toLowerCase()===t},CLASS:function(e,t){return(" "+(e.className||e.getAttribute("class"))+" ").indexOf(t)>-1},ATTR:function(e,t){var r=t[1],i=n.attr?n.attr(e,r):o.attrHandle[r]?o.attrHandle[r](e):null!=e[r]?e[r]:e.getAttribute(r),a=i+"",s=t[2],u=t[4];return null==i?"!="===s:!s&&n.attr?null!=i:"="===s?a===u:"*="===s?a.indexOf(u)>=0:"~="===s?(" "+a+" ").indexOf(u)>=0:u?"!="===s?a!==u:"^="===s?0===a.indexOf(u):"$="===s?a.substr(a.length-u.length)===u:"|="===s&&(a===u||a.substr(0,u.length+1)===u+"-"):a&&!1!==i},POS:function(e,t,n,r){var i=t[2],a=o.setFilters[i];if(a)return a(e,n,t,r)}}},i=o.match.POS,a=function(e,t){return"\\"+(t-0+1)};for(s in o.match)o.match[s]=RegExp(o.match[s].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[s]=RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[s].source.replace(/\\(\d+)/g,a));o.match.globalPOS=i,u=function(e,t){return e=Array.prototype.slice.call(e,0),t?(t.push.apply(t,e),t):e};try{
Array.prototype.slice.call(bt.documentElement.childNodes,0)[0].nodeType}catch(e){u=function(e,t){var n,r=0,o=t||[];if("[object Array]"===m.call(e))Array.prototype.push.apply(o,e);else if("number"==typeof e.length)for(n=e.length;r<n;r++)o.push(e[r]);else for(;e[r];r++)o.push(e[r]);return o}}bt.documentElement.compareDocumentPosition?c=function(e,t){return e===t?(g=!0,0):e.compareDocumentPosition&&t.compareDocumentPosition?4&e.compareDocumentPosition(t)?-1:1:e.compareDocumentPosition?-1:1}:(c=function(e,t){var n,r,o,i,a,s,u,c;if(e===t)return g=!0,0;if(e.sourceIndex&&t.sourceIndex)return e.sourceIndex-t.sourceIndex;if(o=[],i=[],a=e.parentNode,s=t.parentNode,u=a,a===s)return l(e,t);if(!a)return-1;if(!s)return 1;for(;u;)o.unshift(u),u=u.parentNode;for(u=s;u;)i.unshift(u),u=u.parentNode;for(n=o.length,r=i.length,c=0;c<n&&c<r;c++)if(o[c]!==i[c])return l(o[c],i[c]);return c===n?l(e,i[c],-1):l(o[c],t,1)},l=function(e,t,n){if(e===t)return n;for(var r=e.nextSibling;r;){if(r===t)return-1;r=r.nextSibling}return 1}),function(){var e=bt.createElement("div"),t="script"+(new Date).getTime(),n=bt.documentElement;e.innerHTML="<a name='"+t+"'/>",n.insertBefore(e,n.firstChild),bt.getElementById(t)&&(o.find.ID=function(e,t,n){if(void 0!==t.getElementById&&!n){var r=t.getElementById(e[1]);return r?r.id===e[1]||void 0!==r.getAttributeNode&&r.getAttributeNode("id").nodeValue===e[1]?[r]:void 0:[]}},o.filter.ID=function(e,t){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return 1===e.nodeType&&n&&n.nodeValue===t}),n.removeChild(e),n=e=null}(),function(){var e=bt.createElement("div");e.appendChild(bt.createComment("")),e.getElementsByTagName("*").length>0&&(o.find.TAG=function(e,t){var n,r,o=t.getElementsByTagName(e[1]);if("*"===e[1]){for(n=[],r=0;o[r];r++)1===o[r].nodeType&&n.push(o[r]);o=n}return o}),e.innerHTML="<a href='#'></a>",e.firstChild&&void 0!==e.firstChild.getAttribute&&"#"!==e.firstChild.getAttribute("href")&&(o.attrHandle.href=function(e){return e.getAttribute("href",2)}),e=null}(),bt.querySelectorAll&&function(){var e,t=n,r=bt.createElement("div");if(r.innerHTML="<p class='TEST'></p>",!r.querySelectorAll||0!==r.querySelectorAll(".TEST").length){n=function(e,r,i,a){var s,c,l,f,p,d,h;if(r=r||bt,!a&&!n.isXML(r)){if((s=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(e))&&(1===r.nodeType||9===r.nodeType)){if(s[1])return u(r.getElementsByTagName(e),i);if(s[2]&&o.find.CLASS&&r.getElementsByClassName)return u(r.getElementsByClassName(s[2]),i)}if(9===r.nodeType){if("body"===e&&r.body)return u([r.body],i);if(s&&s[3]){if(!(c=r.getElementById(s[3]))||!c.parentNode)return u([],i);if(c.id===s[3])return u([c],i)}try{return u(r.querySelectorAll(e),i)}catch(e){}}else if(1===r.nodeType&&"object"!==r.nodeName.toLowerCase()){l=r,f=r.getAttribute("id"),p=f||"__sizzle__",d=r.parentNode,h=/^\s*[+~]/.test(e),f?p=p.replace(/'/g,"\\$&"):r.setAttribute("id",p),h&&d&&(r=r.parentNode);try{if(!h||d)return u(r.querySelectorAll("[id='"+p+"'] "+e),i)}catch(e){}finally{f||l.removeAttribute("id")}}}return t(e,r,i,a)};for(e in t)n[e]=t[e];r=null}}(),
function(){var e,t,r=bt.documentElement,i=r.matchesSelector||r.mozMatchesSelector||r.webkitMatchesSelector||r.msMatchesSelector;if(i){e=!i.call(bt.createElement("div"),"div"),t=!1;try{i.call(bt.documentElement,"[test!='']:sizzle")}catch(e){t=!0}n.matchesSelector=function(r,a){if(a=a.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']"),!n.isXML(r))try{if(t||!o.match.PSEUDO.test(a)&&!/!=/.test(a)){var s=i.call(r,a);if(s||!e||r.document&&11!==r.document.nodeType)return s}}catch(e){}return n(a,null,null,[r]).length>0}}}(),function(){var e=bt.createElement("div");e.innerHTML="<div class='test e'></div><div class='test'></div>",e.getElementsByClassName&&0!==e.getElementsByClassName("e").length&&(e.lastChild.className="e",1!==e.getElementsByClassName("e").length&&(o.order.splice(1,0,"CLASS"),o.find.CLASS=function(e,t,n){if(void 0!==t.getElementsByClassName&&!n)return t.getElementsByClassName(e[1])},e=null))}(),bt.documentElement.contains?n.contains=function(e,t){return e!==t&&(!e.contains||e.contains(t))}:bt.documentElement.compareDocumentPosition?n.contains=function(e,t){return!!(16&e.compareDocumentPosition(t))}:n.contains=function(){return!1},n.isXML=function(e){var t=(e?e.ownerDocument||e:0).documentElement;return!!t&&"HTML"!==t.nodeName},f=function(e,t,r){for(var i,a,s,u=[],c="",l=t.nodeType?[t]:t;i=o.match.PSEUDO.exec(e);)c+=i[0],e=e.replace(o.match.PSEUDO,"");for(e=o.relative[e]?e+"*":e,a=0,s=l.length;a<s;a++)n(e,l[a],u,r);return n.filter(c,u)},n.attr=xt.attr,n.selectors.attrMap={},xt.find=n,xt.expr=n.selectors,xt.expr[":"]=xt.expr.filters,xt.unique=n.uniqueSort,xt.text=n.getText,xt.isXMLDoc=n.isXML,xt.contains=n.contains}(),ne=/Until$/,re=/^(?:parents|prevUntil|prevAll)/,oe=/,/,ie=/^.[^:#\[\.,]*$/,ae=Array.prototype.slice,se=xt.expr.match.globalPOS,ue={children:!0,contents:!0,next:!0,prev:!0},xt.fn.extend({find:function(e){var t,n,r,o,i,a,s=this;if("string"!=typeof e)return xt(e).filter(function(){for(t=0,n=s.length;t<n;t++)if(xt.contains(s[t],this))return!0});for(r=this.pushStack("","find",e),t=0,n=this.length;t<n;t++)if(o=r.length,xt.find(e,this[t],r),t>0)for(i=o;i<r.length;i++)for(a=0;a<o;a++)if(r[a]===r[i]){r.splice(i--,1);break}return r},has:function(e){var t=xt(e);return this.filter(function(){for(var e=0,n=t.length;e<n;e++)if(xt.contains(this,t[e]))return!0})},not:function(e){return this.pushStack(c(this,e,!1),"not",e)},filter:function(e){return this.pushStack(c(this,e,!0),"filter",e)},is:function(e){return!!e&&("string"==typeof e?se.test(e)?xt(e,this.context).index(this[0])>=0:xt.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r,o,i,a=[],s=this[0];if(xt.isArray(e)){for(o=1;s&&s.ownerDocument&&s!==t;){for(n=0;n<e.length;n++)xt(s).is(e[n])&&a.push({selector:e[n],elem:s,level:o});s=s.parentNode,o++}return a}for(i=se.test(e)||"string"!=typeof e?xt(e,t||this.context):0,n=0,r=this.length;n<r;n++)for(s=this[n];s;){if(i?i.index(s)>-1:xt.find.matchesSelector(s,e)){a.push(s);break}if(!(s=s.parentNode)||!s.ownerDocument||s===t||11===s.nodeType)break}return a=a.length>1?xt.unique(a):a,
this.pushStack(a,"closest",e)},index:function(e){return e?"string"==typeof e?xt.inArray(this[0],xt(e)):xt.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var n="string"==typeof e?xt(e,t):xt.makeArray(e&&e.nodeType?[e]:e),r=xt.merge(this.get(),n);return this.pushStack(u(n[0])||u(r[0])?r:xt.unique(r))},andSelf:function(){return this.add(this.prevObject)}}),xt.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return xt.dir(e,"parentNode")},parentsUntil:function(e,t,n){return xt.dir(e,"parentNode",n)},next:function(e){return xt.nth(e,2,"nextSibling")},prev:function(e){return xt.nth(e,2,"previousSibling")},nextAll:function(e){return xt.dir(e,"nextSibling")},prevAll:function(e){return xt.dir(e,"previousSibling")},nextUntil:function(e,t,n){return xt.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return xt.dir(e,"previousSibling",n)},siblings:function(e){return xt.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return xt.sibling(e.firstChild)},contents:function(e){return xt.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:xt.makeArray(e.childNodes)}},function(e,t){xt.fn[e]=function(n,r){var o=xt.map(this,t,n);return ne.test(e)||(r=n),r&&"string"==typeof r&&(o=xt.filter(r,o)),o=this.length>1&&!ue[e]?xt.unique(o):o,(this.length>1||oe.test(r))&&re.test(e)&&(o=o.reverse()),this.pushStack(o,e,ae.call(arguments).join(","))}}),xt.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),1===t.length?xt.find.matchesSelector(t[0],e)?[t[0]]:[]:xt.find.matches(e,t)},dir:function(e,t,n){for(var r=[],o=e[t];o&&9!==o.nodeType&&(void 0===n||1!==o.nodeType||!xt(o).is(n));)1===o.nodeType&&r.push(o),o=o[t];return r},nth:function(e,t,n,r){t=t||1;for(var o=0;e&&(1!==e.nodeType||++o!==t);e=e[n]);return e},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),ce="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",le=/ jQuery\d+="(?:\d+|null)"/g,fe=/^\s+/,pe=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,de=/<([\w:]+)/,he=/<tbody/i,me=/<|&#?\w+;/,ge=/<(?:script|style)/i,ye=/<(?:script|object|embed|option|style)/i,ve=RegExp("<(?:"+ce+")[\\s/>]","i"),be=/checked\s*(?:[^=]|=\s*.checked.)/i,_e=/\/(java|ecma)script/i,we=/^\s*<!(?:\[CDATA\[|\-\-)/,xe={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},Ce=l(bt),xe.optgroup=xe.option,xe.tbody=xe.tfoot=xe.colgroup=xe.caption=xe.thead,xe.th=xe.td,xt.support.htmlSerialize||(xe._default=[1,"div<div>","</div>"]),xt.fn.extend({text:function(e){return xt.access(this,function(e){
@@ -38,7 +38,7 @@ function ye(e,t,n,r,o){var i,a=6+o-r,s=se(e,0,1+a),u=s.getUTCDay();return u<o&&(
we(e)):"object"==typeof n?Ee(e):"number"==typeof n?e._d=new Date(n):t.createFromInputFallback(e)}function Ne(e,t,n,r,o){var i={};return"boolean"==typeof n&&(r=n,n=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=o,i._l=n,i._i=e,i._f=t,i._strict=r,Se(i)}function De(e,t,n,r){return Ne(e,t,n,r,!1)}function Pe(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return De();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function Ae(){return Pe("isBefore",[].slice.call(arguments,0))}function Le(){return Pe("isAfter",[].slice.call(arguments,0))}function Ie(e){var t=O(e),n=t.year||0,r=t.quarter||0,o=t.month||0,i=t.week||0,a=t.day||0,s=t.hour||0,u=t.minute||0,c=t.second||0,l=t.millisecond||0;this._milliseconds=+l+1e3*c+6e4*u+36e5*s,this._days=+a+7*i,this._months=+o+3*r+12*n,this._data={},this._locale=E(),this._bubble()}function je(e){return e instanceof Ie}function Re(e,t){I(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+L(~~(e/60),2)+t+L(~~e%60,2)})}function Fe(e){var t=(e||"").match(io)||[],n=t[t.length-1]||[],r=(n+"").match(Kn)||["-",0,0],o=60*r[1]+v(r[2]);return"+"===r[0]?o:-o}function Ue(e,n){var r,o;return n._isUTC?(r=n.clone(),o=(g(e)||i(e)?+e:+De(e))-+r,r._d.setTime(+r._d+o),t.updateOffset(r,!1),r):De(e).local()}function He(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Ye(e,n){var r,o=this._offset||0;return null!=e?("string"==typeof e&&(e=Fe(e)),Math.abs(e)<16&&(e*=60),!this._isUTC&&n&&(r=He(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==e&&(!n||this._changeInProgress?rt(this,Je(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?o:He(this)}function We(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Be(e){return this.utcOffset(0,e)}function Ve(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(He(this),"m")),this}function qe(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Fe(this._i)),this}function ze(e){return e=e?De(e).utcOffset():0,(this.utcOffset()-e)%60==0}function $e(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ge(){var e,t;return void 0!==this._isDSTShifted?this._isDSTShifted:(e={},h(e,this),e=Me(e),e._a?(t=e._isUTC?c(e._a):De(e._a),this._isDSTShifted=this.isValid()&&b(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted)}function Ke(){return!this._isUTC}function Xe(){return this._isUTC}function Qe(){return this._isUTC&&0===this._offset}function Je(e,t){var n,r,o,i=e,a=null;return je(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(i={},t?i[t]=e:i.milliseconds=e):(a=Xn.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:v(a[po])*n,h:v(a[ho])*n,m:v(a[mo])*n,s:v(a[go])*n,ms:v(a[yo])*n}):(a=Qn.exec(e))?(n="-"===a[1]?-1:1,i={y:Ze(a[2],n),M:Ze(a[3],n),d:Ze(a[4],n),h:Ze(a[5],n),m:Ze(a[6],n),s:Ze(a[7],n),w:Ze(a[8],n)
}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(o=tt(De(i.from),De(i.to)),i={},i.ms=o.milliseconds,i.M=o.months),r=new Ie(i),je(e)&&s(e,"_locale")&&(r._locale=e._locale),r}function Ze(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function et(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function tt(e,t){var n;return t=Ue(t,e),e.isBefore(t)?n=et(e,t):(n=et(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n}function nt(e,t){return function(n,r){var o,i;return null===r||isNaN(+r)||(re(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period)."),i=n,n=r,r=i),n="string"==typeof n?+n:n,o=Je(n,r),rt(this,o,e),this}}function rt(e,n,r,o){var i=n._milliseconds,a=n._days,s=n._months;o=null==o||o,i&&e._d.setTime(+e._d+i*r),a&&P(e,"Date",D(e,"Date")+a*r),s&&Q(e,D(e,"Month")+s*r),o&&t.updateOffset(e,a||s)}function ot(e,t){var n=e||De(),r=Ue(n,this).startOf("day"),o=this.diff(r,"days",!0),i=o<-6?"sameElse":o<-1?"lastWeek":o<0?"lastDay":o<1?"sameDay":o<2?"nextDay":o<7?"nextWeek":"sameElse";return this.format(t&&t[i]||this.localeData().calendar(i,this,De(n)))}function it(){return new m(this)}function at(e,t){return t=M(void 0!==t?t:"millisecond"),"millisecond"===t?(e=g(e)?e:De(e),+this>+e):(g(e)?+e:+De(e))<+this.clone().startOf(t)}function st(e,t){var n;return t=M(void 0!==t?t:"millisecond"),"millisecond"===t?(e=g(e)?e:De(e),+this<+e):(n=g(e)?+e:+De(e),+this.clone().endOf(t)<n)}function ut(e,t,n){return this.isAfter(e,n)&&this.isBefore(t,n)}function ct(e,t){var n;return t=M(t||"millisecond"),"millisecond"===t?(e=g(e)?e:De(e),+this==+e):(n=+De(e),+this.clone().startOf(t)<=n&&n<=+this.clone().endOf(t))}function lt(e,t,n){var r,o,i=Ue(e,this),a=6e4*(i.utcOffset()-this.utcOffset());return t=M(t),"year"===t||"month"===t||"quarter"===t?(o=ft(this,i),"quarter"===t?o/=3:"year"===t&&(o/=12)):(r=this-i,o="second"===t?r/1e3:"minute"===t?r/6e4:"hour"===t?r/36e5:"day"===t?(r-a)/864e5:"week"===t?(r-a)/6048e5:r),n?o:y(o)}function ft(e,t){var n,r,o=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(o,"months");return t-i<0?(n=e.clone().add(o-1,"months"),r=(t-i)/(i-n)):(n=e.clone().add(o+1,"months"),r=(t-i)/(n-i)),-(o+r)}function pt(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function dt(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?"function"==typeof Date.prototype.toISOString?this.toDate().toISOString():F(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):F(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function ht(e){var n=F(this,e||t.defaultFormat);return this.localeData().postformat(n)}function mt(e,t){return this.isValid()?Je({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function gt(e){return this.from(De(),e)}function yt(e,t){return this.isValid()?Je({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function vt(e){
return this.to(De(),e)}function bt(e){var t;return void 0===e?this._locale._abbr:(t=E(e),null!=t&&(this._locale=t),this)}function _t(){return this._locale}function wt(e){switch(e=M(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function xt(e){return e=M(e),void 0===e||"millisecond"===e?this:this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms")}function Ct(){return+this._d-6e4*(this._offset||0)}function Tt(){return Math.floor(+this/1e3)}function kt(){return this._offset?new Date(+this):this._d}function Et(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function St(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Mt(){return p(this)}function Ot(){return u({},f(this))}function Nt(){return f(this).overflow}function Dt(e,t){I(0,[e,e.length],0,t)}function Pt(e,t,n){return fe(De([e,11,31+t-n]),t,n).week}function At(e){var t=fe(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==e?t:this.add(e-t,"y")}function Lt(e){var t=fe(this,1,4).year;return null==e?t:this.add(e-t,"y")}function It(){return Pt(this.year(),1,4)}function jt(){var e=this.localeData()._week;return Pt(this.year(),e.dow,e.doy)}function Rt(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Ft(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Ut(e){return this._weekdays[e.day()]}function Ht(e){return this._weekdaysShort[e.day()]}function Yt(e){return this._weekdaysMin[e.day()]}function Wt(e){var t,n,r;for(this._weekdaysParse=this._weekdaysParse||[],t=0;t<7;t++)if(this._weekdaysParse[t]||(n=De([2e3,1]).day(t),r="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[t]=RegExp(r.replace(".",""),"i")),this._weekdaysParse[t].test(e))return t}function Bt(e){var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Ft(e,this.localeData()),this.add(e-t,"d")):t}function Vt(e){var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function qt(e){return null==e?this.day()||7:this.day(this.day()%7?e:e-7)}function zt(e,t){I(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function $t(e,t){return t._meridiemParse}function Gt(e){return"p"===(e+"").toLowerCase().charAt(0)}function Kt(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Xt(e,t){t[yo]=v(1e3*("0."+e))}function Qt(){return this._isUTC?"UTC":""}function Jt(){return this._isUTC?"Coordinated Universal Time":""}function Zt(e){return De(1e3*e)}function en(){return De.apply(null,arguments).parseZone()}
function tn(e,t,n){var r=this._calendar[e];return"function"==typeof r?r.call(t,n):r}function nn(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])}function rn(){return this._invalidDate}function on(e){return this._ordinal.replace("%d",e)}function an(e){return e}function sn(e,t,n,r){var o=this._relativeTime[n];return"function"==typeof o?o(e,t,n,r):o.replace(/%d/i,e)}function un(e,t){var n=this._relativeTime[e>0?"future":"past"];return"function"==typeof n?n(t):n.replace(/%s/i,t)}function cn(e){var t,n;for(n in e)t=e[n],"function"==typeof t?this[n]=t:this["_"+n]=t;this._ordinalParseLenient=RegExp(this._ordinalParse.source+"|\\d{1,2}")}function ln(e,t,n,r){var o=E(),i=c().set(r,t);return o[n](i,e)}function fn(e,t,n,r,o){var i,a;if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return ln(e,t,n,o);for(a=[],i=0;i<r;i++)a[i]=ln(e,i,n,o);return a}function pn(e,t){return fn(e,t,"months",12,"month")}function dn(e,t){return fn(e,t,"monthsShort",12,"month")}function hn(e,t){return fn(e,t,"weekdays",7,"day")}function mn(e,t){return fn(e,t,"weekdaysShort",7,"day")}function gn(e,t){return fn(e,t,"weekdaysMin",7,"day")}function yn(){var e=this._data;return this._milliseconds=_r(this._milliseconds),this._days=_r(this._days),this._months=_r(this._months),e.milliseconds=_r(e.milliseconds),e.seconds=_r(e.seconds),e.minutes=_r(e.minutes),e.hours=_r(e.hours),e.months=_r(e.months),e.years=_r(e.years),this}function vn(e,t,n,r){var o=Je(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function bn(e,t){return vn(this,e,t,1)}function _n(e,t){return vn(this,e,t,-1)}function wn(e){return e<0?Math.floor(e):Math.ceil(e)}function xn(){var e,t,n,r,o,i=this._milliseconds,a=this._days,s=this._months,u=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*wn(Tn(s)+a),a=0,s=0),u.milliseconds=i%1e3,e=y(i/1e3),u.seconds=e%60,t=y(e/60),u.minutes=t%60,n=y(t/60),u.hours=n%24,a+=y(n/24),o=y(Cn(a)),s+=o,a-=wn(Tn(o)),r=y(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function Cn(e){return 4800*e/146097}function Tn(e){return 146097*e/4800}function kn(e){var t,n,r=this._milliseconds;if("month"===(e=M(e))||"year"===e)return t=this._days+r/864e5,n=this._months+Cn(t),"month"===e?n:n/12;switch(t=this._days+Math.round(Tn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw Error("Unknown unit "+e)}}function En(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*v(this._months/12)}function Sn(e){return function(){return this.as(e)}}function Mn(e){return e=M(e),this[e+"s"]()}function On(e){return function(){return this._data[e]}}function Nn(){return y(this.days()/7)}function Dn(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}function Pn(e,t,n){
function tn(e,t,n){var r=this._calendar[e];return"function"==typeof r?r.call(t,n):r}function nn(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])}function rn(){return this._invalidDate}function on(e){return this._ordinal.replace("%d",e)}function an(e){return e}function sn(e,t,n,r){var o=this._relativeTime[n];return"function"==typeof o?o(e,t,n,r):o.replace(/%d/i,e)}function un(e,t){var n=this._relativeTime[e>0?"future":"past"];return"function"==typeof n?n(t):n.replace(/%s/i,t)}function cn(e){var t,n;for(n in e)t=e[n],"function"==typeof t?this[n]=t:this["_"+n]=t;this._ordinalParseLenient=RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function ln(e,t,n,r){var o=E(),i=c().set(r,t);return o[n](i,e)}function fn(e,t,n,r,o){var i,a;if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return ln(e,t,n,o);for(a=[],i=0;i<r;i++)a[i]=ln(e,i,n,o);return a}function pn(e,t){return fn(e,t,"months",12,"month")}function dn(e,t){return fn(e,t,"monthsShort",12,"month")}function hn(e,t){return fn(e,t,"weekdays",7,"day")}function mn(e,t){return fn(e,t,"weekdaysShort",7,"day")}function gn(e,t){return fn(e,t,"weekdaysMin",7,"day")}function yn(){var e=this._data;return this._milliseconds=_r(this._milliseconds),this._days=_r(this._days),this._months=_r(this._months),e.milliseconds=_r(e.milliseconds),e.seconds=_r(e.seconds),e.minutes=_r(e.minutes),e.hours=_r(e.hours),e.months=_r(e.months),e.years=_r(e.years),this}function vn(e,t,n,r){var o=Je(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function bn(e,t){return vn(this,e,t,1)}function _n(e,t){return vn(this,e,t,-1)}function wn(e){return e<0?Math.floor(e):Math.ceil(e)}function xn(){var e,t,n,r,o,i=this._milliseconds,a=this._days,s=this._months,u=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*wn(Tn(s)+a),a=0,s=0),u.milliseconds=i%1e3,e=y(i/1e3),u.seconds=e%60,t=y(e/60),u.minutes=t%60,n=y(t/60),u.hours=n%24,a+=y(n/24),o=y(Cn(a)),s+=o,a-=wn(Tn(o)),r=y(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function Cn(e){return 4800*e/146097}function Tn(e){return 146097*e/4800}function kn(e){var t,n,r=this._milliseconds;if("month"===(e=M(e))||"year"===e)return t=this._days+r/864e5,n=this._months+Cn(t),"month"===e?n:n/12;switch(t=this._days+Math.round(Tn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw Error("Unknown unit "+e)}}function En(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*v(this._months/12)}function Sn(e){return function(){return this.as(e)}}function Mn(e){return e=M(e),this[e+"s"]()}function On(e){return function(){return this._data[e]}}function Nn(){return y(this.days()/7)}function Dn(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}function Pn(e,t,n){
var r=Je(e).abs(),o=jr(r.as("s")),i=jr(r.as("m")),a=jr(r.as("h")),s=jr(r.as("d")),u=jr(r.as("M")),c=jr(r.as("y")),l=o<Rr.s&&["s",o]||1===i&&["m"]||i<Rr.m&&["mm",i]||1===a&&["h"]||a<Rr.h&&["hh",a]||1===s&&["d"]||s<Rr.d&&["dd",s]||1===u&&["M"]||u<Rr.M&&["MM",u]||1===c&&["y"]||["yy",c];return l[2]=t,l[3]=+e>0,l[4]=n,Dn.apply(null,l)}function An(e,t){return void 0!==Rr[e]&&(void 0===t?Rr[e]:(Rr[e]=t,!0))}function Ln(e){var t=this.localeData(),n=Pn(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function In(){var e,t,n,r,o,i,a,s,u=Fr(this._milliseconds)/1e3,c=Fr(this._days),l=Fr(this._months),f=y(u/60),p=y(f/60);return u%=60,f%=60,e=y(l/12),l%=12,t=e,n=l,r=c,o=p,i=f,a=u,s=this.asSeconds(),s?(s<0?"-":"")+"P"+(t?t+"Y":"")+(n?n+"M":"")+(r?r+"D":"")+(o||i||a?"T":"")+(o?o+"H":"")+(i?i+"M":"")+(a?a+"S":""):"P0D"}var jn,Rn,Fn,Un,Hn,Yn,Wn,Bn,Vn,qn,zn,$n,Gn,Kn,Xn,Qn,Jn,Zn,er,tr,nr,rr,or,ir,ar,sr,ur,cr,lr,fr,pr,dr,hr,mr,gr,yr,vr,br,_r,wr,xr,Cr,Tr,kr,Er,Sr,Mr,Or,Nr,Dr,Pr,Ar,Lr,Ir,jr,Rr,Fr,Ur,Hr=t.momentProperties=[],Yr=!1,Wr={},Br={},Vr=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,qr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,zr={},$r={},Gr=/\d/,Kr=/\d\d/,Xr=/\d{3}/,Qr=/\d{4}/,Jr=/[+-]?\d{6}/,Zr=/\d\d?/,eo=/\d{1,3}/,to=/\d{1,4}/,no=/[+-]?\d{1,6}/,ro=/\d+/,oo=/[+-]?\d+/,io=/Z|[+-]\d\d:?\d\d/gi,ao=/[+-]?\d+(\.\d{1,3})?/,so=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,uo={},co={},lo=0,fo=1,po=2,ho=3,mo=4,go=5,yo=6;for(I("M",["MM",2],"Mo",function(){return this.month()+1}),I("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),I("MMMM",0,0,function(e){return this.localeData().months(this,e)}),S("month","M"),Y("M",Zr),Y("MM",Zr,Kr),Y("MMM",so),Y("MMMM",so),V(["M","MM"],function(e,t){t[fo]=v(e)-1}),V(["MMM","MMMM"],function(e,t,n,r){var o=n._locale.monthsParse(e,r,n._strict);null!=o?t[fo]=o:f(n).invalidMonth=e}),Fn="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Un="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Hn={},t.suppressDeprecationWarnings=!1,Yn=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Wn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],Bn=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],Vn=/^\/?Date\((\-?\d+)/i,t.createFromInputFallback=ne("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),I(0,["YY",2],0,function(){return this.year()%100}),I(0,["YYYY",4],0,"year"),
I(0,["YYYYY",5],0,"year"),I(0,["YYYYYY",6,!0],0,"year"),S("year","y"),Y("Y",oo),Y("YY",Zr,Kr),Y("YYYY",to,Qr),Y("YYYYY",no,Jr),Y("YYYYYY",no,Jr),V(["YYYYY","YYYYYY"],lo),V("YYYY",function(e,n){n[lo]=2===e.length?t.parseTwoDigitYear(e):v(e)}),V("YY",function(e,n){n[lo]=t.parseTwoDigitYear(e)}),t.parseTwoDigitYear=function(e){return v(e)+(v(e)>68?1900:2e3)},qn=N("FullYear",!1),I("w",["ww",2],"wo","week"),I("W",["WW",2],"Wo","isoWeek"),S("week","w"),S("isoWeek","W"),Y("w",Zr),Y("ww",Zr,Kr),Y("W",Zr),Y("WW",Zr,Kr),q(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=v(e)}),zn={dow:0,doy:6},I("DDD",["DDDD",3],"DDDo","dayOfYear"),S("dayOfYear","DDD"),Y("DDD",eo),Y("DDDD",Xr),V(["DDD","DDDD"],function(e,t,n){n._dayOfYear=v(e)}),t.ISO_8601=function(){},$n=ne("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var e=De.apply(null,arguments);return e<this?this:e}),Gn=ne("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var e=De.apply(null,arguments);return e>this?this:e}),Re("Z",":"),Re("ZZ",""),Y("Z",io),Y("ZZ",io),V(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Fe(e)}),Kn=/([\+\-]|\d\d)/gi,t.updateOffset=function(){},Xn=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Qn=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,Je.fn=Ie.prototype,Jn=nt(1,"add"),Zn=nt(-1,"subtract"),t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",er=ne("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)}),I(0,["gg",2],0,function(){return this.weekYear()%100}),I(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Dt("gggg","weekYear"),Dt("ggggg","weekYear"),Dt("GGGG","isoWeekYear"),Dt("GGGGG","isoWeekYear"),S("weekYear","gg"),S("isoWeekYear","GG"),Y("G",oo),Y("g",oo),Y("GG",Zr,Kr),Y("gg",Zr,Kr),Y("GGGG",to,Qr),Y("gggg",to,Qr),Y("GGGGG",no,Jr),Y("ggggg",no,Jr),q(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=v(e)}),q(["gg","GG"],function(e,n,r,o){n[o]=t.parseTwoDigitYear(e)}),I("Q",0,0,"quarter"),S("quarter","Q"),Y("Q",Gr),V("Q",function(e,t){t[fo]=3*(v(e)-1)}),I("D",["DD",2],"Do","date"),S("date","D"),Y("D",Zr),Y("DD",Zr,Kr),Y("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),V(["D","DD"],po),V("Do",function(e,t){t[po]=v(e.match(Zr)[0],10)}),tr=N("Date",!0),I("d",0,"do","day"),I("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),I("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),I("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),I("e",0,0,"weekday"),I("E",0,0,"isoWeekday"),S("day","d"),S("weekday","e"),S("isoWeekday","E"),Y("d",Zr),Y("e",Zr),Y("E",Zr),Y("dd",so),Y("ddd",so),Y("dddd",so),q(["dd","ddd","dddd"],function(e,t,n){var r=n._locale.weekdaysParse(e);null!=r?t.d=r:f(n).invalidWeekday=e}),
q(["d","e","E"],function(e,t,n,r){t[r]=v(e)}),nr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),rr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),or="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),I("H",["HH",2],0,"hour"),I("h",["hh",2],0,function(){return this.hours()%12||12}),zt("a",!0),zt("A",!1),S("hour","h"),Y("a",$t),Y("A",$t),Y("H",Zr),Y("h",Zr),Y("HH",Zr,Kr),Y("hh",Zr,Kr),V(["H","HH"],ho),V(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),V(["h","hh"],function(e,t,n){t[ho]=v(e),f(n).bigHour=!0}),ir=/[ap]\.?m?\.?/i,ar=N("Hours",!0),I("m",["mm",2],0,"minute"),S("minute","m"),Y("m",Zr),Y("mm",Zr,Kr),V(["m","mm"],mo),sr=N("Minutes",!1),I("s",["ss",2],0,"second"),S("second","s"),Y("s",Zr),Y("ss",Zr,Kr),V(["s","ss"],go),ur=N("Seconds",!1),I("S",0,0,function(){return~~(this.millisecond()/100)}),I(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),I(0,["SSS",3],0,"millisecond"),I(0,["SSSS",4],0,function(){return 10*this.millisecond()}),I(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),I(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),I(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),I(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),I(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),S("millisecond","ms"),Y("S",eo,Gr),Y("SS",eo,Kr),Y("SSS",eo,Xr),cr="SSSS";cr.length<=9;cr+="S")Y(cr,ro);for(cr="S";cr.length<=9;cr+="S")V(cr,Xt);return lr=N("Milliseconds",!1),I("z",0,0,"zoneAbbr"),I("zz",0,0,"zoneName"),fr=m.prototype,fr.add=Jn,fr.calendar=ot,fr.clone=it,fr.diff=lt,fr.endOf=xt,fr.format=ht,fr.from=mt,fr.fromNow=gt,fr.to=yt,fr.toNow=vt,fr.get=A,fr.invalidAt=Nt,fr.isAfter=at,fr.isBefore=st,fr.isBetween=ut,fr.isSame=ct,fr.isValid=Mt,fr.lang=er,fr.locale=bt,fr.localeData=_t,fr.max=Gn,fr.min=$n,fr.parsingFlags=Ot,fr.set=A,fr.startOf=wt,fr.subtract=Zn,fr.toArray=Et,fr.toObject=St,fr.toDate=kt,fr.toISOString=dt,fr.toJSON=dt,fr.toString=pt,fr.unix=Tt,fr.valueOf=Ct,fr.year=qn,fr.isLeapYear=le,fr.weekYear=At,fr.isoWeekYear=Lt,fr.quarter=fr.quarters=Rt,fr.month=J,fr.daysInMonth=Z,fr.week=fr.weeks=me,fr.isoWeek=fr.isoWeeks=ge,fr.weeksInYear=jt,fr.isoWeeksInYear=It,fr.date=tr,fr.day=fr.days=Bt,fr.weekday=Vt,fr.isoWeekday=qt,fr.dayOfYear=ve,fr.hour=fr.hours=ar,fr.minute=fr.minutes=sr,fr.second=fr.seconds=ur,fr.millisecond=fr.milliseconds=lr,fr.utcOffset=Ye,fr.utc=Be,fr.local=Ve,fr.parseZone=qe,fr.hasAlignedHourOffset=ze,fr.isDST=$e,fr.isDSTShifted=Ge,fr.isLocal=Ke,fr.isUtcOffset=Xe,fr.isUtc=Qe,fr.isUTC=Qe,fr.zoneAbbr=Qt,fr.zoneName=Jt,fr.dates=ne("dates accessor is deprecated. Use date instead.",tr),fr.months=ne("months accessor is deprecated. Use month instead",J),fr.years=ne("years accessor is deprecated. Use year instead",qn),fr.zone=ne("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",We),pr=fr,dr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},hr={LTS:"h:mm:ss A",LT:"h:mm A",

View File

@@ -1 +1 @@
<!DOCTYPE html><html><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=Edge"><link type="text/css" href="bundles/vendors.a94ef44ed5c201cefcf6ad7460788c1a.css" rel="stylesheet"/><link type="text/css" href="bundles/library.a8de6f8cf4dda6895071c6ec45f900d9.css" rel="stylesheet"/></head><body class="chart-page on-widget"><div class="loading-indicator" id="loading-indicator"></div><script src="js/external/spin.min.js"></script><script>var JSServer={};var __initialEnabledFeaturesets=["charting_library"];</script><script>(function(){window.urlParams=(function(){var j,h=/\+/g,m=/([^&=]+)=?([^&]*)/g,e=function(o){return decodeURIComponent(o.replace(h," ")).replace(/<\/?[^>]+(>|$)/g,"")},k=function(){var p=location.href;var o=p.indexOf("#");if(o>=0){return p.substring(o+1)}else{throw"Unexpected use of this page"}}(),n={};while(j=m.exec(k)){n[e(j[1])]=e(j[2])}var l=window.parent[n.uid];var i=["datafeed","customFormatters","brokerFactory"];for(var g in l){if(i.indexOf(g)===-1){n[g]=JSON.stringify(l[g])}}return n})();window.locale=urlParams.locale;window.language=urlParams.locale;window.addCustomCSSFile=function(e){var g=document.createElement("link");document.getElementsByTagName("head")[0].appendChild(g);g.setAttribute("type","text/css");g.setAttribute("rel","stylesheet");g.setAttribute("href",e)};if(!!urlParams.customCSS){window.addCustomCSSFile(urlParams.customCSS)}var f={};if(typeof urlParams.loading_screen==="string"){try{f=JSON.parse(urlParams.loading_screen)}catch(d){}}var a=document.getElementById("loading-indicator");if(f.backgroundColor){a.style="background-color: "+f.backgroundColor}var b=(f.foregroundColor)?f.foregroundColor:"#00A2E2";var c=new Spinner({lines:17,length:0,width:3,radius:30,scale:1,corners:1,color:b,opacity:0,rotate:0,direction:1,speed:1.5,trail:60,fps:20,zIndex:2000000000,className:"spinner",top:"50%",left:"50%",shadow:false,hwaccel:false}).spin(a)})();</script><script src="bundles/vendors.be39e0d831d7b65e9f31.js"></script><script src="bundles/library.77596ca6783cb5996d22.js"></script></body></html>
<!DOCTYPE html><html><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=Edge"><link type="text/css" href="bundles/vendors.a94ef44ed5c201cefcf6ad7460788c1a.css" rel="stylesheet"/><link type="text/css" href="bundles/library.a8de6f8cf4dda6895071c6ec45f900d9.css" rel="stylesheet"/></head><body class="chart-page on-widget"><div class="loading-indicator" id="loading-indicator"></div><script src="js/external/spin.min.js"></script><script>var JSServer={};var __initialEnabledFeaturesets=["charting_library"];</script><script>(function(){window.urlParams=(function(){var j,h=/\+/g,m=/([^&=]+)=?([^&]*)/g,e=function(o){return decodeURIComponent(o.replace(h," ")).replace(/<\/?[^>]+(>|$)/g,"")},k=function(){var p=location.href;var o=p.indexOf("#");if(o>=0){return p.substring(o+1)}else{throw"Unexpected use of this page"}}(),n={};while(j=m.exec(k)){n[e(j[1])]=e(j[2])}var l=window.parent[n.uid];var i=["datafeed","customFormatters","brokerFactory"];for(var g in l){if(i.indexOf(g)===-1){n[g]=JSON.stringify(l[g])}}return n})();window.locale=urlParams.locale;window.language=urlParams.locale;window.addCustomCSSFile=function(e){var g=document.createElement("link");document.getElementsByTagName("head")[0].appendChild(g);g.setAttribute("type","text/css");g.setAttribute("rel","stylesheet");g.setAttribute("href",e)};if(!!urlParams.customCSS){window.addCustomCSSFile(urlParams.customCSS)}var f={};if(typeof urlParams.loading_screen==="string"){try{f=JSON.parse(urlParams.loading_screen)}catch(d){}}var a=document.getElementById("loading-indicator");if(f.backgroundColor){a.style="background-color: "+f.backgroundColor}var b=(f.foregroundColor)?f.foregroundColor:"#00A2E2";var c=new Spinner({lines:17,length:0,width:3,radius:30,scale:1,corners:1,color:b,opacity:0,rotate:0,direction:1,speed:1.5,trail:60,fps:20,zIndex:2000000000,className:"spinner",top:"50%",left:"50%",shadow:false,hwaccel:false}).spin(a)})();</script><script src="bundles/vendors.fd8604c09abed9f6643a.js"></script><script src="bundles/library.19c99ed5d0307c67f071.js"></script></body></html>

File diff suppressed because one or more lines are too long

View File

@@ -91,13 +91,13 @@ var DataPulseProvider = /** @class */ (function () {
export { DataPulseProvider };
function periodLengthSeconds(resolution, requiredPeriodsCount) {
var daysCount = 0;
if (resolution === 'D') {
if (resolution === 'D' || resolution === '1D') {
daysCount = requiredPeriodsCount;
}
else if (resolution === 'M') {
else if (resolution === 'M' || resolution === '1M') {
daysCount = 31 * requiredPeriodsCount;
}
else if (resolution === 'W') {
else if (resolution === 'W' || resolution === '1W') {
daysCount = 7 * requiredPeriodsCount;
}
else {

View File

@@ -130,11 +130,11 @@ export class DataPulseProvider {
function periodLengthSeconds(resolution: string, requiredPeriodsCount: number): number {
let daysCount = 0;
if (resolution === 'D') {
if (resolution === 'D' || resolution === '1D') {
daysCount = requiredPeriodsCount;
} else if (resolution === 'M') {
} else if (resolution === 'M' || resolution === '1M') {
daysCount = 31 * requiredPeriodsCount;
} else if (resolution === 'W') {
} else if (resolution === 'W' || resolution === '1W') {
daysCount = 7 * requiredPeriodsCount;
} else {
daysCount = requiredPeriodsCount * parseInt(resolution) / (24 * 60);