commit 2018-12-28 09:12:07.480806
initialSettings from settings adapter does not work #3479
This commit is contained in:
2
charting_library/charting_library.min.js
vendored
2
charting_library/charting_library.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -20,7 +20,7 @@ this._rowSearchCache={},this._plotNames=t}return t.prototype.clear=function(){th
|
||||
void 0===w&&(T=S*c,C=(S+1)*c-1,w=this.minMaxOnRange(T,C,[u]),y[S]=w),r=o(r,w);m=this._lowerbound(f),g=this._upperbound(p),v=this._plotMinMax(m,g,u),r=o(r,v),void 0!==u.baseValue&&null!==r&&(r.min=r.min?Math.min(u.baseValue,r.min):r.min,r.max=r.min?Math.max(u.baseValue,r.max):r.max)}return r},t.prototype.minMaxOnRange=function(t,e,i){var n,r,s,a,l,c,h=null;for(n=0,r=i;n<r.length;n++)s=r[n],a=this._lowerbound(t-s.offset),l=Math.min(this._lowerbound(e-s.offset)+1,this._items.length),this._items[this._end-1]&&this._items[l-1].index>e-s.offset&&(l=a),c=this._plotMinMax(a,l,s),h=o(h,c),void 0!==s.baseValue&&null!==h&&(h.min=h.min?Math.min(s.baseValue,h.min):h.min,h.max=h.max?Math.max(s.baseValue,h.max):h.max);return h},t.prototype.merge=function(t){var e,i,o,n;if(this._shareRead)return a.logDebug("merge: readonly collection modification attempt"),[];for(e=[],e.earliestRow=null,i=0,o=t;i<o.length;i++)n=o[i],this._invalidateCacheForRow(n),(null===e.earliestRow||e.earliestRow.index>n.index)&&(e.earliestRow=n),this.add(n.index,n.value)?e.push({insert:n}):e.push({update:n});return e},t.prototype.addTail=function(t,e){var i,o,n,r;for(void 0===e&&(e=!1),i=0,e&&this._end-this._start>0&&(i=1,this._items[this._end-this._start-1].value=t[0].value),o=i;o<t.length;++o){if(n=t[o],null===(r=this.lastIndex())){a.logError("Can't add tail to the empty plotlist");break}this.add(r+1,n.value)}this._rowSearchCache={}},t.prototype.move=function(t){var e,i,o,n,r,s,l,c;if(this._shareRead)return a.logDebug("move: readonly collection modification attempt"),[];for(e=[],e.earliestRow=null,i=0,o=t;i<o.length;i++)n=o[i],null!==(r=this._search(n.old))&&(s=this._items[r].value,l={index:n.old,value:s},this._items.splice(r,1),this._end=this._items.length,e.push({remove:l}),this._invalidateCacheForRow(l),n.new!==h&&(c={index:n.new,value:s},(null===e.earliestRow||e.earliestRow.index>c.index)&&(e.earliestRow=c),this.add(c.index,c.value)?e.push({insert:c}):e.push({update:c}),this._invalidateCacheForRow(c)));return this._rowSearchCache={},e},t.prototype.remove=function(t){var e,i,o,n,r,s;if(this._shareRead)return a.logDebug("remove: readonly collection modification attempt"),[];if(null===(e=this._search(t,l.NearestRight)))return[];if(i=[],o=this._items.splice(e),o.length>0)for(i.earliestRow=o[0],n=0,r=o;n<r.length;n++)s=r[n],i.push({remove:s});return this._end=this._items.length,this._minMaxCache={},this._rowSearchCache={},i},t.prototype.state=function(){return{columns:this._plotNames,start:this._start,end:this._end,data:this._items,shareread:this._shareRead}},t.prototype.restoreState=function(t){if(!t)return void this.clear();this._plotNames=t.columns,this._start=t.start,this._end=t.end,this._shareRead=t.shareread,this._items=t.data,this._minMaxCache={},this._rowSearchCache={}},t.prototype._indexAt=function(t){return this._items[t].index},t.prototype._valueAt=function(t){return this._items[t].value},t.prototype._length=function(){return this._items.length},t.prototype._search=function(t,e){var i,o=this._bsearch(t);return null===o&&e?e<0?(i=this._lowerbound(t),
|
||||
i>this._start&&(i-=1),i!==this._end&&this._indexAt(i)<t?i:null):(i=this._upperbound(t),i!==this._end&&t<this._indexAt(i)?i:null):o},t.prototype._bsearch=function(t){var e=this._lowerbound(t);return e===this._end||t<this._items[e].index?null:e},t.prototype._lowerbound=function(t){return r.lowerbound(this._items,t,function(t,e){return t.index<e},this._start,this._end)},t.prototype._upperbound=function(t){return r.upperbound(this._items,t,function(t,e){return e.index>t},this._start,this._end)},t.prototype._plotMinMax=function(t,e,i){var o,n,r,s=null;for(o=t;o<e;o++)n=this._items[o].value,void 0===(r=n[i.index])||null===r||Number.isNaN(r)||(null===s?s={min:r,max:r}:(r<s.min&&(s.min=r),r>s.max&&(s.max=r)));return s},t.prototype._invalidateCacheForRow=function(t){var e,i=Math.floor(t.index/c);for(e=0;e<this._plotNames.length;e++)this._minMaxCache[e]&&delete this._minMaxCache[e][i]},t}(),e.PlotList=u,e.mergeMinMax=o},,function(t,e,i){"use strict";(function(e){function o(t,e,i,o){this._map=$.extend({},this._map,o),e&&(e=this.unpackLevels(e)),r.call(this,t,e,i),this.updateCollectibleProperty()}var n=i(15).isSameType,r=i(6).DefaultProperty,s=i(810);inherit(o,r),o.prototype.state=function(t,i){t=t||[],t.push("__collectibleLines");var o=e.prototype.state.call(this,t);return i?o:this.packLevels(o)},o.prototype.clone=function(){var t=this.state();return this.__collectibleLines&&(t.__collectibleLines=this.__collectibleLines.state()),new o(this._defaultName,t)},o.prototype.merge=function(t){e.prototype.merge.call(this,this.unpackLevels(t)),this.updateCollectibleProperty()},o.prototype._map={prefixes:[""],range:[0,0],names:["coeff","color","visible","linestyle","linewidth"],typecheck:{pack:Object,unpack:Array}},o.prototype._packLvlTpl=function(){return[]},o.prototype._unpackLvlTpl=function(){return{}},o.prototype._packLvlFill=function(t,e,i,o){return o.push(i[e]),o},o.prototype._unpackLvlFill=function(t,e,i,o){return o[e]=i[t],o},o.prototype._iterateLevels=function(t,e){var i,o,r,s,a;for(i in this._map.prefixes)for(o=(this._map.prefixes[i]||"")+"level",r=this._map.range[0];r<=this._map.range[1];r++)if(t[o+r]&&n(t[o+r],e.typecheck())){s=e.tpl();for(a in this._map.names)s=e.fill(a,this._map.names[a],t[o+r],s);t[o+r]=s}return t},o.prototype.packLevels=function(t){return this._iterateLevels(t,{tpl:this._packLvlTpl,fill:this._packLvlFill,typecheck:this._map.typecheck.pack})},o.prototype.unpackLevels=function(t){return this._iterateLevels(t,{tpl:this._unpackLvlTpl,fill:this._unpackLvlFill,typecheck:this._map.typecheck.unpack})},o.prototype.saveDefaults=function(){TradingView.saveDefaults(this._defaultName,this.state(this._exclusions,!0))},o.prototype.updateCollectibleProperty=function(){var t,e;this.__collectibleLines&&(t=this,e=[],this.__collectibleLines._childs.forEach(function(i){var o,n=t.__collectibleLines[i].value(),r=n.split("."),s=t[r[0]];for(o=1;o<r.length&&s;++o)s=s[r[o]];s&&e.push({property:s.color,defaultValue:s.color.value()})}),this.collectibleColors?this.collectibleColors.reloadProperties(e):this.collectibleColors=new s(e))
|
||||
},t.exports=o}).call(e,i(25))},function(t,e,i){"use strict";function o(t){this._invalidationLevel=t||o.UPDATE_CURSOR_ONLY,this._invalidatedPanes={}}o.UPDATE_CURSOR_ONLY=1,o.LIGHT_UPDATE=2,o.FULL_UPDATE=3,o.prototype.invalidatePane=function(t,e){this._invalidatedPanes[t]?this._invalidatedPanes[t]=Math.max(this._invalidatedPanes[t],e):this._invalidatedPanes[t]=e},o.prototype.invalidateAll=function(t){this._invalidationLevel=Math.max(this._invalidationLevel,t)},o.prototype.fullInvalidation=function(){return this._invalidationLevel},o.prototype.invalidateForPane=function(t){return this._invalidatedPanes[t]?Math.max(this._invalidatedPanes[t],this._invalidationLevel):this._invalidationLevel},o.prototype.merge=function(t){this.force=this.force||t.force,this._invalidationLevel=Math.max(this._invalidationLevel,t._invalidationLevel);for(var e in t._invalidatedPanes)this._invalidatedPanes[e]?this._invalidatedPanes[e]=Math.max(this._invalidatedPanes[e],t._invalidatedPanes[e]):this._invalidatedPanes[e]=t._invalidatedPanes[e]},o.prototype.exclude=function(t){this._invalidationLevel<=t&&(this._invalidationLevel=0);for(var e in this._invalidatedPanes)this._invalidatedPanes[e]<=t&&(this._invalidatedPanes[e]=0)},t.exports=o},function(t,e,i){"use strict";function o(t,e,i){h[t].unsubscribe(i,e)}function n(t,e,i){r(t,e,i)}function r(t,e,i,o){if(h.hasOwnProperty(t)||(h[t]=new c),d[t])return void e.call(i);h[t].subscribe(i,e,o)}function s(t){u.push(t)}function a(t){var e,i,o=[];for(e=1;e<arguments.length;e++)o[e-1]=arguments[e];i=[t].concat(o),u.forEach(function(t){t.apply(null,i)}),h.hasOwnProperty(t)&&h[t].fire.apply(h[t],o)}function l(t){d[t]&&console.warn("Something went wrong: emitOnce called multiple times with same event ("+t+")"),d[t]=!0,a.apply(null,arguments)}var c,h,u,d;Object.defineProperty(e,"__esModule",{value:!0}),c=i(10),h={},u=[],d={},e.unsubscribe=o,e.on=n,e.subscribe=r,e.subscribeToAll=s,e.emit=a,e.emitOnce=l},function(t,e,i){"use strict";(function(t,e,o){var n,r,s,a,l;i(64),n=i(201).regExpEscape,r=i(93).TVXWindowEvents,s=i(200).TVLocalStorage,a=["s.tradingview.com","betacdn.tradingview.com"],l=window.TVSettings=function(){function i(t){return D+"."+t}function o(t,e){var i;return i=V[t],window.is_authenticated&&!W||null!=i||(i=V[t]),null==i?e:i}function c(t,e){var i=o(t,void 0);if(null==i)return e;try{return JSON.parse(i)}catch(i){return f(t),e}}function h(t,e){var i=o(t);return null==i?e:!(!i||"false"===i||0==+i)}function u(t,e,i){var n,r=o(t,void 0,i);if(null==r)return e;if(n=parseFloat(r),!isFinite(n))throw new TypeError('"'+r+'" is not float (key: "'+t+'")');return n}function d(t,e,i){var n,r=o(t,void 0,i);if(null==r)return e;if(n=parseInt(r,10),!isFinite(n))throw new TypeError('"'+r+'" is not int (key: "'+t+'")');return n}function p(t,e,i){i=i||{};var o=""+e;return V[t]!==o&&(V[t]=o,g(t)),i.forceFlush&&!B&&(B=setTimeout(function(){B=void 0,v()},E)),l}function _(t,e,i){return p(t,JSON.stringify(e),i),l}function f(t,e){return e=e||{},null!=V[t]&&(delete V[t],g(t)),e.forceFlush&&v(),l}function m(){R=void 0,
|
||||
O.length&&v()}function g(t){if(H)null==V[t]?H.removeValue(i(t)):H.setValue(i(t),V[t]);else if(!window.is_authenticated||W)try{null==V[t]?s.removeItem(i(t)):s.setItem(i(t),V[t])}catch(t){}else O.push(t),R||(R=setTimeout(m,M));r.emit("settings",JSON.stringify({key:t,value:V[t]}))}function v(e){var i,o,n,r,s;if(!t.enabled("widget")&&window.is_authenticated&&!W&&0!==O.length){for(i=O,O=[],o={},n=i.length;n--;)r=i[n],s=V[r],void 0===s&&(s=null),o[r]=s;$.ajax({url:"/savesettings/",type:"POST",data:{delta:JSON.stringify(o)},async:!e})}}function y(){var t,e,i;for(t=0;t<s.length;t++)e=s.key(t),i=D.length,e.substring(0,i+1)===D+"."&&(O=[],s.removeItem(e));$.post("/restoredefaults/",{},function(t){TVDialogs.showNotice("Success","Defaults has been successfully restored")}).error(function(t){})}function b(){return Object.keys(V)}function S(t,e){var i,o=b(e),r=[];for(t=RegExp("^"+n(t).replace(/\\\*\\\*/gi,".+").replace(/\\\*/gi,"[^.]+")+"$","gi"),i=o.length-1;i>=0;i--)t.test(o[i])&&r.push(o[i]),t.lastIndex=0;return r}function w(t){for(var e=0;e<z.length;++e)if(z[e].exec(t))return!0;return!1}function T(){var e,i,o,n,r;for(V={},e=D+".",i=!t.enabled("save_chart_properties_to_local_storage"),o=s.length;o--;)(n=s.key(o))&&n.substring(0,e.length)===e&&(r=n.substring(e.length),i&&!w(r)||(V[r]=s.getItem(n)))}function C(t){var e,i,o,n,r;for(V={},e=0===Object.keys(t).length,i=D+".",o=s.length;o--;)(n=s.key(o))&&n.substring(0,i.length)===i&&(e&&(r=n.substring(i.length),p(r,s.getItem(n))),s.removeItem(n));Object.keys(t).forEach(function(e){V[e]=t[e]+""})}function x(){var t,e,i,o;if(TradingView.onWidget()&&a.includes(window.location.host))for(t="tradingview.",e=s.length;e--;)i=s.key(e),0===i.indexOf(t)&&(o=i.replace(t,D+"."),s.setItem(o,s.getItem(i)),s.removeItem(i))}function P(t){H?C(H.initialSettings||{}):window.is_authenticated&&!W?C(t||{}):(x(),T()),F.fire()}function L(t){H=t}var I,k,A,M,E,D,V,O,R,B,z,F,N=!1,W=t.enabled("cqg_terminal"),H=null;try{N=!TradingView.onWidget()&&parent&&parent!==window&&!!parent.IS_DEMO_PAGE}catch(t){}return N?(I={"widgetbar.layout-settings":{widgets:{},settings:{minimized:!0}},notShowMainWizard:!0},k=function(t,e,i){var o=I[t];return null==o?e:o},A=function(){},{loaded:!1,loadedModel:!1,getValue:k,getJSON:k,getBool:k,getFloat:k,getInt:k,setValue:A,setJSON:A,remove:A,restoreDefaults:A,keys:function(){return Object.keys(I)},keysMask:function(){return[]},sync:A,onSync:{subscribe:function(){}}}):(M=12e4,E=10,"local"===window.environment&&(M=5e3),D=TradingView.onWidget()?"tradingview-widget":"tradingview",V={},O=[],z=[/^widgetbar\.widget\.watchlist.+/,/.+quicks$/,/^widgetbar\.layout-settings$/,/^ChartSideToolbarWidget\.visible$/,/^onwidget\.watchlist$/,/^domepanel.visible$/,/^chart\.favoriteDrawings$/,/^chart\.favoriteDrawingsPosition$/,/^ChartFavoriteDrawingToolbarWidget\.visible/,/^trading\.chart\.proterty$/,/^trading_floating_toolbar\.position$/],r.on("settings",function(t){var e=JSON.parse(t);null==e.value?delete V[e.key]:V[e.key]=e.value}),F=new e,document.addEventListener("visibilitychange",function(){
|
||||
O.length&&v()}function g(t){if(H)null==V[t]?H.removeValue(t):H.setValue(t,V[t]);else if(!window.is_authenticated||W)try{null==V[t]?s.removeItem(i(t)):s.setItem(i(t),V[t])}catch(t){}else O.push(t),R||(R=setTimeout(m,M));r.emit("settings",JSON.stringify({key:t,value:V[t]}))}function v(e){var i,o,n,r,s;if(!t.enabled("widget")&&window.is_authenticated&&!W&&0!==O.length){for(i=O,O=[],o={},n=i.length;n--;)r=i[n],s=V[r],void 0===s&&(s=null),o[r]=s;$.ajax({url:"/savesettings/",type:"POST",data:{delta:JSON.stringify(o)},async:!e})}}function y(){var t,e,i;for(t=0;t<s.length;t++)e=s.key(t),i=D.length,e.substring(0,i+1)===D+"."&&(O=[],s.removeItem(e));$.post("/restoredefaults/",{},function(t){TVDialogs.showNotice("Success","Defaults has been successfully restored")}).error(function(t){})}function b(){return Object.keys(V)}function S(t,e){var i,o=b(e),r=[];for(t=RegExp("^"+n(t).replace(/\\\*\\\*/gi,".+").replace(/\\\*/gi,"[^.]+")+"$","gi"),i=o.length-1;i>=0;i--)t.test(o[i])&&r.push(o[i]),t.lastIndex=0;return r}function w(t){for(var e=0;e<z.length;++e)if(z[e].exec(t))return!0;return!1}function T(){var e,i,o,n,r;for(V={},e=D+".",i=!t.enabled("save_chart_properties_to_local_storage"),o=s.length;o--;)(n=s.key(o))&&n.substring(0,e.length)===e&&(r=n.substring(e.length),i&&!w(r)||(V[r]=s.getItem(n)))}function C(t){var e,i,o,n,r;for(V={},e=0===Object.keys(t).length,i=D+".",o=s.length;o--;)(n=s.key(o))&&n.substring(0,i.length)===i&&(e&&(r=n.substring(i.length),p(r,s.getItem(n))),s.removeItem(n));Object.keys(t).forEach(function(e){V[e]=t[e]+""})}function x(){var t,e,i,o;if(TradingView.onWidget()&&a.includes(window.location.host))for(t="tradingview.",e=s.length;e--;)i=s.key(e),0===i.indexOf(t)&&(o=i.replace(t,D+"."),s.setItem(o,s.getItem(i)),s.removeItem(i))}function P(t){H?C(H.initialSettings||{}):window.is_authenticated&&!W?C(t||{}):(x(),T()),F.fire()}function L(t){H=t}var I,k,A,M,E,D,V,O,R,B,z,F,N=!1,W=t.enabled("cqg_terminal"),H=null;try{N=!TradingView.onWidget()&&parent&&parent!==window&&!!parent.IS_DEMO_PAGE}catch(t){}return N?(I={"widgetbar.layout-settings":{widgets:{},settings:{minimized:!0}},notShowMainWizard:!0},k=function(t,e,i){var o=I[t];return null==o?e:o},A=function(){},{loaded:!1,loadedModel:!1,getValue:k,getJSON:k,getBool:k,getFloat:k,getInt:k,setValue:A,setJSON:A,remove:A,restoreDefaults:A,keys:function(){return Object.keys(I)},keysMask:function(){return[]},sync:A,onSync:{subscribe:function(){}}}):(M=12e4,E=10,"local"===window.environment&&(M=5e3),D=TradingView.onWidget()?"tradingview-widget":"tradingview",V={},O=[],z=[/^widgetbar\.widget\.watchlist.+/,/.+quicks$/,/^widgetbar\.layout-settings$/,/^ChartSideToolbarWidget\.visible$/,/^onwidget\.watchlist$/,/^domepanel.visible$/,/^chart\.favoriteDrawings$/,/^chart\.favoriteDrawingsPosition$/,/^ChartFavoriteDrawingToolbarWidget\.visible/,/^trading\.chart\.proterty$/,/^trading_floating_toolbar\.position$/],r.on("settings",function(t){var e=JSON.parse(t);null==e.value?delete V[e.key]:V[e.key]=e.value}),F=new e,document.addEventListener("visibilitychange",function(){
|
||||
"hidden"!==document.visibiltyState&&!0!==document.hidden||v()}),window.addEventListener("unload",function(){v(!0)}),{loaded:!1,loadedModel:!1,getValue:o,getJSON:c,getBool:h,getFloat:u,getInt:d,setValue:p,setJSON:_,remove:f,restoreDefaults:y,keys:b,keysMask:S,sync:P,onSync:F,setSettingsAdapter:L})}(),void 0!==o&&o&&o.exports&&(o.exports=l)}).call(e,i(5),i(10),i(42)(t))},function(t,e,i){"use strict";(function(e){function i(t){if(this._listeners=new e,this._childs=[],void 0!==t&&null!==t)if(this.isPrimitiveType(t))this._value=t;else for(var i in t)this.addProperty(i,t[i])}i.prototype.merge=function(t){var e,i;if(null!=t)if(this.isPrimitiveType(t))this._value=t;else if(Array.isArray(t))for(e=0;e<t.length;e++)this[e]?this[e].merge(t[e]):this.addProperty(e,t[e]);else for(i in t)this[i]?this[i].merge(t[i]):this.addProperty(i,t[i])},i.prototype.state=function(t){var e,i,o,n,r,s=this._value;for(void 0===s&&(s={}),e=0;e<this._childs.length;e++)if(i=this._childs[e],!t||-1===t.indexOf(i))if(t){for(o=[],n=0;n<t.length;n++)r=t[n],r.startsWith(i+".")&&o.push(r.substr(i.length+1));s[i]=this[i].state(o)}else s[i]=this[i].state();return s},i.prototype.clone=function(t){return new i(this.state())},i.prototype.isPrimitiveType=function(t){return!!isNumber(t)||(!!new TradingView.TypeValidator(String).check(t)||TradingView.isBoolean(t))},i.prototype.value=function(){return this._value},i.prototype.listeners=function(){return this._listeners},i.prototype.childCount=function(){return this._childs.length},i.prototype.setValue=function(t,e){(this._value!==t||e)&&(this._value=t,this._listeners.fire(this))},i.prototype.setValueSilently=function(t){this._value=t},i.prototype.addProperty=function(t,e){var o=new i(e);this[t]=o,this._childs.push(t),o.listeners().subscribe(this,i.prototype.childChanged)},i.prototype.removeProperty=function(t){this[t].listeners().unsubscribe(this,i.prototype.childChanged),delete this[t],this._childs=this._childs.filter(function(e){return e!==t})},i.prototype.addChild=function(t,e){this[t]=e,-1===$.inArray(t,this._childs)&&this._childs.push(t),e.listeners().subscribe(this,i.prototype.childChanged)},i.prototype.childChanged=function(t,e){this.listeners().fire(this)},i.prototype.subscribe=function(t,e){this.listeners().subscribe(t,e)},i.prototype.unsubscribe=function(t,e){this.listeners().unsubscribe(t,e)},i.prototype.unsubscribeAll=function(t){this.listeners().unsubscribeAll(t)},t.exports=i}).call(e,i(10))},function(t,e,i){"use strict";(function(e,o,n){function r(t){return"cursor"===t||"arrow"===t||"dot"===t}function s(t){!t&&u&&u.stayInDrawingMode.value()||this.tool.setValue(this.cursorTool.value())}function a(t,e){return function(e){t.inFire||(t.inFire=!0,t.fire(e),t.inFire=!1)}}function l(){K||(g.setValue(TVSettings.getValue("chart.cursorPreference","cursor")),g.subscribe(function(t){r(t)&&v.setValue(t)},{callWithLast:!0}),v.subscribe(function(t){t&&TVSettings.setValue("chart.cursorPreference",t)}),u=new c("drawings"),d=new n,p=new n,_=new n,f=new n,d.setValue(!1),p.setValue(!1),_.setValue(!1),f.setValue(!1),
|
||||
g.subscribe(function(){h.emit("onSelectedLineToolChanged")}),K=!0)}var c=i(6).DefaultProperty,h=i(23),u=null,d=null,p=null,_=null,f=null,m=new e,g=new e,v=new e,y=new o,b=new o,S=new o,w=new o,T=new o,C=new o,x=new o,P=new o,L=new o,I=new o,k=new o,A=new o,M=new o,E=new o,D=new o,V=a(y),O=a(b),R=a(S),B=a(w),z=a(T),F=a(C),N=a(x),W=a(P),$=a(L),H=a(I),U=a(k),j=a(A),q=a(M),G=a(E),Y=a(D),K=!1;t.exports={tool:g,cursorTool:v,toolIsCursor:r,resetToCursor:s,init:l,createdLineTool:y,continuedLineTool:b,cancelledLineTool:S,createLineTool:V,continueLineTool:O,cancelLineTool:R,startedMovingLineTool:w,movedLineTool:T,finishedMovingLineTool:C,startMovingLineTool:B,moveLineTool:z,finishMovingLineTool:F,startedChangingLineTool:x,changedLineTool:P,finishedChangingLineTool:L,startChangingLineTool:N,changeLineTool:W,finishChangingLineTool:$,removedLineTool:I,removeLineTool:H,restoredLineTool:E,restoreLineTool:G,restoredLineToolState:D,restoreLineToolState:Y,finishedLineTool:k,finishLineTool:U,changedLineStyle:A,changeLineStyle:j,copiedLineTool:M,copyLineTool:q,properties:function(){return u},hideAllDrawings:function(){return d},hideMarksOnBars:function(){return _},lockDrawings:function(){return p},drawOnAllCharts:function(){return u.drawOnAllCharts},lockTimeAxis:function(){return f},lockTimeAxisTime:m}}).call(e,i(17),i(10),i(25))},,function(t,e,i){"use strict";function o(t,e){if(!n.isNumber(t))return"n/a";if(!n.isInteger(e))throw new TypeError("invalid length");if(e<0||e>16)throw new TypeError("invalid length");return 0===e?""+t:("0000000000000000"+t).slice(-e)}var n,r,s,a,l;Object.defineProperty(e,"__esModule",{value:!0}),i(12),n=i(15),r=i(7),s=r.getLogger("Chart.PriceFormatter"),e.customFormatters={dateFormatter:null,timeFormatter:null},e.formatterOptions={decimalSign:".",decimalSignFractional:"'"},a={custom:$.t("Price format is invalid."),fraction:$.t("Fraction part is invalid."),secondFraction:$.t("Second fraction part is invalid.")},e.numberToStringWithLeadingZero=o,l=function(){function t(t,e,i,o){if(this.type="price",e||(e=1),n.isNumber(t)&&n.isInteger(t)||(t=100),t<0)throw new TypeError("invalid base");if(this._priceScale=t,this._minMove=e,this._minMove2=o,i&&void 0!==o&&o>0&&2!==o&&4!==o&&8!==o)return void s.logDebug("invalid minmove2");this._fractional=i,this.calculateDecimal()}return t.prototype.isFractional=function(){return!!this._fractional},t.prototype.state=function(){return{fractional:this._fractional,fractionalLength:this._fractionalLength,minMove:this._minMove,minMove2:this._minMove2,priceScale:this._priceScale}},t.prototype.calculateDecimal=function(){if(this._fractionalLength=0,this._priceScale>0&&this._minMove>0){var t=this._priceScale;for(this._fractional&&this._minMove2&&(t/=this._minMove2);t>1;)t/=10,this._fractionalLength++}},t.prototype.format=function(t,e,i,o){void 0===o&&(o=!0);var n="";return t<0?(n=!0===e?"−":!1===o?"":"-",t=-t):t&&!0===e&&(n="+"),this._fractional?n+this._formatAsFractional(t,i):n+this._formatAsDecimal(t,i)},t.prototype.parse=function(t){
|
||||
return this._fractional?this._minMove2?this._parseAsDoubleFractional(t):this._parseAsSingleFractional(t):this._parseAsDecimal(t)},t.prototype.hasForexAdditionalPrecision=function(){return!this._fractional&&10===this._minMove2},t.serialize=function(t){return t.state()},t.deserialize=function(e){return new t(e.priceScale,e.minMove,e.fractional,e.minMove2)},t.prototype._formatAsDecimal=function(t,i){var n,r,s,a,l;return i=i||0,n=this._fractional?Math.pow(10,this._fractionalLength||0):Math.pow(10,i)*this._priceScale/this._minMove,r=Math.floor(t),s=+(Math.round(t*n)-r*n).toFixed(this._fractionalLength),s>=n&&(s-=n,r+=1),a="",1!==n&&(l=void 0!==this._fractionalLength?this._fractionalLength:NaN,a=e.formatterOptions.decimalSign+o(+s.toFixed(this._fractionalLength)*this._minMove,l+i),a=this._removeEndingZeros(a,i)),""+r+a},t.prototype._formatAsFractional=function(t,i){var n,r,s,a,l,c,h,u,d,p=this._priceScale/this._minMove,_=Math.floor(t),f=i?Math.floor(t*p)-_*p:Math.round(t*p)-_*p;if(f===p&&(f=0,_+=1),n="",i&&(r=(t-_-f/p)*p,r=Math.round(r*Math.pow(10,i)),n=o(r,i),n=this._removeEndingZeros(n,i)),!this._fractionalLength)throw Error("_fractionalLength is not calculated");return s="",this._minMove2?(a=["0","5"],l=["0","2","5","7"],c=["0","1","2","3","4","5","6","7"],h=f%this._minMove2,f=(f-h)/this._minMove2,u=o(f,this._fractionalLength),d=2===this._minMove2?a[h]:8===this._minMove2?c[h]:l[h],s=u+e.formatterOptions.decimalSignFractional+d):s=o(f*this._minMove,this._fractionalLength),""+_+e.formatterOptions.decimalSignFractional+s+n},t.prototype._removeEndingZeros=function(t,e){for(var i=0;i<e&&"0"===t[t.length-1];i++)t=t.substr(0,t.length-1);return t},t.prototype._parseAsDecimal=function(t){var i,o,n=RegExp(/^(\-?)[0-9]+$/),r=n.exec(t);return r?(i=parseFloat(t),{price:i,res:!0,suggest:this.format(i)}):(o=RegExp("^(-?)[0-9]+\\"+e.formatterOptions.decimalSign+"[0-9]*$"),r=o.exec(t),r?(i=parseFloat(t.replace(e.formatterOptions.decimalSign,".")),{price:i,res:!0,suggest:this.format(i)}):{error:a.custom,res:!1})},t.prototype._patchFractPart=function(t,e){var i={0:0,5:1},o={0:0,2:1,5:2,7:3};return 2===e?void 0===i[t]?-1:i[t]:4===e?void 0===o[t]?-1:o[t]:t},t.prototype._parseAsSingleFractional=function(t){var i,o,n,r,s,l,c=RegExp(/^(\-?)[0-9]+$/),h=c.exec(t);return h?(i=parseFloat(t),{price:i,res:!0,suggest:this.format(i)}):(o=RegExp("^(-?)([0-9]+)\\"+e.formatterOptions.decimalSignFractional+"([0-9]+)$"),h=o.exec(t),h?(n=!!h[1],r=parseInt(h[2]),s=this._priceScale,(l=this._patchFractPart(parseInt(h[3]),s))>=s||l<0?{error:a.fraction,res:!1}:(i=r+l/s,n&&(i=-i),{price:i,res:!0,suggest:this.format(i)})):{error:a.custom,res:!1})},t.prototype._parseAsDoubleFractional=function(t){var i,o,n,r,s,l,c,h,u,d=RegExp(/^(\-?)[0-9]+$/),p=d.exec(t);return p?(i=parseFloat(t),{price:i,res:!0,suggest:this.format(i)}):(o=RegExp("^(-?)([0-9]+)\\"+e.formatterOptions.decimalSignFractional+"([0-9]+)\\"+e.formatterOptions.decimalSignFractional+"([0-9]+)$"),p=o.exec(t),p?(n=!!p[1],r=parseInt(p[2]),s=void 0!==this._minMove2?this._minMove2:NaN,l=this._priceScale/s,
|
||||
@@ -1,4 +1,4 @@
|
||||
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n,r,o=window.webpackJsonp;window.webpackJsonp=function(n,i,a){for(var s,u,l,c=0,f=[];c<n.length;c++)u=n[c],r[u]&&f.push(r[u][0]),r[u]=0;for(s in i)Object.prototype.hasOwnProperty.call(i,s)&&(e[s]=i[s]);for(o&&o(n,i,a);f.length;)f.shift()();if(a)for(c=0;c<a.length;c++)l=t(t.s=a[c]);return l},n={},r={16:0},t.e=function(e){function n(){a.onerror=a.onload=null,clearTimeout(s);var t=r[e];0!==t&&(t&&t[1](Error("Loading chunk "+e+" failed.")),r[e]=void 0)}var o,i,a,s,u=r[e];return 0===u?new Promise(function(e){e()}):u?u[2]:(o=new Promise(function(t,n){u=r[e]=[t,n]}),u[2]=o,i=document.getElementsByTagName("head")[0],a=document.createElement("script"),a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,t.nc&&a.setAttribute("nonce",t.nc),a.src=t.p+""+({0:"lazy-velocity",1:"lt-pane-views",2:"take-chart-image-dialog-impl",3:"ds-property-pages",4:"go-to-date-dialog-impl",5:"symbol-info-dialog-impl",6:"objecttreedialog",7:"lazy-jquery-ui",8:"editobjectdialog",11:"ie-fallback-logos",12:"propertypagesfactory",14:"library"}[e]||e)+"."+{0:"6843186d1d19426e2f3c",1:"9ecc943f945b2fd4fad6",2:"45288e052b450c5e2d11",3:"4650c8fe6629bba016a1",4:"4e462a33aa18010573c8",5:"1d95eab19af70ebdf07d",6:"e2f61129ab1c8c59ca83",7:"ca86274e39963e6b5b5f",8:"1a53a3b4104302264052",9:"0f95ea8c401ed7b42af8",10:"0b4b80ce7284d28083f7",11:"58dc8877847b4dced0e4",12:"88d1e4b5f0c82c2d9b43",13:"87c51bb601702992e1dd",14:"01b9186ecddcadea2011",15:"d0280d7e7496e08f4962"}[e]+".js",s=setTimeout(n,12e4),a.onerror=a.onload=n,i.appendChild(a),o)},t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="bundles/",t.p=window.WEBPACK_PUBLIC_PATH||t.p,t.oe=function(e){throw console.error(e),e},t(t.s=419)}([,,function(e,t,n){"use strict";e.exports=n(545)},,function(e,t,n){var r=n(18),o=n(95),i=n(79),a=n(96),s=n(68),u="prototype",l=function(e,t,n){var c,f,d,p,h=e&l.F,m=e&l.G,g=e&l.S,y=e&l.P,v=e&l.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(c in n)f=!h&&b&&void 0!==b[c],d=(f?b:n)[c],p=v&&f?s(d,r):y&&"function"==typeof d?s(Function.call,d):d,b&&a(b,c,d,e&l.U),_[c]!=d&&i(_,c,p),y&&w[c]!=d&&(w[c]=d)};r.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},,,,,,,,,function(e,t){function n(e){var t,n,r=kt[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(j,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:xt.isNumeric(n)?+n:L.test(n)?xt.parseJSON(n):n)}catch(e){}xt.data(e,t,n)}else n=void 0}return n}function o(e){
|
||||
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n,r,o=window.webpackJsonp;window.webpackJsonp=function(n,i,a){for(var s,u,l,c=0,f=[];c<n.length;c++)u=n[c],r[u]&&f.push(r[u][0]),r[u]=0;for(s in i)Object.prototype.hasOwnProperty.call(i,s)&&(e[s]=i[s]);for(o&&o(n,i,a);f.length;)f.shift()();if(a)for(c=0;c<a.length;c++)l=t(t.s=a[c]);return l},n={},r={16:0},t.e=function(e){function n(){a.onerror=a.onload=null,clearTimeout(s);var t=r[e];0!==t&&(t&&t[1](Error("Loading chunk "+e+" failed.")),r[e]=void 0)}var o,i,a,s,u=r[e];return 0===u?new Promise(function(e){e()}):u?u[2]:(o=new Promise(function(t,n){u=r[e]=[t,n]}),u[2]=o,i=document.getElementsByTagName("head")[0],a=document.createElement("script"),a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,t.nc&&a.setAttribute("nonce",t.nc),a.src=t.p+""+({0:"lazy-velocity",1:"lt-pane-views",2:"take-chart-image-dialog-impl",3:"ds-property-pages",4:"go-to-date-dialog-impl",5:"symbol-info-dialog-impl",6:"objecttreedialog",7:"lazy-jquery-ui",8:"editobjectdialog",11:"ie-fallback-logos",12:"propertypagesfactory",14:"library"}[e]||e)+"."+{0:"6843186d1d19426e2f3c",1:"9ecc943f945b2fd4fad6",2:"45288e052b450c5e2d11",3:"4650c8fe6629bba016a1",4:"4e462a33aa18010573c8",5:"1d95eab19af70ebdf07d",6:"e2f61129ab1c8c59ca83",7:"ca86274e39963e6b5b5f",8:"1a53a3b4104302264052",9:"0f95ea8c401ed7b42af8",10:"0b4b80ce7284d28083f7",11:"58dc8877847b4dced0e4",12:"88d1e4b5f0c82c2d9b43",13:"87c51bb601702992e1dd",14:"f65dd63ae81718a404ac",15:"d0280d7e7496e08f4962"}[e]+".js",s=setTimeout(n,12e4),a.onerror=a.onload=n,i.appendChild(a),o)},t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="bundles/",t.p=window.WEBPACK_PUBLIC_PATH||t.p,t.oe=function(e){throw console.error(e),e},t(t.s=419)}([,,function(e,t,n){"use strict";e.exports=n(545)},,function(e,t,n){var r=n(18),o=n(95),i=n(79),a=n(96),s=n(68),u="prototype",l=function(e,t,n){var c,f,d,p,h=e&l.F,m=e&l.G,g=e&l.S,y=e&l.P,v=e&l.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(c in n)f=!h&&b&&void 0!==b[c],d=(f?b:n)[c],p=v&&f?s(d,r):y&&"function"==typeof d?s(Function.call,d):d,b&&a(b,c,d,e&l.U),_[c]!=d&&i(_,c,p),y&&w[c]!=d&&(w[c]=d)};r.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},,,,,,,,,function(e,t){function n(e){var t,n,r=kt[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(j,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:xt.isNumeric(n)?+n:L.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 l(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 c(e){var t=le.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 d(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 p(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 ke.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=Le(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(Ke),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,l=s?s.length:0,c=e===Qe;u<l&&(c||!a);u++)"string"==typeof(a=s[u](t,n,r))&&(!c||i[a]?a=void 0:(t.dataTypes.unshift(a),a=_(e,t,n,r,a,i)));return!c&&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 k(e,t,n){var r,o,i,a,s=e.contents,u=e.dataTypes,l=e.responseFields;for(o in l)o in n&&(t[l[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,l,c=e.dataTypes,f={},d=c.length,p=c[0];for(n=1;n<d;n++){if(1===n)for(r in e.converters)"string"==typeof r&&(f[r.toLowerCase()]=e.converters[r]);if(i=p,"*"===(p=c[n]))p=i;else if("*"!==i&&i!==p){if(a=i+" "+p,!(s=f[a]||f["* "+p])){l=void 0;for(u in f)if(o=u.split(" "),(o[0]===i||"*"===o[0])&&(l=f[o[1]+" "+p])){u=f[u],!0===u?s=l:!0===l&&(s=u);break}}s||l||xt.error("No conversion from "+a.replace(" "," to ")),!0!==s&&(t=s?s(t):l(u(t)))}}return t}function S(){try{return new window.XMLHttpRequest}catch(e){}}function C(){try{return new window.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function E(){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 D(e){if(!ut[e]){var t=bt.body,n=xt("<"+e+">").appendTo(t),r=n.css("display");n.remove(),"none"!==r&&""!==r||(lt||(lt=bt.createElement("iframe"),lt.frameBorder=lt.width=lt.height=0),t.appendChild(lt),ct&<.createElement||(ct=(lt.contentWindow||lt.contentDocument).document,ct.write((xt.support.boxModel?"<!doctype html>":"")+"<html><body>"),ct.close()),n=ct.createElement(e),ct.body.appendChild(n),r=xt.css(n,"display"),t.removeChild(lt)),ut[e]=r}return ut[e]}function N(e){return xt.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}var P,L,j,A,F,R,I,H,Y,W,U,z,B,V,q,$,K,G,J,X,Q,Z,ee,te,ne,re,oe,ie,ae,se,ue,le,ce,fe,de,pe,he,me,ge,ye,ve,be,_e,we,xe,ke,Te,Se,Ce,Ee,Me,Oe,De,Ne,Pe,Le,je,Ae,Fe,Re,Ie,He,Ye,We,Ue,ze,Be,Ve,qe,$e,Ke,Ge,Je,Xe,Qe,Ze,et,tt,nt,rt,ot,it,at,st,ut,lt,ct,ft,dt,pt,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\-]*)$)/,l=/\S/,c=/^\s+/,f=/\s+$/,d=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,p=/^[\],:{}\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-/,k=function(e,t){return(t+"").toUpperCase()},T=_t.userAgent,S=Object.prototype.toString,C=Object.prototype.hasOwnProperty,E=Array.prototype.push,M=Array.prototype.slice,O=String.prototype.trim,D=Array.prototype.indexOf,N={};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=d.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)?E.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:E,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,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},u=2),"object"==typeof s||i.isFunction(s)||(s={}),l===u&&(s=this,--u);u<l;u++)if(null!=(e=arguments[u]))for(t in e)n=s[t],r=e[t],s!==r&&(c&&r&&(i.isPlainObject(r)||(o=i.isArray(r)))?(o?(o=!1,a=n&&i.isArray(n)?n:[]):a=n&&i.isPlainObject(n)?n:{},
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user