commit b0ce094e93951e96e6c145232bf39e48e016f43f Author: Hoshi <1196756653@qq.com> Date: Tue Aug 20 20:11:35 2024 +0800 Initial commit all diff --git a/css/loading.css b/css/loading.css new file mode 100644 index 0000000..b833dba --- /dev/null +++ b/css/loading.css @@ -0,0 +1 @@ +.loading{position:absolute;top:0;left:0;text-align:center;line-height:100vh;z-index:10;height:100vh;width:100%;background:#fff}@-webkit-keyframes line-scale-pulse-out{0%{-webkit-transform:scaley(1);transform:scaley(1)}50%{-webkit-transform:scaley(0.4);transform:scaley(0.4)}100%{-webkit-transform:scaley(1);transform:scaley(1)}}@keyframes line-scale-pulse-out{0%{-webkit-transform:scaley(1);transform:scaley(1)}50%{-webkit-transform:scaley(0.4);transform:scaley(0.4)}100%{-webkit-transform:scaley(1);transform:scaley(1)}}.line-scale-pulse-out>div{background-color:#279fcf;width:4px;height:35px;border-radius:2px;margin:2px;-webkit-animation-fill-mode:both;animation-fill-mode:both;display:inline-block;-webkit-animation:line-scale-pulse-out .9s 0s infinite cubic-bezier(.85,.25,.37,.85);animation:line-scale-pulse-out .9s 0s infinite cubic-bezier(.85,.25,.37,.85)}.line-scale-pulse-out>div:nth-child(2),.line-scale-pulse-out>div:nth-child(4){-webkit-animation-delay:.2s!important;animation-delay:.2s!important}.line-scale-pulse-out>div:nth-child(1),.line-scale-pulse-out>div:nth-child(5){-webkit-animation-delay:.4s!important;animation-delay:.4s!important}@-webkit-keyframes line-scale-pulse-out-rapid{0%{-webkit-transform:scaley(1);transform:scaley(1)}80%{-webkit-transform:scaley(0.3);transform:scaley(0.3)}90%{-webkit-transform:scaley(1);transform:scaley(1)}}@keyframes line-scale-pulse-out-rapid{0%{-webkit-transform:scaley(1);transform:scaley(1)}80%{-webkit-transform:scaley(0.3);transform:scaley(0.3)}90%{-webkit-transform:scaley(1);transform:scaley(1)}}.line-scale-pulse-out-rapid>div{background-color:#279fcf;width:4px;height:35px;border-radius:2px;margin:2px;-webkit-animation-fill-mode:both;animation-fill-mode:both;display:inline-block;-webkit-animation:line-scale-pulse-out-rapid .9s 0s infinite cubic-bezier(.11,.49,.38,.78);animation:line-scale-pulse-out-rapid .9s 0s infinite cubic-bezier(.11,.49,.38,.78)}.line-scale-pulse-out-rapid>div:nth-child(2),.line-scale-pulse-out-rapid>div:nth-child(4){-webkit-animation-delay:.25s!important;animation-delay:.25s!important}.line-scale-pulse-out-rapid>div:nth-child(1),.line-scale-pulse-out-rapid>div:nth-child(5){-webkit-animation-delay:.5s!important;animation-delay:.5s!important} \ No newline at end of file diff --git a/dll/dll.element.js b/dll/dll.element.js new file mode 100644 index 0000000..8381d5f --- /dev/null +++ b/dll/dll.element.js @@ -0,0 +1,31 @@ +var element_library=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=86)}({6:function(t,e,n){"use strict";n.r(e),n.d(e,"EffectScope",(function(){return h})),n.d(e,"computed",(function(){return Qt})),n.d(e,"createApp",(function(){return ae})),n.d(e,"createRef",(function(){return rt})),n.d(e,"customRef",(function(){return lt})),n.d(e,"default",(function(){return xe})),n.d(e,"defineAsyncComponent",(function(){return Se})),n.d(e,"defineComponent",(function(){return we})),n.d(e,"del",(function(){return It})),n.d(e,"effectScope",(function(){return d})),n.d(e,"getCurrentInstance",(function(){return C})),n.d(e,"getCurrentScope",(function(){return p})),n.d(e,"h",(function(){return ue})),n.d(e,"inject",(function(){return ne})),n.d(e,"isRaw",(function(){return dt})),n.d(e,"isReactive",(function(){return pt})),n.d(e,"isReadonly",(function(){return Mt})),n.d(e,"isRef",(function(){return ot})),n.d(e,"markRaw",(function(){return wt})),n.d(e,"nextTick",(function(){return le})),n.d(e,"onActivated",(function(){return zt})),n.d(e,"onBeforeMount",(function(){return kt})),n.d(e,"onBeforeUnmount",(function(){return Et})),n.d(e,"onBeforeUpdate",(function(){return Pt})),n.d(e,"onDeactivated",(function(){return Bt})),n.d(e,"onErrorCaptured",(function(){return Nt})),n.d(e,"onMounted",(function(){return Ot})),n.d(e,"onScopeDispose",(function(){return g})),n.d(e,"onServerPrefetch",(function(){return Ft})),n.d(e,"onUnmounted",(function(){return Rt})),n.d(e,"onUpdated",(function(){return Lt})),n.d(e,"provide",(function(){return ee})),n.d(e,"proxyRefs",(function(){return ht})),n.d(e,"reactive",(function(){return xt})),n.d(e,"readonly",(function(){return Tt})),n.d(e,"ref",(function(){return it})),n.d(e,"set",(function(){return J})),n.d(e,"shallowReactive",(function(){return bt})),n.d(e,"shallowReadonly",(function(){return Ct})),n.d(e,"shallowRef",(function(){return ct})),n.d(e,"toRaw",(function(){return St})),n.d(e,"toRef",(function(){return ut})),n.d(e,"toRefs",(function(){return st})),n.d(e,"triggerRef",(function(){return ft})),n.d(e,"unref",(function(){return at})),n.d(e,"useAttrs",(function(){return fe})),n.d(e,"useCSSModule",(function(){return oe})),n.d(e,"useCssModule",(function(){return ie})),n.d(e,"useSlots",(function(){return ce})),n.d(e,"version",(function(){return Me})),n.d(e,"warn",(function(){return u})),n.d(e,"watch",(function(){return Zt})),n.d(e,"watchEffect",(function(){return Xt})),n.d(e,"watchPostEffect",(function(){return $t})),n.d(e,"watchSyncEffect",(function(){return qt}));var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};var i,o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function s(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function l(t,e,n){if(n||2===arguments.length)for(var r,i=0,o=e.length;i=0&&Math.floor(e)===e&&isFinite(t)&&e<=4294967295}function j(t){return null!==t&&"object"==typeof t}function V(t){return"[object Object]"===function(t){return Object.prototype.toString.call(t)}(t)}function G(t){return"function"==typeof t}function H(t,e){return e=e||C()}function W(t,e){void 0===e&&(e={});var n=t.config.silent;t.config.silent=!0;var r=new t(e);return t.config.silent=n,r}function U(t,e){return function(){for(var n=[],r=0;r1?n&&G(e)?e():e:void 0}}var re={},ie=function(t){var e;void 0===t&&(t="$style");var n=C();if(!n)return re;var r=null===(e=n.proxy)||void 0===e?void 0:e[t];return r||re},oe=ie;function ae(t,e){void 0===e&&(e=void 0);var n=S(),r=void 0,i={},a={config:n.config,use:n.use.bind(n),mixin:n.mixin.bind(n),component:n.component.bind(n),provide:function(t,e){return i[t]=e,this},directive:function(t,e){return e?(n.directive(t,e),a):n.directive(t)},mount:function(a,s){return r||((r=new n(o(o({propsData:e},t),{provide:o(o({},i),t.provide)}))).$mount(a,s),r)},unmount:function(){r&&(r.$destroy(),r=void 0)}};return a}var se,le=function(){for(var t,e=[],n=0;n1||"".split(/.?/).length?function(t,n){var r=String(a(this)),o=void 0===n?g:n>>>0;if(0===o)return[];if(void 0===t)return[r];if(!i(t))return e.call(r,t,o);for(var s,l,u,c=[],h=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,v=new RegExp(t.source,h+"g");(s=f.call(v,r))&&!((l=v.lastIndex)>p&&(c.push(r.slice(p,s.index)),s.length>1&&s.index=o));)v.lastIndex===s.index&&v.lastIndex++;return p===r.length?!u&&v.test("")||c.push(""):c.push(r.slice(p)),c.length>o?c.slice(0,o):c}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var i=a(this),o=null==e?void 0:e[t];return void 0!==o?o.call(e,i,n):r.call(String(i),e,n)},function(t,i){var a=n(r,t,this,i,r!==e);if(a.done)return a.value;var f=o(t),h=String(this),d=s(f,RegExp),y=f.unicode,m=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(v?"y":"g"),_=new d(v?f:"^(?:"+f.source+")",m),b=void 0===i?g:i>>>0;if(0===b)return[];if(0===h.length)return null===c(_,h)?[h]:[];for(var x=0,w=0,S=[];w79&&a<83},{reduce:function(t){return i(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(t,e,n){var r=n("c6b6"),i=n("9263");t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var o=n.call(t,e);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},"159b":function(t,e,n){var r=n("da84"),i=n("fdbc"),o=n("17c2"),a=n("9112");for(var s in i){var l=r[s],u=l&&l.prototype;if(u&&u.forEach!==o)try{a(u,"forEach",o)}catch(t){u.forEach=o}}},"16eb":function(t,e,n){"use strict";n("9fc0")},"17c2":function(t,e,n){"use strict";var r=n("b727").forEach,i=n("a640")("forEach");t.exports=i?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},"19aa":function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},"1ab1":function(t,e,n){"use strict";n("c6e2")},"1be4":function(t,e,n){var r=n("d066");t.exports=r("document","documentElement")},"1c0b":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"1c7e":function(t,e,n){var r=n("b622")("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},t(o)}catch(t){}return n}},"1cb1":function(t,e,n){"use strict";n("f0e6")},"1cdc":function(t,e,n){var r=n("342f");t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},"1d80":function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},"1dde":function(t,e,n){var r=n("d039"),i=n("b622"),o=n("2d00"),a=i("species");t.exports=function(t){return o>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},2266:function(t,e,n){var r=n("825a"),i=n("e95a"),o=n("50c4"),a=n("0366"),s=n("35a1"),l=n("2a62"),u=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var c,f,h,d,p,g,v,y=n&&n.that,m=!(!n||!n.AS_ENTRIES),_=!(!n||!n.IS_ITERATOR),b=!(!n||!n.INTERRUPTED),x=a(e,y,1+m+b),w=function(t){return c&&l(c),new u(!0,t)},S=function(t){return m?(r(t),b?x(t[0],t[1],w):x(t[0],t[1])):b?x(t,w):x(t)};if(_)c=t;else{if("function"!=typeof(f=s(t)))throw TypeError("Target is not iterable");if(i(f)){for(h=0,d=o(t.length);d>h;h++)if((p=S(t[h]))&&p instanceof u)return p;return new u(!1)}c=f.call(t)}for(g=c.next;!(v=g.call(c)).done;){try{p=S(v.value)}catch(t){throw l(c),t}if("object"==typeof p&&p&&p instanceof u)return p}return new u(!1)}},"23cb":function(t,e,n){var r=n("a691"),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},"23e7":function(t,e,n){var r=n("da84"),i=n("06cf").f,o=n("9112"),a=n("6eeb"),s=n("ce4e"),l=n("e893"),u=n("94ca");t.exports=function(t,e){var n,c,f,h,d,p=t.target,g=t.global,v=t.stat;if(n=g?r:v?r[p]||s(p,{}):(r[p]||{}).prototype)for(c in e){if(h=e[c],f=t.noTargetGet?(d=i(n,c))&&d.value:n[c],!u(g?c:p+(v?".":"#")+c,t.forced)&&void 0!==f){if(typeof h==typeof f)continue;l(h,f)}(t.sham||f&&f.sham)&&o(h,"sham",!0),a(n,c,h,t)}}},"241c":function(t,e,n){var r=n("ca84"),i=n("7839").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},2626:function(t,e,n){"use strict";var r=n("d066"),i=n("9bf2"),o=n("b622"),a=n("83ab"),s=o("species");t.exports=function(t){var e=r(t),n=i.f;a&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},2638:function(t,e,n){"use strict";function r(){return(r=Object.assign||function(t){for(var e,n=1;nn;)e.push(arguments[n++]);return b[++_]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(_),_},g=function(t){delete b[t]},h?r=function(t){v.nextTick(S(t))}:m&&m.now?r=function(t){m.now(S(t))}:y&&!f?(o=(i=new y).port2,i.port1.onmessage=M,r=l(o.postMessage,o,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&d&&"file:"!==d.protocol&&!s(T)?(r=T,a.addEventListener("message",M,!1)):r=x in c("script")?function(t){u.appendChild(c("script"))[x]=function(){u.removeChild(this),w(t)}}:function(t){setTimeout(S(t),0)}),t.exports={set:p,clear:g}},"2d00":function(t,e,n){var r,i,o=n("da84"),a=n("342f"),s=o.process,l=s&&s.versions,u=l&&l.v8;u?i=(r=u.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=r[1]),t.exports=i&&+i},"2fe4":function(t,e,n){},"308e":function(t,e,n){"use strict";n("2644")},"33ca":function(t,e,n){"use strict";n("4519")},"342f":function(t,e,n){var r=n("d066");t.exports=r("navigator","userAgent")||""},"35a1":function(t,e,n){var r=n("f5df"),i=n("3f8c"),o=n("b622")("iterator");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},"37e8":function(t,e,n){var r=n("83ab"),i=n("9bf2"),o=n("825a"),a=n("df75");t.exports=r?Object.defineProperties:function(t,e){o(t);for(var n,r=a(e),s=r.length,l=0;s>l;)i.f(t,n=r[l++],e[n]);return t}},"3bbe":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"3ca3":function(t,e,n){"use strict";var r=n("6547").charAt,i=n("69f3"),o=n("7dd0"),a="String Iterator",s=i.set,l=i.getterFor(a);o(String,"String",(function(t){s(this,{type:a,string:String(t),index:0})}),(function(){var t,e=l(this),n=e.string,i=e.index;return i>=n.length?{value:void 0,done:!0}:(t=r(n,i),e.index+=t.length,{value:t,done:!1})}))},"3f8c":function(t,e){t.exports={}},"428f":function(t,e,n){var r=n("da84");t.exports=r},"44ad":function(t,e,n){var r=n("d039"),i=n("c6b6"),o="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},"44d2":function(t,e,n){var r=n("b622"),i=n("7c73"),o=n("9bf2"),a=r("unscopables"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),t.exports=function(t){s[a][t]=!0}},"44de":function(t,e,n){var r=n("da84");t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},"44e7":function(t,e,n){var r=n("861d"),i=n("c6b6"),o=n("b622")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},4519:function(t,e,n){},4840:function(t,e,n){var r=n("825a"),i=n("1c0b"),o=n("b622")("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[o])?e:i(n)}},4930:function(t,e,n){var r=n("605d"),i=n("2d00"),o=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!o((function(){return!Symbol.sham&&(r?38===i:i>37&&i<41)}))},"4d64":function(t,e,n){var r=n("fc6a"),i=n("50c4"),o=n("23cb"),a=function(t){return function(e,n,a){var s,l=r(e),u=i(l.length),c=o(a,u);if(t&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},"4de4":function(t,e,n){"use strict";var r=n("23e7"),i=n("b727").filter;r({target:"Array",proto:!0,forced:!n("1dde")("filter")},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(t,e,n){"use strict";var r=n("0366"),i=n("7b0b"),o=n("9bdd"),a=n("e95a"),s=n("50c4"),l=n("8418"),u=n("35a1");t.exports=function(t){var e,n,c,f,h,d,p=i(t),g="function"==typeof this?this:Array,v=arguments.length,y=v>1?arguments[1]:void 0,m=void 0!==y,_=u(p),b=0;if(m&&(y=r(y,v>2?arguments[2]:void 0,2)),null==_||g==Array&&a(_))for(n=new g(e=s(p.length));e>b;b++)d=m?y(p[b],b):p[b],l(n,b,d);else for(h=(f=_.call(p)).next,n=new g;!(c=h.call(f)).done;b++)d=m?o(f,y,[c.value,b],!0):c.value,l(n,b,d);return n.length=b,n}},"4e4e":function(t,e,n){"use strict";n("2fe4")},"502d":function(t,e,n){"use strict";n("9b14")},"50c4":function(t,e,n){var r=n("a691"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},5135:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},5692:function(t,e,n){var r=n("c430"),i=n("c6cd");(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.9.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,e,n){var r=n("d066"),i=n("241c"),o=n("7418"),a=n("825a");t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(a(t)),n=o.f;return n?e.concat(n(t)):e}},5899:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(t,e,n){var r=n("1d80"),i="["+n("5899")+"]",o=RegExp("^"+i+i+"*"),a=RegExp(i+i+"*$"),s=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(o,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:s(1),end:s(2),trim:s(3)}},"5a98":function(t,e,n){},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"5ea3":function(t,e,n){"use strict";(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.a=n}).call(this,n("c8ba"))},"605d":function(t,e,n){var r=n("c6b6"),i=n("da84");t.exports="process"==r(i.process)},"60da":function(t,e,n){"use strict";var r=n("83ab"),i=n("d039"),o=n("df75"),a=n("7418"),s=n("d1e7"),l=n("7b0b"),u=n("44ad"),c=Object.assign,f=Object.defineProperty;t.exports=!c||i((function(){if(r&&1!==c({b:1},c(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach((function(t){e[t]=t})),7!=c({},t)[n]||o(c({},e)).join("")!=i}))?function(t,e){for(var n=l(t),i=arguments.length,c=1,f=a.f,h=s.f;i>c;)for(var d,p=u(arguments[c++]),g=f?o(p).concat(f(p)):o(p),v=g.length,y=0;v>y;)d=g[y++],r&&!h.call(p,d)||(n[d]=p[d]);return n}:c},6106:function(t,e,n){"use strict";n("8b6e")},"62c4":function(t,e,n){},6547:function(t,e,n){var r=n("a691"),i=n("1d80"),o=function(t){return function(e,n){var o,a,s=String(i(e)),l=r(n),u=s.length;return l<0||l>=u?t?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?t?s.charAt(l):o:t?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}};t.exports={codeAt:o(!1),charAt:o(!0)}},"65f0":function(t,e,n){var r=n("861d"),i=n("e8b5"),o=n("b622")("species");t.exports=function(t,e){var n;return i(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},"69f3":function(t,e,n){var r,i,o,a=n("7f9a"),s=n("da84"),l=n("861d"),u=n("9112"),c=n("5135"),f=n("c6cd"),h=n("f772"),d=n("d012"),p=s.WeakMap;if(a){var g=f.state||(f.state=new p),v=g.get,y=g.has,m=g.set;r=function(t,e){return e.facade=t,m.call(g,t,e),e},i=function(t){return v.call(g,t)||{}},o=function(t){return y.call(g,t)}}else{var _=h("state");d[_]=!0,r=function(t,e){return e.facade=t,u(t,_,e),e},i=function(t){return c(t,_)?t[_]:{}},o=function(t){return c(t,_)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!l(e)||(n=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},"6eeb":function(t,e,n){var r=n("da84"),i=n("9112"),o=n("5135"),a=n("ce4e"),s=n("8925"),l=n("69f3"),u=l.get,c=l.enforce,f=String(String).split("String");(t.exports=function(t,e,n,s){var l,u=!!s&&!!s.unsafe,h=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof e||o(n,"name")||i(n,"name",e),(l=c(n)).source||(l.source=f.join("string"==typeof e?e:""))),t!==r?(u?!d&&t[e]&&(h=!0):delete t[e],h?t[e]=n:i(t,e,n)):h?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},7156:function(t,e,n){var r=n("861d"),i=n("d2bb");t.exports=function(t,e,n){var o,a;return i&&"function"==typeof(o=e.constructor)&&o!==n&&r(a=o.prototype)&&a!==n.prototype&&i(t,a),t}},7418:function(t,e){e.f=Object.getOwnPropertySymbols},"746f":function(t,e,n){var r=n("428f"),i=n("5135"),o=n("e538"),a=n("9bf2").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});i(e,t)||a(e,t,{value:o.f(t)})}},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,e,n){var r=n("1d80");t.exports=function(t){return Object(r(t))}},"7c73":function(t,e,n){var r,i=n("825a"),o=n("37e8"),a=n("7839"),s=n("d012"),l=n("1be4"),u=n("cc12"),c=n("f772"),f="prototype",h="script",d=c("IE_PROTO"),p=function(){},g=function(t){return" + + \ No newline at end of file diff --git a/fonts/bpmn.eot b/fonts/bpmn.eot new file mode 100644 index 0000000..8f3a3dd Binary files /dev/null and b/fonts/bpmn.eot differ diff --git a/fonts/bpmn.svg b/fonts/bpmn.svg new file mode 100644 index 0000000..00a3162 --- /dev/null +++ b/fonts/bpmn.svg @@ -0,0 +1,224 @@ + + + +camunda Services GmbH + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/fonts/bpmn.ttf b/fonts/bpmn.ttf new file mode 100644 index 0000000..f5f0b99 Binary files /dev/null and b/fonts/bpmn.ttf differ diff --git a/fonts/bpmn.woff b/fonts/bpmn.woff new file mode 100644 index 0000000..c4132a6 Binary files /dev/null and b/fonts/bpmn.woff differ diff --git a/fonts/bpmn.woff2 b/fonts/bpmn.woff2 new file mode 100644 index 0000000..79929b2 Binary files /dev/null and b/fonts/bpmn.woff2 differ diff --git a/fonts/element-icons.ttf b/fonts/element-icons.ttf new file mode 100644 index 0000000..91b74de Binary files /dev/null and b/fonts/element-icons.ttf differ diff --git a/fonts/element-icons.woff b/fonts/element-icons.woff new file mode 100644 index 0000000..02b9a25 Binary files /dev/null and b/fonts/element-icons.woff differ diff --git a/fonts/fontello.eot b/fonts/fontello.eot new file mode 100644 index 0000000..4f8bd82 Binary files /dev/null and b/fonts/fontello.eot differ diff --git a/fonts/fontello.ttf b/fonts/fontello.ttf new file mode 100644 index 0000000..fcc3b30 Binary files /dev/null and b/fonts/fontello.ttf differ diff --git a/fonts/fontello.woff b/fonts/fontello.woff new file mode 100644 index 0000000..9844453 Binary files /dev/null and b/fonts/fontello.woff differ diff --git a/fonts/fontello.woff2 b/fonts/fontello.woff2 new file mode 100644 index 0000000..957d053 Binary files /dev/null and b/fonts/fontello.woff2 differ diff --git a/img/alarm/1.svg b/img/alarm/1.svg new file mode 100644 index 0000000..4e1c21d --- /dev/null +++ b/img/alarm/1.svg @@ -0,0 +1 @@ +画板 1 副本 20 \ No newline at end of file diff --git a/img/alarm/2.svg b/img/alarm/2.svg new file mode 100644 index 0000000..7853c77 --- /dev/null +++ b/img/alarm/2.svg @@ -0,0 +1 @@ +画板 1 副本 19 \ No newline at end of file diff --git a/img/alarm/3.svg b/img/alarm/3.svg new file mode 100644 index 0000000..bc6d7d3 --- /dev/null +++ b/img/alarm/3.svg @@ -0,0 +1 @@ +画板 1 副本 18 \ No newline at end of file diff --git a/img/alarm/4.svg b/img/alarm/4.svg new file mode 100644 index 0000000..2061010 --- /dev/null +++ b/img/alarm/4.svg @@ -0,0 +1 @@ +画板 1 副本 17 \ No newline at end of file diff --git a/img/alarm/danger.png b/img/alarm/danger.png new file mode 100644 index 0000000..893ff7d Binary files /dev/null and b/img/alarm/danger.png differ diff --git a/img/avatar_default.png b/img/avatar_default.png new file mode 100644 index 0000000..15de833 Binary files /dev/null and b/img/avatar_default.png differ diff --git a/img/bg_login.png b/img/bg_login.png new file mode 100644 index 0000000..2f640f6 Binary files /dev/null and b/img/bg_login.png differ diff --git a/img/bj.png b/img/bj.png new file mode 100644 index 0000000..2f640f6 Binary files /dev/null and b/img/bj.png differ diff --git a/img/cloudos/cpu1.png b/img/cloudos/cpu1.png new file mode 100644 index 0000000..beeb0b8 Binary files /dev/null and b/img/cloudos/cpu1.png differ diff --git a/img/cloudos/cpu2.png b/img/cloudos/cpu2.png new file mode 100644 index 0000000..b048ac7 Binary files /dev/null and b/img/cloudos/cpu2.png differ diff --git a/img/cloudos/cpu3.png b/img/cloudos/cpu3.png new file mode 100644 index 0000000..7e4aa95 Binary files /dev/null and b/img/cloudos/cpu3.png differ diff --git a/img/cloudos/ds1.png b/img/cloudos/ds1.png new file mode 100644 index 0000000..da680c3 Binary files /dev/null and b/img/cloudos/ds1.png differ diff --git a/img/cloudos/ds2.png b/img/cloudos/ds2.png new file mode 100644 index 0000000..8935ed9 Binary files /dev/null and b/img/cloudos/ds2.png differ diff --git a/img/cloudos/ds3.png b/img/cloudos/ds3.png new file mode 100644 index 0000000..5739393 Binary files /dev/null and b/img/cloudos/ds3.png differ diff --git a/img/cloudos/mem1.png b/img/cloudos/mem1.png new file mode 100644 index 0000000..f59a139 Binary files /dev/null and b/img/cloudos/mem1.png differ diff --git a/img/cloudos/mem2.png b/img/cloudos/mem2.png new file mode 100644 index 0000000..f5cc293 Binary files /dev/null and b/img/cloudos/mem2.png differ diff --git a/img/cloudos/mem3.png b/img/cloudos/mem3.png new file mode 100644 index 0000000..b1602ec Binary files /dev/null and b/img/cloudos/mem3.png differ diff --git a/img/dataException.png b/img/dataException.png new file mode 100644 index 0000000..f63d482 Binary files /dev/null and b/img/dataException.png differ diff --git a/img/default_cmdb.png b/img/default_cmdb.png new file mode 100644 index 0000000..2c518fa Binary files /dev/null and b/img/default_cmdb.png differ diff --git a/img/error/401.png b/img/error/401.png new file mode 100644 index 0000000..ce66050 Binary files /dev/null and b/img/error/401.png differ diff --git a/img/error/404.png b/img/error/404.png new file mode 100644 index 0000000..6e8818d Binary files /dev/null and b/img/error/404.png differ diff --git a/img/flow/active.png b/img/flow/active.png new file mode 100644 index 0000000..30cd9cf Binary files /dev/null and b/img/flow/active.png differ diff --git a/img/flow/audit.png b/img/flow/audit.png new file mode 100644 index 0000000..721946d Binary files /dev/null and b/img/flow/audit.png differ diff --git a/img/flow/branch.png b/img/flow/branch.png new file mode 100644 index 0000000..8d57bde Binary files /dev/null and b/img/flow/branch.png differ diff --git a/img/flow/merge.png b/img/flow/merge.png new file mode 100644 index 0000000..3826cc7 Binary files /dev/null and b/img/flow/merge.png differ diff --git a/img/flow/nopass.png b/img/flow/nopass.png new file mode 100644 index 0000000..597f7ff Binary files /dev/null and b/img/flow/nopass.png differ diff --git a/img/flow/pass.png b/img/flow/pass.png new file mode 100644 index 0000000..c6bf406 Binary files /dev/null and b/img/flow/pass.png differ diff --git a/img/graph/activemq.png b/img/graph/activemq.png new file mode 100644 index 0000000..83ab65a Binary files /dev/null and b/img/graph/activemq.png differ diff --git a/img/graph/ali/ecs.png b/img/graph/ali/ecs.png new file mode 100644 index 0000000..8410d9f Binary files /dev/null and b/img/graph/ali/ecs.png differ diff --git a/img/graph/ali/securitygroup.png b/img/graph/ali/securitygroup.png new file mode 100644 index 0000000..fa17c18 Binary files /dev/null and b/img/graph/ali/securitygroup.png differ diff --git a/img/graph/ali/subnet.png b/img/graph/ali/subnet.png new file mode 100644 index 0000000..e002ecc Binary files /dev/null and b/img/graph/ali/subnet.png differ diff --git a/img/graph/ali/volume.png b/img/graph/ali/volume.png new file mode 100644 index 0000000..3329a91 Binary files /dev/null and b/img/graph/ali/volume.png differ diff --git a/img/graph/ali/vpc.png b/img/graph/ali/vpc.png new file mode 100644 index 0000000..85abe54 Binary files /dev/null and b/img/graph/ali/vpc.png differ diff --git a/img/graph/apache.png b/img/graph/apache.png new file mode 100644 index 0000000..600b802 Binary files /dev/null and b/img/graph/apache.png differ diff --git a/img/graph/backup.png b/img/graph/backup.png new file mode 100644 index 0000000..640947c Binary files /dev/null and b/img/graph/backup.png differ diff --git a/img/graph/cas/ecs.png b/img/graph/cas/ecs.png new file mode 100644 index 0000000..517ffa4 Binary files /dev/null and b/img/graph/cas/ecs.png differ diff --git a/img/graph/cbsv.png b/img/graph/cbsv.png new file mode 100644 index 0000000..aebfcb1 Binary files /dev/null and b/img/graph/cbsv.png differ diff --git a/img/graph/cfw.png b/img/graph/cfw.png new file mode 100644 index 0000000..714ab73 Binary files /dev/null and b/img/graph/cfw.png differ diff --git a/img/graph/clb.png b/img/graph/clb.png new file mode 100644 index 0000000..b8a668e Binary files /dev/null and b/img/graph/clb.png differ diff --git a/img/graph/clm.png b/img/graph/clm.png new file mode 100644 index 0000000..c5f6e56 Binary files /dev/null and b/img/graph/clm.png differ diff --git a/img/graph/cls.png b/img/graph/cls.png new file mode 100644 index 0000000..0ef4284 Binary files /dev/null and b/img/graph/cls.png differ diff --git a/img/graph/crs.png b/img/graph/crs.png new file mode 100644 index 0000000..f528899 Binary files /dev/null and b/img/graph/crs.png differ diff --git a/img/graph/database.png b/img/graph/database.png new file mode 100644 index 0000000..fe11ebf Binary files /dev/null and b/img/graph/database.png differ diff --git a/img/graph/elasticsearch.png b/img/graph/elasticsearch.png new file mode 100644 index 0000000..55841ed Binary files /dev/null and b/img/graph/elasticsearch.png differ diff --git a/img/graph/end.png b/img/graph/end.png new file mode 100644 index 0000000..629bf9f Binary files /dev/null and b/img/graph/end.png differ diff --git a/img/graph/etcd.png b/img/graph/etcd.png new file mode 100644 index 0000000..ccbde75 Binary files /dev/null and b/img/graph/etcd.png differ diff --git a/img/graph/fc/ecs.png b/img/graph/fc/ecs.png new file mode 100644 index 0000000..e6827d2 Binary files /dev/null and b/img/graph/fc/ecs.png differ diff --git a/img/graph/file.png b/img/graph/file.png new file mode 100644 index 0000000..7782971 Binary files /dev/null and b/img/graph/file.png differ diff --git a/img/graph/fwp.png b/img/graph/fwp.png new file mode 100644 index 0000000..03de7b0 Binary files /dev/null and b/img/graph/fwp.png differ diff --git a/img/graph/fwr.png b/img/graph/fwr.png new file mode 100644 index 0000000..974c105 Binary files /dev/null and b/img/graph/fwr.png differ diff --git a/img/graph/gitlab.png b/img/graph/gitlab.png new file mode 100644 index 0000000..a7601b9 Binary files /dev/null and b/img/graph/gitlab.png differ diff --git a/img/graph/huawei/ecs.png b/img/graph/huawei/ecs.png new file mode 100644 index 0000000..d33b42e Binary files /dev/null and b/img/graph/huawei/ecs.png differ diff --git a/img/graph/huawei/securitygroup.png b/img/graph/huawei/securitygroup.png new file mode 100644 index 0000000..a4ad6b3 Binary files /dev/null and b/img/graph/huawei/securitygroup.png differ diff --git a/img/graph/huawei/slb.png b/img/graph/huawei/slb.png new file mode 100644 index 0000000..563b2df Binary files /dev/null and b/img/graph/huawei/slb.png differ diff --git a/img/graph/huawei/subnet.png b/img/graph/huawei/subnet.png new file mode 100644 index 0000000..755320a Binary files /dev/null and b/img/graph/huawei/subnet.png differ diff --git a/img/graph/huawei/volume.png b/img/graph/huawei/volume.png new file mode 100644 index 0000000..63fe647 Binary files /dev/null and b/img/graph/huawei/volume.png differ diff --git a/img/graph/huawei/vpc.png b/img/graph/huawei/vpc.png new file mode 100644 index 0000000..cb42550 Binary files /dev/null and b/img/graph/huawei/vpc.png differ diff --git a/img/graph/iscsi.png b/img/graph/iscsi.png new file mode 100644 index 0000000..379bf8a Binary files /dev/null and b/img/graph/iscsi.png differ diff --git a/img/graph/jdk.png b/img/graph/jdk.png new file mode 100644 index 0000000..d0e0ea7 Binary files /dev/null and b/img/graph/jdk.png differ diff --git a/img/graph/jenkins.png b/img/graph/jenkins.png new file mode 100644 index 0000000..9e96d82 Binary files /dev/null and b/img/graph/jenkins.png differ diff --git a/img/graph/judge.png b/img/graph/judge.png new file mode 100644 index 0000000..cf5b792 Binary files /dev/null and b/img/graph/judge.png differ diff --git a/img/graph/kafka.png b/img/graph/kafka.png new file mode 100644 index 0000000..5ef2f9e Binary files /dev/null and b/img/graph/kafka.png differ diff --git a/img/graph/lamp.png b/img/graph/lamp.png new file mode 100644 index 0000000..d26deda Binary files /dev/null and b/img/graph/lamp.png differ diff --git a/img/graph/memcache.png b/img/graph/memcache.png new file mode 100644 index 0000000..0971a2b Binary files /dev/null and b/img/graph/memcache.png differ diff --git a/img/graph/method.png b/img/graph/method.png new file mode 100644 index 0000000..93f3308 Binary files /dev/null and b/img/graph/method.png differ diff --git a/img/graph/mongodb.png b/img/graph/mongodb.png new file mode 100644 index 0000000..a1d08d3 Binary files /dev/null and b/img/graph/mongodb.png differ diff --git a/img/graph/mysql.png b/img/graph/mysql.png new file mode 100644 index 0000000..5d38cb4 Binary files /dev/null and b/img/graph/mysql.png differ diff --git a/img/graph/nfs.png b/img/graph/nfs.png new file mode 100644 index 0000000..647bec3 Binary files /dev/null and b/img/graph/nfs.png differ diff --git a/img/graph/nginx.png b/img/graph/nginx.png new file mode 100644 index 0000000..17ebdb0 Binary files /dev/null and b/img/graph/nginx.png differ diff --git a/img/graph/op/ecs.png b/img/graph/op/ecs.png new file mode 100644 index 0000000..ec6a256 Binary files /dev/null and b/img/graph/op/ecs.png differ diff --git a/img/graph/op/securitygroup.png b/img/graph/op/securitygroup.png new file mode 100644 index 0000000..da5b79f Binary files /dev/null and b/img/graph/op/securitygroup.png differ diff --git a/img/graph/op/subnet.png b/img/graph/op/subnet.png new file mode 100644 index 0000000..2b5bc27 Binary files /dev/null and b/img/graph/op/subnet.png differ diff --git a/img/graph/op/volume.png b/img/graph/op/volume.png new file mode 100644 index 0000000..a78d8f0 Binary files /dev/null and b/img/graph/op/volume.png differ diff --git a/img/graph/op/vpc.png b/img/graph/op/vpc.png new file mode 100644 index 0000000..c0b461f Binary files /dev/null and b/img/graph/op/vpc.png differ diff --git a/img/graph/oracle.png b/img/graph/oracle.png new file mode 100644 index 0000000..bb61f77 Binary files /dev/null and b/img/graph/oracle.png differ diff --git a/img/graph/postgresql.png b/img/graph/postgresql.png new file mode 100644 index 0000000..8891cdf Binary files /dev/null and b/img/graph/postgresql.png differ diff --git a/img/graph/rabbitmq.png b/img/graph/rabbitmq.png new file mode 100644 index 0000000..ad86453 Binary files /dev/null and b/img/graph/rabbitmq.png differ diff --git a/img/graph/redis.png b/img/graph/redis.png new file mode 100644 index 0000000..c455cf1 Binary files /dev/null and b/img/graph/redis.png differ diff --git a/img/graph/rocketmq.png b/img/graph/rocketmq.png new file mode 100644 index 0000000..ff59a39 Binary files /dev/null and b/img/graph/rocketmq.png differ diff --git a/img/graph/role.png b/img/graph/role.png new file mode 100644 index 0000000..4859fe6 Binary files /dev/null and b/img/graph/role.png differ diff --git a/img/graph/script.png b/img/graph/script.png new file mode 100644 index 0000000..9af8f69 Binary files /dev/null and b/img/graph/script.png differ diff --git a/img/graph/service.png b/img/graph/service.png new file mode 100644 index 0000000..0e13f02 Binary files /dev/null and b/img/graph/service.png differ diff --git a/img/graph/sgr.png b/img/graph/sgr.png new file mode 100644 index 0000000..8454219 Binary files /dev/null and b/img/graph/sgr.png differ diff --git a/img/graph/sqlserver.png b/img/graph/sqlserver.png new file mode 100644 index 0000000..77877bd Binary files /dev/null and b/img/graph/sqlserver.png differ diff --git a/img/graph/start.png b/img/graph/start.png new file mode 100644 index 0000000..4761155 Binary files /dev/null and b/img/graph/start.png differ diff --git a/img/graph/status/error.png b/img/graph/status/error.png new file mode 100644 index 0000000..6c35da3 Binary files /dev/null and b/img/graph/status/error.png differ diff --git a/img/graph/status/fail.png b/img/graph/status/fail.png new file mode 100644 index 0000000..495df3f Binary files /dev/null and b/img/graph/status/fail.png differ diff --git a/img/graph/status/ready.png b/img/graph/status/ready.png new file mode 100644 index 0000000..50619fa Binary files /dev/null and b/img/graph/status/ready.png differ diff --git a/img/graph/status/skip.png b/img/graph/status/skip.png new file mode 100644 index 0000000..110c98b Binary files /dev/null and b/img/graph/status/skip.png differ diff --git a/img/graph/status/success.png b/img/graph/status/success.png new file mode 100644 index 0000000..7526772 Binary files /dev/null and b/img/graph/status/success.png differ diff --git a/img/graph/status/warning.png b/img/graph/status/warning.png new file mode 100644 index 0000000..3a74189 Binary files /dev/null and b/img/graph/status/warning.png differ diff --git a/img/graph/tce/ecs.png b/img/graph/tce/ecs.png new file mode 100644 index 0000000..0618a7f Binary files /dev/null and b/img/graph/tce/ecs.png differ diff --git a/img/graph/tce/mariadb.png b/img/graph/tce/mariadb.png new file mode 100644 index 0000000..c399c9f Binary files /dev/null and b/img/graph/tce/mariadb.png differ diff --git a/img/graph/tce/mysql.png b/img/graph/tce/mysql.png new file mode 100644 index 0000000..42478d8 Binary files /dev/null and b/img/graph/tce/mysql.png differ diff --git a/img/graph/tce/securitygroup.png b/img/graph/tce/securitygroup.png new file mode 100644 index 0000000..23d3e71 Binary files /dev/null and b/img/graph/tce/securitygroup.png differ diff --git a/img/graph/tce/slb.png b/img/graph/tce/slb.png new file mode 100644 index 0000000..eb5c9ac Binary files /dev/null and b/img/graph/tce/slb.png differ diff --git a/img/graph/tce/subnet.png b/img/graph/tce/subnet.png new file mode 100644 index 0000000..961f2f9 Binary files /dev/null and b/img/graph/tce/subnet.png differ diff --git a/img/graph/tce/volume.png b/img/graph/tce/volume.png new file mode 100644 index 0000000..d1c4230 Binary files /dev/null and b/img/graph/tce/volume.png differ diff --git a/img/graph/tce/vpc.png b/img/graph/tce/vpc.png new file mode 100644 index 0000000..c5c07ea Binary files /dev/null and b/img/graph/tce/vpc.png differ diff --git a/img/graph/tomcat.png b/img/graph/tomcat.png new file mode 100644 index 0000000..a7db89b Binary files /dev/null and b/img/graph/tomcat.png differ diff --git a/img/graph/user.png b/img/graph/user.png new file mode 100644 index 0000000..dc8b133 Binary files /dev/null and b/img/graph/user.png differ diff --git a/img/graph/vc/ecs.png b/img/graph/vc/ecs.png new file mode 100644 index 0000000..34e52b4 Binary files /dev/null and b/img/graph/vc/ecs.png differ diff --git a/img/graph/vc/vip.png b/img/graph/vc/vip.png new file mode 100644 index 0000000..c0b461f Binary files /dev/null and b/img/graph/vc/vip.png differ diff --git a/img/graph/vm.png b/img/graph/vm.png new file mode 100644 index 0000000..aad15b3 Binary files /dev/null and b/img/graph/vm.png differ diff --git a/img/graph/weblogic.png b/img/graph/weblogic.png new file mode 100644 index 0000000..f1e1915 Binary files /dev/null and b/img/graph/weblogic.png differ diff --git a/img/graph/websphere.png b/img/graph/websphere.png new file mode 100644 index 0000000..0e769c1 Binary files /dev/null and b/img/graph/websphere.png differ diff --git a/img/graph/webspheremq.png b/img/graph/webspheremq.png new file mode 100644 index 0000000..92bce51 Binary files /dev/null and b/img/graph/webspheremq.png differ diff --git a/img/graph/zookeeper.png b/img/graph/zookeeper.png new file mode 100644 index 0000000..d554ebd Binary files /dev/null and b/img/graph/zookeeper.png differ diff --git a/img/kms/geRen/alert.png b/img/kms/geRen/alert.png new file mode 100644 index 0000000..f9609f8 Binary files /dev/null and b/img/kms/geRen/alert.png differ diff --git a/img/kms/geRen/avatar.png b/img/kms/geRen/avatar.png new file mode 100644 index 0000000..c7926fa Binary files /dev/null and b/img/kms/geRen/avatar.png differ diff --git a/img/kms/geRen/dianZan.png b/img/kms/geRen/dianZan.png new file mode 100644 index 0000000..9b15073 Binary files /dev/null and b/img/kms/geRen/dianZan.png differ diff --git a/img/kms/geRen/dianZan2.png b/img/kms/geRen/dianZan2.png new file mode 100644 index 0000000..26b16d3 Binary files /dev/null and b/img/kms/geRen/dianZan2.png differ diff --git a/img/kms/geRen/fen.png b/img/kms/geRen/fen.png new file mode 100644 index 0000000..370fca0 Binary files /dev/null and b/img/kms/geRen/fen.png differ diff --git a/img/kms/geRen/i1.png b/img/kms/geRen/i1.png new file mode 100644 index 0000000..11b9201 Binary files /dev/null and b/img/kms/geRen/i1.png differ diff --git a/img/kms/geRen/i2.png b/img/kms/geRen/i2.png new file mode 100644 index 0000000..77d1559 Binary files /dev/null and b/img/kms/geRen/i2.png differ diff --git a/img/kms/geRen/i3.png b/img/kms/geRen/i3.png new file mode 100644 index 0000000..c0ba327 Binary files /dev/null and b/img/kms/geRen/i3.png differ diff --git a/img/kms/geRen/i4.png b/img/kms/geRen/i4.png new file mode 100644 index 0000000..fb0a0b3 Binary files /dev/null and b/img/kms/geRen/i4.png differ diff --git a/img/kms/geRen/kong.png b/img/kms/geRen/kong.png new file mode 100644 index 0000000..7edd3d8 Binary files /dev/null and b/img/kms/geRen/kong.png differ diff --git a/img/kms/geRen/pingLun.png b/img/kms/geRen/pingLun.png new file mode 100644 index 0000000..fc6a6b4 Binary files /dev/null and b/img/kms/geRen/pingLun.png differ diff --git a/img/kms/geRen/shanChu.png b/img/kms/geRen/shanChu.png new file mode 100644 index 0000000..433ac14 Binary files /dev/null and b/img/kms/geRen/shanChu.png differ diff --git a/img/kms/geRen/t1.png b/img/kms/geRen/t1.png new file mode 100644 index 0000000..673608e Binary files /dev/null and b/img/kms/geRen/t1.png differ diff --git a/img/kms/geRen/t2.png b/img/kms/geRen/t2.png new file mode 100644 index 0000000..0b6bf9f Binary files /dev/null and b/img/kms/geRen/t2.png differ diff --git a/img/kms/geRen/t3.png b/img/kms/geRen/t3.png new file mode 100644 index 0000000..5390d75 Binary files /dev/null and b/img/kms/geRen/t3.png differ diff --git a/img/kms/geRen/t4.png b/img/kms/geRen/t4.png new file mode 100644 index 0000000..4470868 Binary files /dev/null and b/img/kms/geRen/t4.png differ diff --git a/img/kms/geRen/xiang.png b/img/kms/geRen/xiang.png new file mode 100644 index 0000000..df5d625 Binary files /dev/null and b/img/kms/geRen/xiang.png differ diff --git a/img/kms/houTai/biao.png b/img/kms/houTai/biao.png new file mode 100644 index 0000000..983d492 Binary files /dev/null and b/img/kms/houTai/biao.png differ diff --git a/img/kms/houTai/fu.png b/img/kms/houTai/fu.png new file mode 100644 index 0000000..a7e70f0 Binary files /dev/null and b/img/kms/houTai/fu.png differ diff --git a/img/kms/houTai/mo.png b/img/kms/houTai/mo.png new file mode 100644 index 0000000..e48ee86 Binary files /dev/null and b/img/kms/houTai/mo.png differ diff --git a/img/kms/houTai/quan.png b/img/kms/houTai/quan.png new file mode 100644 index 0000000..b21e745 Binary files /dev/null and b/img/kms/houTai/quan.png differ diff --git a/img/kms/houTai/quanXian.png b/img/kms/houTai/quanXian.png new file mode 100644 index 0000000..622472e Binary files /dev/null and b/img/kms/houTai/quanXian.png differ diff --git a/img/kms/houTai/qun.png b/img/kms/houTai/qun.png new file mode 100644 index 0000000..722e219 Binary files /dev/null and b/img/kms/houTai/qun.png differ diff --git a/img/kms/houTai/shan.png b/img/kms/houTai/shan.png new file mode 100644 index 0000000..98b8801 Binary files /dev/null and b/img/kms/houTai/shan.png differ diff --git a/img/kms/houTai/tou.png b/img/kms/houTai/tou.png new file mode 100644 index 0000000..2caffa8 Binary files /dev/null and b/img/kms/houTai/tou.png differ diff --git a/img/kms/houTai/xin.png b/img/kms/houTai/xin.png new file mode 100644 index 0000000..4edab5c Binary files /dev/null and b/img/kms/houTai/xin.png differ diff --git a/img/kms/houTai/xinc.png b/img/kms/houTai/xinc.png new file mode 100644 index 0000000..583b9fb Binary files /dev/null and b/img/kms/houTai/xinc.png differ diff --git a/img/kms/houTai/xqun.png b/img/kms/houTai/xqun.png new file mode 100644 index 0000000..6195d5e Binary files /dev/null and b/img/kms/houTai/xqun.png differ diff --git a/img/kms/index/.png b/img/kms/index/.png new file mode 100644 index 0000000..9799a8f Binary files /dev/null and b/img/kms/index/.png differ diff --git a/img/kms/index/001.png b/img/kms/index/001.png new file mode 100644 index 0000000..9f56805 Binary files /dev/null and b/img/kms/index/001.png differ diff --git a/img/kms/index/002.png b/img/kms/index/002.png new file mode 100644 index 0000000..6c1e598 Binary files /dev/null and b/img/kms/index/002.png differ diff --git a/img/kms/index/003.png b/img/kms/index/003.png new file mode 100644 index 0000000..5d71d72 Binary files /dev/null and b/img/kms/index/003.png differ diff --git a/img/kms/index/004.png b/img/kms/index/004.png new file mode 100644 index 0000000..165ef8d Binary files /dev/null and b/img/kms/index/004.png differ diff --git a/img/kms/index/005.png b/img/kms/index/005.png new file mode 100644 index 0000000..db20239 Binary files /dev/null and b/img/kms/index/005.png differ diff --git a/img/kms/index/006.png b/img/kms/index/006.png new file mode 100644 index 0000000..e7f9604 Binary files /dev/null and b/img/kms/index/006.png differ diff --git a/img/kms/index/007.png b/img/kms/index/007.png new file mode 100644 index 0000000..5ad0b71 Binary files /dev/null and b/img/kms/index/007.png differ diff --git a/img/kms/index/biao.png b/img/kms/index/biao.png new file mode 100644 index 0000000..90f70c4 Binary files /dev/null and b/img/kms/index/biao.png differ diff --git a/img/kms/index/biaoQian.png b/img/kms/index/biaoQian.png new file mode 100644 index 0000000..0425427 Binary files /dev/null and b/img/kms/index/biaoQian.png differ diff --git a/img/kms/index/biaoQian1.png b/img/kms/index/biaoQian1.png new file mode 100644 index 0000000..27280e4 Binary files /dev/null and b/img/kms/index/biaoQian1.png differ diff --git a/img/kms/index/biaoQian2.png b/img/kms/index/biaoQian2.png new file mode 100644 index 0000000..8000427 Binary files /dev/null and b/img/kms/index/biaoQian2.png differ diff --git a/img/kms/index/biaoQian3.png b/img/kms/index/biaoQian3.png new file mode 100644 index 0000000..306fe70 Binary files /dev/null and b/img/kms/index/biaoQian3.png differ diff --git a/img/kms/index/faBu.png b/img/kms/index/faBu.png new file mode 100644 index 0000000..49d7b8d Binary files /dev/null and b/img/kms/index/faBu.png differ diff --git a/img/kms/index/fenLei.png b/img/kms/index/fenLei.png new file mode 100644 index 0000000..3f18474 Binary files /dev/null and b/img/kms/index/fenLei.png differ diff --git a/img/kms/index/gongCheng.png b/img/kms/index/gongCheng.png new file mode 100644 index 0000000..89a038c Binary files /dev/null and b/img/kms/index/gongCheng.png differ diff --git a/img/kms/index/huo.png b/img/kms/index/huo.png new file mode 100644 index 0000000..40e8369 Binary files /dev/null and b/img/kms/index/huo.png differ diff --git a/img/kms/index/index_2.png b/img/kms/index/index_2.png new file mode 100644 index 0000000..cc3ab64 Binary files /dev/null and b/img/kms/index/index_2.png differ diff --git a/img/kms/index/index_3.png b/img/kms/index/index_3.png new file mode 100644 index 0000000..c9b63c5 Binary files /dev/null and b/img/kms/index/index_3.png differ diff --git a/img/kms/index/index_4.png b/img/kms/index/index_4.png new file mode 100644 index 0000000..ed15294 Binary files /dev/null and b/img/kms/index/index_4.png differ diff --git a/img/kms/index/jiazai.gif b/img/kms/index/jiazai.gif new file mode 100644 index 0000000..57965eb Binary files /dev/null and b/img/kms/index/jiazai.gif differ diff --git a/img/kms/index/jingGao.png b/img/kms/index/jingGao.png new file mode 100644 index 0000000..b05b49d Binary files /dev/null and b/img/kms/index/jingGao.png differ diff --git a/img/kms/index/knowledge.png b/img/kms/index/knowledge.png new file mode 100644 index 0000000..8be37a1 Binary files /dev/null and b/img/kms/index/knowledge.png differ diff --git a/img/kms/index/knowledge1.png b/img/kms/index/knowledge1.png new file mode 100644 index 0000000..c75b53b Binary files /dev/null and b/img/kms/index/knowledge1.png differ diff --git a/img/kms/index/label_1.png b/img/kms/index/label_1.png new file mode 100644 index 0000000..a846bd9 Binary files /dev/null and b/img/kms/index/label_1.png differ diff --git a/img/kms/index/label_2.png b/img/kms/index/label_2.png new file mode 100644 index 0000000..eed15cf Binary files /dev/null and b/img/kms/index/label_2.png differ diff --git a/img/kms/index/liuLan.png b/img/kms/index/liuLan.png new file mode 100644 index 0000000..6adf731 Binary files /dev/null and b/img/kms/index/liuLan.png differ diff --git a/img/kms/index/logo.png b/img/kms/index/logo.png new file mode 100644 index 0000000..0655b01 Binary files /dev/null and b/img/kms/index/logo.png differ diff --git a/img/kms/index/logo2.png b/img/kms/index/logo2.png new file mode 100644 index 0000000..0f7285a Binary files /dev/null and b/img/kms/index/logo2.png differ diff --git a/img/kms/index/logo3.png b/img/kms/index/logo3.png new file mode 100644 index 0000000..017ea89 Binary files /dev/null and b/img/kms/index/logo3.png differ diff --git a/img/kms/index/more.png b/img/kms/index/more.png new file mode 100644 index 0000000..03e0266 Binary files /dev/null and b/img/kms/index/more.png differ diff --git a/img/kms/index/noImg.png b/img/kms/index/noImg.png new file mode 100644 index 0000000..95aa672 Binary files /dev/null and b/img/kms/index/noImg.png differ diff --git a/img/kms/index/search.png b/img/kms/index/search.png new file mode 100644 index 0000000..11e5927 Binary files /dev/null and b/img/kms/index/search.png differ diff --git a/img/kms/index/shangChuan.png b/img/kms/index/shangChuan.png new file mode 100644 index 0000000..8815101 Binary files /dev/null and b/img/kms/index/shangChuan.png differ diff --git a/img/kms/index/shiPin1.png b/img/kms/index/shiPin1.png new file mode 100644 index 0000000..cbc19ce Binary files /dev/null and b/img/kms/index/shiPin1.png differ diff --git a/img/kms/index/souSuo.png b/img/kms/index/souSuo.png new file mode 100644 index 0000000..4bc28bb Binary files /dev/null and b/img/kms/index/souSuo.png differ diff --git a/img/kms/index/touXiang.png b/img/kms/index/touXiang.png new file mode 100644 index 0000000..f6087ce Binary files /dev/null and b/img/kms/index/touXiang.png differ diff --git a/img/kms/index/touXiang2.png b/img/kms/index/touXiang2.png new file mode 100644 index 0000000..25064d0 Binary files /dev/null and b/img/kms/index/touXiang2.png differ diff --git a/img/kms/index/user-boy.png b/img/kms/index/user-boy.png new file mode 100644 index 0000000..13ce72b Binary files /dev/null and b/img/kms/index/user-boy.png differ diff --git a/img/kms/index/user-girl.png b/img/kms/index/user-girl.png new file mode 100644 index 0000000..da30914 Binary files /dev/null and b/img/kms/index/user-girl.png differ diff --git a/img/kms/index/user.jpg b/img/kms/index/user.jpg new file mode 100644 index 0000000..b8aa957 Binary files /dev/null and b/img/kms/index/user.jpg differ diff --git a/img/kms/index/user.png b/img/kms/index/user.png new file mode 100644 index 0000000..f1720b4 Binary files /dev/null and b/img/kms/index/user.png differ diff --git a/img/kms/index/videoBgc.png b/img/kms/index/videoBgc.png new file mode 100644 index 0000000..b9fe968 Binary files /dev/null and b/img/kms/index/videoBgc.png differ diff --git a/img/kms/index/videoBgc1.png b/img/kms/index/videoBgc1.png new file mode 100644 index 0000000..ef3bca5 Binary files /dev/null and b/img/kms/index/videoBgc1.png differ diff --git a/img/kms/index/xiangqing.png b/img/kms/index/xiangqing.png new file mode 100644 index 0000000..0adbbc3 Binary files /dev/null and b/img/kms/index/xiangqing.png differ diff --git a/img/kms/index/xiaoXi.png b/img/kms/index/xiaoXi.png new file mode 100644 index 0000000..8b5005a Binary files /dev/null and b/img/kms/index/xiaoXi.png differ diff --git a/img/kms/index/xiaoXi2.png b/img/kms/index/xiaoXi2.png new file mode 100644 index 0000000..5ccba3d Binary files /dev/null and b/img/kms/index/xiaoXi2.png differ diff --git a/img/kms/index/you.png b/img/kms/index/you.png new file mode 100644 index 0000000..e369db0 Binary files /dev/null and b/img/kms/index/you.png differ diff --git a/img/kms/index/youJian.png b/img/kms/index/youJian.png new file mode 100644 index 0000000..9b745d4 Binary files /dev/null and b/img/kms/index/youJian.png differ diff --git a/img/kms/index/zhuTi.png b/img/kms/index/zhuTi.png new file mode 100644 index 0000000..eea17d2 Binary files /dev/null and b/img/kms/index/zhuTi.png differ diff --git a/img/kms/index/zhuTi1.png b/img/kms/index/zhuTi1.png new file mode 100644 index 0000000..aac9490 Binary files /dev/null and b/img/kms/index/zhuTi1.png differ diff --git a/img/kms/index/zhuTi2.png b/img/kms/index/zhuTi2.png new file mode 100644 index 0000000..75f4877 Binary files /dev/null and b/img/kms/index/zhuTi2.png differ diff --git a/img/kms/index/zhuTibox.png b/img/kms/index/zhuTibox.png new file mode 100644 index 0000000..0f3c539 Binary files /dev/null and b/img/kms/index/zhuTibox.png differ diff --git a/img/kms/index/zuo.png b/img/kms/index/zuo.png new file mode 100644 index 0000000..63d385e Binary files /dev/null and b/img/kms/index/zuo.png differ diff --git a/img/kms/index/zuoZe.png b/img/kms/index/zuoZe.png new file mode 100644 index 0000000..66a9198 Binary files /dev/null and b/img/kms/index/zuoZe.png differ diff --git a/img/kms/login/back.png b/img/kms/login/back.png new file mode 100644 index 0000000..ef0f209 Binary files /dev/null and b/img/kms/login/back.png differ diff --git a/img/kms/login/left-bg1.png b/img/kms/login/left-bg1.png new file mode 100644 index 0000000..3264a70 Binary files /dev/null and b/img/kms/login/left-bg1.png differ diff --git a/img/kms/login/left-bg2.png b/img/kms/login/left-bg2.png new file mode 100644 index 0000000..9382b23 Binary files /dev/null and b/img/kms/login/left-bg2.png differ diff --git a/img/kms/login/login.png b/img/kms/login/login.png new file mode 100644 index 0000000..622f0ed Binary files /dev/null and b/img/kms/login/login.png differ diff --git a/img/kms/login/login2.png b/img/kms/login/login2.png new file mode 100644 index 0000000..7ccb471 Binary files /dev/null and b/img/kms/login/login2.png differ diff --git a/img/kms/login/mima1.png b/img/kms/login/mima1.png new file mode 100644 index 0000000..3698138 Binary files /dev/null and b/img/kms/login/mima1.png differ diff --git a/img/kms/login/mima2.png b/img/kms/login/mima2.png new file mode 100644 index 0000000..2487c3c Binary files /dev/null and b/img/kms/login/mima2.png differ diff --git a/img/kms/login/name.png b/img/kms/login/name.png new file mode 100644 index 0000000..1695ba9 Binary files /dev/null and b/img/kms/login/name.png differ diff --git a/img/kms/login/pwd.png b/img/kms/login/pwd.png new file mode 100644 index 0000000..6086447 Binary files /dev/null and b/img/kms/login/pwd.png differ diff --git a/img/kms/login/right-confirm.png b/img/kms/login/right-confirm.png new file mode 100644 index 0000000..24f6bd8 Binary files /dev/null and b/img/kms/login/right-confirm.png differ diff --git a/img/kms/login/right-qw.png b/img/kms/login/right-qw.png new file mode 100644 index 0000000..db720fa Binary files /dev/null and b/img/kms/login/right-qw.png differ diff --git a/img/kms/login/right-wx.png b/img/kms/login/right-wx.png new file mode 100644 index 0000000..55f4c1e Binary files /dev/null and b/img/kms/login/right-wx.png differ diff --git a/img/kms/login/shouji1.png b/img/kms/login/shouji1.png new file mode 100644 index 0000000..6f0a80f Binary files /dev/null and b/img/kms/login/shouji1.png differ diff --git a/img/kms/login/shouji2.png b/img/kms/login/shouji2.png new file mode 100644 index 0000000..1e9aae3 Binary files /dev/null and b/img/kms/login/shouji2.png differ diff --git a/img/kms/login/yanzhengma1.png b/img/kms/login/yanzhengma1.png new file mode 100644 index 0000000..03d8bd5 Binary files /dev/null and b/img/kms/login/yanzhengma1.png differ diff --git a/img/kms/login/yanzhengma2.png b/img/kms/login/yanzhengma2.png new file mode 100644 index 0000000..bad7aac Binary files /dev/null and b/img/kms/login/yanzhengma2.png differ diff --git a/img/kms/login/yhm1.png b/img/kms/login/yhm1.png new file mode 100644 index 0000000..4f70c51 Binary files /dev/null and b/img/kms/login/yhm1.png differ diff --git a/img/kms/login/yhm2.png b/img/kms/login/yhm2.png new file mode 100644 index 0000000..4d7c4b5 Binary files /dev/null and b/img/kms/login/yhm2.png differ diff --git a/img/kms/search/jia.png b/img/kms/search/jia.png new file mode 100644 index 0000000..3520f0d Binary files /dev/null and b/img/kms/search/jia.png differ diff --git a/img/kms/search/jian.png b/img/kms/search/jian.png new file mode 100644 index 0000000..6c14d70 Binary files /dev/null and b/img/kms/search/jian.png differ diff --git a/img/kms/search/search.png b/img/kms/search/search.png new file mode 100644 index 0000000..50a5467 Binary files /dev/null and b/img/kms/search/search.png differ diff --git a/img/kms/zhuTi/back.png b/img/kms/zhuTi/back.png new file mode 100644 index 0000000..88e7c50 Binary files /dev/null and b/img/kms/zhuTi/back.png differ diff --git a/img/kms/zhuTi/banBen.png b/img/kms/zhuTi/banBen.png new file mode 100644 index 0000000..b0de5ae Binary files /dev/null and b/img/kms/zhuTi/banBen.png differ diff --git a/img/kms/zhuTi/bian.png b/img/kms/zhuTi/bian.png new file mode 100644 index 0000000..ac3aba2 Binary files /dev/null and b/img/kms/zhuTi/bian.png differ diff --git a/img/kms/zhuTi/biao.png b/img/kms/zhuTi/biao.png new file mode 100644 index 0000000..369fd44 Binary files /dev/null and b/img/kms/zhuTi/biao.png differ diff --git a/img/kms/zhuTi/bo.png b/img/kms/zhuTi/bo.png new file mode 100644 index 0000000..e66c768 Binary files /dev/null and b/img/kms/zhuTi/bo.png differ diff --git a/img/kms/zhuTi/chengGong.png b/img/kms/zhuTi/chengGong.png new file mode 100644 index 0000000..0599a1a Binary files /dev/null and b/img/kms/zhuTi/chengGong.png differ diff --git a/img/kms/zhuTi/cover.png b/img/kms/zhuTi/cover.png new file mode 100644 index 0000000..0074664 Binary files /dev/null and b/img/kms/zhuTi/cover.png differ diff --git a/img/kms/zhuTi/er.png b/img/kms/zhuTi/er.png new file mode 100644 index 0000000..9ed49c7 Binary files /dev/null and b/img/kms/zhuTi/er.png differ diff --git a/img/kms/zhuTi/gongsi.png b/img/kms/zhuTi/gongsi.png new file mode 100644 index 0000000..a1f5fe6 Binary files /dev/null and b/img/kms/zhuTi/gongsi.png differ diff --git a/img/kms/zhuTi/jiben.png b/img/kms/zhuTi/jiben.png new file mode 100644 index 0000000..6a239e2 Binary files /dev/null and b/img/kms/zhuTi/jiben.png differ diff --git a/img/kms/zhuTi/kan.png b/img/kms/zhuTi/kan.png new file mode 100644 index 0000000..0c2c120 Binary files /dev/null and b/img/kms/zhuTi/kan.png differ diff --git a/img/kms/zhuTi/n1.png b/img/kms/zhuTi/n1.png new file mode 100644 index 0000000..ececa3a Binary files /dev/null and b/img/kms/zhuTi/n1.png differ diff --git a/img/kms/zhuTi/n10.png b/img/kms/zhuTi/n10.png new file mode 100644 index 0000000..37ab4cd Binary files /dev/null and b/img/kms/zhuTi/n10.png differ diff --git a/img/kms/zhuTi/n2.png b/img/kms/zhuTi/n2.png new file mode 100644 index 0000000..0c890b4 Binary files /dev/null and b/img/kms/zhuTi/n2.png differ diff --git a/img/kms/zhuTi/n3.png b/img/kms/zhuTi/n3.png new file mode 100644 index 0000000..cba5e02 Binary files /dev/null and b/img/kms/zhuTi/n3.png differ diff --git a/img/kms/zhuTi/n4.png b/img/kms/zhuTi/n4.png new file mode 100644 index 0000000..484176a Binary files /dev/null and b/img/kms/zhuTi/n4.png differ diff --git a/img/kms/zhuTi/n5.png b/img/kms/zhuTi/n5.png new file mode 100644 index 0000000..3115ec8 Binary files /dev/null and b/img/kms/zhuTi/n5.png differ diff --git a/img/kms/zhuTi/n6.png b/img/kms/zhuTi/n6.png new file mode 100644 index 0000000..5a7baeb Binary files /dev/null and b/img/kms/zhuTi/n6.png differ diff --git a/img/kms/zhuTi/n7.png b/img/kms/zhuTi/n7.png new file mode 100644 index 0000000..5d75fe2 Binary files /dev/null and b/img/kms/zhuTi/n7.png differ diff --git a/img/kms/zhuTi/n8.png b/img/kms/zhuTi/n8.png new file mode 100644 index 0000000..81270e8 Binary files /dev/null and b/img/kms/zhuTi/n8.png differ diff --git a/img/kms/zhuTi/n9.png b/img/kms/zhuTi/n9.png new file mode 100644 index 0000000..43c446a Binary files /dev/null and b/img/kms/zhuTi/n9.png differ diff --git a/img/kms/zhuTi/pi.png b/img/kms/zhuTi/pi.png new file mode 100644 index 0000000..29b970d Binary files /dev/null and b/img/kms/zhuTi/pi.png differ diff --git a/img/kms/zhuTi/ppt.png b/img/kms/zhuTi/ppt.png new file mode 100644 index 0000000..b579a10 Binary files /dev/null and b/img/kms/zhuTi/ppt.png differ diff --git a/img/kms/zhuTi/shipin.png b/img/kms/zhuTi/shipin.png new file mode 100644 index 0000000..ace40c1 Binary files /dev/null and b/img/kms/zhuTi/shipin.png differ diff --git a/img/kms/zhuTi/shouCang.png b/img/kms/zhuTi/shouCang.png new file mode 100644 index 0000000..88e432a Binary files /dev/null and b/img/kms/zhuTi/shouCang.png differ diff --git a/img/kms/zhuTi/shouCang1.png b/img/kms/zhuTi/shouCang1.png new file mode 100644 index 0000000..4211132 Binary files /dev/null and b/img/kms/zhuTi/shouCang1.png differ diff --git a/img/kms/zhuTi/t1.png b/img/kms/zhuTi/t1.png new file mode 100644 index 0000000..9c4c8bc Binary files /dev/null and b/img/kms/zhuTi/t1.png differ diff --git a/img/kms/zhuTi/t2.png b/img/kms/zhuTi/t2.png new file mode 100644 index 0000000..bcffbcb Binary files /dev/null and b/img/kms/zhuTi/t2.png differ diff --git a/img/kms/zhuTi/t3.png b/img/kms/zhuTi/t3.png new file mode 100644 index 0000000..6fba2ce Binary files /dev/null and b/img/kms/zhuTi/t3.png differ diff --git a/img/kms/zhuTi/title.png b/img/kms/zhuTi/title.png new file mode 100644 index 0000000..50d2e0f Binary files /dev/null and b/img/kms/zhuTi/title.png differ diff --git a/img/kms/zhuTi/tuishi.png b/img/kms/zhuTi/tuishi.png new file mode 100644 index 0000000..c41cee3 Binary files /dev/null and b/img/kms/zhuTi/tuishi.png differ diff --git a/img/kms/zhuTi/x1.png b/img/kms/zhuTi/x1.png new file mode 100644 index 0000000..543f150 Binary files /dev/null and b/img/kms/zhuTi/x1.png differ diff --git a/img/kms/zhuTi/x2.png b/img/kms/zhuTi/x2.png new file mode 100644 index 0000000..dc1ebf5 Binary files /dev/null and b/img/kms/zhuTi/x2.png differ diff --git a/img/kms/zhuTi/x3.png b/img/kms/zhuTi/x3.png new file mode 100644 index 0000000..7eaf6f0 Binary files /dev/null and b/img/kms/zhuTi/x3.png differ diff --git a/img/kms/zhuTi/x4.png b/img/kms/zhuTi/x4.png new file mode 100644 index 0000000..1d08ca7 Binary files /dev/null and b/img/kms/zhuTi/x4.png differ diff --git a/img/kms/zhuTi/x5.png b/img/kms/zhuTi/x5.png new file mode 100644 index 0000000..a552f50 Binary files /dev/null and b/img/kms/zhuTi/x5.png differ diff --git a/img/kms/zhuTi/x6.png b/img/kms/zhuTi/x6.png new file mode 100644 index 0000000..b262c81 Binary files /dev/null and b/img/kms/zhuTi/x6.png differ diff --git a/img/kms/zhuTi/x7.png b/img/kms/zhuTi/x7.png new file mode 100644 index 0000000..d64b567 Binary files /dev/null and b/img/kms/zhuTi/x7.png differ diff --git a/img/kms/zhuTi/xia.png b/img/kms/zhuTi/xia.png new file mode 100644 index 0000000..3536904 Binary files /dev/null and b/img/kms/zhuTi/xia.png differ diff --git a/img/kms/zhuTi/xiazai.png b/img/kms/zhuTi/xiazai.png new file mode 100644 index 0000000..85505b0 Binary files /dev/null and b/img/kms/zhuTi/xiazai.png differ diff --git a/img/kms/zhuTi/xin.png b/img/kms/zhuTi/xin.png new file mode 100644 index 0000000..09772ad Binary files /dev/null and b/img/kms/zhuTi/xin.png differ diff --git a/img/kms/zhuTi/xing.png b/img/kms/zhuTi/xing.png new file mode 100644 index 0000000..457f32c Binary files /dev/null and b/img/kms/zhuTi/xing.png differ diff --git a/img/kms/zhuTi/xinga.png b/img/kms/zhuTi/xinga.png new file mode 100644 index 0000000..73a5ebf Binary files /dev/null and b/img/kms/zhuTi/xinga.png differ diff --git a/img/kms/zhuTi/yunci.png b/img/kms/zhuTi/yunci.png new file mode 100644 index 0000000..2e32961 Binary files /dev/null and b/img/kms/zhuTi/yunci.png differ diff --git a/img/lock_wrapper.jpg b/img/lock_wrapper.jpg new file mode 100644 index 0000000..cd4829d Binary files /dev/null and b/img/lock_wrapper.jpg differ diff --git a/img/logo.png b/img/logo.png new file mode 100644 index 0000000..5182b28 Binary files /dev/null and b/img/logo.png differ diff --git a/img/platform/EMC.png b/img/platform/EMC.png new file mode 100644 index 0000000..b9766c1 Binary files /dev/null and b/img/platform/EMC.png differ diff --git a/img/platform/abcstack.png b/img/platform/abcstack.png new file mode 100644 index 0000000..7225246 Binary files /dev/null and b/img/platform/abcstack.png differ diff --git a/img/platform/agile.png b/img/platform/agile.png new file mode 100644 index 0000000..8c1badf Binary files /dev/null and b/img/platform/agile.png differ diff --git a/img/platform/aliyun.png b/img/platform/aliyun.png new file mode 100644 index 0000000..3b022e8 Binary files /dev/null and b/img/platform/aliyun.png differ diff --git a/img/platform/apic.png b/img/platform/apic.png new file mode 100644 index 0000000..833e7c0 Binary files /dev/null and b/img/platform/apic.png differ diff --git a/img/platform/aws.png b/img/platform/aws.png new file mode 100644 index 0000000..ad29f65 Binary files /dev/null and b/img/platform/aws.png differ diff --git a/img/platform/azure.png b/img/platform/azure.png new file mode 100644 index 0000000..5dd71cc Binary files /dev/null and b/img/platform/azure.png differ diff --git a/img/platform/bigip.png b/img/platform/bigip.png new file mode 100644 index 0000000..a02e561 Binary files /dev/null and b/img/platform/bigip.png differ diff --git a/img/platform/boke.png b/img/platform/boke.png new file mode 100644 index 0000000..164b062 Binary files /dev/null and b/img/platform/boke.png differ diff --git a/img/platform/cas.png b/img/platform/cas.png new file mode 100644 index 0000000..238d8bf Binary files /dev/null and b/img/platform/cas.png differ diff --git a/img/platform/ceph.png b/img/platform/ceph.png new file mode 100644 index 0000000..18dbd74 Binary files /dev/null and b/img/platform/ceph.png differ diff --git a/img/platform/cnware.png b/img/platform/cnware.png new file mode 100644 index 0000000..57a678a Binary files /dev/null and b/img/platform/cnware.png differ diff --git a/img/platform/common/down.png b/img/platform/common/down.png new file mode 100644 index 0000000..69364b4 Binary files /dev/null and b/img/platform/common/down.png differ diff --git a/img/platform/common/sync.png b/img/platform/common/sync.png new file mode 100644 index 0000000..dd1614b Binary files /dev/null and b/img/platform/common/sync.png differ diff --git a/img/platform/common/vm.png b/img/platform/common/vm.png new file mode 100644 index 0000000..aad15b3 Binary files /dev/null and b/img/platform/common/vm.png differ diff --git a/img/platform/cube.png b/img/platform/cube.png new file mode 100644 index 0000000..4d121f1 Binary files /dev/null and b/img/platform/cube.png differ diff --git a/img/platform/dell.png b/img/platform/dell.png new file mode 100644 index 0000000..ce9f959 Binary files /dev/null and b/img/platform/dell.png differ diff --git a/img/platform/easystack.png b/img/platform/easystack.png new file mode 100644 index 0000000..4293aae Binary files /dev/null and b/img/platform/easystack.png differ diff --git a/img/platform/firewall.png b/img/platform/firewall.png new file mode 100644 index 0000000..90816c5 Binary files /dev/null and b/img/platform/firewall.png differ diff --git a/img/platform/fusionComputer.png b/img/platform/fusionComputer.png new file mode 100644 index 0000000..48df269 Binary files /dev/null and b/img/platform/fusionComputer.png differ diff --git a/img/platform/h3c.png b/img/platform/h3c.png new file mode 100644 index 0000000..842cf20 Binary files /dev/null and b/img/platform/h3c.png differ diff --git a/img/platform/huasanyun.png b/img/platform/huasanyun.png new file mode 100644 index 0000000..9947f31 Binary files /dev/null and b/img/platform/huasanyun.png differ diff --git a/img/platform/huawei.png b/img/platform/huawei.png new file mode 100644 index 0000000..eedd48f Binary files /dev/null and b/img/platform/huawei.png differ diff --git a/img/platform/huaweicunchu.png b/img/platform/huaweicunchu.png new file mode 100644 index 0000000..eedd48f Binary files /dev/null and b/img/platform/huaweicunchu.png differ diff --git a/img/platform/ibm-hmc.png b/img/platform/ibm-hmc.png new file mode 100644 index 0000000..7dc7462 Binary files /dev/null and b/img/platform/ibm-hmc.png differ diff --git a/img/platform/ibm.png b/img/platform/ibm.png new file mode 100644 index 0000000..7dc7462 Binary files /dev/null and b/img/platform/ibm.png differ diff --git a/img/platform/jingdongyun.png b/img/platform/jingdongyun.png new file mode 100644 index 0000000..f111181 Binary files /dev/null and b/img/platform/jingdongyun.png differ diff --git a/img/platform/jumpserver.png b/img/platform/jumpserver.png new file mode 100644 index 0000000..2efc8e0 Binary files /dev/null and b/img/platform/jumpserver.png differ diff --git a/img/platform/k8s.png b/img/platform/k8s.png new file mode 100644 index 0000000..e4b8121 Binary files /dev/null and b/img/platform/k8s.png differ diff --git a/img/platform/kingcloud.png b/img/platform/kingcloud.png new file mode 100644 index 0000000..e571a8e Binary files /dev/null and b/img/platform/kingcloud.png differ diff --git a/img/platform/kvm.png b/img/platform/kvm.png new file mode 100644 index 0000000..005ae8d Binary files /dev/null and b/img/platform/kvm.png differ diff --git a/img/platform/nsx.png b/img/platform/nsx.png new file mode 100644 index 0000000..3287117 Binary files /dev/null and b/img/platform/nsx.png differ diff --git a/img/platform/onestack.png b/img/platform/onestack.png new file mode 100644 index 0000000..9dce296 Binary files /dev/null and b/img/platform/onestack.png differ diff --git a/img/platform/op.png b/img/platform/op.png new file mode 100644 index 0000000..a3d77b9 Binary files /dev/null and b/img/platform/op.png differ diff --git a/img/platform/powervc.png b/img/platform/powervc.png new file mode 100644 index 0000000..718b285 Binary files /dev/null and b/img/platform/powervc.png differ diff --git a/img/platform/qcloud.png b/img/platform/qcloud.png new file mode 100644 index 0000000..8934fd6 Binary files /dev/null and b/img/platform/qcloud.png differ diff --git a/img/platform/sdn/device.png b/img/platform/sdn/device.png new file mode 100644 index 0000000..f64ec3b Binary files /dev/null and b/img/platform/sdn/device.png differ diff --git a/img/platform/sdn/deviceFw.png b/img/platform/sdn/deviceFw.png new file mode 100644 index 0000000..dd8d186 Binary files /dev/null and b/img/platform/sdn/deviceFw.png differ diff --git a/img/platform/sdn/deviceSwitch.png b/img/platform/sdn/deviceSwitch.png new file mode 100644 index 0000000..c7e5dd9 Binary files /dev/null and b/img/platform/sdn/deviceSwitch.png differ diff --git a/img/platform/sdn/endPort.png b/img/platform/sdn/endPort.png new file mode 100644 index 0000000..3e10a09 Binary files /dev/null and b/img/platform/sdn/endPort.png differ diff --git a/img/platform/sdn/logicPort.png b/img/platform/sdn/logicPort.png new file mode 100644 index 0000000..19ed5e1 Binary files /dev/null and b/img/platform/sdn/logicPort.png differ diff --git a/img/platform/sdn/logicRouter.png b/img/platform/sdn/logicRouter.png new file mode 100644 index 0000000..a834e73 Binary files /dev/null and b/img/platform/sdn/logicRouter.png differ diff --git a/img/platform/sdn/logicSwitch.png b/img/platform/sdn/logicSwitch.png new file mode 100644 index 0000000..99b249a Binary files /dev/null and b/img/platform/sdn/logicSwitch.png differ diff --git a/img/platform/sdn/logicVas.png b/img/platform/sdn/logicVas.png new file mode 100644 index 0000000..c5e897f Binary files /dev/null and b/img/platform/sdn/logicVas.png differ diff --git a/img/platform/sdn/vpc.png b/img/platform/sdn/vpc.png new file mode 100644 index 0000000..7572f4c Binary files /dev/null and b/img/platform/sdn/vpc.png differ diff --git a/img/platform/sike.png b/img/platform/sike.png new file mode 100644 index 0000000..833e7c0 Binary files /dev/null and b/img/platform/sike.png differ diff --git a/img/platform/smart.png b/img/platform/smart.png new file mode 100644 index 0000000..6c2e859 Binary files /dev/null and b/img/platform/smart.png differ diff --git a/img/platform/storage.png b/img/platform/storage.png new file mode 100644 index 0000000..33e3230 Binary files /dev/null and b/img/platform/storage.png differ diff --git a/img/platform/switch.png b/img/platform/switch.png new file mode 100644 index 0000000..ff34c28 Binary files /dev/null and b/img/platform/switch.png differ diff --git a/img/platform/tencent.png b/img/platform/tencent.png new file mode 100644 index 0000000..fbf3b12 Binary files /dev/null and b/img/platform/tencent.png differ diff --git a/img/platform/ty.png b/img/platform/ty.png new file mode 100644 index 0000000..2135f11 Binary files /dev/null and b/img/platform/ty.png differ diff --git a/img/platform/uis.png b/img/platform/uis.png new file mode 100644 index 0000000..3ca1259 Binary files /dev/null and b/img/platform/uis.png differ diff --git a/img/platform/vcenter.png b/img/platform/vcenter.png new file mode 100644 index 0000000..ab2ba4b Binary files /dev/null and b/img/platform/vcenter.png differ diff --git a/img/platform/vczm.png b/img/platform/vczm.png new file mode 100644 index 0000000..abd2e0f Binary files /dev/null and b/img/platform/vczm.png differ diff --git a/img/platform/veeam.png b/img/platform/veeam.png new file mode 100644 index 0000000..c3ecac1 Binary files /dev/null and b/img/platform/veeam.png differ diff --git a/img/platform/volcengine.png b/img/platform/volcengine.png new file mode 100644 index 0000000..5f56c39 Binary files /dev/null and b/img/platform/volcengine.png differ diff --git a/img/platform/xsky.png b/img/platform/xsky.png new file mode 100644 index 0000000..25c04a8 Binary files /dev/null and b/img/platform/xsky.png differ diff --git a/img/platform/zstack.png b/img/platform/zstack.png new file mode 100644 index 0000000..fd585f5 Binary files /dev/null and b/img/platform/zstack.png differ diff --git a/img/rule.png b/img/rule.png new file mode 100644 index 0000000..e08d5f9 Binary files /dev/null and b/img/rule.png differ diff --git a/img/shortcut.png b/img/shortcut.png new file mode 100644 index 0000000..93c9cd6 Binary files /dev/null and b/img/shortcut.png differ diff --git a/img/slideIcon-new.png b/img/slideIcon-new.png new file mode 100644 index 0000000..21e9498 Binary files /dev/null and b/img/slideIcon-new.png differ diff --git a/img/vc_network/adaptive.png b/img/vc_network/adaptive.png new file mode 100644 index 0000000..d3f1e57 Binary files /dev/null and b/img/vc_network/adaptive.png differ diff --git a/img/vc_network/host.png b/img/vc_network/host.png new file mode 100644 index 0000000..708c960 Binary files /dev/null and b/img/vc_network/host.png differ diff --git a/img/vc_network/interchanger.png b/img/vc_network/interchanger.png new file mode 100644 index 0000000..40ddc5e Binary files /dev/null and b/img/vc_network/interchanger.png differ diff --git a/img/vc_network/port.png b/img/vc_network/port.png new file mode 100644 index 0000000..b56d138 Binary files /dev/null and b/img/vc_network/port.png differ diff --git a/package.json b/package.json new file mode 100644 index 0000000..e00e01b --- /dev/null +++ b/package.json @@ -0,0 +1,6 @@ +{ + "name": "web-common-resource", + "version": "5.6.0", + "private": true, + "author": "Haijun Zhang ", +} \ No newline at end of file diff --git a/terminal/smartxKs/base.css b/terminal/smartxKs/base.css new file mode 100644 index 0000000..bdf056a --- /dev/null +++ b/terminal/smartxKs/base.css @@ -0,0 +1,109 @@ +*{ padding:0; margin:0} +body { font-family: "Microsoft Yahei","Helvetica","Tahoma","SimSun", Arial, sans-serif; background-color: #494949; background-repeat: no-repeat; background-position: right bottom; height: 100%; width:100%; } +html { height: 100%} +#noVNC_controls ul { list-style: none; margin: 0px; padding: 0px; } +#noVNC_controls li { padding-bottom: 8px; } +#noVNC_host { width: 150px; } +#noVNC_port { width: 80px; } +#noVNC_password { width: 150px; } +#noVNC_encrypt { } +#noVNC_path { width: 100px; } +#noVNC_connect_button { width: 110px; float: right; } +#noVNC_buttons { white-space: nowrap; float:right; position:relative; z-index:99; margin-right:10px} +#noVNC_buttons input{padding: 4px 6px; height:24px; margin-top:5px; color:#eee; cursor:pointer; outline:none; border-radius:2px; vertical-align: middle; border:0; background:#525252} +#noVNC_buttons input.disabled{ color:#999; cursor:default} +#noVNC_view_drag_button { display: none; } +#sendCtrlAltDelButton { display: none; } +#noVNC_xvp_buttons { display: none; } +#noVNC_mobile_buttons { display: none; } +#noVNC_extra_keys { display: inline; list-style-type: none; padding: 0px; margin: 0px; position: relative; } +.noVNC-buttons-left { float: left; z-index: 1; position: relative; } +.noVNC-buttons-right { float: right; right: 0px; z-index: 2; position: absolute; } +#noVNC_status { font-size: 12px; float:left; height:inherit; line-height:32px} +#noVNC_settings_menu { margin: 3px; text-align: left; } +#noVNC_settings_menu ul { list-style: none; margin: 0px; padding: 0px; } +#noVNC_apply { float: right; } +#noVNC_screen_pad { margin: 0px; padding: 0px; height: 36px; } +#noVNC_screen { text-align: center; width: 100%; height: 100%; background-color: #313131} +#noVNC_container, #noVNC_canvas { margin: 0px; padding: 0px; } +#noVNC_canvas { left: 0px; } +#VNC_clipboard_clear_button { float: right; } +#VNC_clipboard_text { font-size: 11px; } +#noVNC_clipboard_clear_button { float: right; } +#noVNC_settings { display: none; margin-top: 73px; right: 20px; position: fixed; } +#noVNC_controls { display: none; margin-top: 73px; right: 12px; position: fixed; } +#noVNC_controls.top:after { right: 15px; } +#noVNC_description { display: none; position: fixed; margin-top: 73px; right: 20px; left: 20px; padding: 15px; color: #000; background: #eee; border: 2px solid #E0E0E0; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; } +#noVNC_popup_status_panel { display: none; position: fixed; z-index: 1; margin: 15px; margin-top: 60px; padding: 15px; width: auto; text-align: center; font-weight: bold; word-wrap: break-word; color: #fff; background: rgba(0,0,0,0.65); -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; } +#noVNC_xvp { display: none; margin-top: 73px; right: 30px; position: fixed; } +#noVNC_xvp.top:after { right: 125px; } +#noVNC_clipboard { display: none; margin-top: 73px; right: 30px; position: fixed; } +#noVNC_clipboard.top:after { right: 85px; } +#keyboardinput { width: 1px; height: 1px; background-color: #fff; color: #fff; border: 0; position: relative; left: -40px; z-index: -1; } +.noVNC_status_normal { background: #222; color:#CEC17E} +.noVNC_status_error { background: #222; color:#f04040} +.noVNC_status_warn { background: #222; color:#f0f040} +#noVNC_status_bar{height: 36px} +#noVNC-control-bar { position: fixed; display: block; height: 36px; left: 0; top: 0; width: 100%; z-index: 200; } +.noVNC_status_button { padding: 4px 4px; height:24px; vertical-align: middle; border: 1px solid #869dbc; background:#525252} +.noVNC_status_button_selected { padding: 4px 4px; height:24px; vertical-align: middle; border: 1px solid #4366a9; background:#4366a9} +.triangle-right { position: relative; padding: 15px; margin: 1em 0 3em; color: #fff; background: #fff; + +-webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; color: #000; border: 2px solid #E0E0E0; } +.triangle-right.top:after { border-color: transparent #E0E0E0; border-width: 20px 20px 0 0; bottom: auto; left: auto; right: 50px; top: -20px; } +.triangle-right:after { content: ""; position: absolute; bottom: -20px; left: 50px; border-width: 20px 0 0 20px; border-style: solid; border-color: #E0E0E0 transparent; +display: block; width: 0; } +.triangle-right.top:after { top: -40px; right: 50px; bottom: auto; left: auto; border-width: 40px 40px 0 0; border-color: transparent #E0E0E0; } +@font-face { font-family: 'Orbitron'; font-style: normal; font-weight: 700; src: local('?'), url('/static/font/Orbitron700.woff') format('woff'), url('/static/font/Orbitron700.ttf') format('truetype'); } +#noVNC_logo { margin-top: 170px; margin-left: 10px; color: yellow; text-align: left; font-family: 'Orbitron', 'OrbitronTTF', sans-serif; line-height: 90%; text-shadow: 5px 5px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; } +#noVNC_logo span { color: green; } +.noVNC_status_button { font-size: 12px; } +#noVNC_clipboard_text { width: 500px; } +#noVNC_logo { font-size: 180px; } +.noVNC-buttons-left { padding-left: 10px; } +.noVNC-buttons-right { padding-right: 10px; } +#noVNC_status { float:left; z-index: 0; margin-left:10px; } +#showExtraKeysButton { display: none; } +#toggleCtrlButton { display: inline; } +#toggleAltButton { display: inline; } +#sendTabButton { display: inline; } +#sendEscButton { display: inline; } +@media screen and (max-width: 800px) { +#noVNC_status { z-index: 1; position: relative; width: auto; float: left; margin-left: 4px; } +} +@media screen and (max-width: 640px) { +#noVNC_clipboard_text { width: 410px; } +#noVNC_logo { font-size: 150px; } +.noVNC_status_button { font-size: 10px; } +.noVNC-buttons-left { padding-left: 0px; } +.noVNC-buttons-right { padding-right: 0px; } +#showExtraKeysButton { display: inline; } +#toggleCtrlButton { display: none; position: absolute; top: 30px; left: 0px; } +#toggleAltButton { display: none; position: absolute; top: 65px; left: 0px; } +#sendTabButton { display: none; position: absolute; top: 100px; left: 0px; } +#sendEscButton { display: none; position: absolute; top: 135px; left: 0px; } +} +@media screen and (min-width: 321px) and (max-width: 480px) { +#noVNC_clipboard_text { width: 250px; } +#noVNC_logo { font-size: 110px; } +} +@media screen and (max-width: 320px) { +.noVNC_status_button { font-size: 9px; } +#noVNC_clipboard_text { width: 220px; } +#noVNC_logo { font-size: 90px; } +} +.dropdown { float:left; position: relative; display: inline-block; vertical-align: middle; text-align: left; width: 132px; margin-right: 10px; height: 32px; font-size:12px } +.dropdown a { margin: 0; padding: 0 10px; background: 0; border: 0 none; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; -webkit-box-shadow: 0 0 0 transparent; -moz-box-shadow: 0 0 0 transparent; box-shadow: 0 0 0 transparent; text-align: left } +.dropdown-text { cursor: pointer; position: absolute; text-indent: 10px; line-height: 30px; border-bottom: 2px solid #4a4a4a; width: 100%; background: #525252; color: #fff; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px } +.dropdown-text:hover { color: #f2f2f2; background: #4e4e4e; text-decoration: none } +.dropdown-text:after { position: absolute; right: 6px; top: 15px; content: ''; width: 0; height: 0; border-style: solid; border-width: 5px 4px 0; border-color: #fff transparent transparent } +.dropdown-text a, .dropdown-content a { color: #fff } +input.dropdown-toggle { font-size: 0; z-index: 1; cursor: pointer; position: absolute; top: 0; border: 0; padding: 0; margin: 0 0 0 1px; background: transparent; text-indent: -10px; height: 32px; width: 100% } +input.dropdown-toggle:focus { outline: 0; border: 0 none; -webkit-box-shadow: 0 0 0 transparent; -moz-box-shadow: 0 0 0 transparent; box-shadow: 0 0 0 transparent } +.dropdown-content { -webkit-transition: all .25s ease; -moz-transition: all .25s ease; -ms-transition: all .25s ease; -o-transition: all .25s ease; -webkit-transition: all; -moz-transition: all; -o-transition: all; list-style-type: none; position: absolute; top: 34px; padding: 0; margin: 0; opacity: 0; visibility: hidden; line-height: 32px; background-color: #525252; width: 140px } +.dropdown-content a { display: block } +.dropdown-content a:hover { color: #fff; background: #373837 } +.dropdown-content .btn-forbidden, .dropdown-content .btn-forbidden:hover { color: #969696; background: transparent } +.dropdown-toggle:focus~.dropdown-text { -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.2) inset; -moz-box-shadow: 0 1px 3px rgba(0,0,0,.2) inset; box-shadow: 0 1px 3px rgba(0,0,0,.2) inset; z-index: 2 } +.dropdown-toggle:focus~.dropdown-text:after { border-width: 0 4px 5px; border-color: transparent transparent #fff } +.dropdown-content:hover, .dropdown-toggle:focus~.dropdown-content { opacity: 1; visibility: visible; top: 34px } diff --git a/terminal/smartxKs/base64.js b/terminal/smartxKs/base64.js new file mode 100644 index 0000000..90f5811 --- /dev/null +++ b/terminal/smartxKs/base64.js @@ -0,0 +1 @@ +var Base64={toBase64Table:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split(""),base64Pad:"=",encode:function(r){"use strict";for(var e="",a=Base64.toBase64Table,t=r.length,o=t%3,n=0;n>2],e+=a[((3&r[n])<<4)+(r[n+1]>>4)],e+=a[((15&r[n+1])<<2)+(r[n+2]>>6)],e+=a[63&r[n+2]];var s=0;return 2===o?(s=t-o,e+=a[r[s]>>2],e+=a[((3&r[s])<<4)+(r[s+1]>>4)],e+=a[(15&r[s+1])<<2],e+=a[64]):1===o&&(s=t-o,e+=a[r[s]>>2],e+=a[(3&r[s])<<4],e+=a[64],e+=a[64]),e},toBinaryTable:[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,0,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1],decode:function(r,e){"use strict";e=void 0!==e?e:0;var a,t,o=Base64.toBinaryTable,n=Base64.base64Pad,s=0,c=0,i=r.indexOf("=")-e;i<0&&(i=r.length-e),t=3*(i>>2)+Math.floor(i%4/1.5),a=new Array(t);for(var l=0,d=e;d=8&&(s-=8,B||(a[l++]=c>>s&255),c&=(1<, and is: + * + * Copyright (c) 1996 Widget Workshop, Inc. All Rights Reserved. + * + * Permission to use, copy, modify, and distribute this software + * and its documentation for NON-COMMERCIAL or COMMERCIAL purposes and + * without fee is hereby granted, provided that this copyright notice is kept + * intact. + * + * WIDGET WORKSHOP MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY + * OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED + * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A + * PARTICULAR PURPOSE, OR NON-INFRINGEMENT. WIDGET WORKSHOP SHALL NOT BE LIABLE + * FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR + * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. + * + * THIS SOFTWARE IS NOT DESIGNED OR INTENDED FOR USE OR RESALE AS ON-LINE + * CONTROL EQUIPMENT IN HAZARDOUS ENVIRONMENTS REQUIRING FAIL-SAFE + * PERFORMANCE, SUCH AS IN THE OPERATION OF NUCLEAR FACILITIES, AIRCRAFT + * NAVIGATION OR COMMUNICATION SYSTEMS, AIR TRAFFIC CONTROL, DIRECT LIFE + * SUPPORT MACHINES, OR WEAPONS SYSTEMS, IN WHICH THE FAILURE OF THE + * SOFTWARE COULD LEAD DIRECTLY TO DEATH, PERSONAL INJURY, OR SEVERE + * PHYSICAL OR ENVIRONMENTAL DAMAGE ("HIGH RISK ACTIVITIES"). WIDGET WORKSHOP + * SPECIFICALLY DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY OF FITNESS FOR + * HIGH RISK ACTIVITIES. + * + * + * The rest is: + * + * Copyright (C) 1996 by Jef Poskanzer . All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * Visit the ACME Labs Java page for up-to-date versions of this and other + * fine Java utilities: http://www.acme.com/java/ + */ + +function DES(r){"use strict";function n(r){var n,o,f,c,t=0,e=r.slice(),i=0;for(o=e[t++]<<24|e[t++]<<16|e[t++]<<8|e[t++],f=e[t++]<<24|e[t++]<<16|e[t++]<<8|e[t++],c=252645135&(o>>>4^f),f^=c,o^=c<<4,c=65535&(o>>>16^f),f^=c,o^=c<<16,c=858993459&(f>>>2^o),o^=c,f^=c<<2,c=16711935&(f>>>8^o),o^=c,f^=c<<8,f=f<<1|f>>>31&1,c=2863311530&(o^f),o^=c,f^=c,o=o<<1|o>>>31&1,t=0;t<8;++t)c=f<<28|f>>>4,c^=d[i++],n=D[63&c],n|=p[c>>>8&63],n|=l[c>>>16&63],n|=s[c>>>24&63],c=f^d[i++],n|=E[63&c],n|=y[c>>>8&63],n|=v[c>>>16&63],n|=a[c>>>24&63],o^=n,c=o<<28|o>>>4,c^=d[i++],n=D[63&c],n|=p[c>>>8&63],n|=l[c>>>16&63],n|=s[c>>>24&63],c=o^d[i++],n|=E[63&c],n|=y[c>>>8&63],n|=v[c>>>16&63],n|=a[c>>>24&63],f^=n;for(f=f<<31|f>>>1,c=2863311530&(o^f),o^=c,f^=c,o=o<<31|o>>>1,c=16711935&(o>>>8^f),f^=c,o^=c<<8,c=858993459&(o>>>2^f),f^=c,o^=c<<2,c=65535&(f>>>16^o),o^=c,f^=c<<16,c=252645135&(f>>>4^o),o^=c,f^=c<<4,c=[f,o],t=0;t<8;t++)e[t]=(c[t>>>2]>>>8*(3-t%4))%256,e[t]<0&&(e[t]+=256);return e}function o(r){return n(r.slice(0,8)).concat(n(r.slice(8,16)))}var f,c,t,e,i,u,s,a,l,v,p,y,D,E,S=[13,16,10,23,0,4,2,27,14,5,20,9,22,18,11,3,25,7,15,6,26,19,12,1,40,51,30,36,46,54,29,39,50,44,32,47,43,48,38,55,33,52,45,41,49,35,28,31],b=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],d=[];return f=65536,c=1<<24,t=f|c,e=4,i=1024,u=e|i,s=[t|i,0,0|f,t|u,t|e,f|u,0|e,0|f,0|i,t|i,t|u,0|i,c|u,t|e,0|c,0|e,0|u,c|i,c|i,f|i,f|i,0|t,0|t,c|u,f|e,c|e,c|e,f|e,0,0|u,f|u,0|c,0|f,t|u,0|e,0|t,t|i,0|c,0|c,0|i,t|e,0|f,f|i,c|e,0|i,0|e,c|u,f|u,t|u,f|e,0|t,c|u,c|e,0|u,f|u,t|i,0|u,c|i,c|i,0,f|e,f|i,0,t|e],f=1<<20,c=1<<31,t=f|c,e=32,i=32768,u=e|i,a=[t|u,c|i,0|i,f|u,0|f,0|e,t|e,c|u,c|e,t|u,t|i,0|c,c|i,0|f,0|e,t|e,f|i,f|e,c|u,0,0|c,0|i,f|u,0|t,f|e,c|e,0,f|i,0|u,t|i,0|t,0|u,0,f|u,t|e,0|f,c|u,0|t,t|i,0|i,0|t,c|i,0|e,t|u,f|u,0|e,0|i,0|c,0|u,t|i,0|f,c|e,f|e,c|u,c|e,f|e,f|i,0,c|i,0|u,0|c,t|e,t|u,f|i],f=1<<17,c=1<<27,t=f|c,e=8,i=512,u=e|i,l=[0|u,t|i,0,t|e,c|i,0,f|u,c|i,f|e,c|e,c|e,0|f,t|u,f|e,0|t,0|u,0|c,0|e,t|i,0|i,f|i,0|t,t|e,f|u,c|u,f|i,0|f,c|u,0|e,t|u,0|i,0|c,t|i,0|c,f|e,0|u,0|f,t|i,c|i,0,0|i,f|e,t|u,c|i,c|e,0|i,0,t|e,c|u,0|f,0|c,t|u,0|e,f|u,f|i,c|e,0|t,c|u,0|u,0|t,f|u,0|e,t|e,f|i],f=8192,c=1<<23,t=f|c,e=1,i=128,u=e|i,v=[t|e,f|u,f|u,0|i,t|i,c|u,c|e,f|e,0,0|t,0|t,t|u,0|u,0,c|i,c|e,0|e,0|f,0|c,t|e,0|i,0|c,f|e,f|i,c|u,0|e,f|i,c|i,0|f,t|i,t|u,0|u,c|i,c|e,0|t,t|u,0|u,0,0,0|t,f|i,c|i,c|u,0|e,t|e,f|u,f|u,0|i,t|u,0|u,0|e,0|f,c|e,f|e,t|i,c|u,f|e,f|i,0|c,t|e,0|i,0|c,0|f,t|i],f=1<<25,c=1<<30,t=f|c,e=256,i=1<<19,u=e|i,p=[0|e,f|u,f|i,t|e,0|i,0|e,0|c,f|i,c|u,0|i,f|e,c|u,t|e,t|i,0|u,0|c,0|f,c|i,c|i,0,c|e,t|u,t|u,f|e,t|i,c|e,0,0|t,f|u,0|f,0|t,0|u,0|i,t|e,0|e,0|f,0|c,f|i,t|e,c|u,f|e,0|c,t|i,f|u,c|u,0|e,0|f,t|i,t|u,0|u,0|t,t|u,f|i,0,c|i,0|t,0|u,f|e,c|e,0|i,0,c|i,f|u,c|e],f=1<<22,c=1<<29,t=f|c,e=16,i=16384,u=e|i,y=[c|e,0|t,0|i,t|u,0|t,0|e,t|u,0|f,c|i,f|u,0|f,c|e,f|e,c|i,0|c,0|u,0,f|e,c|u,0|i,f|i,c|u,0|e,t|e,t|e,0,f|u,t|i,0|u,f|i,t|i,0|c,c|i,0|e,t|e,f|i,t|u,0|f,0|u,c|e,0|f,c|i,0|c,0|u,c|e,t|u,f|i,0|t,f|u,t|i,0,t|e,0|e,0|i,0|t,f|u,0|i,f|e,c|u,0,t|i,0|c,f|e,c|u],f=1<<21,c=1<<26,t=f|c,e=2,i=2048,u=e|i,D=[0|f,t|e,c|u,0,0|i,c|u,f|u,t|i,t|u,0|f,0,c|e,0|e,0|c,t|e,0|u,c|i,f|u,f|e,c|i,c|e,0|t,t|i,f|e,0|t,0|i,0|u,t|u,f|i,0|e,0|c,f|i,0|c,f|i,0|f,c|u,c|u,t|e,t|e,0|e,f|e,0|c,c|i,0|f,t|i,0|u,f|u,t|i,0|u,c|e,t|u,0|t,f|i,0,0|e,t|u,0,f|u,0|t,0|i,c|e,c|i,0|i,f|e],f=1<<18,c=1<<28,t=f|c,e=64,i=4096,u=e|i,E=[c|u,0|i,0|f,t|u,0|c,c|u,0|e,0|c,f|e,0|t,t|u,f|i,t|i,f|u,0|i,0|e,0|t,c|e,c|i,0|u,f|i,f|e,t|e,t|i,0|u,0,0,t|e,c|e,c|i,f|u,0|f,f|u,0|f,t|i,0|i,0|e,t|e,0|i,f|u,c|i,0|e,c|e,0|t,t|e,0|c,0|f,c|u,0,t|u,f|e,c|e,0|t,c|i,c|u,0,t|u,f|i,f|i,0|u,0|u,f|e,0|c,t|i],function(r){var n,o,f,c,t,e,i,u,s,a,l=[],v=[],p=[];for(o=0,f=56;o<56;++o,f-=8)f+=f<-5?65:f<-3?31:f<-1?63:27===f?35:0,c=7&f,l[o]=0!=(r[f>>>3]&1<>>10,d[a]|=(4032&u)>>>6,++a,d[a]=(258048&i)<<12,d[a]|=(63&i)<<16,d[a]|=(258048&u)>>>4,d[a]|=63&u,++a}(r),{encrypt:o}} \ No newline at end of file diff --git a/terminal/smartxKs/display.js b/terminal/smartxKs/display.js new file mode 100644 index 0000000..9d68064 --- /dev/null +++ b/terminal/smartxKs/display.js @@ -0,0 +1,10 @@ +/* + * noVNC: HTML5 VNC client + * Copyright (C) 2012 Joel Martin + * Copyright (C) 2015 Samuel Mannehed for Cendio AB + * Licensed under MPL 2.0 (see LICENSE.txt) + * + * See README.md for usage and integration instructions. + */ + +var Display;!function(){"use strict";var t=!1;try{new ImageData(new Uint8ClampedArray(1),1,1),t=!0}catch(t){}Display=function(t){if(this._drawCtx=null,this._c_forceCanvas=!1,this._renderQ=[],this._fb_width=0,this._fb_height=0,this._maxWidth=0,this._maxHeight=0,this._viewportLoc={x:0,y:0,w:0,h:0},this._cleanRect={x1:0,y1:0,x2:-1,y2:-1},this._prevDrawStyle="",this._tile=null,this._tile16x16=null,this._tile_x=0,this._tile_y=0,Util.set_defaults(this,t,{true_color:!0,colourMap:[],scale:1,viewport:!1,render_mode:""}),Util.Debug(">> Display.constructor"),!this._target)throw new Error("Target must be set");if("string"==typeof this._target)throw new Error("target must be a DOM element");if(!this._target.getContext)throw new Error("no getContext method");if(this._drawCtx||(this._drawCtx=this._target.getContext("2d")),Util.Debug("User Agent: "+navigator.userAgent),Util.Engine.gecko&&Util.Debug("Browser: gecko "+Util.Engine.gecko),Util.Engine.webkit&&Util.Debug("Browser: webkit "+Util.Engine.webkit),Util.Engine.trident&&Util.Debug("Browser: trident "+Util.Engine.trident),Util.Engine.presto&&Util.Debug("Browser: presto "+Util.Engine.presto),this.clear(),!("createImageData"in this._drawCtx))throw new Error("Canvas does not support createImageData");this._render_mode="canvas rendering",null===this._prefer_js&&(Util.Info("Prefering javascript operations"),this._prefer_js=!0),(this._cursor_uri||null===this._cursor_uri||void 0===this._cursor_uri)&&(this._cursor_uri=Util.browserSupportsCursorURIs()),Util.Debug("<< Display.constructor")},Display.prototype={viewportChangePos:function(t,i){var e=this._viewportLoc;t=Math.floor(t),i=Math.floor(i),this._viewport||(t=-e.w,i=-e.h);var h=e.x+e.w-1,r=e.y+e.h-1;if(t<0&&e.x+t<0&&(t=-e.x),h+t>=this._fb_width&&(t-=h+t-this._fb_width+1),e.y+i<0&&(i=-e.y),r+i>=this._fb_height&&(i-=r+i-this._fb_height+1),0!==t||0!==i){Util.Debug("viewportChange deltaX: "+t+", deltaY: "+i),e.x+=t,h+=t,e.y+=i,r+=i;var s=this._cleanRect;e.x>s.x1&&(s.x1=e.x),hs.y1&&(s.y1=e.y),rthis._maxWidth&&(t=this._maxWidth),0!==this._maxHeight&&i>this._maxHeight&&(i=this._maxHeight));var h=this._cleanRect;te.x+t-1&&(h.x2=e.x+t-1),ie.y+i-1&&(h.y2=e.y+i-1),e.w=t,e.h=i;var r=this._target;if(r.width!==t||r.height!==i){var s=null;if(e.w>0&&e.h>0&&r.width>0&&r.height>0){var a=r.width=i.x2||i.y1>=i.y2)h.push({x:t.x,y:t.y,w:t.w,h:t.h});else{var r=t.x+t.w-1,s=t.y+t.h-1;t.xi.x2&&h.push({x:i.x2+1,y:t.y,w:r-i.x2,h:t.h}),t.yi.y2&&h.push({x:i.x1,y:i.y2+1,w:i.x2-i.x1+1,h:s-i.y2})}return this._cleanRect={x1:t.x,y1:t.y,x2:t.x+t.w-1,y2:t.y+t.h-1},{cleanBox:e,dirtyBoxes:h}},absX:function(t){return t+this._viewportLoc.x},absY:function(t){return t+this._viewportLoc.y},resize:function(t,i){this._prevDrawStyle="",this._fb_width=t,this._fb_height=i,this._rescale(this._scale),this.viewportChangeSize()},clear:function(){this._logo?(this.resize(this._logo.width,this._logo.height),this.blitStringImage(this._logo.data,0,0)):(6===Util.Engine.trident&&this._drawCtx.clearRect(0,0,this._viewportLoc.w,this._viewportLoc.h),this.resize(240,20),this._drawCtx.clearRect(0,0,this._viewportLoc.w,this._viewportLoc.h)),this._renderQ=[]},fillRect:function(t,i,e,h,r,s){0===this._renderQ.length||s?(this._setFillColor(r),this._drawCtx.fillRect(t-this._viewportLoc.x,i-this._viewportLoc.y,e,h)):this.renderQ_push({type:"fill",x:t,y:i,width:e,height:h,color:r})},copyImage:function(t,i,e,h,r,s,a){if(0===this._renderQ.length||a){var o=t-this._viewportLoc.x,_=i-this._viewportLoc.y,n=e-this._viewportLoc.x,l=h-this._viewportLoc.y;this._drawCtx.drawImage(this._target,o,_,r,s,n,l,r,s)}else this.renderQ_push({type:"copy",old_x:t,old_y:i,x:e,y:h,width:r,height:s})},startTile:function(t,i,e,h,r){if(this._tile_x=t,this._tile_y=i,this._tile=16===e&&16===h?this._tile16x16:this._drawCtx.createImageData(e,h),this._prefer_js){var s;s=this._true_color?r:this._colourMap[r[0]];for(var a=s[2],o=s[1],_=s[0],n=this._tile.data,l=0;lt.w||this._fb_height>t.h,e=0!==this._maxWidth&&0!==this._maxHeight,h=!1;return e&&(h=t.w>this._maxWidth||t.h>this._maxHeight),i||e&&h},get_context:function(){return this._drawCtx},set_scale:function(t){this._rescale(t)},set_width:function(t){this._fb_width=t},get_width:function(){return this._fb_width},set_height:function(t){this._fb_height=t},get_height:function(){return this._fb_height},autoscale:function(t,i,e){var h,r=t/i,s=this._fb_width/this._fb_height;h=s>=r?t/this._fb_width:i/this._fb_height;var a,o;return h>1&&e?(a=this._fb_width,o=this._fb_height,h=1):s>=r?(a=t,o=Math.round(t/s)):(a=Math.round(i*s),o=i),this._target.style.width=a+"px",this._target.style.height=o+"px",this._scale=h,h},_rescale:function(t){this._scale=t;var i,e;this._viewport&&0!==this._maxWidth&&0!==this._maxHeight?(i=Math.min(this._fb_width,this._maxWidth),e=Math.min(this._fb_height,this._maxHeight)):(i=this._fb_width,e=this._fb_height),this._target.style.width=Math.round(t*i)+"px",this._target.style.height=Math.round(t*e)+"px"},_setFillColor:function(t){var i;i=this._true_color?t:this._colourMap[t];var e="rgb("+i[2]+","+i[1]+","+i[0]+")";e!==this._prevDrawStyle&&(this._drawCtx.fillStyle=e,this._prevDrawStyle=e)},_rgbImageData:function(t,i,e,h,r,s,a,o){for(var _=this._drawCtx.createImageData(r,s),n=_.data,l=0,g=o;l0;){var i=this._renderQ[0];switch(i.type){case"copy":this.copyImage(i.old_x,i.old_y,i.x,i.y,i.width,i.height,!0);break;case"fill":this.fillRect(i.x,i.y,i.width,i.height,i.color,!0);break;case"blit":this.blitImage(i.x,i.y,i.width,i.height,i.data,0,!0);break;case"blitRgb":this.blitRgbImage(i.x,i.y,i.width,i.height,i.data,0,!0);break;case"blitRgbx":this.blitRgbxImage(i.x,i.y,i.width,i.height,i.data,0,!0);break;case"img":i.img.complete?this.drawImage(i.img,i.x,i.y):t=!1}t&&this._renderQ.shift()}this._renderQ.length>0&&requestAnimFrame(this._scan_renderQ.bind(this))}},Util.make_properties(Display,[["target","wo","dom"],["context","ro","raw"],["logo","rw","raw"],["true_color","rw","bool"],["colourMap","rw","arr"],["scale","rw","float"],["viewport","rw","bool"],["width","rw","int"],["height","rw","int"],["maxWidth","rw","int"],["maxHeight","rw","int"],["render_mode","ro","str"],["prefer_js","rw","str"],["cursor_uri","rw","raw"]]),Display.changeCursor=function(t,i,e,h,r,s,a,o){var _=s,n=a;n<_?n=_:_=n;var l=[];l.push16le=function(t){this.push(255&t,t>>8&255)},l.push32le=function(t){this.push(255&t,t>>8&255,t>>16&255,t>>24&255)};var g=_*n*4,w=Math.ceil(_*n/8),c=Math.ceil(_*n/8);l.push16le(0),l.push16le(2),l.push16le(1),l.push(_),l.push(n),l.push(0),l.push(0),l.push16le(h),l.push16le(r),l.push32le(40+g+w+c),l.push32le(22),l.push32le(40),l.push32le(_),l.push32le(2*n),l.push16le(1),l.push16le(32),l.push32le(0),l.push32le(w+c),l.push32le(0),l.push32le(0),l.push32le(0),l.push32le(0);var u,d;for(u=n-1;u>=0;u--)for(d=0;d<_;d++)if(d>=s||u>=a)l.push(0),l.push(0),l.push(0),l.push(0);else{var p=u*Math.ceil(s/8)+Math.floor(d/8),x=e[p]<>>16&65535|0,s=0;0!==i;){s=i>2e3?2e3:i,i-=s;do{n=n+t[a++]|0,r=r+n|0}while(--s);n%=65521,r%=65521}return n|r<<16|0}t.exports=a},{}],3:[function(e,t,i){"use strict";function a(e,t,i,a){var r=n,s=a+i;e^=-1;for(var o=a;o>>8^r[255&(e^t[o])];return-1^e}var n=function(){for(var e,t=[],i=0;i<256;i++){e=i;for(var a=0;a<8;a++)e=1&e?3988292384^e>>>1:e>>>1;t[i]=e}return t}();t.exports=a},{}],4:[function(e,t,i){"use strict";t.exports=function(e,t){var i,a,n,r,s,o,f,l,d,c,h,u,b,m,k,w,v,g,x,p,_,y,z,B,A;i=e.state,a=e.next_in,B=e.input,n=a+(e.avail_in-5),r=e.next_out,A=e.output,s=r-(t-e.avail_out),o=r+(e.avail_out-257),f=i.dmax,l=i.wsize,d=i.whave,c=i.wnext,h=i.window,u=i.hold,b=i.bits,m=i.lencode,k=i.distcode,w=(1<>>24,u>>>=x,b-=x,0===(x=g>>>16&255))A[r++]=65535&g;else{if(!(16&x)){if(0==(64&x)){g=m[(65535&g)+(u&(1<>>=x,b-=x),b<15&&(u+=B[a++]<>>24,u>>>=x,b-=x,!(16&(x=g>>>16&255))){if(0==(64&x)){g=k[(65535&g)+(u&(1<f){e.msg="invalid distance too far back",i.mode=30;break e}if(u>>>=x,b-=x,x=r-s,_>x){if((x=_-x)>d&&i.sane){e.msg="invalid distance too far back",i.mode=30;break e}if(y=0,z=h,0===c){if(y+=l-x,x2;)A[r++]=z[y++],A[r++]=z[y++],A[r++]=z[y++],p-=3;p&&(A[r++]=z[y++],p>1&&(A[r++]=z[y++]))}else{y=r-_;do{A[r++]=A[y++],A[r++]=A[y++],A[r++]=A[y++],p-=3}while(p>2);p&&(A[r++]=A[y++],p>1&&(A[r++]=A[y++]))}break}}break}}while(a>3,a-=p,b-=p<<3,u&=(1<>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function n(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new w.Buf16(320),this.work=new w.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function r(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=T,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new w.Buf32(be),t.distcode=t.distdyn=new w.Buf32(me),t.sane=1,t.back=-1,U):I}function s(e){var t;return e&&e.state?(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,r(e)):I}function o(e,t){var i,a;return e&&e.state?(a=e.state,t<0?(i=0,t=-t):(i=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?I:(null!==a.window&&a.wbits!==t&&(a.window=null),a.wrap=i,a.wbits=t,s(e))):I}function f(e,t){var i,a;return e?(a=new n,e.state=a,a.window=null,i=o(e,t),i!==U&&(e.state=null),i):I}function l(e){return f(e,ke)}function d(e){if(we){var t;for(m=new w.Buf32(512),k=new w.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(p(y,e.lens,0,288,m,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;p(z,e.lens,0,32,k,0,e.work,{bits:5}),we=!1}e.lencode=m,e.lenbits=9,e.distcode=k,e.distbits=5}function c(e,t,i,a){var n,r=e.state;return null===r.window&&(r.wsize=1<=r.wsize?(w.arraySet(r.window,t,i-r.wsize,r.wsize,0),r.wnext=0,r.whave=r.wsize):(n=r.wsize-r.wnext,n>a&&(n=a),w.arraySet(r.window,t,i-a,n,r.wnext),a-=n,a?(w.arraySet(r.window,t,i-a,a,0),r.wnext=a,r.whave=r.wsize):(r.wnext+=n,r.wnext===r.wsize&&(r.wnext=0),r.whave>>8&255,i.check=g(i.check,Se,2,0),h=0,u=0,i.mode=N;break}if(i.flags=0,i.head&&(i.head.done=!1),!(1&i.wrap)||(((255&h)<<8)+(h>>8))%31){e.msg="incorrect header check",i.mode=ce;break}if((15&h)!==R){e.msg="unknown compression method",i.mode=ce;break}if(h>>>=4,u-=4,_e=8+(15&h),0===i.wbits)i.wbits=_e;else if(_e>i.wbits){e.msg="invalid window size",i.mode=ce;break}i.dmax=1<<_e,e.adler=i.check=1,i.mode=512&h?P:Q,h=0,u=0;break;case N:for(;u<16;){if(0===f)break e;f--,h+=n[s++]<>8&1),512&i.flags&&(Se[0]=255&h,Se[1]=h>>>8&255,i.check=g(i.check,Se,2,0)),h=0,u=0,i.mode=D;case D:for(;u<32;){if(0===f)break e;f--,h+=n[s++]<>>8&255,Se[2]=h>>>16&255,Se[3]=h>>>24&255,i.check=g(i.check,Se,4,0)),h=0,u=0,i.mode=F;case F:for(;u<16;){if(0===f)break e;f--,h+=n[s++]<>8),512&i.flags&&(Se[0]=255&h,Se[1]=h>>>8&255,i.check=g(i.check,Se,2,0)),h=0,u=0,i.mode=G;case G:if(1024&i.flags){for(;u<16;){if(0===f)break e;f--,h+=n[s++]<>>8&255,i.check=g(i.check,Se,2,0)),h=0,u=0}else i.head&&(i.head.extra=null);i.mode=H;case H:if(1024&i.flags&&(k=i.length,k>f&&(k=f),k&&(i.head&&(_e=i.head.extra_len-i.length,i.head.extra||(i.head.extra=new Array(i.head.extra_len)),w.arraySet(i.head.extra,n,s,k,_e)),512&i.flags&&(i.check=g(i.check,n,k,s)),f-=k,s+=k,i.length-=k),i.length))break e;i.length=0,i.mode=K;case K:if(2048&i.flags){if(0===f)break e;k=0;do{_e=n[s+k++],i.head&&_e&&i.length<65536&&(i.head.name+=String.fromCharCode(_e))}while(_e&&k>9&1,i.head.done=!0),e.adler=i.check=0,i.mode=Q;break;case P:for(;u<32;){if(0===f)break e;f--,h+=n[s++]<>>=7&u,u-=7&u,i.mode=fe;break}for(;u<3;){if(0===f)break e;f--,h+=n[s++]<>>=1,u-=1,3&h){case 0:i.mode=W;break;case 1:if(d(i),i.mode=te,t===S){h>>>=2,u-=2;break e}break;case 2:i.mode=Z;break;case 3:e.msg="invalid block type",i.mode=ce}h>>>=2,u-=2;break;case W:for(h>>>=7&u,u-=7&u;u<32;){if(0===f)break e;f--,h+=n[s++]<>>16^65535)){e.msg="invalid stored block lengths",i.mode=ce;break}if(i.length=65535&h,h=0,u=0,i.mode=X,t===S)break e;case X:i.mode=Y;case Y:if(k=i.length){if(k>f&&(k=f),k>l&&(k=l),0===k)break e;w.arraySet(r,n,s,k,o),f-=k,s+=k,l-=k,o+=k,i.length-=k;break}i.mode=Q;break;case Z:for(;u<14;){if(0===f)break e;f--,h+=n[s++]<>>=5,u-=5,i.ndist=1+(31&h),h>>>=5,u-=5,i.ncode=4+(15&h),h>>>=4,u-=4,i.nlen>286||i.ndist>30){e.msg="too many length or distance symbols",i.mode=ce;break}i.have=0,i.mode=$;case $:for(;i.have>>=3,u-=3}for(;i.have<19;)i.lens[Ue[i.have++]]=0;if(i.lencode=i.lendyn,i.lenbits=7,ze={bits:i.lenbits},ye=p(_,i.lens,0,19,i.lencode,0,i.work,ze),i.lenbits=ze.bits,ye){e.msg="invalid code lengths set",i.mode=ce;break}i.have=0,i.mode=ee;case ee:for(;i.have>>24,we=Ae>>>16&255,ve=65535&Ae,!(ke<=u);){if(0===f)break e;f--,h+=n[s++]<>>=ke,u-=ke,i.lens[i.have++]=ve;else{if(16===ve){for(Be=ke+2;u>>=ke,u-=ke,0===i.have){e.msg="invalid bit length repeat",i.mode=ce;break}_e=i.lens[i.have-1],k=3+(3&h),h>>>=2,u-=2}else if(17===ve){for(Be=ke+3;u>>=ke,u-=ke,_e=0,k=3+(7&h),h>>>=3,u-=3}else{for(Be=ke+7;u>>=ke,u-=ke,_e=0,k=11+(127&h),h>>>=7,u-=7}if(i.have+k>i.nlen+i.ndist){e.msg="invalid bit length repeat",i.mode=ce;break}for(;k--;)i.lens[i.have++]=_e}}if(i.mode===ce)break;if(0===i.lens[256]){e.msg="invalid code -- missing end-of-block",i.mode=ce;break}if(i.lenbits=9,ze={bits:i.lenbits},ye=p(y,i.lens,0,i.nlen,i.lencode,0,i.work,ze),i.lenbits=ze.bits,ye){e.msg="invalid literal/lengths set",i.mode=ce;break}if(i.distbits=6,i.distcode=i.distdyn,ze={bits:i.distbits},ye=p(z,i.lens,i.nlen,i.ndist,i.distcode,0,i.work,ze),i.distbits=ze.bits,ye){e.msg="invalid distances set",i.mode=ce;break}if(i.mode=te,t===S)break e;case te:i.mode=ie;case ie:if(f>=6&&l>=258){e.next_out=o,e.avail_out=l,e.next_in=s,e.avail_in=f,i.hold=h,i.bits=u,x(e,m),o=e.next_out,r=e.output,l=e.avail_out,s=e.next_in,n=e.input,f=e.avail_in,h=i.hold,u=i.bits,i.mode===Q&&(i.back=-1);break}for(i.back=0;Ae=i.lencode[h&(1<>>24,we=Ae>>>16&255,ve=65535&Ae,!(ke<=u);){if(0===f)break e;f--,h+=n[s++]<>ge)],ke=Ae>>>24,we=Ae>>>16&255,ve=65535&Ae,!(ge+ke<=u);){if(0===f)break e;f--,h+=n[s++]<>>=ge,u-=ge,i.back+=ge}if(h>>>=ke,u-=ke,i.back+=ke,i.length=ve,0===we){i.mode=oe;break}if(32&we){i.back=-1,i.mode=Q;break}if(64&we){e.msg="invalid literal/length code",i.mode=ce;break}i.extra=15&we,i.mode=ae;case ae:if(i.extra){for(Be=i.extra;u>>=i.extra,u-=i.extra,i.back+=i.extra}i.was=i.length,i.mode=ne;case ne:for(;Ae=i.distcode[h&(1<>>24,we=Ae>>>16&255,ve=65535&Ae,!(ke<=u);){if(0===f)break e;f--,h+=n[s++]<>ge)],ke=Ae>>>24,we=Ae>>>16&255,ve=65535&Ae,!(ge+ke<=u);){if(0===f)break e;f--,h+=n[s++]<>>=ge,u-=ge,i.back+=ge}if(h>>>=ke,u-=ke,i.back+=ke,64&we){e.msg="invalid distance code",i.mode=ce;break}i.offset=ve,i.extra=15&we,i.mode=re;case re:if(i.extra){for(Be=i.extra;u>>=i.extra,u-=i.extra,i.back+=i.extra}if(i.offset>i.dmax){e.msg="invalid distance too far back",i.mode=ce;break}i.mode=se;case se:if(0===l)break e;if(k=m-l,i.offset>k){if((k=i.offset-k)>i.whave&&i.sane){e.msg="invalid distance too far back",i.mode=ce;break}k>i.wnext?(k-=i.wnext,be=i.wsize-k):be=i.wnext-k,k>i.length&&(k=i.length),me=i.window}else me=r,be=o-i.offset,k=i.length;k>l&&(k=l),l-=k,i.length-=k;do{r[o++]=me[be++]}while(--k);0===i.length&&(i.mode=ie);break;case oe:if(0===l)break e;r[o++]=i.length,l--,i.mode=ie;break;case fe:if(i.wrap){for(;u<32;){if(0===f)break e;f--,h|=n[s++]<=1&&0===R[A];A--);if(S>A&&(S=A),0===A)return l[d++]=20971520,l[d++]=20971520,h.bits=1,0;for(B=1;B0&&(0===e||1!==A))return-1;for(T[1]=0,y=1;y<15;y++)T[y+1]=T[y]+R[y];for(z=0;z852||2===e&&I>592)return 1;for(var F=0;;){F++,g=y-j,c[z]v?(x=N[D+c[z]],p=E[O+c[z]]):(x=96,p=0),u=1<>j)+b]=g<<24|x<<16|p|0}while(0!==b);for(u=1<>=1;if(0!==u?(q&=u-1,q+=u):q=0,z++,0==--R[y]){if(y===A)break;y=t[i+c[z]]}if(y>S&&(q&k)!==m){for(0===j&&(j=S),w+=B,U=y-j,C=1<852||2===e&&I>592)return 1;m=q&k,l[m]=S<<24|U<<16|w-d|0}}return 0!==q&&(l[w+q]=y-j<<24|64<<16|0),h.bits=S,0}},{"../utils/common":1}],7:[function(e,t,i){"use strict";function a(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}t.exports=a},{}],8:[function(e,t,i){var a=e("../node_modules/pako/lib/zlib/inflate.js"),n=e("../node_modules/pako/lib/zlib/zstream.js"),r=function(){this.strm=new n,this.chunkSize=102400,this.strm.output=new Uint8Array(this.chunkSize),this.windowBits=5,a.inflateInit(this.strm,this.windowBits)};r.prototype={inflate:function(e,t,i){return this.strm.input=e,this.strm.avail_in=this.strm.input.length,this.strm.next_in=0,this.strm.next_out=0,i>this.chunkSize&&(this.chunkSize=i,this.strm.output=new Uint8Array(this.chunkSize)),this.strm.avail_out=this.chunkSize,a.inflate(this.strm,t),new Uint8Array(this.strm.output.buffer,0,this.strm.next_out)},reset:function(){a.inflateReset(this.strm)}},t.exports={Inflate:r}},{"../node_modules/pako/lib/zlib/inflate.js":5,"../node_modules/pako/lib/zlib/zstream.js":7}]},{},[8])(8)}); \ No newline at end of file diff --git a/terminal/smartxKs/input.js b/terminal/smartxKs/input.js new file mode 100644 index 0000000..3e5e613 --- /dev/null +++ b/terminal/smartxKs/input.js @@ -0,0 +1,8 @@ +/* + * noVNC: HTML5 VNC client + * Copyright (C) 2012 Joel Martin + * Copyright (C) 2013 Samuel Mannehed for Cendio AB + * Licensed under MPL 2.0 or any later version (see LICENSE.txt) + */ + +var Keyboard,Mouse;!function(){"use strict";Keyboard=function(e){this._keyDownList=[],Util.set_defaults(this,e,{target:document,focused:!0}),this._handler=new KeyEventDecoder(kbdUtil.ModifierSync(),VerifyCharModifier(TrackKeyState(EscapeModifiers(this._handleRfbEvent.bind(this))))),this._eventHandlers={keyup:this._handleKeyUp.bind(this),keydown:this._handleKeyDown.bind(this),keypress:this._handleKeyPress.bind(this),blur:this._allKeysUp.bind(this)}},Keyboard.prototype={_handleRfbEvent:function(e){this._onKeyPress&&(Util.Debug("onKeyPress "+("keydown"==e.type?"down":"up")+", keysym: "+e.keysym.keysym+"("+e.keysym.keyname+")"),this._onKeyPress(e.keysym.keysym,"keydown"==e.type))},_handleKeyDown:function(e){return!this._focused||(!this._handler.keydown(e)||(Util.stopEvent(e),!1))},_handleKeyPress:function(e){return!this._focused||(!this._handler.keypress(e)||(Util.stopEvent(e),!1))},_handleKeyUp:function(e){return!this._focused||(!this._handler.keyup(e)||(Util.stopEvent(e),!1))},_allKeysUp:function(){Util.Debug(">> Keyboard.allKeysUp"),this._handler.releaseAll(),Util.Debug("<< Keyboard.allKeysUp")},grab:function(){var e=this._target;Util.addEvent(e,"keydown",this._eventHandlers.keydown),Util.addEvent(e,"keyup",this._eventHandlers.keyup),Util.addEvent(e,"keypress",this._eventHandlers.keypress),Util.addEvent(window,"blur",this._eventHandlers.blur)},ungrab:function(){var e=this._target;Util.removeEvent(e,"keydown",this._eventHandlers.keydown),Util.removeEvent(e,"keyup",this._eventHandlers.keyup),Util.removeEvent(e,"keypress",this._eventHandlers.keypress),Util.removeEvent(window,"blur",this._eventHandlers.blur),this._allKeysUp()},sync:function(e){this._handler.syncModifiers(e)}},Util.make_properties(Keyboard,[["target","wo","dom"],["focused","rw","bool"],["onKeyPress","rw","func"]]),Mouse=function(e){this._mouseCaptured=!1,this._doubleClickTimer=null,this._lastTouchPos=null,Util.set_defaults(this,e,{target:document,focused:!0,scale:1,touchButton:1}),this._eventHandlers={mousedown:this._handleMouseDown.bind(this),mouseup:this._handleMouseUp.bind(this),mousemove:this._handleMouseMove.bind(this),mousewheel:this._handleMouseWheel.bind(this),mousedisable:this._handleMouseDisable.bind(this)}},Mouse.prototype={_captureMouse:function(){this._target.setCapture&&this._target.setCapture(),this._mouseCaptured=!0},_releaseMouse:function(){this._target.releaseCapture&&this._target.releaseCapture(),this._mouseCaptured=!1},_resetDoubleClickTimer:function(){this._doubleClickTimer=null},_handleMouseButton:function(e,t){if(!this._focused)return!0;this._notify&&this._notify(e);var s,n=e||window.event,o=Util.getEventPosition(e,this._target,this._scale);if(e.touches||e.changedTouches){if(1==t){if(null===this._doubleClickTimer)this._lastTouchPos=o;else{clearTimeout(this._doubleClickTimer);var i=this._lastTouchPos.x-o.x,u=this._lastTouchPos.y-o.y;Math.sqrt(i*i+u*u)<20*(window.devicePixelRatio||1)&&(o=this._lastTouchPos)}this._doubleClickTimer=setTimeout(this._resetDoubleClickTimer.bind(this),500)}s=this._touchButton}else s=n.which?1<0?8:16,this._onMouseButton&&(this._onMouseButton(n.x,n.y,1,t),this._onMouseButton(n.x,n.y,0,t)),Util.stopEvent(e),!1},_handleMouseMove:function(e){if(!this._focused)return!0;this._notify&&this._notify(e);var t=(e||window.event,Util.getEventPosition(e,this._target,this._scale));return this._onMouseMove&&this._onMouseMove(t.x,t.y),Util.stopEvent(e),!1},_handleMouseDisable:function(e){return!this._focused||((e||window.event).target!=this._target||(Util.stopEvent(e),!1))},grab:function(){var e=this._target;"ontouchstart"in document.documentElement&&(Util.addEvent(e,"touchstart",this._eventHandlers.mousedown),Util.addEvent(window,"touchend",this._eventHandlers.mouseup),Util.addEvent(e,"touchend",this._eventHandlers.mouseup),Util.addEvent(e,"touchmove",this._eventHandlers.mousemove)),Util.addEvent(e,"mousedown",this._eventHandlers.mousedown),Util.addEvent(window,"mouseup",this._eventHandlers.mouseup),Util.addEvent(e,"mouseup",this._eventHandlers.mouseup),Util.addEvent(e,"mousemove",this._eventHandlers.mousemove),Util.addEvent(e,Util.Engine.gecko?"DOMMouseScroll":"mousewheel",this._eventHandlers.mousewheel),Util.addEvent(document,"click",this._eventHandlers.mousedisable),Util.addEvent(document.body,"contextmenu",this._eventHandlers.mousedisable)},ungrab:function(){var e=this._target;"ontouchstart"in document.documentElement&&(Util.removeEvent(e,"touchstart",this._eventHandlers.mousedown),Util.removeEvent(window,"touchend",this._eventHandlers.mouseup),Util.removeEvent(e,"touchend",this._eventHandlers.mouseup),Util.removeEvent(e,"touchmove",this._eventHandlers.mousemove)),Util.removeEvent(e,"mousedown",this._eventHandlers.mousedown),Util.removeEvent(window,"mouseup",this._eventHandlers.mouseup),Util.removeEvent(e,"mouseup",this._eventHandlers.mouseup),Util.removeEvent(e,"mousemove",this._eventHandlers.mousemove),Util.removeEvent(e,Util.Engine.gecko?"DOMMouseScroll":"mousewheel",this._eventHandlers.mousewheel),Util.removeEvent(document,"click",this._eventHandlers.mousedisable),Util.removeEvent(document.body,"contextmenu",this._eventHandlers.mousedisable)}},Util.make_properties(Mouse,[["target","ro","dom"],["notify","ro","func"],["focused","rw","bool"],["scale","rw","float"],["onMouseButton","rw","func"],["onMouseMove","rw","func"],["touchButton","rw","int"]])}(); \ No newline at end of file diff --git a/terminal/smartxKs/keyboard.js b/terminal/smartxKs/keyboard.js new file mode 100644 index 0000000..a625ef3 --- /dev/null +++ b/terminal/smartxKs/keyboard.js @@ -0,0 +1 @@ +function KeyEventDecoder(e,r){"use strict";function t(e){for(var t=0;te.length:y>0}function s(e,r){if(0===e.length)return!1;for(var t=0;t=48&&e<=57)return e;if(e>=65&&e<=90)return r?e:e+32;if(e>=96&&e<=105)return XK_KP_0+(e-96);switch(e){case 32:return XK_space;case 106:return XK_KP_Multiply;case 107:return XK_KP_Add;case 108:return XK_KP_Separator;case 109:return XK_KP_Subtract;case 110:return XK_KP_Decimal;case 111:return XK_KP_Divide;case 187:return XK_plus;case 188:return XK_comma;case 189:return XK_minus;case 190:return XK_period}return c({keyCode:e})}function c(e){if(!e.keyCode)return null;var r=e.keyCode;if(r>=112&&r<=135)return XK_F1+r-112;switch(r){case 8:return XK_BackSpace;case 13:return XK_Return;case 9:return XK_Tab;case 27:return XK_Escape;case 46:return XK_Delete;case 36:return XK_Home;case 35:return XK_End;case 33:return XK_Page_Up;case 34:return XK_Page_Down;case 45:return XK_Insert;case 37:return XK_Left;case 38:return XK_Up;case 39:return XK_Right;case 40:return XK_Down;case 16:return XK_Shift_L;case 17:return XK_Control_L;case 18:return XK_Alt_L;case 224:return XK_Meta_L;case 225:return XK_ISO_Level3_Shift;case 91:return XK_Super_L;case 92:return XK_Super_R;case 93:return XK_Menu;default:return null}}return{hasShortcutModifier:y,hasCharModifier:s,ModifierSync:a,getKey:u,getKeysym:i,keysymFromKeyCode:o,nonCharacterKey:c,substituteCodepoint:e}}(); \ No newline at end of file diff --git a/terminal/smartxKs/keysym.js b/terminal/smartxKs/keysym.js new file mode 100644 index 0000000..ca2cc52 --- /dev/null +++ b/terminal/smartxKs/keysym.js @@ -0,0 +1 @@ +var XK_VoidSymbol=16777215,XK_BackSpace=65288,XK_Tab=65289,XK_Linefeed=65290,XK_Clear=65291,XK_Return=65293,XK_Pause=65299,XK_Scroll_Lock=65300,XK_Sys_Req=65301,XK_Escape=65307,XK_Delete=65535,XK_Home=65360,XK_Left=65361,XK_Up=65362,XK_Right=65363,XK_Down=65364,XK_Prior=65365,XK_Page_Up=65365,XK_Next=65366,XK_Page_Down=65366,XK_End=65367,XK_Begin=65368,XK_Select=65376,XK_Print=65377,XK_Execute=65378,XK_Insert=65379,XK_Undo=65381,XK_Redo=65382,XK_Menu=65383,XK_Find=65384,XK_Cancel=65385,XK_Help=65386,XK_Break=65387,XK_Mode_switch=65406,XK_script_switch=65406,XK_Num_Lock=65407,XK_KP_Space=65408,XK_KP_Tab=65417,XK_KP_Enter=65421,XK_KP_F1=65425,XK_KP_F2=65426,XK_KP_F3=65427,XK_KP_F4=65428,XK_KP_Home=65429,XK_KP_Left=65430,XK_KP_Up=65431,XK_KP_Right=65432,XK_KP_Down=65433,XK_KP_Prior=65434,XK_KP_Page_Up=65434,XK_KP_Next=65435,XK_KP_Page_Down=65435,XK_KP_End=65436,XK_KP_Begin=65437,XK_KP_Insert=65438,XK_KP_Delete=65439,XK_KP_Equal=65469,XK_KP_Multiply=65450,XK_KP_Add=65451,XK_KP_Separator=65452,XK_KP_Subtract=65453,XK_KP_Decimal=65454,XK_KP_Divide=65455,XK_KP_0=65456,XK_KP_1=65457,XK_KP_2=65458,XK_KP_3=65459,XK_KP_4=65460,XK_KP_5=65461,XK_KP_6=65462,XK_KP_7=65463,XK_KP_8=65464,XK_KP_9=65465,XK_F1=65470,XK_F2=65471,XK_F3=65472,XK_F4=65473,XK_F5=65474,XK_F6=65475,XK_F7=65476,XK_F8=65477,XK_F9=65478,XK_F10=65479,XK_F11=65480,XK_L1=65480,XK_F12=65481,XK_L2=65481,XK_F13=65482,XK_L3=65482,XK_F14=65483,XK_L4=65483,XK_F15=65484,XK_L5=65484,XK_F16=65485,XK_L6=65485,XK_F17=65486,XK_L7=65486,XK_F18=65487,XK_L8=65487,XK_F19=65488,XK_L9=65488,XK_F20=65489,XK_L10=65489,XK_F21=65490,XK_R1=65490,XK_F22=65491,XK_R2=65491,XK_F23=65492,XK_R3=65492,XK_F24=65493,XK_R4=65493,XK_F25=65494,XK_R5=65494,XK_F26=65495,XK_R6=65495,XK_F27=65496,XK_R7=65496,XK_F28=65497,XK_R8=65497,XK_F29=65498,XK_R9=65498,XK_F30=65499,XK_R10=65499,XK_F31=65500,XK_R11=65500,XK_F32=65501,XK_R12=65501,XK_F33=65502,XK_R13=65502,XK_F34=65503,XK_R14=65503,XK_F35=65504,XK_R15=65504,XK_Shift_L=65505,XK_Shift_R=65506,XK_Control_L=65507,XK_Control_R=65508,XK_Caps_Lock=65509,XK_Shift_Lock=65510,XK_Meta_L=65511,XK_Meta_R=65512,XK_Alt_L=65513,XK_Alt_R=65514,XK_Super_L=65515,XK_Super_R=65516,XK_Hyper_L=65517,XK_Hyper_R=65518,XK_ISO_Level3_Shift=65027,XK_space=32,XK_exclam=33,XK_quotedbl=34,XK_numbersign=35,XK_dollar=36,XK_percent=37,XK_ampersand=38,XK_apostrophe=39,XK_quoteright=39,XK_parenleft=40,XK_parenright=41,XK_asterisk=42,XK_plus=43,XK_comma=44,XK_minus=45,XK_period=46,XK_slash=47,XK_0=48,XK_1=49,XK_2=50,XK_3=51,XK_4=52,XK_5=53,XK_6=54,XK_7=55,XK_8=56,XK_9=57,XK_colon=58,XK_semicolon=59,XK_less=60,XK_equal=61,XK_greater=62,XK_question=63,XK_at=64,XK_A=65,XK_B=66,XK_C=67,XK_D=68,XK_E=69,XK_F=70,XK_G=71,XK_H=72,XK_I=73,XK_J=74,XK_K=75,XK_L=76,XK_M=77,XK_N=78,XK_O=79,XK_P=80,XK_Q=81,XK_R=82,XK_S=83,XK_T=84,XK_U=85,XK_V=86,XK_W=87,XK_X=88,XK_Y=89,XK_Z=90,XK_bracketleft=91,XK_backslash=92,XK_bracketright=93,XK_asciicircum=94,XK_underscore=95,XK_grave=96,XK_quoteleft=96,XK_a=97,XK_b=98,XK_c=99,XK_d=100,XK_e=101,XK_f=102,XK_g=103,XK_h=104,XK_i=105,XK_j=106,XK_k=107,XK_l=108,XK_m=109,XK_n=110,XK_o=111,XK_p=112,XK_q=113,XK_r=114,XK_s=115,XK_t=116,XK_u=117,XK_v=118,XK_w=119,XK_x=120,XK_y=121,XK_z=122,XK_braceleft=123,XK_bar=124,XK_braceright=125,XK_asciitilde=126,XK_nobreakspace=160,XK_exclamdown=161,XK_cent=162,XK_sterling=163,XK_currency=164,XK_yen=165,XK_brokenbar=166,XK_section=167,XK_diaeresis=168,XK_copyright=169,XK_ordfeminine=170,XK_guillemotleft=171,XK_notsign=172,XK_hyphen=173,XK_registered=174,XK_macron=175,XK_degree=176,XK_plusminus=177,XK_twosuperior=178,XK_threesuperior=179,XK_acute=180,XK_mu=181,XK_paragraph=182,XK_periodcentered=183,XK_cedilla=184,XK_onesuperior=185,XK_masculine=186,XK_guillemotright=187,XK_onequarter=188,XK_onehalf=189,XK_threequarters=190,XK_questiondown=191,XK_Agrave=192,XK_Aacute=193,XK_Acircumflex=194,XK_Atilde=195,XK_Adiaeresis=196,XK_Aring=197,XK_AE=198,XK_Ccedilla=199,XK_Egrave=200,XK_Eacute=201,XK_Ecircumflex=202,XK_Ediaeresis=203,XK_Igrave=204,XK_Iacute=205,XK_Icircumflex=206,XK_Idiaeresis=207,XK_ETH=208,XK_Eth=208,XK_Ntilde=209,XK_Ograve=210,XK_Oacute=211,XK_Ocircumflex=212,XK_Otilde=213,XK_Odiaeresis=214,XK_multiply=215,XK_Oslash=216,XK_Ooblique=216,XK_Ugrave=217,XK_Uacute=218,XK_Ucircumflex=219,XK_Udiaeresis=220,XK_Yacute=221,XK_THORN=222,XK_Thorn=222,XK_ssharp=223,XK_agrave=224,XK_aacute=225,XK_acircumflex=226,XK_atilde=227,XK_adiaeresis=228,XK_aring=229,XK_ae=230,XK_ccedilla=231,XK_egrave=232,XK_eacute=233,XK_ecircumflex=234,XK_ediaeresis=235,XK_igrave=236,XK_iacute=237,XK_icircumflex=238,XK_idiaeresis=239,XK_eth=240,XK_ntilde=241,XK_ograve=242,XK_oacute=243,XK_ocircumflex=244,XK_otilde=245,XK_odiaeresis=246,XK_division=247,XK_oslash=248,XK_ooblique=248,XK_ugrave=249,XK_uacute=250,XK_ucircumflex=251,XK_udiaeresis=252,XK_yacute=253,XK_thorn=254,XK_ydiaeresis=255; \ No newline at end of file diff --git a/terminal/smartxKs/keysymdef.js b/terminal/smartxKs/keysymdef.js new file mode 100644 index 0000000..718048c --- /dev/null +++ b/terminal/smartxKs/keysymdef.js @@ -0,0 +1 @@ +var keysyms=function(){"use strict";function n(n){return n?{keysym:n,keyname:e?e[n]:n}:void 0}var e=null,r={32:32,33:33,34:34,35:35,36:36,37:37,38:38,39:39,40:40,41:41,42:42,43:43,44:44,45:45,46:46,47:47,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,60:60,61:61,62:62,63:63,64:64,65:65,66:66,67:67,68:68,69:69,70:70,71:71,72:72,73:73,74:74,75:75,76:76,77:77,78:78,79:79,80:80,81:81,82:82,83:83,84:84,85:85,86:86,87:87,88:88,89:89,90:90,91:91,92:92,93:93,94:94,95:95,96:96,97:97,98:98,99:99,100:100,101:101,102:102,103:103,104:104,105:105,106:106,107:107,108:108,109:109,110:110,111:111,112:112,113:113,114:114,115:115,116:116,117:117,118:118,119:119,120:120,121:121,122:122,123:123,124:124,125:125,126:126,160:160,161:161,162:162,163:163,164:164,165:165,166:166,167:167,168:168,169:169,170:170,171:171,172:172,173:173,174:174,175:175,176:176,177:177,178:178,179:179,180:180,181:181,182:182,183:183,184:184,185:185,186:186,187:187,188:188,189:189,190:190,191:191,192:192,193:193,194:194,195:195,196:196,197:197,198:198,199:199,200:200,201:201,202:202,203:203,204:204,205:205,206:206,207:207,208:208,209:209,210:210,211:211,212:212,213:213,214:214,215:215,216:216,217:217,218:218,219:219,220:220,221:221,222:222,223:223,224:224,225:225,226:226,227:227,228:228,229:229,230:230,231:231,232:232,233:233,234:234,235:235,236:236,237:237,238:238,239:239,240:240,241:241,242:242,243:243,244:244,245:245,246:246,247:247,248:248,249:249,250:250,251:251,252:252,253:253,254:254,255:255,256:960,257:992,258:451,259:483,260:417,261:433,262:454,263:486,264:710,265:742,266:709,267:741,268:456,269:488,270:463,271:495,272:464,273:496,274:938,275:954,278:972,279:1004,280:458,281:490,282:460,283:492,284:728,285:760,286:683,287:699,288:725,289:757,290:939,291:955,292:678,293:694,294:673,295:689,296:933,297:949,298:975,299:1007,300:16777516,301:16777517,302:967,303:999,304:681,305:697,308:684,309:700,310:979,311:1011,312:930,313:453,314:485,315:934,316:950,317:421,318:437,321:419,322:435,323:465,324:497,325:977,326:1009,327:466,328:498,330:957,331:959,332:978,333:1010,336:469,337:501,338:5052,339:5053,340:448,341:480,342:931,343:947,344:472,345:504,346:422,347:438,348:734,349:766,350:426,351:442,352:425,353:441,354:478,355:510,356:427,357:443,358:940,359:956,360:989,361:1021,362:990,363:1022,364:733,365:765,366:473,367:505,368:475,369:507,370:985,371:1017,372:16777588,373:16777589,374:16777590,375:16777591,376:5054,377:428,378:444,379:431,380:447,381:430,382:446,399:16777615,402:2294,415:16777631,416:16777632,417:16777633,431:16777647,432:16777648,437:16777653,438:16777654,439:16777655,466:16777681,486:16777702,487:16777703,601:16777817,629:16777845,658:16777874,711:439,728:418,729:511,731:434,733:445,901:1966,902:1953,904:1954,905:1955,906:1956,908:1959,910:1960,911:1963,912:1974,913:1985,914:1986,915:1987,916:1988,917:1989,918:1990,919:1991,920:1992,921:1993,922:1994,923:1995,924:1996,925:1997,926:1998,927:1999,928:2e3,929:2001,931:2002,932:2004,933:2005,934:2006,935:2007,936:2008,937:2009,938:1957,939:1961,940:1969,941:1970,942:1971,943:1972,944:1978,945:2017,946:2018,947:2019,948:2020,949:2021,950:2022,951:2023,952:2024,953:2025,954:2026,955:2027,956:2028,957:2029,958:2030,959:2031,960:2032,961:2033,962:2035,963:2034,964:2036,965:2037,966:2038,967:2039,968:2040,969:2041,970:1973,971:1977,972:1975,973:1976,974:1979,1025:1715,1026:1713,1027:1714,1028:1716,1029:1717,1030:1718,1031:1719,1032:1720,1033:1721,1034:1722,1035:1723,1036:1724,1038:1726,1039:1727,1040:1761,1041:1762,1042:1783,1043:1767,1044:1764,1045:1765,1046:1782,1047:1786,1048:1769,1049:1770,1050:1771,1051:1772,1052:1773,1053:1774,1054:1775,1055:1776,1056:1778,1057:1779,1058:1780,1059:1781,1060:1766,1061:1768,1062:1763,1063:1790,1064:1787,1065:1789,1066:1791,1067:1785,1068:1784,1069:1788,1070:1760,1071:1777,1072:1729,1073:1730,1074:1751,1075:1735,1076:1732,1077:1733,1078:1750,1079:1754,1080:1737,1081:1738,1082:1739,1083:1740,1084:1741,1085:1742,1086:1743,1087:1744,1088:1746,1089:1747,1090:1748,1091:1749,1092:1734,1093:1736,1094:1731,1095:1758,1096:1755,1097:1757,1098:1759,1099:1753,1100:1752,1101:1756,1102:1728,1103:1745,1105:1699,1106:1697,1107:1698,1108:1700,1109:1701,1110:1702,1111:1703,1112:1704,1113:1705,1114:1706,1115:1707,1116:1708,1118:1710,1119:1711,1168:1725,1169:1709,1170:16778386,1171:16778387,1174:16778390,1175:16778391,1178:16778394,1179:16778395,1180:16778396,1181:16778397,1186:16778402,1187:16778403,1198:16778414,1199:16778415,1200:16778416,1201:16778417,1202:16778418,1203:16778419,1206:16778422,1207:16778423,1208:16778424,1209:16778425,1210:16778426,1211:16778427,1240:16778456,1241:16778457,1250:16778466,1251:16778467,1256:16778472,1257:16778473,1262:16778478,1263:16778479,1329:16778545,1330:16778546,1331:16778547,1332:16778548,1333:16778549,1334:16778550,1335:16778551,1336:16778552,1337:16778553,1338:16778554,1339:16778555,1340:16778556,1341:16778557,1342:16778558,1343:16778559,1344:16778560,1345:16778561,1346:16778562,1347:16778563,1348:16778564,1349:16778565,1350:16778566,1351:16778567,1352:16778568,1353:16778569,1354:16778570,1355:16778571,1356:16778572,1357:16778573,1358:16778574,1359:16778575,1360:16778576,1361:16778577,1362:16778578,1363:16778579,1364:16778580,1365:16778581,1366:16778582,1370:16778586,1371:16778587,1372:16778588,1373:16778589,1374:16778590,1377:16778593,1378:16778594,1379:16778595,1380:16778596,1381:16778597,1382:16778598,1383:16778599,1384:16778600,1385:16778601,1386:16778602,1387:16778603,1388:16778604,1389:16778605,1390:16778606,1391:16778607,1392:16778608,1393:16778609,1394:16778610,1395:16778611,1396:16778612,1397:16778613,1398:16778614,1399:16778615,1400:16778616,1401:16778617,1402:16778618,1403:16778619,1404:16778620,1405:16778621,1406:16778622,1407:16778623,1408:16778624,1409:16778625,1410:16778626,1411:16778627,1412:16778628,1413:16778629,1414:16778630,1415:16778631,1417:16778633,1418:16778634,1488:3296,1489:3297,1490:3298,1491:3299,1492:3300,1493:3301,1494:3302,1495:3303,1496:3304,1497:3305,1498:3306,1499:3307,1500:3308,1501:3309,1502:3310,1503:3311,1504:3312,1505:3313,1506:3314,1507:3315,1508:3316,1509:3317,1510:3318,1511:3319,1512:3320,1513:3321,1514:3322,1548:1452,1563:1467,1567:1471,1569:1473,1570:1474,1571:1475,1572:1476,1573:1477,1574:1478,1575:1479,1576:1480,1577:1481,1578:1482,1579:1483,1580:1484,1581:1485,1582:1486,1583:1487,1584:1488,1585:1489,1586:1490,1587:1491,1588:1492,1589:1493,1590:1494,1591:1495,1592:1496,1593:1497,1594:1498,1600:1504,1601:1505,1602:1506,1603:1507,1604:1508,1605:1509,1606:1510,1607:1511,1608:1512,1609:1513,1610:1514,1611:1515,1612:1516,1613:1517,1614:1518,1615:1519,1616:1520,1617:1521,1618:1522,1619:16778835,1620:16778836,1621:16778837,1632:16778848,1633:16778849,1634:16778850,1635:16778851,1636:16778852,1637:16778853,1638:16778854,1639:16778855,1640:16778856,1641:16778857,1642:16778858,1648:16778864,1657:16778873,1662:16778878,1670:16778886,1672:16778888,1681:16778897,1688:16778904,1700:16778916,1705:16778921,1711:16778927,1722:16778938,1726:16778942,1729:16778945,1740:16778956,1746:16778962,1748:16778964,1776:16778992,1777:16778993,1778:16778994,1779:16778995,1780:16778996,1781:16778997,1782:16778998,1783:16778999,1784:16779e3,1785:16779001,3458:16780674,3459:16780675,3461:16780677,3462:16780678,3463:16780679,3464:16780680,3465:16780681,3466:16780682,3467:16780683,3468:16780684,3469:16780685,3470:16780686,3471:16780687,3472:16780688,3473:16780689,3474:16780690,3475:16780691,3476:16780692,3477:16780693,3478:16780694,3482:16780698,3483:16780699,3484:16780700,3485:16780701,3486:16780702,3487:16780703,3488:16780704,3489:16780705,3490:16780706,3491:16780707,3492:16780708,3493:16780709,3494:16780710,3495:16780711,3496:16780712,3497:16780713,3498:16780714,3499:16780715,3500:16780716,3501:16780717,3502:16780718,3503:16780719,3504:16780720,3505:16780721,3507:16780723,3508:16780724,3509:16780725,3510:16780726,3511:16780727,3512:16780728,3513:16780729,3514:16780730,3515:16780731,3517:16780733,3520:16780736,3521:16780737,3522:16780738,3523:16780739,3524:16780740,3525:16780741,3526:16780742,3530:16780746,3535:16780751,3536:16780752,3537:16780753,3538:16780754,3539:16780755,3540:16780756,3542:16780758,3544:16780760,3545:16780761,3546:16780762,3547:16780763,3548:16780764,3549:16780765,3550:16780766,3551:16780767,3570:16780786,3571:16780787,3572:16780788,3585:3489,3586:3490,3587:3491,3588:3492,3589:3493,3590:3494,3591:3495,3592:3496,3593:3497,3594:3498,3595:3499,3596:3500,3597:3501,3598:3502,3599:3503,3600:3504,3601:3505,3602:3506,3603:3507,3604:3508,3605:3509,3606:3510,3607:3511,3608:3512,3609:3513,3610:3514,3611:3515,3612:3516,3613:3517,3614:3518,3615:3519,3616:3520,3617:3521,3618:3522,3619:3523,3620:3524,3621:3525,3622:3526,3623:3527,3624:3528,3625:3529,3626:3530,3627:3531,3628:3532,3629:3533,3630:3534,3631:3535,3632:3536,3633:3537,3634:3538,3635:3539,3636:3540,3637:3541,3638:3542,3639:3543,3640:3544,3641:3545,3642:3546,3647:3551,3648:3552,3649:3553,3650:3554,3651:3555,3652:3556,3653:3557,3654:3558,3655:3559,3656:3560,3657:3561,3658:3562,3659:3563,3660:3564,3661:3565,3664:3568,3665:3569,3666:3570,3667:3571,3668:3572,3669:3573,3670:3574,3671:3575,3672:3576,3673:3577,4304:16781520,4305:16781521,4306:16781522,4307:16781523,4308:16781524,4309:16781525,4310:16781526,4311:16781527,4312:16781528,4313:16781529,4314:16781530,4315:16781531,4316:16781532,4317:16781533,4318:16781534,4319:16781535,4320:16781536,4321:16781537,4322:16781538,4323:16781539,4324:16781540,4325:16781541,4326:16781542,4327:16781543,4328:16781544,4329:16781545,4330:16781546,4331:16781547,4332:16781548,4333:16781549,4334:16781550,4335:16781551,4336:16781552,4337:16781553,4338:16781554,4339:16781555,4340:16781556,4341:16781557,4342:16781558,7682:16784898,7683:16784899,7690:16784906,7691:16784907,7710:16784926,7711:16784927,7734:16784950,7735:16784951,7744:16784960,7745:16784961,7766:16784982,7767:16784983,7776:16784992,7777:16784993,7786:16785002,7787:16785003,7808:16785024,7809:16785025,7810:16785026,7811:16785027,7812:16785028,7813:16785029,7818:16785034,7819:16785035,7840:16785056,7841:16785057,7842:16785058,7843:16785059,7844:16785060,7845:16785061,7846:16785062,7847:16785063,7848:16785064,7849:16785065,7850:16785066,7851:16785067,7852:16785068,7853:16785069,7854:16785070,7855:16785071,7856:16785072,7857:16785073,7858:16785074,7859:16785075,7860:16785076,7861:16785077,7862:16785078,7863:16785079,7864:16785080,7865:16785081,7866:16785082,7867:16785083,7868:16785084,7869:16785085,7870:16785086,7871:16785087,7872:16785088,7873:16785089,7874:16785090,7875:16785091,7876:16785092,7877:16785093,7878:16785094,7879:16785095,7880:16785096,7881:16785097,7882:16785098,7883:16785099,7884:16785100,7885:16785101,7886:16785102,7887:16785103,7888:16785104,7889:16785105,7890:16785106,7891:16785107,7892:16785108,7893:16785109,7894:16785110,7895:16785111,7896:16785112,7897:16785113,7898:16785114,7899:16785115,7900:16785116,7901:16785117,7902:16785118,7903:16785119,7904:16785120,7905:16785121,7906:16785122,7907:16785123,7908:16785124,7909:16785125,7910:16785126,7911:16785127,7912:16785128,7913:16785129,7914:16785130,7915:16785131,7916:16785132,7917:16785133,7918:16785134,7919:16785135,7920:16785136,7921:16785137,7922:16785138,7923:16785139,7924:16785140,7925:16785141,7926:16785142,7927:16785143,7928:16785144,7929:16785145,8194:2722,8195:2721,8196:2723,8197:2724,8199:2725,8200:2726,8201:2727,8202:2728,8210:2747,8211:2730,8212:2729,8213:1967,8215:3295,8216:2768,8217:2769,8218:2813,8220:2770,8221:2771,8222:2814,8224:2801,8225:2802,8226:2790,8229:2735,8230:2734,8240:2773,8242:2774,8243:2775,8248:2812,8254:1150,8304:16785520,8308:16785524,8309:16785525,8310:16785526,8311:16785527,8312:16785528,8313:16785529,8320:16785536,8321:16785537,8322:16785538,8323:16785539,8324:16785540,8325:16785541,8326:16785542,8327:16785543,8328:16785544,8329:16785545,8352:16785568,8353:16785569,8354:16785570,8355:16785571,8356:16785572,8357:16785573,8358:16785574,8359:16785575,8360:16785576,8361:3839,8362:16785578,8363:16785579,8364:8364,8453:2744,8470:1712,8471:2811,8478:2772,8482:2761,8531:2736,8532:2737,8533:2738,8534:2739,8535:2740,8536:2741,8537:2742,8538:2743,8539:2755,8540:2756,8541:2757,8542:2758,8592:2299,8593:2300,8594:2301,8595:2302,8658:2254,8660:2253,8706:2287,8709:16785925,8711:2245,8712:16785928,8713:16785929,8715:16785931,8728:3018,8730:2262,8731:16785947,8732:16785948,8733:2241,8734:2242,8743:2270,8744:2271,8745:2268,8746:2269,8747:2239,8748:16785964,8749:16785965,8756:2240,8757:16785973,8764:2248,8771:2249,8773:16785992,8775:16785991,8800:2237,8801:2255,8802:16786018,8803:16786019,8804:2236,8805:2238,8834:2266,8835:2267,8866:3068,8867:3036,8868:3010,8869:3022,8968:3027,8970:3012,8981:2810,8992:2212,8993:2213,9109:3020,9115:2219,9117:2220,9118:2221,9120:2222,9121:2215,9123:2216,9124:2217,9126:2218,9128:2223,9132:2224,9143:2209,9146:2543,9147:2544,9148:2546,9149:2547,9225:2530,9226:2533,9227:2537,9228:2531,9229:2532,9251:2732,9252:2536,9472:2211,9474:2214,9484:2210,9488:2539,9492:2541,9496:2538,9500:2548,9508:2549,9516:2551,9524:2550,9532:2542,9618:2529,9642:2791,9643:2785,9644:2779,9645:2786,9646:2783,9647:2767,9650:2792,9651:2787,9654:2781,9655:2765,9660:2793,9661:2788,9664:2780,9665:2764,9670:2528,9675:2766,9679:2782,9702:2784,9734:2789,9742:2809,9747:2762,9756:2794,9758:2795,9792:2808,9794:2807,9827:2796,9829:2798,9830:2797,9837:2806,9839:2805,10003:2803,10007:2804,10013:2777,10016:2800,10216:2748,10217:2750,10240:16787456,10241:16787457,10242:16787458,10243:16787459,10244:16787460,10245:16787461,10246:16787462,10247:16787463,10248:16787464,10249:16787465,10250:16787466,10251:16787467,10252:16787468,10253:16787469,10254:16787470,10255:16787471,10256:16787472,10257:16787473,10258:16787474,10259:16787475,10260:16787476,10261:16787477,10262:16787478,10263:16787479,10264:16787480,10265:16787481,10266:16787482,10267:16787483,10268:16787484,10269:16787485,10270:16787486,10271:16787487,10272:16787488,10273:16787489,10274:16787490,10275:16787491,10276:16787492,10277:16787493,10278:16787494,10279:16787495,10280:16787496,10281:16787497,10282:16787498,10283:16787499,10284:16787500,10285:16787501,10286:16787502,10287:16787503,10288:16787504,10289:16787505,10290:16787506,10291:16787507,10292:16787508,10293:16787509,10294:16787510,10295:16787511,10296:16787512,10297:16787513,10298:16787514,10299:16787515,10300:16787516,10301:16787517,10302:16787518,10303:16787519,10304:16787520,10305:16787521,10306:16787522,10307:16787523,10308:16787524,10309:16787525,10310:16787526,10311:16787527,10312:16787528,10313:16787529,10314:16787530,10315:16787531,10316:16787532,10317:16787533,10318:16787534,10319:16787535,10320:16787536,10321:16787537,10322:16787538,10323:16787539,10324:16787540,10325:16787541,10326:16787542,10327:16787543,10328:16787544,10329:16787545,10330:16787546,10331:16787547,10332:16787548,10333:16787549,10334:16787550,10335:16787551,10336:16787552,10337:16787553,10338:16787554,10339:16787555,10340:16787556,10341:16787557,10342:16787558,10343:16787559,10344:16787560,10345:16787561,10346:16787562,10347:16787563,10348:16787564,10349:16787565,10350:16787566,10351:16787567,10352:16787568,10353:16787569,10354:16787570,10355:16787571,10356:16787572,10357:16787573,10358:16787574,10359:16787575,10360:16787576,10361:16787577,10362:16787578,10363:16787579,10364:16787580,10365:16787581,10366:16787582,10367:16787583,10368:16787584,10369:16787585,10370:16787586,10371:16787587,10372:16787588,10373:16787589,10374:16787590,10375:16787591,10376:16787592,10377:16787593,10378:16787594,10379:16787595,10380:16787596,10381:16787597,10382:16787598,10383:16787599,10384:16787600,10385:16787601,10386:16787602,10387:16787603,10388:16787604,10389:16787605,10390:16787606,10391:16787607,10392:16787608,10393:16787609,10394:16787610,10395:16787611,10396:16787612,10397:16787613,10398:16787614,10399:16787615,10400:16787616,10401:16787617,10402:16787618,10403:16787619,10404:16787620,10405:16787621,10406:16787622,10407:16787623,10408:16787624,10409:16787625,10410:16787626,10411:16787627,10412:16787628,10413:16787629,10414:16787630,10415:16787631,10416:16787632,10417:16787633,10418:16787634,10419:16787635,10420:16787636,10421:16787637,10422:16787638,10423:16787639,10424:16787640,10425:16787641,10426:16787642,10427:16787643,10428:16787644,10429:16787645,10430:16787646,10431:16787647,10432:16787648,10433:16787649,10434:16787650,10435:16787651,10436:16787652,10437:16787653,10438:16787654,10439:16787655,10440:16787656,10441:16787657,10442:16787658,10443:16787659,10444:16787660,10445:16787661,10446:16787662,10447:16787663,10448:16787664,10449:16787665,10450:16787666,10451:16787667,10452:16787668,10453:16787669,10454:16787670,10455:16787671,10456:16787672,10457:16787673,10458:16787674,10459:16787675,10460:16787676,10461:16787677,10462:16787678,10463:16787679,10464:16787680,10465:16787681,10466:16787682,10467:16787683,10468:16787684,10469:16787685,10470:16787686,10471:16787687,10472:16787688,10473:16787689,10474:16787690,10475:16787691,10476:16787692,10477:16787693,10478:16787694,10479:16787695,10480:16787696,10481:16787697,10482:16787698,10483:16787699,10484:16787700,10485:16787701,10486:16787702,10487:16787703,10488:16787704,10489:16787705,10490:16787706,10491:16787707,10492:16787708,10493:16787709,10494:16787710,10495:16787711,12289:1188,12290:1185,12300:1186,12301:1187,12443:1246,12444:1247,12449:1191,12450:1201,12451:1192,12452:1202,12453:1193,12454:1203,12455:1194,12456:1204,12457:1195,12458:1205,12459:1206,12461:1207,12463:1208,12465:1209,12467:1210,12469:1211,12471:1212,12473:1213,12475:1214,12477:1215,12479:1216,12481:1217,12483:1199,12484:1218,12486:1219,12488:1220,12490:1221,12491:1222,12492:1223,12493:1224,12494:1225,12495:1226,12498:1227,12501:1228,12504:1229,12507:1230,12510:1231,12511:1232,12512:1233,12513:1234,12514:1235,12515:1196,12516:1236,12517:1197,12518:1237,12519:1198,12520:1238,12521:1239,12522:1240,12523:1241,12524:1242,12525:1243,12527:1244,12530:1190,12531:1245,12539:1189,12540:1200};return{fromUnicode:function(e){return n(r[e])},lookup:n}}(); \ No newline at end of file diff --git a/terminal/smartxKs/rfb.js b/terminal/smartxKs/rfb.js new file mode 100644 index 0000000..64468bf --- /dev/null +++ b/terminal/smartxKs/rfb.js @@ -0,0 +1,14 @@ +/* + * noVNC: HTML5 VNC client + * Copyright (C) 2012 Joel Martin + * Copyright (C) 2013 Samuel Mannehed for Cendio AB + * Licensed under MPL 2.0 (see LICENSE.txt) + * + * See README.md for usage and integration instructions. + * + * TIGHT decoder portion: + * (c) 2012 Michael Tinglof, Joe Balaz, Les Piech (Mercuri.ca) + */ + +var RFB;!function(){"use strict";RFB=function(t){t||(t={}),this._rfb_host="",this._rfb_port=5900,this._rfb_password="",this._rfb_path="",this._rfb_state="disconnected",this._rfb_version=0,this._rfb_max_version=3.8,this._rfb_auth_scheme="",this._rfb_tightvnc=!1,this._rfb_xvp_ver=0,this._encodings=[["COPYRECT",1],["TIGHT",7],["TIGHT_PNG",-260],["HEXTILE",5],["RRE",2],["RAW",0],["DesktopSize",-223],["Cursor",-239],["JPEG_quality_med",-26],["compress_hi",-247],["last_rect",-224],["xvp",-309],["ExtendedDesktopSize",-308]],this._encHandlers={},this._encNames={},this._encStats={},this._sock=null,this._display=null,this._keyboard=null,this._mouse=null,this._sendTimer=null,this._disconnTimer=null,this._msgTimer=null,this._FBU={rects:0,subrects:0,lines:0,tiles:0,bytes:0,x:0,y:0,width:0,height:0,encoding:0,subencoding:-1,background:null,zlib:[]},this._fb_Bpp=4,this._fb_depth=3,this._fb_width=0,this._fb_height=0,this._fb_name="",this._destBuff=null,this._paletteBuff=new Uint8Array(1024),this._rre_chunk_sz=100,this._timing={last_fbu:0,fbu_total:0,fbu_total_cnt:0,full_fbu_total:0,full_fbu_cnt:0,fbu_rt_start:0,fbu_rt_total:0,fbu_rt_cnt:0,pixels:0},this._supportsSetDesktopSize=!1,this._screen_id=0,this._screen_flags=0,this._mouse_buttonMask=0,this._mouse_arr=[],this._viewportDragging=!1,this._viewportDragPos={},this._viewportHasMoved=!1,Util.set_defaults(this,t,{target:"null",focusContainer:document,encrypt:!1,true_color:!0,local_cursor:!1,shared:!0,view_only:!1,xvp_password_sep:"@",disconnectTimeout:3,wsProtocols:["binary"],repeaterID:"",viewportDrag:!1,onUpdateState:function(){},onPasswordRequired:function(){},onClipboard:function(){},onBell:function(){},onFBUReceive:function(){},onFBUComplete:function(){},onFBResize:function(){},onDesktopName:function(){},onXvpInit:function(){}}),Util.Debug(">> RFB.constructor"),Object.keys(RFB.encodingHandlers).forEach(function(t){this._encHandlers[t]=RFB.encodingHandlers[t].bind(this)}.bind(this));for(var s=0;s> RFB.connect");var t;t="undefined"!=typeof UsingSocketIO?"http":this._encrypt?"wss":"ws",t+="://"+this._rfb_host+":"+this._rfb_port+"/"+this._rfb_path,Util.Info("connecting to "+t),this._sock.open(t,this._wsProtocols),Util.Debug("<< RFB.connect")},_init_vars:function(){this._FBU.rects=0,this._FBU.subrects=0,this._FBU.lines=0,this._FBU.tiles=0,this._FBU.zlibs=[],this._mouse_buttonMask=0,this._mouse_arr=[],this._rfb_tightvnc=!1;var t;for(t=0;t0&&Util.Info(" "+this._encodings[t][0]+": "+s[0]+" rects");for(Util.Info("Encoding stats since page load:"),t=0;t0&&(null===this._msgTimer?(Util.Debug("More data to process, creating timer"),this._msgTimer=setTimeout(function(){this._msgTimer=null,this._handle_message()}.bind(this),10)):Util.Debug("More data to process, existing timer"));break;default:this._init_msg()}},_handleKeyPress:function(t,s){this._view_only||(RFB.messages.keyEvent(this._sock,t,s),this._sock.flush())},_handleMouseButton:function(t,s,i,e){if(i?this._mouse_buttonMask|=e:this._mouse_buttonMask^=e,this._viewportDrag){if(i&&!this._viewportDragging)return this._viewportDragging=!0,void(this._viewportDragPos={x:t,y:s});this._viewportDragging=!1,this._viewportHasMoved||this._view_only||RFB.messages.pointerEvent(this._sock,this._display.absX(t),this._display.absY(s),e),this._viewportHasMoved=!1}this._view_only||"normal"===this._rfb_state&&RFB.messages.pointerEvent(this._sock,this._display.absX(t),this._display.absY(s),this._mouse_buttonMask)},_handleMouseMove:function(t,s){if(this._viewportDragging){var i=this._viewportDragPos.x-t,e=this._viewportDragPos.y-s,r=10*(window.devicePixelRatio||1);return void((this._viewportHasMoved||Math.abs(i)>r||Math.abs(e)>r)&&(this._viewportHasMoved=!0,this._viewportDragPos={x:t,y:s},this._display.viewportChangePos(i,e)))}this._view_only||"normal"===this._rfb_state&&RFB.messages.pointerEvent(this._sock,this._display.absX(t),this._display.absY(s),this._mouse_buttonMask)},_negotiate_protocol_version:function(){if(this._sock.rQlen()<12)return this._fail("Incomplete protocol version");var t=this._sock.rQshiftStr(12).substr(4,7);Util.Info("Server ProtocolVersion: "+t);var s=0;switch(t){case"000.000":s=1;break;case"003.003":case"003.006":case"003.889":this._rfb_version=3.3;break;case"003.007":this._rfb_version=3.7;break;case"003.008":case"004.000":case"004.001":this._rfb_version=3.8;break;default:return this._fail("Invalid server version "+t)}if(s){for(var i=this._repeaterID;i.length<250;)i+="\0";return this._sock.send_string(i),!0}this._rfb_version>this._rfb_max_version&&(this._rfb_version=this._rfb_max_version),this._sendTimer=setInterval(this._sock.flush.bind(this._sock),50);var e="00"+parseInt(this._rfb_version,10)+".00"+10*this._rfb_version%10;this._sock.send_string("RFB "+e+"\n"),this._updateState("Security","Sent ProtocolVersion: "+e)},_negotiate_security:function(){if(this._rfb_version>=3.7){var t=this._sock.rQshift8();if(this._sock.rQwait("security type",t,1))return!1;if(0===t){var s=this._sock.rQshift32(),i=this._sock.rQshiftStr(s);return this._fail("Security failure: "+i)}this._rfb_auth_scheme=0;var e=this._sock.rQshiftBytes(t);Util.Debug("Server security types: "+e);for(var r=0;rthis._rfb_auth_scheme&&(e[r]<=16||22==e[r])&&(this._rfb_auth_scheme=e[r]);if(0===this._rfb_auth_scheme)return this._fail("Unsupported security types: "+e);this._sock.send([this._rfb_auth_scheme])}else{if(this._sock.rQwait("security scheme",4))return!1;this._rfb_auth_scheme=this._sock.rQshift32()}return this._updateState("Authentication","Authenticating using scheme: "+this._rfb_auth_scheme),this._init_msg()},_negotiate_xvp_auth:function(){var t=this._xvp_password_sep,s=this._rfb_password.split(t);if(s.length<3)return this._updateState("password","XVP credentials required (user"+t+"target"+t+"password) -- got only "+this._rfb_password),this._onPasswordRequired(this),!1;var i=String.fromCharCode(s[0].length)+String.fromCharCode(s[1].length)+s[0]+s[1];return this._sock.send_string(i),this._rfb_password=s.slice(2).join(t),this._rfb_auth_scheme=2,this._negotiate_authentication()},_negotiate_std_vnc_auth:function(){if(0===this._rfb_password.length)return this._updateState("password","Password Required"),this._onPasswordRequired(this),!1;if(this._sock.rQwait("auth challenge",16))return!1;var t=Array.prototype.slice.call(this._sock.rQshiftBytes(16)),s=RFB.genDES(this._rfb_password,t);return this._sock.send(s),this._updateState("SecurityResult"),!0},_negotiate_tight_tunnels:function(t){for(var s={0:{vendor:"TGHT",signature:"NOTUNNEL"}},i={},e=0;e0&&this._sock.rQwait("tunnel capabilities",16*t,4))return!1;if(this._rfb_tightvnc=!0,t>0)return this._negotiate_tight_tunnels(t),!1}if(this._sock.rQwait("sub auth count",4))return!1;var s=this._sock.rQshift32();if(this._sock.rQwait("sub auth capabilities",16*s,4))return!1;for(var i={STDVNOAUTH__:1,STDVVNCAUTH_:2},e=[],r=0;r=3.8?(this._updateState("SecurityResult"),!0):(this._updateState("ClientInitialisation","No auth required"),this._init_msg());case 22:return this._negotiate_xvp_auth();case 2:return this._negotiate_std_vnc_auth();case 16:return this._negotiate_tight_auth();default:return this._fail("Unsupported auth scheme: "+this._rfb_auth_scheme)}},_handle_security_result:function(){if(this._sock.rQwait("VNC auth response ",4))return!1;switch(this._sock.rQshift32()){case 0:return this._updateState("ClientInitialisation","Authentication OK"),this._init_msg();case 1:if(this._rfb_version>=3.8){var t=this._sock.rQshift32();if(this._sock.rQwait("SecurityResult reason",t,8))return!1;var s=this._sock.rQshiftStr(t);return this._fail(s)}return this._fail("Authentication failure");case 2:return this._fail("Too many auth attempts")}},_negotiate_server_init:function(){if(this._sock.rQwait("server initialization",24))return!1;this._fb_width=this._sock.rQshift16(),this._fb_height=this._sock.rQshift16(),this._destBuff=new Uint8Array(this._fb_width*this._fb_height*4);var t=this._sock.rQshift8(),s=this._sock.rQshift8(),i=this._sock.rQshift8(),e=this._sock.rQshift8(),r=this._sock.rQshift16(),_=this._sock.rQshift16(),h=this._sock.rQshift16(),n=this._sock.rQshift8(),o=this._sock.rQshift8(),a=this._sock.rQshift8();this._sock.rQskipBytes(3);var c=this._sock.rQshift32();if(this._sock.rQwait("server init name",c,24))return!1;if(this._fb_name=Util.decodeUTF8(this._sock.rQshiftStr(c)),this._rfb_tightvnc){if(this._sock.rQwait("TightVNC extended server init header",8,24+c))return!1;var l=this._sock.rQshift16(),f=this._sock.rQshift16(),u=this._sock.rQshift16();this._sock.rQskipBytes(2);var d=16*(l+f+u);if(this._sock.rQwait("TightVNC extended server init header",d,32+c))return!1;this._sock.rQskipBytes(16*l),this._sock.rQskipBytes(16*f),this._sock.rQskipBytes(16*u)}Util.Info("Screen: "+this._fb_width+"x"+this._fb_height+", bpp: "+t+", depth: "+s+", big_endian: "+i+", true_color: "+e+", red_max: "+r+", green_max: "+_+", blue_max: "+h+", red_shift: "+n+", green_shift: "+o+", blue_shift: "+a),0!==i&&Util.Warn("Server native endian is not little endian"),16!==n&&Util.Warn("Server native red-shift is not 16"),0!==a&&Util.Warn("Server native blue-shift is not 0"),this._onDesktopName(this,this._fb_name),this._true_color&&"Intel(r) AMT KVM"===this._fb_name&&(Util.Warn("Intel AMT KVM only supports 8/16 bit depths. Disabling true color"),this._true_color=!1),this._display.set_true_color(this._true_color),this._display.resize(this._fb_width,this._fb_height),this._onFBResize(this,this._fb_width,this._fb_height),this._keyboard.grab(),this._mouse.grab(),this._true_color?(this._fb_Bpp=4,this._fb_depth=3):(this._fb_Bpp=1,this._fb_depth=1),RFB.messages.pixelFormat(this._sock,this._fb_Bpp,this._fb_depth,this._true_color),RFB.messages.clientEncodings(this._sock,this._encodings,this._local_cursor,this._true_color),RFB.messages.fbUpdateRequests(this._sock,this._display.getCleanDirtyReset(),this._fb_width,this._fb_height),this._timing.fbu_rt_start=(new Date).getTime(),this._timing.pixels=0,this._sock.flush(),this._encrypt?this._updateState("normal","Connected (encrypted) to: "+this._fb_name):this._updateState("normal","Connected (unencrypted) to: "+this._fb_name)},_init_msg:function(){switch(this._rfb_state){case"ProtocolVersion":return this._negotiate_protocol_version();case"Security":return this._negotiate_security();case"Authentication":return this._negotiate_authentication();case"SecurityResult":return this._handle_security_result();case"ClientInitialisation":return this._sock.send([this._shared?1:0]),this._updateState("ServerInitialisation","Authentication OK"),!0;case"ServerInitialisation":return this._negotiate_server_init()}},_handle_set_colour_map_msg:function(){Util.Debug("SetColorMapEntries"),this._sock.rQskip8();var t=this._sock.rQshift16(),s=this._sock.rQshift16();if(this._sock.rQwait("SetColorMapEntries",6*s,6))return!1;for(var i=0;i0?0:this._sock.rQshift8()){case 0:var s=this._framebufferUpdate();return s&&(RFB.messages.fbUpdateRequests(this._sock,this._display.getCleanDirtyReset(),this._fb_width,this._fb_height),this._sock.flush()),s;case 1:return this._handle_set_colour_map_msg();case 2:return Util.Debug("Bell"),this._onBell(this),!0;case 3:return this._handle_server_cut_text();case 250:return this._handle_xvp_msg();default:return this._fail("Disconnected: illegal server message type "+t),Util.Debug("sock.rQslice(0, 30): "+this._sock.rQslice(0,30)),!0}},_framebufferUpdate:function(){var t,s=!0;if(0===this._FBU.rects){if(this._sock.rQwait("FBU header",3,1))return!1;this._sock.rQskip8(),this._FBU.rects=this._sock.rQshift16(),this._FBU.bytes=0,this._timing.cur_fbu=0,this._timing.fbu_rt_start>0&&(t=(new Date).getTime(),Util.Info("First FBU latency: "+(t-this._timing.fbu_rt_start)))}for(;this._FBU.rects>0;){if("normal"!==this._rfb_state)return!1;if(this._sock.rQwait("FBU",this._FBU.bytes))return!1;if(0===this._FBU.bytes){if(this._sock.rQwait("rect header",12))return!1;var i=this._sock.rQshiftBytes(12);if(this._FBU.x=(i[0]<<8)+i[1],this._FBU.y=(i[2]<<8)+i[3],this._FBU.width=(i[4]<<8)+i[5],this._FBU.height=(i[6]<<8)+i[7],this._FBU.encoding=parseInt((i[8]<<24)+(i[9]<<16)+(i[10]<<8)+i[11],10),this._onFBUReceive(this,{x:this._FBU.x,y:this._FBU.y,width:this._FBU.width,height:this._FBU.height,encoding:this._FBU.encoding,encodingName:this._encNames[this._FBU.encoding]}),!this._encNames[this._FBU.encoding])return this._fail("Disconnected: unsupported encoding "+this._FBU.encoding),!1}this._timing.last_fbu=(new Date).getTime();var e=this._encHandlers[this._FBU.encoding];try{s=e()}catch(t){console.log("missed "+this._FBU.encoding+": "+e),s=this._encHandlers[this._FBU.encoding]()}if(t=(new Date).getTime(),this._timing.cur_fbu+=t-this._timing.last_fbu,s&&(this._encStats[this._FBU.encoding][0]++,this._encStats[this._FBU.encoding][1]++,this._timing.pixels+=this._FBU.width*this._FBU.height),this._timing.pixels>=this._fb_width*this._fb_height&&((this._FBU.width===this._fb_width&&this._FBU.height===this._fb_height||this._timing.fbu_rt_start>0)&&(this._timing.full_fbu_total+=this._timing.cur_fbu,this._timing.full_fbu_cnt++,Util.Info("Timing of full FBU, curr: "+this._timing.cur_fbu+", total: "+this._timing.full_fbu_total+", cnt: "+this._timing.full_fbu_cnt+", avg: "+this._timing.full_fbu_total/this._timing.full_fbu_cnt)),this._timing.fbu_rt_start>0)){var r=t-this._timing.fbu_rt_start;this._timing.fbu_rt_total+=r,this._timing.fbu_rt_cnt++,Util.Info("full FBU round-trip, cur: "+r+", total: "+this._timing.fbu_rt_total+", cnt: "+this._timing.fbu_rt_cnt+", avg: "+this._timing.fbu_rt_total/this._timing.fbu_rt_cnt),this._timing.fbu_rt_start=0}if(!s)return s}return this._onFBUComplete(this,{x:this._FBU.x,y:this._FBU.y,width:this._FBU.width,height:this._FBU.height,encoding:this._FBU.encoding,encodingName:this._encNames[this._FBU.encoding]}),!0}},Util.make_properties(RFB,[["target","wo","dom"],["focusContainer","wo","dom"],["encrypt","rw","bool"],["true_color","rw","bool"],["local_cursor","rw","bool"],["shared","rw","bool"],["view_only","rw","bool"],["xvp_password_sep","rw","str"],["disconnectTimeout","rw","int"],["wsProtocols","rw","arr"],["repeaterID","rw","str"],["viewportDrag","rw","bool"],["onUpdateState","rw","func"],["onPasswordRequired","rw","func"],["onClipboard","rw","func"],["onBell","rw","func"],["onFBUReceive","rw","func"],["onFBUComplete","rw","func"],["onFBResize","rw","func"],["onDesktopName","rw","func"],["onXvpInit","rw","func"]]),RFB.prototype.set_local_cursor=function(t){!t||t in{0:1,no:1,false:1}?(this._local_cursor=!1,this._display.disableLocalCursor()):this._display.get_cursor_uri()?this._local_cursor=!0:(Util.Warn("Browser does not support local cursor"),this._display.disableLocalCursor())},RFB.prototype.get_display=function(){return this._display},RFB.prototype.get_keyboard=function(){return this._keyboard},RFB.prototype.get_mouse=function(){return this._mouse},RFB.messages={keyEvent:function(t,s,i){var e=t._sQ,r=t._sQlen;e[r]=4,e[r+1]=i,e[r+2]=0,e[r+3]=0,e[r+4]=s>>24,e[r+5]=s>>16,e[r+6]=s>>8,e[r+7]=s,t._sQlen+=8},pointerEvent:function(t,s,i,e){var r=t._sQ,_=t._sQlen;r[_]=5,r[_+1]=e,r[_+2]=s>>8,r[_+3]=s,r[_+4]=i>>8,r[_+5]=i,t._sQlen+=6},clientCutText:function(t,s){var i=t._sQ,e=t._sQlen;i[e]=6,i[e+1]=0,i[e+2]=0,i[e+3]=0;var r=s.length;i[e+4]=r>>24,i[e+5]=r>>16,i[e+6]=r>>8,i[e+7]=r;for(var _=0;_>8,_[h+3]=s,_[h+4]=i>>8,_[h+5]=i,_[h+6]=1,_[h+7]=0,_[h+8]=e>>24,_[h+9]=e>>16,_[h+10]=e>>8,_[h+11]=e,_[h+12]=0,_[h+13]=0,_[h+14]=0,_[h+15]=0,_[h+16]=s>>8,_[h+17]=s,_[h+18]=i>>8,_[h+19]=i,_[h+20]=r>>24,_[h+21]=r>>16,_[h+22]=r>>8,_[h+23]=r,t._sQlen+=24},pixelFormat:function(t,s,i,e){var r=t._sQ,_=t._sQlen;r[_]=0,r[_+1]=0,r[_+2]=0,r[_+3]=0,r[_+4]=8*s,r[_+5]=8*i,r[_+6]=0,r[_+7]=e?1:0,r[_+8]=0,r[_+9]=255,r[_+10]=0,r[_+11]=255,r[_+12]=0,r[_+13]=255,r[_+14]=16,r[_+15]=8,r[_+16]=0,r[_+17]=0,r[_+18]=0,r[_+19]=0,t._sQlen+=20},clientEncodings:function(t,s,i,e){var r=t._sQ,_=t._sQlen;r[_]=2,r[_+1]=0;var h,n=_+4,o=0;for(h=0;h>24,r[n+1]=a>>16,r[n+2]=a>>8,r[n+3]=a,n+=4,o++}else Util.Warn("Skipping tight as it is only supported with true color");else Util.Debug("Skipping Cursor pseudo-encoding");r[_+2]=o>>8,r[_+3]=o,t._sQlen+=n-_},fbUpdateRequests:function(t,s,i,e){var r,_,h=s.cleanBox;h.w>0&&h.h>0&&(r=void 0===h.w?i:h.w,_=void 0===h.h?e:h.h,RFB.messages.fbUpdateRequest(t,1,h.x,h.y,r,_));for(var n=0;n>8&255,h[n+3]=255&i,h[n+4]=e>>8&255,h[n+5]=255&e,h[n+6]=r>>8&255,h[n+7]=255&r,h[n+8]=_>>8&255,h[n+9]=255&_,t._sQlen+=10}},RFB.genDES=function(t,s){for(var i=[],e=0;e0?this._FBU.bytes=this._FBU.width*this._fb_Bpp:(this._FBU.rects--,this._FBU.bytes=0),!0},COPYRECT:function(){return this._FBU.bytes=4,!this._sock.rQwait("COPYRECT",4)&&(this._display.copyImage(this._sock.rQshift16(),this._sock.rQshift16(),this._FBU.x,this._FBU.y,this._FBU.width,this._FBU.height),this._FBU.rects--,this._FBU.bytes=0,!0)},RRE:function(){var t;if(0===this._FBU.subrects){if(this._FBU.bytes=4+this._fb_Bpp,this._sock.rQwait("RRE",4+this._fb_Bpp))return!1;this._FBU.subrects=this._sock.rQshift32(),t=this._sock.rQshiftBytes(this._fb_Bpp),this._display.fillRect(this._FBU.x,this._FBU.y,this._FBU.width,this._FBU.height,t)}for(;this._FBU.subrects>0&&this._sock.rQlen()>=this._fb_Bpp+8;){t=this._sock.rQshiftBytes(this._fb_Bpp);var s=this._sock.rQshift16(),i=this._sock.rQshift16(),e=this._sock.rQshift16(),r=this._sock.rQshift16();this._display.fillRect(this._FBU.x+s,this._FBU.y+i,e,r,t),this._FBU.subrects--}if(this._FBU.subrects>0){var _=Math.min(this._rre_chunk_sz,this._FBU.subrects);this._FBU.bytes=(this._fb_Bpp+8)*_}else this._FBU.rects--,this._FBU.bytes=0;return!0},HEXTILE:function(){var t=this._sock.get_rQ(),s=this._sock.get_rQi();for(0===this._FBU.tiles&&(this._FBU.tiles_x=Math.ceil(this._FBU.width/16),this._FBU.tiles_y=Math.ceil(this._FBU.height/16),this._FBU.total_tiles=this._FBU.tiles_x*this._FBU.tiles_y,this._FBU.tiles=this._FBU.total_tiles);this._FBU.tiles>0;){if(this._FBU.bytes=1,this._sock.rQwait("HEXTILE subencoding",this._FBU.bytes))return!1;var i=t[s];if(i>30)return this._fail("Disconnected: illegal hextile subencoding "+i),!1;var e=0,r=this._FBU.total_tiles-this._FBU.tiles,_=r%this._FBU.tiles_x,h=Math.floor(r/this._FBU.tiles_x),n=this._FBU.x+16*_,o=this._FBU.y+16*h,a=Math.min(16,this._FBU.x+this._FBU.width-n),c=Math.min(16,this._FBU.y+this._FBU.height-o);if(1&i)this._FBU.bytes+=a*c*this._fb_Bpp;else if(2&i&&(this._FBU.bytes+=this._fb_Bpp),4&i&&(this._FBU.bytes+=this._fb_Bpp),8&i){if(this._FBU.bytes++,this._sock.rQwait("hextile subrects header",this._FBU.bytes))return!1;e=t[s+this._FBU.bytes-1],this._FBU.bytes+=16&i?e*(this._fb_Bpp+2):2*e}if(this._sock.rQwait("hextile",this._FBU.bytes))return!1;if(this._FBU.subencoding=t[s],s++,0===this._FBU.subencoding)1&this._FBU.lastsubencoding?Util.Debug(" Ignoring blank after RAW"):this._display.fillRect(n,o,a,c,this._FBU.background);else if(1&this._FBU.subencoding)this._display.blitImage(n,o,a,c,t,s),s+=this._FBU.bytes-1;else{if(2&this._FBU.subencoding&&(1==this._fb_Bpp?this._FBU.background=t[s]:this._FBU.background=[t[s],t[s+1],t[s+2],t[s+3]],s+=this._fb_Bpp),4&this._FBU.subencoding&&(1==this._fb_Bpp?this._FBU.foreground=t[s]:this._FBU.foreground=[t[s],t[s+1],t[s+2],t[s+3]],s+=this._fb_Bpp),this._display.startTile(n,o,a,c,this._FBU.background),8&this._FBU.subencoding){e=t[s],s++;for(var l=0;l>4,p=15&u,b=t[s];s++;var g=1+(b>>4),B=1+(15&b);this._display.subTile(d,p,g,B,f)}}this._display.finishTile()}this._sock.set_rQi(s),this._FBU.lastsubencoding=this._FBU.subencoding,this._FBU.bytes=0,this._FBU.tiles--}return 0===this._FBU.tiles&&this._FBU.rects--,!0},getTightCLength:function(t){var s=1,i=0;return i+=127&t[0],128&t[0]&&(s++,i+=(127&t[1])<<7,128&t[1]&&(s++,i+=t[2]<<14)),[s,i]},display_tight:function(t){if(1===this._fb_depth&&this._fail("Tight protocol handler only implements true color mode"),this._FBU.bytes=1,this._sock.rQwait("TIGHT compression-control",this._FBU.bytes))return!1;var s,i,e,r,_=0,h=-1,n=function(t,s){for(var i=0;i<4;i++)_>>i&1&&(this._FBU.zlibs[i].reset(),console.debug("RESET!"),Util.Info("Reset zlib stream "+i));return this._FBU.zlibs[h].inflate(t,!0,s)}.bind(this),o=function(t,s,i,e){for(var r=this._destBuff,_=Math.floor((i+7)/8),h=Math.floor(i/8),n=0;n=0;o--)c=4*(n*i+8*a+7-o),l=3*(t[n*_+a]>>o&1),r[c]=s[l],r[c+1]=s[l+1],r[c+2]=s[l+2],r[c+3]=255;for(o=7;o>=8-i%8;o--)c=4*(n*i+8*a+7-o),l=3*(t[n*_+a]>>o&1),r[c]=s[l],r[c+1]=s[l+1],r[c+2]=s[l+2],r[c+3]=255}return r}.bind(this),a=function(t,s,i,e){for(var r=this._destBuff,_=i*e*4,h=0,n=0;h<_;h+=4,n++){var o=3*t[n];r[h]=s[o],r[h+1]=s[o+1],r[h+2]=s[o+2],r[h+3]=255}return r}.bind(this),c=this._sock.get_rQi(),l=this._sock.rQwhole(),f=function(){var t=l[c+2]+1,_=t*this._fb_depth;if(this._FBU.bytes+=_,this._sock.rQwait("TIGHT palette "+s,this._FBU.bytes))return!1;var h=t<=2?1:8,f=Math.floor((this._FBU.width*h+7)/8),u=!1;if(f*this._FBU.height<12)u=!0,e=0,r=f*this._FBU.height;else{var d=c+3+_;e=1,r=0,r+=127&l[d],128&l[d]&&(e++,r+=(127&l[d+1])<<7,128&l[d+1]&&(e++,r+=l[d+2]<<14))}if(this._FBU.bytes+=e+r,this._sock.rQwait("TIGHT "+s,this._FBU.bytes))return!1;this._sock.rQskipBytes(3),this._sock.rQshiftTo(this._paletteBuff,_),this._sock.rQskipBytes(e),i=u?this._sock.rQshiftBytes(r):n(this._sock.rQshiftBytes(r),f*this._FBU.height);var p;return 2==t?(p=o(i,this._paletteBuff,this._FBU.width,this._FBU.height),this._display.blitRgbxImage(this._FBU.x,this._FBU.y,this._FBU.width,this._FBU.height,p,0,!1)):(p=a(i,this._paletteBuff,this._FBU.width,this._FBU.height),this._display.blitRgbxImage(this._FBU.x,this._FBU.y,this._FBU.width,this._FBU.height,p,0,!1)),!0}.bind(this),u=function(){var t=!1,_=this._FBU.width*this._FBU.height*this._fb_depth;if(_<12)t=!0,e=0,r=_;else{var h=c+1;e=1,r=0,r+=127&l[h],128&l[h]&&(e++,r+=(127&l[h+1])<<7,128&l[h+1]&&(e++,r+=l[h+2]<<14))}return this._FBU.bytes=1+e+r,!this._sock.rQwait("TIGHT "+s,this._FBU.bytes)&&(this._sock.rQshiftBytes(1+e),i=t?this._sock.rQshiftBytes(r):n(this._sock.rQshiftBytes(r),_),this._display.blitRgbImage(this._FBU.x,this._FBU.y,this._FBU.width,this._FBU.height,i,0,!1),!0)}.bind(this),d=this._sock.rQpeek8();if(_=15&d,d>>=4,h=3&d,8===d)s="fill";else if(9===d)s="jpeg";else if(10===d)s="png";else if(4&d)s="filter";else{if(!(d<4))return this._fail("Illegal tight compression received, ctl: "+d);s="copy"}if(t&&("filter"===s||"copy"===s))return this._fail("filter/copy received in tightPNG mode");switch(s){case"fill": +this._FBU.bytes+=this._fb_depth;break;case"jpeg":case"png":this._FBU.bytes+=3;break;case"filter":this._FBU.bytes+=2}if(this._sock.rQwait("TIGHT "+s,this._FBU.bytes))return!1;switch(s){case"fill":this._display.fillRect(this._FBU.x,this._FBU.y,this._FBU.width,this._FBU.height,[l[c+3],l[c+2],l[c+1]],!1),this._sock.rQskipBytes(4);break;case"png":case"jpeg":var p=c+1;if(e=1,r=0,r+=127&l[p],128&l[p]&&(e++,r+=(127&l[p+1])<<7,128&l[p+1]&&(e++,r+=l[p+2]<<14)),this._FBU.bytes=1+e+r,this._sock.rQwait("TIGHT "+s,this._FBU.bytes))return!1;this._sock.rQskipBytes(1+e);var b=new Image;b.src="data: image/"+s+RFB.extract_data_uri(this._sock.rQshiftBytes(r)),this._display.renderQ_push({type:"img",img:b,x:this._FBU.x,y:this._FBU.y}),b=null;break;case"filter":var g=l[c+1];if(1!==g)throw new Error("Unsupported tight subencoding received, filter: "+g);if(!f())return!1;break;case"copy":if(!u())return!1}return this._FBU.bytes=0,this._FBU.rects--,!0},TIGHT:function(){return this._encHandlers.display_tight(!1)},TIGHT_PNG:function(){return this._encHandlers.display_tight(!0)},last_rect:function(){return this._FBU.rects=0,!0},handle_FB_resize:function(){return this._fb_width=this._FBU.width,this._fb_height=this._FBU.height,this._destBuff=new Uint8Array(this._fb_width*this._fb_height*4),this._display.resize(this._fb_width,this._fb_height),this._onFBResize(this,this._fb_width,this._fb_height),this._timing.fbu_rt_start=(new Date).getTime(),this._FBU.bytes=0,this._FBU.rects-=1,!0},ExtendedDesktopSize:function(){if(this._FBU.bytes=1,this._sock.rQwait("ExtendedDesktopSize",this._FBU.bytes))return!1;this._supportsSetDesktopSize=!0;var t=this._sock.rQpeek8();if(this._FBU.bytes=4+16*t,this._sock.rQwait("ExtendedDesktopSize",this._FBU.bytes))return!1;this._sock.rQskipBytes(1),this._sock.rQskipBytes(3);for(var s=0;s> set_cursor");var t=this._FBU.x,s=this._FBU.y,i=this._FBU.width,e=this._FBU.height,r=i*e*this._fb_Bpp,_=Math.floor((i+7)/8)*e;return this._FBU.bytes=r+_,!this._sock.rQwait("cursor encoding",this._FBU.bytes)&&(this._display.changeCursor(this._sock.rQshiftBytes(r),this._sock.rQshiftBytes(_),t,s,i,e),this._FBU.bytes=0,this._FBU.rects--,Util.Debug("<< set_cursor"),!0)},JPEG_quality_lo:function(){Util.Error("Server sent jpeg_quality pseudo-encoding")},compress_lo:function(){Util.Error("Server sent compress level pseudo-encoding")}}}(); \ No newline at end of file diff --git a/terminal/smartxKs/smartxksJq.js b/terminal/smartxKs/smartxksJq.js new file mode 100644 index 0000000..36e399a --- /dev/null +++ b/terminal/smartxKs/smartxksJq.js @@ -0,0 +1,5 @@ +/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license*/ + +!function(e,t){function n(e){var t=e.length,n=ce.type(e);return!ce.isWindow(e)&&(!(1!==e.nodeType||!t)||("array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)))}function r(e){var t=ke[e]={};return ce.each(e.match(pe)||[],function(e,n){t[n]=!0}),t}function i(e,n,r,i){if(ce.acceptData(e)){var o,a,s=ce.expando,u=e.nodeType,l=u?ce.cache:e,c=u?e[s]:e[s]&&s;if(c&&l[c]&&(i||l[c].data)||r!==t||"string"!=typeof n)return c||(c=u?e[s]=te.pop()||ce.guid++:s),l[c]||(l[c]=u?{}:{toJSON:ce.noop}),("object"==typeof n||"function"==typeof n)&&(i?l[c]=ce.extend(l[c],n):l[c].data=ce.extend(l[c].data,n)),a=l[c],i||(a.data||(a.data={}),a=a.data),r!==t&&(a[ce.camelCase(n)]=r),"string"==typeof n?null==(o=a[n])&&(o=a[ce.camelCase(n)]):o=a,o}}function o(e,t,n){if(ce.acceptData(e)){var r,i,o=e.nodeType,a=o?ce.cache:e,u=o?e[ce.expando]:ce.expando;if(a[u]){if(t&&(r=n?a[u]:a[u].data)){ce.isArray(t)?t=t.concat(ce.map(t,ce.camelCase)):t in r?t=[t]:(t=ce.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;for(;i--;)delete r[t[i]];if(n?!s(r):!ce.isEmptyObject(r))return}(n||(delete a[u].data,s(a[u])))&&(o?ce.cleanData([e],!0):ce.support.deleteExpando||a!=a.window?delete a[u]:a[u]=null)}}}function a(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(Se,"-$1").toLowerCase();if("string"==typeof(r=e.getAttribute(i))){try{r="true"===r||"false"!==r&&("null"===r?null:+r+""===r?+r:Ee.test(r)?ce.parseJSON(r):r)}catch(e){}ce.data(e,n,r)}else r=t}return r}function s(e){var t;for(t in e)if(("data"!==t||!ce.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function u(){return!0}function l(){return!1}function c(){try{return G.activeElement}catch(e){}}function f(e,t){do{e=e[t]}while(e&&1!==e.nodeType);return e}function p(e,t,n){if(ce.isFunction(t))return ce.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return ce.grep(e,function(e){return e===t!==n});if("string"==typeof t){if($e.test(t))return ce.filter(t,e,n);t=ce.filter(t,e)}return ce.grep(e,function(e){return ce.inArray(e,t)>=0!==n})}function d(e){var t=Ue.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function h(e,t){return ce.nodeName(e,"table")&&ce.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function m(e){return e.type=(null!==ce.find.attr(e,"type"))+"/"+e.type,e}function g(e){var t=it.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function y(e,t){for(var n,r=0;null!=(n=e[r]);r++)ce._data(n,"globalEval",!t||ce._data(t[r],"globalEval"))}function v(e,t){if(1===t.nodeType&&ce.hasData(e)){var n,r,i,o=ce._data(e),a=ce._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)ce.event.add(t,n,s[n][r])}a.data&&(a.data=ce.extend({},a.data))}}function b(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!ce.support.noCloneEvent&&t[ce.expando]){i=ce._data(t);for(r in i.events)ce.removeEvent(t,r,i.handle);t.removeAttribute(ce.expando)}"script"===n&&t.text!==e.text?(m(t).text=e.text,g(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),ce.support.html5Clone&&e.innerHTML&&!ce.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&tt.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}function x(e,n){var r,i,o=0,a=typeof e.getElementsByTagName!==Y?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==Y?e.querySelectorAll(n||"*"):t;if(!a)for(a=[],r=e.childNodes||e;null!=(i=r[o]);o++)!n||ce.nodeName(i,n)?a.push(i):ce.merge(a,x(i,n));return n===t||n&&ce.nodeName(e,n)?ce.merge([e],a):a}function T(e){tt.test(e.type)&&(e.defaultChecked=e.checked)}function w(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=Nt.length;i--;)if((t=Nt[i]+n)in e)return t;return r}function C(e,t){return e=t||e,"none"===ce.css(e,"display")||!ce.contains(e.ownerDocument,e)}function N(e,t){for(var n,r,i,o=[],a=0,s=e.length;s>a;a++)r=e[a],r.style&&(o[a]=ce._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&C(r)&&(o[a]=ce._data(r,"olddisplay",A(r.nodeName)))):o[a]||(i=C(r),(n&&"none"!==n||!i)&&ce._data(r,"olddisplay",i?n:ce.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}function k(e,t,n){var r=yt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function E(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;4>o;o+=2)"margin"===n&&(a+=ce.css(e,n+Ct[o],!0,i)),r?("content"===n&&(a-=ce.css(e,"padding"+Ct[o],!0,i)),"margin"!==n&&(a-=ce.css(e,"border"+Ct[o]+"Width",!0,i))):(a+=ce.css(e,"padding"+Ct[o],!0,i),"padding"!==n&&(a+=ce.css(e,"border"+Ct[o]+"Width",!0,i)));return a}function S(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=ct(e),a=ce.support.boxSizing&&"border-box"===ce.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=ft(e,t,o),(0>i||null==i)&&(i=e.style[t]),vt.test(i))return i;r=a&&(ce.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+E(e,t,n||(a?"border":"content"),r,o)+"px"}function A(e){var t=G,n=xt[e];return n||(n=j(e,t),"none"!==n&&n||(lt=(lt||ce("': + "");b._keyEvent=false;return D},_generateMonthYearHeader:function(b,f,j,l,o,n,k,m){var p=this._get(b,"changeMonth"),q=this._get(b,"changeYear"),s=this._get(b,"showMonthAfterYear"),r='
',u="";if(n||!p)u+=''+k[f]+"";else{k=l&&l.getFullYear()==j;var v=o&&o.getFullYear()==j;u+='"}s||(r+=u+(n||!(p&&q)?" ":""));if(!b.yearshtml){b.yearshtml="";if(n||!q)r+=''+j+"";else{m=this._get(b,"yearRange").split(":");var x=(new Date).getFullYear();k=function(y){y=y.match(/c[+-].*/)?j+parseInt(y.substring(1),10):y.match(/[+-].*/)?x+parseInt(y,10):parseInt(y,10);return isNaN(y)?x:y};f=k(m[0]);m=Math.max(f,k(m[1]||""));f=l?Math.max(f, + l.getFullYear()):f;m=o?Math.min(m,o.getFullYear()):m;for(b.yearshtml+='";r+=b.yearshtml;b.yearshtml=null}}r+=this._get(b,"yearSuffix");if(s)r+=(n||!(p&&q)?" ":"")+u;r+="
";return r},_adjustInstDate:function(b,f,j){var l=b.drawYear+(j=="Y"?f:0),o=b.drawMonth+ + (j=="M"?f:0);f=Math.min(b.selectedDay,this._getDaysInMonth(l,o))+(j=="D"?f:0);l=this._restrictMinMax(b,this._daylightSavingAdjust(new Date(l,o,f)));b.selectedDay=l.getDate();b.drawMonth=b.selectedMonth=l.getMonth();b.drawYear=b.selectedYear=l.getFullYear();if(j=="M"||j=="Y")this._notifyChange(b)},_restrictMinMax:function(b,f){var j=this._getMinMaxDate(b,"min");b=this._getMinMaxDate(b,"max");f=j&&fb?b:f},_notifyChange:function(b){var f=this._get(b,"onChangeMonthYear");if(f)f.apply(b.input? + b.input[0]:null,[b.selectedYear,b.selectedMonth+1,b])},_getNumberOfMonths:function(b){b=this._get(b,"numberOfMonths");return b==null?[1,1]:typeof b=="number"?[1,b]:b},_getMinMaxDate:function(b,f){return this._determineDate(b,this._get(b,f+"Date"),null)},_getDaysInMonth:function(b,f){return 32-this._daylightSavingAdjust(new Date(b,f,32)).getDate()},_getFirstDayOfMonth:function(b,f){return(new Date(b,f,1)).getDay()},_canAdjustMonth:function(b,f,j,l){var o=this._getNumberOfMonths(b);j=this._daylightSavingAdjust(new Date(j, + l+(f<0?f:o[0]*o[1]),1));f<0&&j.setDate(this._getDaysInMonth(j.getFullYear(),j.getMonth()));return this._isInRange(b,j)},_isInRange:function(b,f){var j=this._getMinMaxDate(b,"min");b=this._getMinMaxDate(b,"max");return(!j||f.getTime()>=j.getTime())&&(!b||f.getTime()<=b.getTime())},_getFormatConfig:function(b){var f=this._get(b,"shortYearCutoff");f=typeof f!="string"?f:(new Date).getFullYear()%100+parseInt(f,10);return{shortYearCutoff:f,dayNamesShort:this._get(b,"dayNamesShort"),dayNames:this._get(b, + "dayNames"),monthNamesShort:this._get(b,"monthNamesShort"),monthNames:this._get(b,"monthNames")}},_formatDate:function(b,f,j,l){if(!f){b.currentDay=b.selectedDay;b.currentMonth=b.selectedMonth;b.currentYear=b.selectedYear}f=f?typeof f=="object"?f:this._daylightSavingAdjust(new Date(l,j,f)):this._daylightSavingAdjust(new Date(b.currentYear,b.currentMonth,b.currentDay));return this.formatDate(this._get(b,"dateFormat"),f,this._getFormatConfig(b))}});a.fn.datepicker=function(b){if(!this.length)return this; + if(!a.datepicker.initialized){a(document).mousedown(a.datepicker._checkExternalClick).find("body").append(a.datepicker.dpDiv);a.datepicker.initialized=true}var f=Array.prototype.slice.call(arguments,1);if(typeof b=="string"&&(b=="isDisabled"||b=="getDate"||b=="widget"))return a.datepicker["_"+b+"Datepicker"].apply(a.datepicker,[this[0]].concat(f));if(b=="option"&&arguments.length==2&&typeof arguments[1]=="string")return a.datepicker["_"+b+"Datepicker"].apply(a.datepicker,[this[0]].concat(f));return this.each(function(){typeof b== + "string"?a.datepicker["_"+b+"Datepicker"].apply(a.datepicker,[this].concat(f)):a.datepicker._attachDatepicker(this,b)})};a.datepicker=new c;a.datepicker.initialized=false;a.datepicker.uuid=(new Date).getTime();a.datepicker.version="1.8.16";window["DP_jQuery_"+g]=a})(jQuery); +(function(a,d){var c={buttons:true,height:true,maxHeight:true,maxWidth:true,minHeight:true,minWidth:true,width:true},e={maxHeight:true,maxWidth:true,minHeight:true,minWidth:true},h=a.attrFn||{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true,click:true};a.widget("ui.dialog",{options:{autoOpen:true,buttons:{},closeOnEscape:true,closeText:"close",dialogClass:"",draggable:true,hide:null,height:"auto",maxHeight:false,maxWidth:false,minHeight:150,minWidth:150,modal:false, + position:{my:"center",at:"center",collision:"fit",using:function(g){var i=a(this).css(g).offset().top;i<0&&a(this).css("top",g.top-i)}},resizable:true,show:null,stack:true,title:"",width:300,zIndex:1E3},_create:function(){this.originalTitle=this.element.attr("title");if(typeof this.originalTitle!=="string")this.originalTitle="";this.options.title=this.options.title||this.originalTitle;var g=this,i=g.options,b=i.title||" ",f=a.ui.dialog.getTitleId(g.element),j=(g.uiDialog=a("
")).appendTo(document.body).hide().addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+ + i.dialogClass).css({zIndex:i.zIndex}).attr("tabIndex",-1).css("outline",0).keydown(function(n){if(i.closeOnEscape&&!n.isDefaultPrevented()&&n.keyCode&&n.keyCode===a.ui.keyCode.ESCAPE){g.close(n);n.preventDefault()}}).attr({role:"dialog","aria-labelledby":f}).mousedown(function(n){g.moveToTop(false,n)});g.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(j);var l=(g.uiDialogTitlebar=a("
")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(j), + o=a('').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").hover(function(){o.addClass("ui-state-hover")},function(){o.removeClass("ui-state-hover")}).focus(function(){o.addClass("ui-state-focus")}).blur(function(){o.removeClass("ui-state-focus")}).click(function(n){g.close(n);return false}).appendTo(l);(g.uiDialogTitlebarCloseText=a("")).addClass("ui-icon ui-icon-closethick").text(i.closeText).appendTo(o);a("").addClass("ui-dialog-title").attr("id", + f).html(b).prependTo(l);if(a.isFunction(i.beforeclose)&&!a.isFunction(i.beforeClose))i.beforeClose=i.beforeclose;l.find("*").add(l).disableSelection();i.draggable&&a.fn.draggable&&g._makeDraggable();i.resizable&&a.fn.resizable&&g._makeResizable();g._createButtons(i.buttons);g._isOpen=false;a.fn.bgiframe&&j.bgiframe()},_init:function(){this.options.autoOpen&&this.open()},destroy:function(){var g=this;g.overlay&&g.overlay.destroy();g.uiDialog.hide();g.element.unbind(".dialog").removeData("dialog").removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body"); + g.uiDialog.remove();g.originalTitle&&g.element.attr("title",g.originalTitle);return g},widget:function(){return this.uiDialog},close:function(g){var i=this,b,f;if(false!==i._trigger("beforeClose",g)){i.overlay&&i.overlay.destroy();i.uiDialog.unbind("keypress.ui-dialog");i._isOpen=false;if(i.options.hide)i.uiDialog.hide(i.options.hide,function(){i._trigger("close",g)});else{i.uiDialog.hide();i._trigger("close",g)}a.ui.dialog.overlay.resize();if(i.options.modal){b=0;a(".ui-dialog").each(function(){if(this!== + i.uiDialog[0]){f=a(this).css("z-index");isNaN(f)||(b=Math.max(b,f))}});a.ui.dialog.maxZ=b}return i}},isOpen:function(){return this._isOpen},moveToTop:function(g,i){var b=this,f=b.options;if(f.modal&&!g||!f.stack&&!f.modal)return b._trigger("focus",i);if(f.zIndex>a.ui.dialog.maxZ)a.ui.dialog.maxZ=f.zIndex;if(b.overlay){a.ui.dialog.maxZ+=1;b.overlay.$el.css("z-index",a.ui.dialog.overlay.maxZ=a.ui.dialog.maxZ)}g={scrollTop:b.element.scrollTop(),scrollLeft:b.element.scrollLeft()};a.ui.dialog.maxZ+=1; + b.uiDialog.css("z-index",a.ui.dialog.maxZ);b.element.attr(g);b._trigger("focus",i);return b},open:function(){if(!this._isOpen){var g=this,i=g.options,b=g.uiDialog;g.overlay=i.modal?new a.ui.dialog.overlay(g):null;g._size();g._position(i.position);b.show(i.show);g.moveToTop(true);i.modal&&b.bind("keypress.ui-dialog",function(f){if(f.keyCode===a.ui.keyCode.TAB){var j=a(":tabbable",this),l=j.filter(":first");j=j.filter(":last");if(f.target===j[0]&&!f.shiftKey){l.focus(1);return false}else if(f.target=== + l[0]&&f.shiftKey){j.focus(1);return false}}});a(g.element.find(":tabbable").get().concat(b.find(".ui-dialog-buttonpane :tabbable").get().concat(b.get()))).eq(0).focus();g._isOpen=true;g._trigger("open");return g}},_createButtons:function(g){var i=this,b=false,f=a("
").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),j=a("
").addClass("ui-dialog-buttonset").appendTo(f);i.uiDialog.find(".ui-dialog-buttonpane").remove();typeof g==="object"&&g!==null&&a.each(g, + function(){return!(b=true)});if(b){a.each(g,function(l,o){o=a.isFunction(o)?{click:o,text:l}:o;var n=a('').click(function(){o.click.apply(i.element[0],arguments)}).appendTo(j);a.each(o,function(k,m){if(k!=="click")k in h?n[k](m):n.attr(k,m)});a.fn.button&&n.button()});f.appendTo(i.uiDialog)}},_makeDraggable:function(){function g(l){return{position:l.position,offset:l.offset}}var i=this,b=i.options,f=a(document),j;i.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close", + handle:".ui-dialog-titlebar",containment:"document",start:function(l,o){j=b.height==="auto"?"auto":a(this).height();a(this).height(a(this).height()).addClass("ui-dialog-dragging");i._trigger("dragStart",l,g(o))},drag:function(l,o){i._trigger("drag",l,g(o))},stop:function(l,o){b.position=[o.position.left-f.scrollLeft(),o.position.top-f.scrollTop()];a(this).removeClass("ui-dialog-dragging").height(j);i._trigger("dragStop",l,g(o));a.ui.dialog.overlay.resize()}})},_makeResizable:function(g){function i(l){return{originalPosition:l.originalPosition, + originalSize:l.originalSize,position:l.position,size:l.size}}g=g===d?this.options.resizable:g;var b=this,f=b.options,j=b.uiDialog.css("position");g=typeof g==="string"?g:"n,e,s,w,se,sw,ne,nw";b.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:b.element,maxWidth:f.maxWidth,maxHeight:f.maxHeight,minWidth:f.minWidth,minHeight:b._minHeight(),handles:g,start:function(l,o){a(this).addClass("ui-dialog-resizing");b._trigger("resizeStart",l,i(o))},resize:function(l,o){b._trigger("resize", + l,i(o))},stop:function(l,o){a(this).removeClass("ui-dialog-resizing");f.height=a(this).height();f.width=a(this).width();b._trigger("resizeStop",l,i(o));a.ui.dialog.overlay.resize()}}).css("position",j).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_minHeight:function(){var g=this.options;return g.height==="auto"?g.minHeight:Math.min(g.minHeight,g.height)},_position:function(g){var i=[],b=[0,0],f;if(g){if(typeof g==="string"||typeof g==="object"&&"0"in g){i=g.split?g.split(" "): + [g[0],g[1]];if(i.length===1)i[1]=i[0];a.each(["left","top"],function(j,l){if(+i[j]===i[j]){b[j]=i[j];i[j]=l}});g={my:i.join(" "),at:i.join(" "),offset:b.join(" ")}}g=a.extend({},a.ui.dialog.prototype.options.position,g)}else g=a.ui.dialog.prototype.options.position;(f=this.uiDialog.is(":visible"))||this.uiDialog.show();this.uiDialog.css({top:0,left:0}).position(a.extend({of:window},g));f||this.uiDialog.hide()},_setOptions:function(g){var i=this,b={},f=false;a.each(g,function(j,l){i._setOption(j,l); + if(j in c)f=true;if(j in e)b[j]=l});f&&this._size();this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option",b)},_setOption:function(g,i){var b=this,f=b.uiDialog;switch(g){case "beforeclose":g="beforeClose";break;case "buttons":b._createButtons(i);break;case "closeText":b.uiDialogTitlebarCloseText.text(""+i);break;case "dialogClass":f.removeClass(b.options.dialogClass).addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+i);break;case "disabled":i?f.addClass("ui-dialog-disabled"): + f.removeClass("ui-dialog-disabled");break;case "draggable":var j=f.is(":data(draggable)");j&&!i&&f.draggable("destroy");!j&&i&&b._makeDraggable();break;case "position":b._position(i);break;case "resizable":(j=f.is(":data(resizable)"))&&!i&&f.resizable("destroy");j&&typeof i==="string"&&f.resizable("option","handles",i);!j&&i!==false&&b._makeResizable(i);break;case "title":a(".ui-dialog-title",b.uiDialogTitlebar).html(""+(i||" "));break}a.Widget.prototype._setOption.apply(b,arguments)},_size:function(){var g= + this.options,i,b,f=this.uiDialog.is(":visible");this.element.show().css({width:"auto",minHeight:0,height:0});if(g.minWidth>g.width)g.width=g.minWidth;i=this.uiDialog.css({height:"auto",width:g.width}).height();b=Math.max(0,g.minHeight-i);if(g.height==="auto")if(a.support.minHeight)this.element.css({minHeight:b,height:"auto"});else{this.uiDialog.show();g=this.element.css("height","auto").height();f||this.uiDialog.hide();this.element.height(Math.max(g,b))}else this.element.height(Math.max(g.height- + i,0));this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())}});a.extend(a.ui.dialog,{version:"1.8.16",uuid:0,maxZ:0,getTitleId:function(g){g=g.attr("id");if(!g){this.uuid+=1;g=this.uuid}return"ui-dialog-title-"+g},overlay:function(g){this.$el=a.ui.dialog.overlay.create(g)}});a.extend(a.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:a.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(g){return g+".dialog-overlay"}).join(" "), + create:function(g){if(this.instances.length===0){setTimeout(function(){a.ui.dialog.overlay.instances.length&&a(document).bind(a.ui.dialog.overlay.events,function(b){if(a(b.target).zIndex()").addClass("ui-widget-overlay")).appendTo(document.body).css({width:this.width(),height:this.height()});a.fn.bgiframe&&i.bgiframe();this.instances.push(i);return i},destroy:function(g){var i=a.inArray(g,this.instances);i!=-1&&this.oldInstances.push(this.instances.splice(i,1)[0]);this.instances.length===0&&a([document,window]).unbind(".dialog-overlay");g.remove();var b=0;a.each(this.instances,function(){b=Math.max(b,this.css("z-index"))});this.maxZ=b},height:function(){var g,i;if(a.browser.msie&& + a.browser.version<7){g=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);i=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight);return g0?g.left-b:Math.max(g.left-i.collisionPosition.left,g.left)},top:function(g,i){var b=a(window);b=i.collisionPosition.top+i.collisionHeight-b.height()-b.scrollTop();g.top=b>0?g.top-b:Math.max(g.top-i.collisionPosition.top,g.top)}},flip:{left:function(g,i){if(i.at[0]!=="center"){var b=a(window);b=i.collisionPosition.left+i.collisionWidth-b.width()-b.scrollLeft();var f=i.my[0]==="left"?-i.elemWidth:i.my[0]==="right"?i.elemWidth:0,j=i.at[0]==="left"?i.targetWidth:-i.targetWidth,l=-2*i.offset[0];g.left+= + i.collisionPosition.left<0?f+j+l:b>0?f+j+l:0}},top:function(g,i){if(i.at[1]!=="center"){var b=a(window);b=i.collisionPosition.top+i.collisionHeight-b.height()-b.scrollTop();var f=i.my[1]==="top"?-i.elemHeight:i.my[1]==="bottom"?i.elemHeight:0,j=i.at[1]==="top"?i.targetHeight:-i.targetHeight,l=-2*i.offset[1];g.top+=i.collisionPosition.top<0?f+j+l:b>0?f+j+l:0}}}};if(!a.offset.setOffset){a.offset.setOffset=function(g,i){if(/static/.test(a.curCSS(g,"position")))g.style.position="relative";var b=a(g), + f=b.offset(),j=parseInt(a.curCSS(g,"top",true),10)||0,l=parseInt(a.curCSS(g,"left",true),10)||0;f={top:i.top-f.top+j,left:i.left-f.left+l};"using"in i?i.using.call(g,f):b.css(f)};a.fn.offset=function(g){var i=this[0];if(!i||!i.ownerDocument)return null;if(g)return this.each(function(){a.offset.setOffset(this,g)});return h.call(this)}}})(jQuery); +(function(a,d){a.widget("ui.progressbar",{options:{value:0,max:100},min:0,_create:function(){this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min,"aria-valuemax":this.options.max,"aria-valuenow":this._value()});this.valueDiv=a("
").appendTo(this.element);this.oldValue=this._value();this._refreshValue()},destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"); + this.valueDiv.remove();a.Widget.prototype.destroy.apply(this,arguments)},value:function(c){if(c===d)return this._value();this._setOption("value",c);return this},_setOption:function(c,e){if(c==="value"){this.options.value=e;this._refreshValue();this._value()===this.options.max&&this._trigger("complete")}a.Widget.prototype._setOption.apply(this,arguments)},_value:function(){var c=this.options.value;if(typeof c!=="number")c=0;return Math.min(this.options.max,Math.max(this.min,c))},_percentage:function(){return 100* + this._value()/this.options.max},_refreshValue:function(){var c=this.value(),e=this._percentage();if(this.oldValue!==c){this.oldValue=c;this._trigger("change")}this.valueDiv.toggle(c>this.min).toggleClass("ui-corner-right",c===this.options.max).width(e.toFixed(0)+"%");this.element.attr("aria-valuenow",c)}});a.extend(a.ui.progressbar,{version:"1.8.16"})})(jQuery); +(function(a){a.widget("ui.slider",a.ui.mouse,{widgetEventPrefix:"slide",options:{animate:false,distance:0,max:100,min:0,orientation:"horizontal",range:false,step:1,value:0,values:null},_create:function(){var d=this,c=this.options,e=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),h=c.values&&c.values.length||1,g=[];this._mouseSliding=this._keySliding=false;this._animateOff=true;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass("ui-slider ui-slider-"+ + this.orientation+" ui-widget ui-widget-content ui-corner-all"+(c.disabled?" ui-slider-disabled ui-disabled":""));this.range=a([]);if(c.range){if(c.range===true){if(!c.values)c.values=[this._valueMin(),this._valueMin()];if(c.values.length&&c.values.length!==2)c.values=[c.values[0],c.values[0]]}this.range=a("
").appendTo(this.element).addClass("ui-slider-range ui-widget-header"+(c.range==="min"||c.range==="max"?" ui-slider-range-"+c.range:""))}for(var i=e.length;i"); + this.handles=e.add(a(g.join("")).appendTo(d.element));this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(b){b.preventDefault()}).hover(function(){c.disabled||a(this).addClass("ui-state-hover")},function(){a(this).removeClass("ui-state-hover")}).focus(function(){if(c.disabled)a(this).blur();else{a(".ui-slider .ui-state-focus").removeClass("ui-state-focus");a(this).addClass("ui-state-focus")}}).blur(function(){a(this).removeClass("ui-state-focus")});this.handles.each(function(b){a(this).data("index.ui-slider-handle", + b)});this.handles.keydown(function(b){var f=true,j=a(this).data("index.ui-slider-handle"),l,o,n;if(!d.options.disabled){switch(b.keyCode){case a.ui.keyCode.HOME:case a.ui.keyCode.END:case a.ui.keyCode.PAGE_UP:case a.ui.keyCode.PAGE_DOWN:case a.ui.keyCode.UP:case a.ui.keyCode.RIGHT:case a.ui.keyCode.DOWN:case a.ui.keyCode.LEFT:f=false;if(!d._keySliding){d._keySliding=true;a(this).addClass("ui-state-active");l=d._start(b,j);if(l===false)return}break}n=d.options.step;l=d.options.values&&d.options.values.length? + (o=d.values(j)):(o=d.value());switch(b.keyCode){case a.ui.keyCode.HOME:o=d._valueMin();break;case a.ui.keyCode.END:o=d._valueMax();break;case a.ui.keyCode.PAGE_UP:o=d._trimAlignValue(l+(d._valueMax()-d._valueMin())/5);break;case a.ui.keyCode.PAGE_DOWN:o=d._trimAlignValue(l-(d._valueMax()-d._valueMin())/5);break;case a.ui.keyCode.UP:case a.ui.keyCode.RIGHT:if(l===d._valueMax())return;o=d._trimAlignValue(l+n);break;case a.ui.keyCode.DOWN:case a.ui.keyCode.LEFT:if(l===d._valueMin())return;o=d._trimAlignValue(l- + n);break}d._slide(b,j,o);return f}}).keyup(function(b){var f=a(this).data("index.ui-slider-handle");if(d._keySliding){d._keySliding=false;d._stop(b,f);d._change(b,f);a(this).removeClass("ui-state-active")}});this._refreshValue();this._animateOff=false},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider");this._mouseDestroy(); + return this},_mouseCapture:function(d){var c=this.options,e,h,g,i,b;if(c.disabled)return false;this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();e=this._normValueFromMouse({x:d.pageX,y:d.pageY});h=this._valueMax()-this._valueMin()+1;i=this;this.handles.each(function(f){var j=Math.abs(e-i.values(f));if(h>j){h=j;g=a(this);b=f}});if(c.range===true&&this.values(1)===c.min){b+=1;g=a(this.handles[b])}if(this._start(d,b)===false)return false; + this._mouseSliding=true;i._handleIndex=b;g.addClass("ui-state-active").focus();c=g.offset();this._clickOffset=!a(d.target).parents().andSelf().is(".ui-slider-handle")?{left:0,top:0}:{left:d.pageX-c.left-g.width()/2,top:d.pageY-c.top-g.height()/2-(parseInt(g.css("borderTopWidth"),10)||0)-(parseInt(g.css("borderBottomWidth"),10)||0)+(parseInt(g.css("marginTop"),10)||0)};this.handles.hasClass("ui-state-hover")||this._slide(d,b,e);return this._animateOff=true},_mouseStart:function(){return true},_mouseDrag:function(d){var c= + this._normValueFromMouse({x:d.pageX,y:d.pageY});this._slide(d,this._handleIndex,c);return false},_mouseStop:function(d){this.handles.removeClass("ui-state-active");this._mouseSliding=false;this._stop(d,this._handleIndex);this._change(d,this._handleIndex);this._clickOffset=this._handleIndex=null;return this._animateOff=false},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(d){var c;if(this.orientation==="horizontal"){c= + this.elementSize.width;d=d.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{c=this.elementSize.height;d=d.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}c=d/c;if(c>1)c=1;if(c<0)c=0;if(this.orientation==="vertical")c=1-c;d=this._valueMax()-this._valueMin();return this._trimAlignValue(this._valueMin()+c*d)},_start:function(d,c){var e={handle:this.handles[c],value:this.value()};if(this.options.values&&this.options.values.length){e.value=this.values(c); + e.values=this.values()}return this._trigger("start",d,e)},_slide:function(d,c,e){var h;if(this.options.values&&this.options.values.length){h=this.values(c?0:1);if(this.options.values.length===2&&this.options.range===true&&(c===0&&e>h||c===1&&e1){this.options.values[d]=this._trimAlignValue(c);this._refreshValue();this._change(null,d)}else if(arguments.length)if(a.isArray(arguments[0])){e=this.options.values;h=arguments[0];for(g=0;g=this._valueMax())return this._valueMax();var c=this.options.step>0?this.options.step:1,e=(d-this._valueMin())%c;d=d-e;if(Math.abs(e)*2>=c)d+=e>0?c:-c;return parseFloat(d.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var d= + this.options.range,c=this.options,e=this,h=!this._animateOff?c.animate:false,g,i={},b,f,j,l;if(this.options.values&&this.options.values.length)this.handles.each(function(o){g=(e.values(o)-e._valueMin())/(e._valueMax()-e._valueMin())*100;i[e.orientation==="horizontal"?"left":"bottom"]=g+"%";a(this).stop(1,1)[h?"animate":"css"](i,c.animate);if(e.options.range===true)if(e.orientation==="horizontal"){if(o===0)e.range.stop(1,1)[h?"animate":"css"]({left:g+"%"},c.animate);if(o===1)e.range[h?"animate":"css"]({width:g- +b+"%"},{queue:false,duration:c.animate})}else{if(o===0)e.range.stop(1,1)[h?"animate":"css"]({bottom:g+"%"},c.animate);if(o===1)e.range[h?"animate":"css"]({height:g-b+"%"},{queue:false,duration:c.animate})}b=g});else{f=this.value();j=this._valueMin();l=this._valueMax();g=l!==j?(f-j)/(l-j)*100:0;i[e.orientation==="horizontal"?"left":"bottom"]=g+"%";this.handle.stop(1,1)[h?"animate":"css"](i,c.animate);if(d==="min"&&this.orientation==="horizontal")this.range.stop(1,1)[h?"animate":"css"]({width:g+"%"}, + c.animate);if(d==="max"&&this.orientation==="horizontal")this.range[h?"animate":"css"]({width:100-g+"%"},{queue:false,duration:c.animate});if(d==="min"&&this.orientation==="vertical")this.range.stop(1,1)[h?"animate":"css"]({height:g+"%"},c.animate);if(d==="max"&&this.orientation==="vertical")this.range[h?"animate":"css"]({height:100-g+"%"},{queue:false,duration:c.animate})}}});a.extend(a.ui.slider,{version:"1.8.16"})})(jQuery); +(function(a,d){function c(){return++h}function e(){return++g}var h=0,g=0;a.widget("ui.tabs",{options:{add:null,ajaxOptions:null,cache:false,cookie:null,collapsible:false,disable:null,disabled:[],enable:null,event:"click",fx:null,idPrefix:"ui-tabs-",load:null,panelTemplate:"
",remove:null,select:null,show:null,spinner:"Loading…",tabTemplate:"
  • #{label}
  • "},_create:function(){this._tabify(true)},_setOption:function(i,b){if(i=="selected")this.options.collapsible&& +b==this.options.selected||this.select(b);else{this.options[i]=b;this._tabify()}},_tabId:function(i){return i.title&&i.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF-]/g,"")||this.options.idPrefix+c()},_sanitizeSelector:function(i){return i.replace(/:/g,"\\:")},_cookie:function(){var i=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+e());return a.cookie.apply(null,[i].concat(a.makeArray(arguments)))},_ui:function(i,b){return{tab:i,panel:b,index:this.anchors.index(i)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var i= + a(this);i.html(i.data("label.tabs")).removeData("label.tabs")})},_tabify:function(i){function b(r,u){r.css("display","");!a.support.opacity&&u.opacity&&r[0].style.removeAttribute("filter")}var f=this,j=this.options,l=/^#.+/;this.list=this.element.find("ol,ul").eq(0);this.lis=a(" > li:has(a[href])",this.list);this.anchors=this.lis.map(function(){return a("a",this)[0]});this.panels=a([]);this.anchors.each(function(r,u){var v=a(u).attr("href"),w=v.split("#")[0],x;if(w&&(w===location.toString().split("#")[0]|| + (x=a("base")[0])&&w===x.href)){v=u.hash;u.href=v}if(l.test(v))f.panels=f.panels.add(f.element.find(f._sanitizeSelector(v)));else if(v&&v!=="#"){a.data(u,"href.tabs",v);a.data(u,"load.tabs",v.replace(/#.*$/,""));v=f._tabId(u);u.href="#"+v;u=f.element.find("#"+v);if(!u.length){u=a(j.panelTemplate).attr("id",v).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(f.panels[r-1]||f.list);u.data("destroy.tabs",true)}f.panels=f.panels.add(u)}else j.disabled.push(r)});if(i){this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all"); + this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.lis.addClass("ui-state-default ui-corner-top");this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom");if(j.selected===d){location.hash&&this.anchors.each(function(r,u){if(u.hash==location.hash){j.selected=r;return false}});if(typeof j.selected!=="number"&&j.cookie)j.selected=parseInt(f._cookie(),10);if(typeof j.selected!=="number"&&this.lis.filter(".ui-tabs-selected").length)j.selected= + this.lis.index(this.lis.filter(".ui-tabs-selected"));j.selected=j.selected||(this.lis.length?0:-1)}else if(j.selected===null)j.selected=-1;j.selected=j.selected>=0&&this.anchors[j.selected]||j.selected<0?j.selected:0;j.disabled=a.unique(j.disabled.concat(a.map(this.lis.filter(".ui-state-disabled"),function(r){return f.lis.index(r)}))).sort();a.inArray(j.selected,j.disabled)!=-1&&j.disabled.splice(a.inArray(j.selected,j.disabled),1);this.panels.addClass("ui-tabs-hide");this.lis.removeClass("ui-tabs-selected ui-state-active"); + if(j.selected>=0&&this.anchors.length){f.element.find(f._sanitizeSelector(f.anchors[j.selected].hash)).removeClass("ui-tabs-hide");this.lis.eq(j.selected).addClass("ui-tabs-selected ui-state-active");f.element.queue("tabs",function(){f._trigger("show",null,f._ui(f.anchors[j.selected],f.element.find(f._sanitizeSelector(f.anchors[j.selected].hash))[0]))});this.load(j.selected)}a(window).bind("unload",function(){f.lis.add(f.anchors).unbind(".tabs");f.lis=f.anchors=f.panels=null})}else j.selected=this.lis.index(this.lis.filter(".ui-tabs-selected")); + this.element[j.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible");j.cookie&&this._cookie(j.selected,j.cookie);i=0;for(var o;o=this.lis[i];i++)a(o)[a.inArray(i,j.disabled)!=-1&&!a(o).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled");j.cache===false&&this.anchors.removeData("cache.tabs");this.lis.add(this.anchors).unbind(".tabs");if(j.event!=="mouseover"){var n=function(r,u){u.is(":not(.ui-state-disabled)")&&u.addClass("ui-state-"+r)},k=function(r,u){u.removeClass("ui-state-"+ + r)};this.lis.bind("mouseover.tabs",function(){n("hover",a(this))});this.lis.bind("mouseout.tabs",function(){k("hover",a(this))});this.anchors.bind("focus.tabs",function(){n("focus",a(this).closest("li"))});this.anchors.bind("blur.tabs",function(){k("focus",a(this).closest("li"))})}var m,p;if(j.fx)if(a.isArray(j.fx)){m=j.fx[0];p=j.fx[1]}else m=p=j.fx;var q=p?function(r,u){a(r).closest("li").addClass("ui-tabs-selected ui-state-active");u.hide().removeClass("ui-tabs-hide").animate(p,p.duration||"normal", + function(){b(u,p);f._trigger("show",null,f._ui(r,u[0]))})}:function(r,u){a(r).closest("li").addClass("ui-tabs-selected ui-state-active");u.removeClass("ui-tabs-hide");f._trigger("show",null,f._ui(r,u[0]))},s=m?function(r,u){u.animate(m,m.duration||"normal",function(){f.lis.removeClass("ui-tabs-selected ui-state-active");u.addClass("ui-tabs-hide");b(u,m);f.element.dequeue("tabs")})}:function(r,u){f.lis.removeClass("ui-tabs-selected ui-state-active");u.addClass("ui-tabs-hide");f.element.dequeue("tabs")}; + this.anchors.bind(j.event+".tabs",function(){var r=this,u=a(r).closest("li"),v=f.panels.filter(":not(.ui-tabs-hide)"),w=f.element.find(f._sanitizeSelector(r.hash));if(u.hasClass("ui-tabs-selected")&&!j.collapsible||u.hasClass("ui-state-disabled")||u.hasClass("ui-state-processing")||f.panels.filter(":animated").length||f._trigger("select",null,f._ui(this,w[0]))===false){this.blur();return false}j.selected=f.anchors.index(this);f.abort();if(j.collapsible)if(u.hasClass("ui-tabs-selected")){j.selected= + -1;j.cookie&&f._cookie(j.selected,j.cookie);f.element.queue("tabs",function(){s(r,v)}).dequeue("tabs");this.blur();return false}else if(!v.length){j.cookie&&f._cookie(j.selected,j.cookie);f.element.queue("tabs",function(){q(r,w)});f.load(f.anchors.index(this));this.blur();return false}j.cookie&&f._cookie(j.selected,j.cookie);if(w.length){v.length&&f.element.queue("tabs",function(){s(r,v)});f.element.queue("tabs",function(){q(r,w)});f.load(f.anchors.index(this))}else throw"jQuery UI Tabs: Mismatching fragment identifier."; + a.browser.msie&&this.blur()});this.anchors.bind("click.tabs",function(){return false})},_getIndex:function(i){if(typeof i=="string")i=this.anchors.index(this.anchors.filter("[href$="+i+"]"));return i},destroy:function(){var i=this.options;this.abort();this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs");this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.anchors.each(function(){var b= + a.data(this,"href.tabs");if(b)this.href=b;var f=a(this).unbind(".tabs");a.each(["href","load","cache"],function(j,l){f.removeData(l+".tabs")})});this.lis.unbind(".tabs").add(this.panels).each(function(){a.data(this,"destroy.tabs")?a(this).remove():a(this).removeClass("ui-state-default ui-corner-top ui-tabs-selected ui-state-active ui-state-hover ui-state-focus ui-state-disabled ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide")});i.cookie&&this._cookie(null,i.cookie);return this},add:function(i, + b,f){if(f===d)f=this.anchors.length;var j=this,l=this.options;b=a(l.tabTemplate.replace(/#\{href\}/g,i).replace(/#\{label\}/g,b));i=!i.indexOf("#")?i.replace("#",""):this._tabId(a("a",b)[0]);b.addClass("ui-state-default ui-corner-top").data("destroy.tabs",true);var o=j.element.find("#"+i);o.length||(o=a(l.panelTemplate).attr("id",i).data("destroy.tabs",true));o.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide");if(f>=this.lis.length){b.appendTo(this.list);o.appendTo(this.list[0].parentNode)}else{b.insertBefore(this.lis[f]); + o.insertBefore(this.panels[f])}l.disabled=a.map(l.disabled,function(n){return n>=f?++n:n});this._tabify();if(this.anchors.length==1){l.selected=0;b.addClass("ui-tabs-selected ui-state-active");o.removeClass("ui-tabs-hide");this.element.queue("tabs",function(){j._trigger("show",null,j._ui(j.anchors[0],j.panels[0]))});this.load(0)}this._trigger("add",null,this._ui(this.anchors[f],this.panels[f]));return this},remove:function(i){i=this._getIndex(i);var b=this.options,f=this.lis.eq(i).remove(),j=this.panels.eq(i).remove(); + if(f.hasClass("ui-tabs-selected")&&this.anchors.length>1)this.select(i+(i+1=i?--l:l});this._tabify();this._trigger("remove",null,this._ui(f.find("a")[0],j[0]));return this},enable:function(i){i=this._getIndex(i);var b=this.options;if(a.inArray(i,b.disabled)!=-1){this.lis.eq(i).removeClass("ui-state-disabled");b.disabled=a.grep(b.disabled,function(f){return f!=i});this._trigger("enable",null, + this._ui(this.anchors[i],this.panels[i]));return this}},disable:function(i){i=this._getIndex(i);var b=this.options;if(i!=b.selected){this.lis.eq(i).addClass("ui-state-disabled");b.disabled.push(i);b.disabled.sort();this._trigger("disable",null,this._ui(this.anchors[i],this.panels[i]))}return this},select:function(i){i=this._getIndex(i);if(i==-1)if(this.options.collapsible&&this.options.selected!=-1)i=this.options.selected;else return this;this.anchors.eq(i).trigger(this.options.event+".tabs");return this}, + load:function(i){i=this._getIndex(i);var b=this,f=this.options,j=this.anchors.eq(i)[0],l=a.data(j,"load.tabs");this.abort();if(!l||this.element.queue("tabs").length!==0&&a.data(j,"cache.tabs"))this.element.dequeue("tabs");else{this.lis.eq(i).addClass("ui-state-processing");if(f.spinner){var o=a("span",j);o.data("label.tabs",o.html()).html(f.spinner)}this.xhr=a.ajax(a.extend({},f.ajaxOptions,{url:l,success:function(n,k){b.element.find(b._sanitizeSelector(j.hash)).html(n);b._cleanup();f.cache&&a.data(j, + "cache.tabs",true);b._trigger("load",null,b._ui(b.anchors[i],b.panels[i]));try{f.ajaxOptions.success(n,k)}catch(m){}},error:function(n,k){b._cleanup();b._trigger("load",null,b._ui(b.anchors[i],b.panels[i]));try{f.ajaxOptions.error(n,k,i,j)}catch(m){}}}));b.element.dequeue("tabs");return this}},abort:function(){this.element.queue([]);this.panels.stop(false,true);this.element.queue("tabs",this.element.queue("tabs").splice(-2,2));if(this.xhr){this.xhr.abort();delete this.xhr}this._cleanup();return this}, + url:function(i,b){this.anchors.eq(i).removeData("cache.tabs").data("load.tabs",b);return this},length:function(){return this.anchors.length}});a.extend(a.ui.tabs,{version:"1.8.16"});a.extend(a.ui.tabs.prototype,{rotation:null,rotate:function(i,b){var f=this,j=this.options,l=f._rotate||(f._rotate=function(o){clearTimeout(f.rotation);f.rotation=setTimeout(function(){var n=j.selected;f.select(++n=0===n})}function lt(e){var t=ct.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}function Lt(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function At(e,t){if(t.nodeType!==1||!v.hasData(e))return;var n,r,i,s=v._data(e),o=v._data(t,s),u=s.events;if(u){delete o.handle,o.events={};for(n in u)for(r=0,i=u[n].length;r").appendTo(i.body),n=t.css("display");t.remove();if(n==="none"||n===""){Pt=i.body.appendChild(Pt||v.extend(i.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!Ht||!Pt.createElement)Ht=(Pt.contentWindow||Pt.contentDocument).document,Ht.write(""),Ht.close();t=Ht.body.appendChild(Ht.createElement(e)),n=Dt(t,"display"),i.body.removeChild(Pt)}return Wt[e]=n,n}function fn(e,t,n,r){var i;if(v.isArray(t))v.each(t,function(t,i){n||sn.test(e)?r(e,i):fn(e+"["+(typeof i=="object"?t:"")+"]",i,n,r)});else if(!n&&v.type(t)==="object")for(i in t)fn(e+"["+i+"]",t[i],n,r);else r(e,t)}function Cn(e){return function(t,n){typeof t!="string"&&(n=t,t="*");var r,i,s,o=t.toLowerCase().split(y),u=0,a=o.length;if(v.isFunction(n))for(;u)[^>]*$|#([\w\-]*)$)/,E=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,S=/^[\],:{}\s]*$/,x=/(?:^|:|,)(?:\s*\[)+/g,T=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,N=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,C=/^-ms-/,k=/-([\da-z])/gi,L=function(e,t){return(t+"").toUpperCase()},A=function(){i.addEventListener?(i.removeEventListener("DOMContentLoaded",A,!1),v.ready()):i.readyState==="complete"&&(i.detachEvent("onreadystatechange",A),v.ready())},O={};v.fn=v.prototype={constructor:v,init:function(e,n,r){var s,o,u,a;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if(typeof e=="string"){e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3?s=[null,e,null]:s=w.exec(e);if(s&&(s[1]||!n)){if(s[1])return n=n instanceof v?n[0]:n,a=n&&n.nodeType?n.ownerDocument||n:i,e=v.parseHTML(s[1],a,!0),E.test(s[1])&&v.isPlainObject(n)&&this.attr.call(e,n,!0),v.merge(this,e);o=i.getElementById(s[2]);if(o&&o.parentNode){if(o.id!==s[2])return r.find(e);this.length=1,this[0]=o}return this.context=i,this.selector=e,this}return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e)}return v.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),v.makeArray(e,this))},selector:"",jquery:"1.8.3",length:0,size:function(){return this.length},toArray:function(){return l.call(this)},get:function(e){return e==null?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,n){var r=v.merge(this.constructor(),e);return r.prevObject=this,r.context=this.context,t==="find"?r.selector=this.selector+(this.selector?" ":"")+n:t&&(r.selector=this.selector+"."+t+"("+n+")"),r},each:function(e,t){return v.each(this,e,t)},ready:function(e){return v.ready.promise().done(e),this},eq:function(e){return e=+e,e===-1?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(l.apply(this,arguments),"slice",l.call(arguments).join(","))},map:function(e){return this.pushStack(v.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:[].sort,splice:[].splice},v.fn.init.prototype=v.fn,v.extend=v.fn.extend=function(){var e,n,r,i,s,o,u=arguments[0]||{},a=1,f=arguments.length,l=!1;typeof u=="boolean"&&(l=u,u=arguments[1]||{},a=2),typeof u!="object"&&!v.isFunction(u)&&(u={}),f===a&&(u=this,--a);for(;a0)return;r.resolveWith(i,[v]),v.fn.trigger&&v(i).trigger("ready").off("ready")},isFunction:function(e){return v.type(e)==="function"},isArray:Array.isArray||function(e){return v.type(e)==="array"},isWindow:function(e){return e!=null&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return e==null?String(e):O[h.call(e)]||"object"},isPlainObject:function(e){if(!e||v.type(e)!=="object"||e.nodeType||v.isWindow(e))return!1;try{if(e.constructor&&!p.call(e,"constructor")&&!p.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in e);return r===t||p.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var r;return!e||typeof e!="string"?null:(typeof t=="boolean"&&(n=t,t=0),t=t||i,(r=E.exec(e))?[t.createElement(r[1])]:(r=v.buildFragment([e],t,n?null:[]),v.merge([],(r.cacheable?v.clone(r.fragment):r.fragment).childNodes)))},parseJSON:function(t){if(!t||typeof t!="string")return null;t=v.trim(t);if(e.JSON&&e.JSON.parse)return e.JSON.parse(t);if(S.test(t.replace(T,"@").replace(N,"]").replace(x,"")))return(new Function("return "+t))();v.error("Invalid JSON: "+t)},parseXML:function(n){var r,i;if(!n||typeof n!="string")return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(s){r=t}return(!r||!r.documentElement||r.getElementsByTagName("parsererror").length)&&v.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&g.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(C,"ms-").replace(k,L)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,n,r){var i,s=0,o=e.length,u=o===t||v.isFunction(e);if(r){if(u){for(i in e)if(n.apply(e[i],r)===!1)break}else for(;s0&&e[0]&&e[a-1]||a===0||v.isArray(e));if(f)for(;u-1)a.splice(n,1),i&&(n<=o&&o--,n<=u&&u--)}),this},has:function(e){return v.inArray(e,a)>-1},empty:function(){return a=[],this},disable:function(){return a=f=n=t,this},disabled:function(){return!a},lock:function(){return f=t,n||c.disable(),this},locked:function(){return!f},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],a&&(!r||f)&&(i?f.push(t):l(t)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},v.extend({Deferred:function(e){var t=[["resolve","done",v.Callbacks("once memory"),"resolved"],["reject","fail",v.Callbacks("once memory"),"rejected"],["notify","progress",v.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return v.Deferred(function(n){v.each(t,function(t,r){var s=r[0],o=e[t];i[r[1]](v.isFunction(o)?function(){var e=o.apply(this,arguments);e&&v.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s+"With"](this===i?n:this,[e])}:n[s])}),e=null}).promise()},promise:function(e){return e!=null?v.extend(e,r):r}},i={};return r.pipe=r.then,v.each(t,function(e,s){var o=s[2],u=s[3];r[s[1]]=o.add,u&&o.add(function(){n=u},t[e^1][2].disable,t[2][2].lock),i[s[0]]=o.fire,i[s[0]+"With"]=o.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=l.call(arguments),r=n.length,i=r!==1||e&&v.isFunction(e.promise)?r:0,s=i===1?e:v.Deferred(),o=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?l.call(arguments):r,n===u?s.notifyWith(t,n):--i||s.resolveWith(t,n)}},u,a,f;if(r>1){u=new Array(r),a=new Array(r),f=new Array(r);for(;t
    a",n=p.getElementsByTagName("*"),r=p.getElementsByTagName("a")[0];if(!n||!r||!n.length)return{};s=i.createElement("select"),o=s.appendChild(i.createElement("option")),u=p.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:r.getAttribute("href")==="/a",opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:u.value==="on",optSelected:o.selected,getSetAttribute:p.className!=="t",enctype:!!i.createElement("form").enctype,html5Clone:i.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",boxModel:i.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},u.checked=!0,t.noCloneChecked=u.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!o.disabled;try{delete p.test}catch(d){t.deleteExpando=!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",h=function(){t.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick"),p.detachEvent("onclick",h)),u=i.createElement("input"),u.value="t",u.setAttribute("type","radio"),t.radioValue=u.value==="t",u.setAttribute("checked","checked"),u.setAttribute("name","t"),p.appendChild(u),a=i.createDocumentFragment(),a.appendChild(p.lastChild),t.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=u.checked,a.removeChild(u),a.appendChild(p);if(p.attachEvent)for(l in{submit:!0,change:!0,focusin:!0})f="on"+l,c=f in p,c||(p.setAttribute(f,"return;"),c=typeof p[f]=="function"),t[l+"Bubbles"]=c;return v(function(){var n,r,s,o,u="padding:0;margin:0;border:0;display:block;overflow:hidden;",a=i.getElementsByTagName("body")[0];if(!a)return;n=i.createElement("div"),n.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",a.insertBefore(n,a.firstChild),r=i.createElement("div"),n.appendChild(r),r.innerHTML="
    t
    ",s=r.getElementsByTagName("td"),s[0].style.cssText="padding:0;margin:0;border:0;display:none",c=s[0].offsetHeight===0,s[0].style.display="",s[1].style.display="none",t.reliableHiddenOffsets=c&&s[0].offsetHeight===0,r.innerHTML="",r.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=r.offsetWidth===4,t.doesNotIncludeMarginInBodyOffset=a.offsetTop!==1,e.getComputedStyle&&(t.pixelPosition=(e.getComputedStyle(r,null)||{}).top!=="1%",t.boxSizingReliable=(e.getComputedStyle(r,null)||{width:"4px"}).width==="4px",o=i.createElement("div"),o.style.cssText=r.style.cssText=u,o.style.marginRight=o.style.width="0",r.style.width="1px",r.appendChild(o),t.reliableMarginRight=!parseFloat((e.getComputedStyle(o,null)||{}).marginRight)),typeof r.style.zoom!="undefined"&&(r.innerHTML="",r.style.cssText=u+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=r.offsetWidth===3,r.style.display="block",r.style.overflow="visible",r.innerHTML="
    ",r.firstChild.style.width="5px",t.shrinkWrapBlocks=r.offsetWidth!==3,n.style.zoom=1),a.removeChild(n),n=r=s=o=null}),a.removeChild(p),n=r=s=o=u=a=p=null,t}();var D=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;v.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(v.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?v.cache[e[v.expando]]:e[v.expando],!!e&&!B(e)},data:function(e,n,r,i){if(!v.acceptData(e))return;var s,o,u=v.expando,a=typeof n=="string",f=e.nodeType,l=f?v.cache:e,c=f?e[u]:e[u]&&u;if((!c||!l[c]||!i&&!l[c].data)&&a&&r===t)return;c||(f?e[u]=c=v.deletedIds.pop()||v.guid++:c=u),l[c]||(l[c]={},f||(l[c].toJSON=v.noop));if(typeof n=="object"||typeof n=="function")i?l[c]=v.extend(l[c],n):l[c].data=v.extend(l[c].data,n);return s=l[c],i||(s.data||(s.data={}),s=s.data),r!==t&&(s[v.camelCase(n)]=r),a?(o=s[n],o==null&&(o=s[v.camelCase(n)])):o=s,o},removeData:function(e,t,n){if(!v.acceptData(e))return;var r,i,s,o=e.nodeType,u=o?v.cache:e,a=o?e[v.expando]:v.expando;if(!u[a])return;if(t){r=n?u[a]:u[a].data;if(r){v.isArray(t)||(t in r?t=[t]:(t=v.camelCase(t),t in r?t=[t]:t=t.split(" ")));for(i=0,s=t.length;i1,null,!1))},removeData:function(e){return this.each(function(){v.removeData(this,e)})}}),v.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=v._data(e,t),n&&(!r||v.isArray(n)?r=v._data(e,t,v.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=v.queue(e,t),r=n.length,i=n.shift(),s=v._queueHooks(e,t),o=function(){v.dequeue(e,t)};i==="inprogress"&&(i=n.shift(),r--),i&&(t==="fx"&&n.unshift("inprogress"),delete s.stop,i.call(e,o,s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return v._data(e,n)||v._data(e,n,{empty:v.Callbacks("once memory").add(function(){v.removeData(e,t+"queue",!0),v.removeData(e,n,!0)})})}}),v.fn.extend({queue:function(e,n){var r=2;return typeof e!="string"&&(n=e,e="fx",r--),arguments.length1)},removeAttr:function(e){return this.each(function(){v.removeAttr(this,e)})},prop:function(e,t){return v.access(this,v.prop,e,t,arguments.length>1)},removeProp:function(e){return e=v.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,s,o,u;if(v.isFunction(e))return this.each(function(t){v(this).addClass(e.call(this,t,this.className))});if(e&&typeof e=="string"){t=e.split(y);for(n=0,r=this.length;n=0)r=r.replace(" "+n[s]+" "," ");i.className=e?v.trim(r):""}}}return this},toggleClass:function(e,t){var n=typeof e,r=typeof t=="boolean";return v.isFunction(e)?this.each(function(n){v(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if(n==="string"){var i,s=0,o=v(this),u=t,a=e.split(y);while(i=a[s++])u=r?u:!o.hasClass(i),o[u?"addClass":"removeClass"](i)}else if(n==="undefined"||n==="boolean")this.className&&v._data(this,"__className__",this.className),this.className=this.className||e===!1?"":v._data(this,"__className__")||""})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;n=0)return!0;return!1},val:function(e){var n,r,i,s=this[0];if(!arguments.length){if(s)return n=v.valHooks[s.type]||v.valHooks[s.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(s,"value"))!==t?r:(r=s.value,typeof r=="string"?r.replace(R,""):r==null?"":r);return}return i=v.isFunction(e),this.each(function(r){var s,o=v(this);if(this.nodeType!==1)return;i?s=e.call(this,r,o.val()):s=e,s==null?s="":typeof s=="number"?s+="":v.isArray(s)&&(s=v.map(s,function(e){return e==null?"":e+""})),n=v.valHooks[this.type]||v.valHooks[this.nodeName.toLowerCase()];if(!n||!("set"in n)||n.set(this,s,"value")===t)this.value=s})}}),v.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,s=e.type==="select-one"||i<0,o=s?null:[],u=s?i+1:r.length,a=i<0?u:s?i:0;for(;a=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{},attr:function(e,n,r,i){var s,o,u,a=e.nodeType;if(!e||a===3||a===8||a===2)return;if(i&&v.isFunction(v.fn[n]))return v(e)[n](r);if(typeof e.getAttribute=="undefined")return v.prop(e,n,r);u=a!==1||!v.isXMLDoc(e),u&&(n=n.toLowerCase(),o=v.attrHooks[n]||(X.test(n)?F:j));if(r!==t){if(r===null){v.removeAttr(e,n);return}return o&&"set"in o&&u&&(s=o.set(e,r,n))!==t?s:(e.setAttribute(n,r+""),r)}return o&&"get"in o&&u&&(s=o.get(e,n))!==null?s:(s=e.getAttribute(n),s===null?t:s)},removeAttr:function(e,t){var n,r,i,s,o=0;if(t&&e.nodeType===1){r=t.split(y);for(;o=0}})});var $=/^(?:textarea|input|select)$/i,J=/^([^\.]*|)(?:\.(.+)|)$/,K=/(?:^|\s)hover(\.\S+|)\b/,Q=/^key/,G=/^(?:mouse|contextmenu)|click/,Y=/^(?:focusinfocus|focusoutblur)$/,Z=function(e){return v.event.special.hover?e:e.replace(K,"mouseenter$1 mouseleave$1")};v.event={add:function(e,n,r,i,s){var o,u,a,f,l,c,h,p,d,m,g;if(e.nodeType===3||e.nodeType===8||!n||!r||!(o=v._data(e)))return;r.handler&&(d=r,r=d.handler,s=d.selector),r.guid||(r.guid=v.guid++),a=o.events,a||(o.events=a={}),u=o.handle,u||(o.handle=u=function(e){return typeof v=="undefined"||!!e&&v.event.triggered===e.type?t:v.event.dispatch.apply(u.elem,arguments)},u.elem=e),n=v.trim(Z(n)).split(" ");for(f=0;f=0&&(y=y.slice(0,-1),a=!0),y.indexOf(".")>=0&&(b=y.split("."),y=b.shift(),b.sort());if((!s||v.event.customEvent[y])&&!v.event.global[y])return;n=typeof n=="object"?n[v.expando]?n:new v.Event(y,n):new v.Event(y),n.type=y,n.isTrigger=!0,n.exclusive=a,n.namespace=b.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,h=y.indexOf(":")<0?"on"+y:"";if(!s){u=v.cache;for(f in u)u[f].events&&u[f].events[y]&&v.event.trigger(n,r,u[f].handle.elem,!0);return}n.result=t,n.target||(n.target=s),r=r!=null?v.makeArray(r):[],r.unshift(n),p=v.event.special[y]||{};if(p.trigger&&p.trigger.apply(s,r)===!1)return;m=[[s,p.bindType||y]];if(!o&&!p.noBubble&&!v.isWindow(s)){g=p.delegateType||y,l=Y.test(g+y)?s:s.parentNode;for(c=s;l;l=l.parentNode)m.push([l,g]),c=l;c===(s.ownerDocument||i)&&m.push([c.defaultView||c.parentWindow||e,g])}for(f=0;f=0:v.find(h,this,null,[s]).length),u[h]&&f.push(c);f.length&&w.push({elem:s,matches:f})}d.length>m&&w.push({elem:this,matches:d.slice(m)});for(r=0;r0?this.on(t,null,e,n):this.trigger(t)},Q.test(t)&&(v.event.fixHooks[t]=v.event.keyHooks),G.test(t)&&(v.event.fixHooks[t]=v.event.mouseHooks)}),function(e,t){function nt(e,t,n,r){n=n||[],t=t||g;var i,s,a,f,l=t.nodeType;if(!e||typeof e!="string")return n;if(l!==1&&l!==9)return[];a=o(t);if(!a&&!r)if(i=R.exec(e))if(f=i[1]){if(l===9){s=t.getElementById(f);if(!s||!s.parentNode)return n;if(s.id===f)return n.push(s),n}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(f))&&u(t,s)&&s.id===f)return n.push(s),n}else{if(i[2])return S.apply(n,x.call(t.getElementsByTagName(e),0)),n;if((f=i[3])&&Z&&t.getElementsByClassName)return S.apply(n,x.call(t.getElementsByClassName(f),0)),n}return vt(e.replace(j,"$1"),t,n,r,a)}function rt(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function it(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function st(e){return N(function(t){return t=+t,N(function(n,r){var i,s=e([],n.length,t),o=s.length;while(o--)n[i=s[o]]&&(n[i]=!(r[i]=n[i]))})})}function ot(e,t,n){if(e===t)return n;var r=e.nextSibling;while(r){if(r===t)return-1;r=r.nextSibling}return 1}function ut(e,t){var n,r,s,o,u,a,f,l=L[d][e+" "];if(l)return t?0:l.slice(0);u=e,a=[],f=i.preFilter;while(u){if(!n||(r=F.exec(u)))r&&(u=u.slice(r[0].length)||u),a.push(s=[]);n=!1;if(r=I.exec(u))s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=r[0].replace(j," ");for(o in i.filter)(r=J[o].exec(u))&&(!f[o]||(r=f[o](r)))&&(s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=o,n.matches=r);if(!n)break}return t?u.length:u?nt.error(e):L(e,a).slice(0)}function at(e,t,r){var i=t.dir,s=r&&t.dir==="parentNode",o=w++;return t.first?function(t,n,r){while(t=t[i])if(s||t.nodeType===1)return e(t,n,r)}:function(t,r,u){if(!u){var a,f=b+" "+o+" ",l=f+n;while(t=t[i])if(s||t.nodeType===1){if((a=t[d])===l)return t.sizset;if(typeof a=="string"&&a.indexOf(f)===0){if(t.sizset)return t}else{t[d]=l;if(e(t,r,u))return t.sizset=!0,t;t.sizset=!1}}}else while(t=t[i])if(s||t.nodeType===1)if(e(t,r,u))return t}}function ft(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function lt(e,t,n,r,i){var s,o=[],u=0,a=e.length,f=t!=null;for(;u-1&&(s[f]=!(o[f]=c))}}else g=lt(g===o?g.splice(d,g.length):g),i?i(null,o,g,a):S.apply(o,g)})}function ht(e){var t,n,r,s=e.length,o=i.relative[e[0].type],u=o||i.relative[" "],a=o?1:0,f=at(function(e){return e===t},u,!0),l=at(function(e){return T.call(t,e)>-1},u,!0),h=[function(e,n,r){return!o&&(r||n!==c)||((t=n).nodeType?f(e,n,r):l(e,n,r))}];for(;a1&&ft(h),a>1&&e.slice(0,a-1).join("").replace(j,"$1"),n,a0,s=e.length>0,o=function(u,a,f,l,h){var p,d,v,m=[],y=0,w="0",x=u&&[],T=h!=null,N=c,C=u||s&&i.find.TAG("*",h&&a.parentNode||a),k=b+=N==null?1:Math.E;T&&(c=a!==g&&a,n=o.el);for(;(p=C[w])!=null;w++){if(s&&p){for(d=0;v=e[d];d++)if(v(p,a,f)){l.push(p);break}T&&(b=k,n=++o.el)}r&&((p=!v&&p)&&y--,u&&x.push(p))}y+=w;if(r&&w!==y){for(d=0;v=t[d];d++)v(x,m,a,f);if(u){if(y>0)while(w--)!x[w]&&!m[w]&&(m[w]=E.call(l));m=lt(m)}S.apply(l,m),T&&!u&&m.length>0&&y+t.length>1&&nt.uniqueSort(l)}return T&&(b=k,c=N),x};return o.el=0,r?N(o):o}function dt(e,t,n){var r=0,i=t.length;for(;r2&&(f=u[0]).type==="ID"&&t.nodeType===9&&!s&&i.relative[u[1].type]){t=i.find.ID(f.matches[0].replace($,""),t,s)[0];if(!t)return n;e=e.slice(u.shift().length)}for(o=J.POS.test(e)?-1:u.length-1;o>=0;o--){f=u[o];if(i.relative[l=f.type])break;if(c=i.find[l])if(r=c(f.matches[0].replace($,""),z.test(u[0].type)&&t.parentNode||t,s)){u.splice(o,1),e=r.length&&u.join("");if(!e)return S.apply(n,x.call(r,0)),n;break}}}return a(e,h)(r,t,s,n,z.test(e)),n}function mt(){}var n,r,i,s,o,u,a,f,l,c,h=!0,p="undefined",d=("sizcache"+Math.random()).replace(".",""),m=String,g=e.document,y=g.documentElement,b=0,w=0,E=[].pop,S=[].push,x=[].slice,T=[].indexOf||function(e){var t=0,n=this.length;for(;ti.cacheLength&&delete e[t.shift()],e[n+" "]=r},e)},k=C(),L=C(),A=C(),O="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",_=M.replace("w","w#"),D="([*^$|!~]?=)",P="\\["+O+"*("+M+")"+O+"*(?:"+D+O+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+_+")|)|)"+O+"*\\]",H=":("+M+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+P+")|[^:]|\\\\.)*|.*))\\)|)",B=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+O+"*((?:-\\d)?\\d*)"+O+"*\\)|)(?=[^-]|$)",j=new RegExp("^"+O+"+|((?:^|[^\\\\])(?:\\\\.)*)"+O+"+$","g"),F=new RegExp("^"+O+"*,"+O+"*"),I=new RegExp("^"+O+"*([\\x20\\t\\r\\n\\f>+~])"+O+"*"),q=new RegExp(H),R=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,U=/^:not/,z=/[\x20\t\r\n\f]*[+~]/,W=/:not\($/,X=/h\d/i,V=/input|select|textarea|button/i,$=/\\(?!\\)/g,J={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),NAME:new RegExp("^\\[name=['\"]?("+M+")['\"]?\\]"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+H),POS:new RegExp(B,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+O+"*(even|odd|(([+-]|)(\\d*)n|)"+O+"*(?:([+-]|)"+O+"*(\\d+)|))"+O+"*\\)|)","i"),needsContext:new RegExp("^"+O+"*[>+~]|"+B,"i")},K=function(e){var t=g.createElement("div");try{return e(t)}catch(n){return!1}finally{t=null}},Q=K(function(e){return e.appendChild(g.createComment("")),!e.getElementsByTagName("*").length}),G=K(function(e){return e.innerHTML="",e.firstChild&&typeof e.firstChild.getAttribute!==p&&e.firstChild.getAttribute("href")==="#"}),Y=K(function(e){e.innerHTML="";var t=typeof e.lastChild.getAttribute("multiple");return t!=="boolean"&&t!=="string"}),Z=K(function(e){return e.innerHTML="",!e.getElementsByClassName||!e.getElementsByClassName("e").length?!1:(e.lastChild.className="e",e.getElementsByClassName("e").length===2)}),et=K(function(e){e.id=d+0,e.innerHTML="
    ",y.insertBefore(e,y.firstChild);var t=g.getElementsByName&&g.getElementsByName(d).length===2+g.getElementsByName(d+0).length;return r=!g.getElementById(d),y.removeChild(e),t});try{x.call(y.childNodes,0)[0].nodeType}catch(tt){x=function(e){var t,n=[];for(;t=this[e];e++)n.push(t);return n}}nt.matches=function(e,t){return nt(e,null,null,t)},nt.matchesSelector=function(e,t){return nt(t,null,null,[e]).length>0},s=nt.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(i===1||i===9||i===11){if(typeof e.textContent=="string")return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=s(e)}else if(i===3||i===4)return e.nodeValue}else for(;t=e[r];r++)n+=s(t);return n},o=nt.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":!1},u=nt.contains=y.contains?function(e,t){var n=e.nodeType===9?e.documentElement:e,r=t&&t.parentNode;return e===r||!!(r&&r.nodeType===1&&n.contains&&n.contains(r))}:y.compareDocumentPosition?function(e,t){return t&&!!(e.compareDocumentPosition(t)&16)}:function(e,t){while(t=t.parentNode)if(t===e)return!0;return!1},nt.attr=function(e,t){var n,r=o(e);return r||(t=t.toLowerCase()),(n=i.attrHandle[t])?n(e):r||Y?e.getAttribute(t):(n=e.getAttributeNode(t),n?typeof e[t]=="boolean"?e[t]?t:null:n.specified?n.value:null:null)},i=nt.selectors={cacheLength:50,createPseudo:N,match:J,attrHandle:G?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},find:{ID:r?function(e,t,n){if(typeof t.getElementById!==p&&!n){var r=t.getElementById(e);return r&&r.parentNode?[r]:[]}}:function(e,n,r){if(typeof n.getElementById!==p&&!r){var i=n.getElementById(e);return i?i.id===e||typeof i.getAttributeNode!==p&&i.getAttributeNode("id").value===e?[i]:t:[]}},TAG:Q?function(e,t){if(typeof t.getElementsByTagName!==p)return t.getElementsByTagName(e)}:function(e,t){var n=t.getElementsByTagName(e);if(e==="*"){var r,i=[],s=0;for(;r=n[s];s++)r.nodeType===1&&i.push(r);return i}return n},NAME:et&&function(e,t){if(typeof t.getElementsByName!==p)return t.getElementsByName(name)},CLASS:Z&&function(e,t,n){if(typeof t.getElementsByClassName!==p&&!n)return t.getElementsByClassName(e)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace($,""),e[3]=(e[4]||e[5]||"").replace($,""),e[2]==="~="&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),e[1]==="nth"?(e[2]||nt.error(e[0]),e[3]=+(e[3]?e[4]+(e[5]||1):2*(e[2]==="even"||e[2]==="odd")),e[4]=+(e[6]+e[7]||e[2]==="odd")):e[2]&&nt.error(e[0]),e},PSEUDO:function(e){var t,n;if(J.CHILD.test(e[0]))return null;if(e[3])e[2]=e[3];else if(t=e[4])q.test(t)&&(n=ut(t,!0))&&(n=t.indexOf(")",t.length-n)-t.length)&&(t=t.slice(0,n),e[0]=e[0].slice(0,n)),e[2]=t;return e.slice(0,3)}},filter:{ID:r?function(e){return e=e.replace($,""),function(t){return t.getAttribute("id")===e}}:function(e){return e=e.replace($,""),function(t){var n=typeof t.getAttributeNode!==p&&t.getAttributeNode("id");return n&&n.value===e}},TAG:function(e){return e==="*"?function(){return!0}:(e=e.replace($,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=k[d][e+" "];return t||(t=new RegExp("(^|"+O+")"+e+"("+O+"|$)"))&&k(e,function(e){return t.test(e.className||typeof e.getAttribute!==p&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r,i){var s=nt.attr(r,e);return s==null?t==="!=":t?(s+="",t==="="?s===n:t==="!="?s!==n:t==="^="?n&&s.indexOf(n)===0:t==="*="?n&&s.indexOf(n)>-1:t==="$="?n&&s.substr(s.length-n.length)===n:t==="~="?(" "+s+" ").indexOf(n)>-1:t==="|="?s===n||s.substr(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r){return e==="nth"?function(e){var t,i,s=e.parentNode;if(n===1&&r===0)return!0;if(s){i=0;for(t=s.firstChild;t;t=t.nextSibling)if(t.nodeType===1){i++;if(e===t)break}}return i-=r,i===n||i%n===0&&i/n>=0}:function(t){var n=t;switch(e){case"only":case"first":while(n=n.previousSibling)if(n.nodeType===1)return!1;if(e==="first")return!0;n=t;case"last":while(n=n.nextSibling)if(n.nodeType===1)return!1;return!0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||nt.error("unsupported pseudo: "+e);return r[d]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?N(function(e,n){var i,s=r(e,t),o=s.length;while(o--)i=T.call(e,s[o]),e[i]=!(n[i]=s[o])}):function(e){return r(e,0,n)}):r}},pseudos:{not:N(function(e){var t=[],n=[],r=a(e.replace(j,"$1"));return r[d]?N(function(e,t,n,i){var s,o=r(e,null,i,[]),u=e.length;while(u--)if(s=o[u])e[u]=!(t[u]=s)}):function(e,i,s){return t[0]=e,r(t,null,s,n),!n.pop()}}),has:N(function(e){return function(t){return nt(e,t).length>0}}),contains:N(function(e){return function(t){return(t.textContent||t.innerText||s(t)).indexOf(e)>-1}}),enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&!!e.checked||t==="option"&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},parent:function(e){return!i.pseudos.empty(e)},empty:function(e){var t;e=e.firstChild;while(e){if(e.nodeName>"@"||(t=e.nodeType)===3||t===4)return!1;e=e.nextSibling}return!0},header:function(e){return X.test(e.nodeName)},text:function(e){var t,n;return e.nodeName.toLowerCase()==="input"&&(t=e.type)==="text"&&((n=e.getAttribute("type"))==null||n.toLowerCase()===t)},radio:rt("radio"),checkbox:rt("checkbox"),file:rt("file"),password:rt("password"),image:rt("image"),submit:it("submit"),reset:it("reset"),button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},input:function(e){return V.test(e.nodeName)},focus:function(e){var t=e.ownerDocument;return e===t.activeElement&&(!t.hasFocus||t.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},active:function(e){return e===e.ownerDocument.activeElement},first:st(function(){return[0]}),last:st(function(e,t){return[t-1]}),eq:st(function(e,t,n){return[n<0?n+t:n]}),even:st(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:st(function(e,t,n){for(var r=n<0?n+t:n;++r",e.querySelectorAll("[selected]").length||i.push("\\["+O+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||i.push(":checked")}),K(function(e){e.innerHTML="

    ",e.querySelectorAll("[test^='']").length&&i.push("[*^$]="+O+"*(?:\"\"|'')"),e.innerHTML="",e.querySelectorAll(":enabled").length||i.push(":enabled",":disabled")}),i=new RegExp(i.join("|")),vt=function(e,r,s,o,u){if(!o&&!u&&!i.test(e)){var a,f,l=!0,c=d,h=r,p=r.nodeType===9&&e;if(r.nodeType===1&&r.nodeName.toLowerCase()!=="object"){a=ut(e),(l=r.getAttribute("id"))?c=l.replace(n,"\\$&"):r.setAttribute("id",c),c="[id='"+c+"'] ",f=a.length;while(f--)a[f]=c+a[f].join("");h=z.test(e)&&r.parentNode||r,p=a.join(",")}if(p)try{return S.apply(s,x.call(h.querySelectorAll(p),0)),s}catch(v){}finally{l||r.removeAttribute("id")}}return t(e,r,s,o,u)},u&&(K(function(t){e=u.call(t,"div");try{u.call(t,"[test!='']:sizzle"),s.push("!=",H)}catch(n){}}),s=new RegExp(s.join("|")),nt.matchesSelector=function(t,n){n=n.replace(r,"='$1']");if(!o(t)&&!s.test(n)&&!i.test(n))try{var a=u.call(t,n);if(a||e||t.document&&t.document.nodeType!==11)return a}catch(f){}return nt(n,null,null,[t]).length>0})}(),i.pseudos.nth=i.pseudos.eq,i.filters=mt.prototype=i.pseudos,i.setFilters=new mt,nt.attr=v.attr,v.find=nt,v.expr=nt.selectors,v.expr[":"]=v.expr.pseudos,v.unique=nt.uniqueSort,v.text=nt.getText,v.isXMLDoc=nt.isXML,v.contains=nt.contains}(e);var nt=/Until$/,rt=/^(?:parents|prev(?:Until|All))/,it=/^.[^:#\[\.,]*$/,st=v.expr.match.needsContext,ot={children:!0,contents:!0,next:!0,prev:!0};v.fn.extend({find:function(e){var t,n,r,i,s,o,u=this;if(typeof e!="string")return v(e).filter(function(){for(t=0,n=u.length;t0)for(i=r;i=0:v.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r=0,i=this.length,s=[],o=st.test(e)||typeof e!="string"?v(e,t||this.context):0;for(;r-1:v.find.matchesSelector(n,e)){s.push(n);break}n=n.parentNode}}return s=s.length>1?v.unique(s):s,this.pushStack(s,"closest",e)},index:function(e){return e?typeof e=="string"?v.inArray(this[0],v(e)):v.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var n=typeof e=="string"?v(e,t):v.makeArray(e&&e.nodeType?[e]:e),r=v.merge(this.get(),n);return this.pushStack(ut(n[0])||ut(r[0])?r:v.unique(r))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}),v.fn.andSelf=v.fn.addBack,v.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return v.dir(e,"parentNode")},parentsUntil:function(e,t,n){return v.dir(e,"parentNode",n)},next:function(e){return at(e,"nextSibling")},prev:function(e){return at(e,"previousSibling")},nextAll:function(e){return v.dir(e,"nextSibling")},prevAll:function(e){return v.dir(e,"previousSibling")},nextUntil:function(e,t,n){return v.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return v.dir(e,"previousSibling",n)},siblings:function(e){return v.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return v.sibling(e.firstChild)},contents:function(e){return v.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:v.merge([],e.childNodes)}},function(e,t){v.fn[e]=function(n,r){var i=v.map(this,t,n);return nt.test(e)||(r=n),r&&typeof r=="string"&&(i=v.filter(r,i)),i=this.length>1&&!ot[e]?v.unique(i):i,this.length>1&&rt.test(e)&&(i=i.reverse()),this.pushStack(i,e,l.call(arguments).join(","))}}),v.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),t.length===1?v.find.matchesSelector(t[0],e)?[t[0]]:[]:v.find.matches(e,t)},dir:function(e,n,r){var i=[],s=e[n];while(s&&s.nodeType!==9&&(r===t||s.nodeType!==1||!v(s).is(r)))s.nodeType===1&&i.push(s),s=s[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}});var ct="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ht=/ jQuery\d+="(?:null|\d+)"/g,pt=/^\s+/,dt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,vt=/<([\w:]+)/,mt=/]","i"),Et=/^(?:checkbox|radio)$/,St=/checked\s*(?:[^=]|=\s*.checked.)/i,xt=/\/(java|ecma)script/i,Tt=/^\s*\s*$/g,Nt={option:[1,""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_default:[0,"",""]},Ct=lt(i),kt=Ct.appendChild(i.createElement("div"));Nt.optgroup=Nt.option,Nt.tbody=Nt.tfoot=Nt.colgroup=Nt.caption=Nt.thead,Nt.th=Nt.td,v.support.htmlSerialize||(Nt._default=[1,"X
    ","
    "]),v.fn.extend({text:function(e){return v.access(this,function(e){return e===t?v.text(this):this.empty().append((this[0]&&this[0].ownerDocument||i).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(v.isFunction(e))return this.each(function(t){v(this).wrapAll(e.call(this,t))});if(this[0]){var t=v(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&e.firstChild.nodeType===1)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return v.isFunction(e)?this.each(function(t){v(this).wrapInner(e.call(this,t))}):this.each(function(){var t=v(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=v.isFunction(e);return this.each(function(n){v(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){v.nodeName(this,"body")||v(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(e,this.firstChild)})},before:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(e,this),"before",this.selector)}},after:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(this,e),"after",this.selector)}},remove:function(e,t){var n,r=0;for(;(n=this[r])!=null;r++)if(!e||v.filter(e,[n]).length)!t&&n.nodeType===1&&(v.cleanData(n.getElementsByTagName("*")),v.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n);return this},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){e.nodeType===1&&v.cleanData(e.getElementsByTagName("*"));while(e.firstChild)e.removeChild(e.firstChild)}return this},clone:function(e,t){return e=e==null?!1:e,t=t==null?e:t,this.map(function(){return v.clone(this,e,t)})},html:function(e){return v.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return n.nodeType===1?n.innerHTML.replace(ht,""):t;if(typeof e=="string"&&!yt.test(e)&&(v.support.htmlSerialize||!wt.test(e))&&(v.support.leadingWhitespace||!pt.test(e))&&!Nt[(vt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(dt,"<$1>");try{for(;r1&&typeof f=="string"&&St.test(f))return this.each(function(){v(this).domManip(e,n,r)});if(v.isFunction(f))return this.each(function(i){var s=v(this);e[0]=f.call(this,i,n?s.html():t),s.domManip(e,n,r)});if(this[0]){i=v.buildFragment(e,this,l),o=i.fragment,s=o.firstChild,o.childNodes.length===1&&(o=s);if(s){n=n&&v.nodeName(s,"tr");for(u=i.cacheable||c-1;a0?this.clone(!0):this).get(),v(o[i])[t](r),s=s.concat(r);return this.pushStack(s,e,o.selector)}}),v.extend({clone:function(e,t,n){var r,i,s,o;v.support.html5Clone||v.isXMLDoc(e)||!wt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(kt.innerHTML=e.outerHTML,kt.removeChild(o=kt.firstChild));if((!v.support.noCloneEvent||!v.support.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!v.isXMLDoc(e)){Ot(e,o),r=Mt(e),i=Mt(o);for(s=0;r[s];++s)i[s]&&Ot(r[s],i[s])}if(t){At(e,o);if(n){r=Mt(e),i=Mt(o);for(s=0;r[s];++s)At(r[s],i[s])}}return r=i=null,o},clean:function(e,t,n,r){var s,o,u,a,f,l,c,h,p,d,m,g,y=t===i&&Ct,b=[];if(!t||typeof t.createDocumentFragment=="undefined")t=i;for(s=0;(u=e[s])!=null;s++){typeof u=="number"&&(u+="");if(!u)continue;if(typeof u=="string")if(!gt.test(u))u=t.createTextNode(u);else{y=y||lt(t),c=t.createElement("div"),y.appendChild(c),u=u.replace(dt,"<$1>"),a=(vt.exec(u)||["",""])[1].toLowerCase(),f=Nt[a]||Nt._default,l=f[0],c.innerHTML=f[1]+u+f[2];while(l--)c=c.lastChild;if(!v.support.tbody){h=mt.test(u),p=a==="table"&&!h?c.firstChild&&c.firstChild.childNodes:f[1]===""&&!h?c.childNodes:[];for(o=p.length-1;o>=0;--o)v.nodeName(p[o],"tbody")&&!p[o].childNodes.length&&p[o].parentNode.removeChild(p[o])}!v.support.leadingWhitespace&&pt.test(u)&&c.insertBefore(t.createTextNode(pt.exec(u)[0]),c.firstChild),u=c.childNodes,c.parentNode.removeChild(c)}u.nodeType?b.push(u):v.merge(b,u)}c&&(u=c=y=null);if(!v.support.appendChecked)for(s=0;(u=b[s])!=null;s++)v.nodeName(u,"input")?_t(u):typeof u.getElementsByTagName!="undefined"&&v.grep(u.getElementsByTagName("input"),_t);if(n){m=function(e){if(!e.type||xt.test(e.type))return r?r.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e)};for(s=0;(u=b[s])!=null;s++)if(!v.nodeName(u,"script")||!m(u))n.appendChild(u),typeof u.getElementsByTagName!="undefined"&&(g=v.grep(v.merge([],u.getElementsByTagName("script")),m),b.splice.apply(b,[s+1,0].concat(g)),s+=g.length)}return b},cleanData:function(e,t){var n,r,i,s,o=0,u=v.expando,a=v.cache,f=v.support.deleteExpando,l=v.event.special;for(;(i=e[o])!=null;o++)if(t||v.acceptData(i)){r=i[u],n=r&&a[r];if(n){if(n.events)for(s in n.events)l[s]?v.event.remove(i,s):v.removeEvent(i,s,n.handle);a[r]&&(delete a[r],f?delete i[u]:i.removeAttribute?i.removeAttribute(u):i[u]=null,v.deletedIds.push(r))}}}}),function(){var e,t;v.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e=v.uaMatch(o.userAgent),t={},e.browser&&(t[e.browser]=!0,t.version=e.version),t.chrome?t.webkit=!0:t.webkit&&(t.safari=!0),v.browser=t,v.sub=function(){function e(t,n){return new e.fn.init(t,n)}v.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function(r,i){return i&&i instanceof v&&!(i instanceof e)&&(i=e(i)),v.fn.init.call(this,r,i,t)},e.fn.init.prototype=e.fn;var t=e(i);return e}}();var Dt,Pt,Ht,Bt=/alpha\([^)]*\)/i,jt=/opacity=([^)]*)/,Ft=/^(top|right|bottom|left)$/,It=/^(none|table(?!-c[ea]).+)/,qt=/^margin/,Rt=new RegExp("^("+m+")(.*)$","i"),Ut=new RegExp("^("+m+")(?!px)[a-z%]+$","i"),zt=new RegExp("^([-+])=("+m+")","i"),Wt={BODY:"block"},Xt={position:"absolute",visibility:"hidden",display:"block"},Vt={letterSpacing:0,fontWeight:400},$t=["Top","Right","Bottom","Left"],Jt=["Webkit","O","Moz","ms"],Kt=v.fn.toggle;v.fn.extend({css:function(e,n){return v.access(this,function(e,n,r){return r!==t?v.style(e,n,r):v.css(e,n)},e,n,arguments.length>1)},show:function(){return Yt(this,!0)},hide:function(){return Yt(this)},toggle:function(e,t){var n=typeof e=="boolean";return v.isFunction(e)&&v.isFunction(t)?Kt.apply(this,arguments):this.each(function(){(n?e:Gt(this))?v(this).show():v(this).hide()})}}),v.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Dt(e,"opacity");return n===""?"1":n}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":v.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(!e||e.nodeType===3||e.nodeType===8||!e.style)return;var s,o,u,a=v.camelCase(n),f=e.style;n=v.cssProps[a]||(v.cssProps[a]=Qt(f,a)),u=v.cssHooks[n]||v.cssHooks[a];if(r===t)return u&&"get"in u&&(s=u.get(e,!1,i))!==t?s:f[n];o=typeof r,o==="string"&&(s=zt.exec(r))&&(r=(s[1]+1)*s[2]+parseFloat(v.css(e,n)),o="number");if(r==null||o==="number"&&isNaN(r))return;o==="number"&&!v.cssNumber[a]&&(r+="px");if(!u||!("set"in u)||(r=u.set(e,r,i))!==t)try{f[n]=r}catch(l){}},css:function(e,n,r,i){var s,o,u,a=v.camelCase(n);return n=v.cssProps[a]||(v.cssProps[a]=Qt(e.style,a)),u=v.cssHooks[n]||v.cssHooks[a],u&&"get"in u&&(s=u.get(e,!0,i)),s===t&&(s=Dt(e,n)),s==="normal"&&n in Vt&&(s=Vt[n]),r||i!==t?(o=parseFloat(s),r||v.isNumeric(o)?o||0:s):s},swap:function(e,t,n){var r,i,s={};for(i in t)s[i]=e.style[i],e.style[i]=t[i];r=n.call(e);for(i in t)e.style[i]=s[i];return r}}),e.getComputedStyle?Dt=function(t,n){var r,i,s,o,u=e.getComputedStyle(t,null),a=t.style;return u&&(r=u.getPropertyValue(n)||u[n],r===""&&!v.contains(t.ownerDocument,t)&&(r=v.style(t,n)),Ut.test(r)&&qt.test(n)&&(i=a.width,s=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=r,r=u.width,a.width=i,a.minWidth=s,a.maxWidth=o)),r}:i.documentElement.currentStyle&&(Dt=function(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],s=e.style;return i==null&&s&&s[t]&&(i=s[t]),Ut.test(i)&&!Ft.test(t)&&(n=s.left,r=e.runtimeStyle&&e.runtimeStyle.left,r&&(e.runtimeStyle.left=e.currentStyle.left),s.left=t==="fontSize"?"1em":i,i=s.pixelLeft+"px",s.left=n,r&&(e.runtimeStyle.left=r)),i===""?"auto":i}),v.each(["height","width"],function(e,t){v.cssHooks[t]={get:function(e,n,r){if(n)return e.offsetWidth===0&&It.test(Dt(e,"display"))?v.swap(e,Xt,function(){return tn(e,t,r)}):tn(e,t,r)},set:function(e,n,r){return Zt(e,n,r?en(e,t,r,v.support.boxSizing&&v.css(e,"boxSizing")==="border-box"):0)}}}),v.support.opacity||(v.cssHooks.opacity={get:function(e,t){return jt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=v.isNumeric(t)?"alpha(opacity="+t*100+")":"",s=r&&r.filter||n.filter||"";n.zoom=1;if(t>=1&&v.trim(s.replace(Bt,""))===""&&n.removeAttribute){n.removeAttribute("filter");if(r&&!r.filter)return}n.filter=Bt.test(s)?s.replace(Bt,i):s+" "+i}}),v(function(){v.support.reliableMarginRight||(v.cssHooks.marginRight={get:function(e,t){return v.swap(e,{display:"inline-block"},function(){if(t)return Dt(e,"marginRight")})}}),!v.support.pixelPosition&&v.fn.position&&v.each(["top","left"],function(e,t){v.cssHooks[t]={get:function(e,n){if(n){var r=Dt(e,t);return Ut.test(r)?v(e).position()[t]+"px":r}}}})}),v.expr&&v.expr.filters&&(v.expr.filters.hidden=function(e){return e.offsetWidth===0&&e.offsetHeight===0||!v.support.reliableHiddenOffsets&&(e.style&&e.style.display||Dt(e,"display"))==="none"},v.expr.filters.visible=function(e){return!v.expr.filters.hidden(e)}),v.each({margin:"",padding:"",border:"Width"},function(e,t){v.cssHooks[e+t]={expand:function(n){var r,i=typeof n=="string"?n.split(" "):[n],s={};for(r=0;r<4;r++)s[e+$t[r]+t]=i[r]||i[r-2]||i[0];return s}},qt.test(e)||(v.cssHooks[e+t].set=Zt)});var rn=/%20/g,sn=/\[\]$/,on=/\r?\n/g,un=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,an=/^(?:select|textarea)/i;v.fn.extend({serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?v.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||an.test(this.nodeName)||un.test(this.type))}).map(function(e,t){var n=v(this).val();return n==null?null:v.isArray(n)?v.map(n,function(e,n){return{name:t.name,value:e.replace(on,"\r\n")}}):{name:t.name,value:n.replace(on,"\r\n")}}).get()}}),v.param=function(e,n){var r,i=[],s=function(e,t){t=v.isFunction(t)?t():t==null?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};n===t&&(n=v.ajaxSettings&&v.ajaxSettings.traditional);if(v.isArray(e)||e.jquery&&!v.isPlainObject(e))v.each(e,function(){s(this.name,this.value)});else for(r in e)fn(r,e[r],n,s);return i.join("&").replace(rn,"+")};var ln,cn,hn=/#.*$/,pn=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,dn=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,vn=/^(?:GET|HEAD)$/,mn=/^\/\//,gn=/\?/,yn=/)<[^<]*)*<\/script>/gi,bn=/([?&])_=[^&]*/,wn=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,En=v.fn.load,Sn={},xn={},Tn=["*/"]+["*"];try{cn=s.href}catch(Nn){cn=i.createElement("a"),cn.href="",cn=cn.href}ln=wn.exec(cn.toLowerCase())||[],v.fn.load=function(e,n,r){if(typeof e!="string"&&En)return En.apply(this,arguments);if(!this.length)return this;var i,s,o,u=this,a=e.indexOf(" ");return a>=0&&(i=e.slice(a,e.length),e=e.slice(0,a)),v.isFunction(n)?(r=n,n=t):n&&typeof n=="object"&&(s="POST"),v.ajax({url:e,type:s,dataType:"html",data:n,complete:function(e,t){r&&u.each(r,o||[e.responseText,t,e])}}).done(function(e){o=arguments,u.html(i?v("
    ").append(e.replace(yn,"")).find(i):e)}),this},v.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){v.fn[t]=function(e){return this.on(t,e)}}),v.each(["get","post"],function(e,n){v[n]=function(e,r,i,s){return v.isFunction(r)&&(s=s||i,i=r,r=t),v.ajax({type:n,url:e,data:r,success:i,dataType:s})}}),v.extend({getScript:function(e,n){return v.get(e,t,n,"script")},getJSON:function(e,t,n){return v.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?Ln(e,v.ajaxSettings):(t=e,e=v.ajaxSettings),Ln(e,t),e},ajaxSettings:{url:cn,isLocal:dn.test(ln[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Tn},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":v.parseJSON,"text xml":v.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:Cn(Sn),ajaxTransport:Cn(xn),ajax:function(e,n){function T(e,n,s,a){var l,y,b,w,S,T=n;if(E===2)return;E=2,u&&clearTimeout(u),o=t,i=a||"",x.readyState=e>0?4:0,s&&(w=An(c,x,s));if(e>=200&&e<300||e===304)c.ifModified&&(S=x.getResponseHeader("Last-Modified"),S&&(v.lastModified[r]=S),S=x.getResponseHeader("Etag"),S&&(v.etag[r]=S)),e===304?(T="notmodified",l=!0):(l=On(c,w),T=l.state,y=l.data,b=l.error,l=!b);else{b=T;if(!T||e)T="error",e<0&&(e=0)}x.status=e,x.statusText=(n||T)+"",l?d.resolveWith(h,[y,T,x]):d.rejectWith(h,[x,T,b]),x.statusCode(g),g=t,f&&p.trigger("ajax"+(l?"Success":"Error"),[x,c,l?y:b]),m.fireWith(h,[x,T]),f&&(p.trigger("ajaxComplete",[x,c]),--v.active||v.event.trigger("ajaxStop"))}typeof e=="object"&&(n=e,e=t),n=n||{};var r,i,s,o,u,a,f,l,c=v.ajaxSetup({},n),h=c.context||c,p=h!==c&&(h.nodeType||h instanceof v)?v(h):v.event,d=v.Deferred(),m=v.Callbacks("once memory"),g=c.statusCode||{},b={},w={},E=0,S="canceled",x={readyState:0,setRequestHeader:function(e,t){if(!E){var n=e.toLowerCase();e=w[n]=w[n]||e,b[e]=t}return this},getAllResponseHeaders:function(){return E===2?i:null},getResponseHeader:function(e){var n;if(E===2){if(!s){s={};while(n=pn.exec(i))s[n[1].toLowerCase()]=n[2]}n=s[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){return E||(c.mimeType=e),this},abort:function(e){return e=e||S,o&&o.abort(e),T(0,e),this}};d.promise(x),x.success=x.done,x.error=x.fail,x.complete=m.add,x.statusCode=function(e){if(e){var t;if(E<2)for(t in e)g[t]=[g[t],e[t]];else t=e[x.status],x.always(t)}return this},c.url=((e||c.url)+"").replace(hn,"").replace(mn,ln[1]+"//"),c.dataTypes=v.trim(c.dataType||"*").toLowerCase().split(y),c.crossDomain==null&&(a=wn.exec(c.url.toLowerCase()),c.crossDomain=!(!a||a[1]===ln[1]&&a[2]===ln[2]&&(a[3]||(a[1]==="http:"?80:443))==(ln[3]||(ln[1]==="http:"?80:443)))),c.data&&c.processData&&typeof c.data!="string"&&(c.data=v.param(c.data,c.traditional)),kn(Sn,c,n,x);if(E===2)return x;f=c.global,c.type=c.type.toUpperCase(),c.hasContent=!vn.test(c.type),f&&v.active++===0&&v.event.trigger("ajaxStart");if(!c.hasContent){c.data&&(c.url+=(gn.test(c.url)?"&":"?")+c.data,delete c.data),r=c.url;if(c.cache===!1){var N=v.now(),C=c.url.replace(bn,"$1_="+N);c.url=C+(C===c.url?(gn.test(c.url)?"&":"?")+"_="+N:"")}}(c.data&&c.hasContent&&c.contentType!==!1||n.contentType)&&x.setRequestHeader("Content-Type",c.contentType),c.ifModified&&(r=r||c.url,v.lastModified[r]&&x.setRequestHeader("If-Modified-Since",v.lastModified[r]),v.etag[r]&&x.setRequestHeader("If-None-Match",v.etag[r])),x.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+(c.dataTypes[0]!=="*"?", "+Tn+"; q=0.01":""):c.accepts["*"]);for(l in c.headers)x.setRequestHeader(l,c.headers[l]);if(!c.beforeSend||c.beforeSend.call(h,x,c)!==!1&&E!==2){S="abort";for(l in{success:1,error:1,complete:1})x[l](c[l]);o=kn(xn,c,n,x);if(!o)T(-1,"No Transport");else{x.readyState=1,f&&p.trigger("ajaxSend",[x,c]),c.async&&c.timeout>0&&(u=setTimeout(function(){x.abort("timeout")},c.timeout));try{E=1,o.send(b,T)}catch(k){if(!(E<2))throw k;T(-1,k)}}return x}return x.abort()},active:0,lastModified:{},etag:{}});var Mn=[],_n=/\?/,Dn=/(=)\?(?=&|$)|\?\?/,Pn=v.now();v.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Mn.pop()||v.expando+"_"+Pn++;return this[e]=!0,e}}),v.ajaxPrefilter("json jsonp",function(n,r,i){var s,o,u,a=n.data,f=n.url,l=n.jsonp!==!1,c=l&&Dn.test(f),h=l&&!c&&typeof a=="string"&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Dn.test(a);if(n.dataTypes[0]==="jsonp"||c||h)return s=n.jsonpCallback=v.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,o=e[s],c?n.url=f.replace(Dn,"$1"+s):h?n.data=a.replace(Dn,"$1"+s):l&&(n.url+=(_n.test(f)?"&":"?")+n.jsonp+"="+s),n.converters["script json"]=function(){return u||v.error(s+" was not called"),u[0]},n.dataTypes[0]="json",e[s]=function(){u=arguments},i.always(function(){e[s]=o,n[s]&&(n.jsonpCallback=r.jsonpCallback,Mn.push(s)),u&&v.isFunction(o)&&o(u[0]),u=o=t}),"script"}),v.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return v.globalEval(e),e}}}),v.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),v.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=i.head||i.getElementsByTagName("head")[0]||i.documentElement;return{send:function(s,o){n=i.createElement("script"),n.async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,i){if(i||!n.readyState||/loaded|complete/.test(n.readyState))n.onload=n.onreadystatechange=null,r&&n.parentNode&&r.removeChild(n),n=t,i||o(200,"success")},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var Hn,Bn=e.ActiveXObject?function(){for(var e in Hn)Hn[e](0,1)}:!1,jn=0;v.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&Fn()||In()}:Fn,function(e){v.extend(v.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(v.ajaxSettings.xhr()),v.support.ajax&&v.ajaxTransport(function(n){if(!n.crossDomain||v.support.cors){var r;return{send:function(i,s){var o,u,a=n.xhr();n.username?a.open(n.type,n.url,n.async,n.username,n.password):a.open(n.type,n.url,n.async);if(n.xhrFields)for(u in n.xhrFields)a[u]=n.xhrFields[u];n.mimeType&&a.overrideMimeType&&a.overrideMimeType(n.mimeType),!n.crossDomain&&!i["X-Requested-With"]&&(i["X-Requested-With"]="XMLHttpRequest");try{for(u in i)a.setRequestHeader(u,i[u])}catch(f){}a.send(n.hasContent&&n.data||null),r=function(e,i){var u,f,l,c,h;try{if(r&&(i||a.readyState===4)){r=t,o&&(a.onreadystatechange=v.noop,Bn&&delete Hn[o]);if(i)a.readyState!==4&&a.abort();else{u=a.status,l=a.getAllResponseHeaders(),c={},h=a.responseXML,h&&h.documentElement&&(c.xml=h);try{c.text=a.responseText}catch(p){}try{f=a.statusText}catch(p){f=""}!u&&n.isLocal&&!n.crossDomain?u=c.text?200:404:u===1223&&(u=204)}}}catch(d){i||s(-1,d)}c&&s(u,f,c,l)},n.async?a.readyState===4?setTimeout(r,0):(o=++jn,Bn&&(Hn||(Hn={},v(e).unload(Bn)),Hn[o]=r),a.onreadystatechange=r):r()},abort:function(){r&&r(0,1)}}}});var qn,Rn,Un=/^(?:toggle|show|hide)$/,zn=new RegExp("^(?:([-+])=|)("+m+")([a-z%]*)$","i"),Wn=/queueHooks$/,Xn=[Gn],Vn={"*":[function(e,t){var n,r,i=this.createTween(e,t),s=zn.exec(t),o=i.cur(),u=+o||0,a=1,f=20;if(s){n=+s[2],r=s[3]||(v.cssNumber[e]?"":"px");if(r!=="px"&&u){u=v.css(i.elem,e,!0)||n||1;do a=a||".5",u/=a,v.style(i.elem,e,u+r);while(a!==(a=i.cur()/o)&&a!==1&&--f)}i.unit=r,i.start=u,i.end=s[1]?u+(s[1]+1)*n:n}return i}]};v.Animation=v.extend(Kn,{tweener:function(e,t){v.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;r-1,f={},l={},c,h;a?(l=i.position(),c=l.top,h=l.left):(c=parseFloat(o)||0,h=parseFloat(u)||0),v.isFunction(t)&&(t=t.call(e,n,s)),t.top!=null&&(f.top=t.top-s.top+c),t.left!=null&&(f.left=t.left-s.left+h),"using"in t?t.using.call(e,f):i.css(f)}},v.fn.extend({position:function(){if(!this[0])return;var e=this[0],t=this.offsetParent(),n=this.offset(),r=er.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(v.css(e,"marginTop"))||0,n.left-=parseFloat(v.css(e,"marginLeft"))||0,r.top+=parseFloat(v.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(v.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||i.body;while(e&&!er.test(e.nodeName)&&v.css(e,"position")==="static")e=e.offsetParent;return e||i.body})}}),v.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);v.fn[e]=function(i){return v.access(this,function(e,i,s){var o=tr(e);if(s===t)return o?n in o?o[n]:o.document.documentElement[i]:e[i];o?o.scrollTo(r?v(o).scrollLeft():s,r?s:v(o).scrollTop()):e[i]=s},e,i,arguments.length,null)}}),v.each({Height:"height",Width:"width"},function(e,n){v.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){v.fn[i]=function(i,s){var o=arguments.length&&(r||typeof i!="boolean"),u=r||(i===!0||s===!0?"margin":"border");return v.access(this,function(n,r,i){var s;return v.isWindow(n)?n.document.documentElement["client"+e]:n.nodeType===9?(s=n.documentElement,Math.max(n.body["scroll"+e],s["scroll"+e],n.body["offset"+e],s["offset"+e],s["client"+e])):i===t?v.css(n,r,i,u):v.style(n,r,i,u)},n,o?i:t,o,null)}})}),e.jQuery=e.$=v,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return v})})(window); diff --git a/terminal/vmks/wmks-all.css b/terminal/vmks/wmks-all.css new file mode 100644 index 0000000..b2af3dc --- /dev/null +++ b/terminal/vmks/wmks-all.css @@ -0,0 +1,660 @@ +/****************************************************************************** + * Copyright 2013 VMware, Inc. All rights reserved. + *****************************************************************************/ + +/* + * main-ui.css + * + * Defines style for the wmks ui widgets. + * + * Use CSS3 for touch devices as jquery effects break when browser handles + * orientation changes, or page bouncing. + * + * TODO: Need to handle Retina mode for iPad. + */ + +/* + * jQuery UI Dialog 1.8.16 + */ +.ui-dialog { + padding: 0; + box-shadow: 0px 5px 7px rgba(0,0,0,.5); +} + +.ui-dialog .ui-dialog-titlebar { + padding: .8em .8em; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +.ui-dialog .ui-dialog-titlebar-close { + right: .4em; + margin-top: -11px; +} + +.ui-widget-content { + border: 0; + background: #ffffff; + color: #333333; +} + +.ui-widget-header a { + color: #333333; +} + + +/* Touch feedback indicator */ +.ui-touch-feedback-icon { + background-image: url('../img/touch_sprite_feedback.png'); + width: 300px; + height: 120px; + position: absolute; + left: -9999px; + top: -9999px; + z-index: 2; +} + +.feedback-container { + z-index: 2; + position: absolute; + display: none; +} + +.feedback-container.cursor-icon { + background: url('../img/touch_sprite_feedback.png') -260px -15px no-repeat; + width: 17px; + height: 23px; +} + +.feedback-container.tap-icon { + background: url('../img/touch_sprite_feedback.png') -300px -15px no-repeat; + width: 36px; + height: 36px; +} + +.feedback-container.drag-icon { + background: url('../img/touch_sprite_feedback.png') -10px -10px no-repeat; + width: 100px; + height: 100px; +} + +.feedback-container.pulse-icon { + background: url('../img/touch_sprite_feedback.png') -111px -10px no-repeat; + width: 100px; + height: 100px; +} + +.feedback-container.scroll-icon { + background: url('../img/touch_sprite_feedback.png') -212px -10px no-repeat; + width: 27px; + height: 100px; +} + +/* CSS3 feedback indicator animation. Keep it simple (uses lower cpu cycles) + as there may be multiple animation requests made in quick successions. */ +.animate-feedback-indicator { + display: block; + opacity: 0; + animation-name: showfadeout; + animation-duration: 350ms; + -webkit-animation-name: showfadeout; + -webkit-animation-duration: 350ms; + -moz-animation-name: showfadeout; + -moz-animation-duration: 350ms; + -ms-animation-name: showfadeout; + -ms-animation-duration: 350ms; +} + +@-webkit-keyframes showfadeout { + 0% { opacity: 1; } + 100% { opacity: 0; } +} + +@-moz-keyframes showfadeout { + 0% { opacity: 1; } + 100% { opacity: 0; } +} + +@-ms-keyframes showfadeout { + 0% { opacity: 1; } + 100% { opacity: 0; } +} + +.animate-double-feedback-indicator { + display: block; + opacity: 0; + animation-name: showdoublefadeout; + animation-duration: 400ms; + -webkit-animation-name: showdoublefadeout; + -webkit-animation-duration: 400ms; + -moz-animation-name: showdoublefadeout; + -moz-animation-duration: 400ms; + -ms-animation-name: showdoublefadeout; + -ms-animation-duration: 400ms; +} + +@-webkit-keyframes showdoublefadeout { + 0% { opacity: 1; } + 40% { opacity: 0; } + 70% { opacity: 1; } + 100% { opacity: 0; } +} + +@-moz-keyframes showdoublefadeout { + 0% { opacity: 1; } + 40% { opacity: 0; } + 70% { opacity: 1; } + 100% { opacity: 0; } +} + +@-ms-keyframes showdoublefadeout { + 0% { opacity: 1; } + 40% { opacity: 0; } + 70% { opacity: 1; } + 100% { opacity: 0; } +} +/****************************************************************************** + * Copyright 2013 VMware, Inc. All rights reserved. + *****************************************************************************/ + +/* + * trackpad.css + * + * Defines style for the trackpad widget. + */ + +/* + * jQuery UI Dialog 1.8.16 + */ +.ui-dialog { + padding: 0; + box-shadow: 0px 5px 7px rgba(0,0,0,.5); +} + +.ui-dialog .ui-dialog-titlebar { + padding: .8em .8em; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +.ui-dialog .ui-dialog-titlebar-close { + right: .4em; + margin-top: -11px; +} + +.ui-widget-content { + border: 0; + background: #ffffff; + color: #333333; +} + +.ui-widget-header a { + color: #333333; +} + +/* + * Touch sprite is loaded in a single class (as we have disabled caching images). + * We do this for the iOS case, due to extreme limitations in terms of image size. + * This form of grouped declaration forces all these definitions to load the same + * sprite. (This is also loaded upfront for the navbar so its always visible). + * For details see PR - 978390. + */ +.trackpad-wrapper .ui-dialog-titlebar-close .ui-icon, +.trackpad-wrapper .ui-dialog-titlebar .ui-dialog-title, +.touch-sprite { + background-image: url('../img/touch_sprite.png'); +} + +/* Replace jquery ui title bar close icon. */ +.trackpad-wrapper .ui-dialog-titlebar-close { + margin-top: -9px; + border: 0 !important; + background: none !important; +} + +.trackpad-wrapper .ui-dialog-titlebar-close { + margin-top: -11px; +} + +/* Background-image is defined along with touch-sprite in 1 place. */ +.trackpad-wrapper .ui-dialog-titlebar-close .ui-icon { + background-position: -9px -239px; + background-repeat: no-repeat; +} + +.trackpad-wrapper .ui-dialog-titlebar-close .ui-icon:active { + background-position-x: -24px; + background-repeat: no-repeat; +} + +/* The grabber icon indicating the dialog could be moved around */ +.trackpad-wrapper .ui-dialog-titlebar .ui-dialog-title { + background-position: -10px -255px; + background-repeat: no-repeat; + width: 40px; + height: 14px; + margin: 0 0 0 42%; +} +.trackpad-wrapper .ui-dialog-titlebar .ui-dialog-title:active { + background-position-x: -52px; +} + +.trackpad-wrapper { + width: 289px !important; /* As this is less than the default value */ + border: 1px solid #333 !important; + background: none !important; + border-radius: 6px; + box-shadow: 0px 4px 9px rgba(0,0,0,.6); +} + +.trackpad-wrapper .ui-dialog-titlebar { + border-top: 1px solid #ccc; + border-left: 1px solid #aaa; + border-right: 1px solid #aaa; + border-bottom: 0; + padding: .5em .8em .4em .8em; + background: rgb(175,176,187); /* Old browsers */ + background: -webkit-linear-gradient(top, rgba(175,176,187,.93) 0%,rgba(170,171,182,.93) 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, rgba(175,176,187,.93) 0%,rgba(170,171,182,.93) 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(top, rgba(175,176,187,.93) 0%,rgba(170,171,182,.93) 100%); /* IE10+ */ + background: linear-gradient(top, rgba(175,176,187,.93) 0%,rgba(170,171,182,.93) 100%); /* W3C */ + border-top-left-radius: 5px; + border-top-right-radius: 5px; +} + +.trackpad-wrapper .trackpad-container { + padding: 0 !important; +} + +.trackpad-wrapper .left-border { + background: rgb(170,171,182); /* Old browsers */ + background: -webkit-linear-gradient(top, rgba(170,171,182,.93) 0%,rgba(123,123,133,.93) 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, rgba(170,171,182,.93) 0%,rgba(123,123,133,.93) 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(top, rgba(170,171,182,.93) 0%,rgba(123,123,133,.93) 100%); /* IE10+ */ + background: linear-gradient(top, rgba(170,171,182,.93) 0%,rgba(123,123,133,.93) 100%); /* W3C */ + margin-top: -1px; + float: left; + width: 12px; + height: 209px; + border: 0; +} + +.trackpad-wrapper .touch-area { + background: rgba(255,255,255,0.8); + background: -webkit-linear-gradient(-70deg, rgba(255,255,255,0.8) 0%, rgba(238,238,240,0.8) 22%, rgba(210,210,216,0.8) 71%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(-70deg, rgba(255,255,255,0.8) 0%, rgba(238,238,240,0.8) 22%, rgba(210,210,216,0.8) 71%); /* Opera 11.10+ */ + background: -ms-linear-gradient(-70deg, rgba(255,255,255,0.8) 0%, rgba(238,238,240,0.8) 22%, rgba(210,210,216,0.8) 71%); /* IE10+ */ + background: linear-gradient(110deg, rgba(255,255,255,0.8) 0%, rgba(238,238,240,0.8) 22%, rgba(210,210,216,0.8) 71%); /* W3C */ + border: 1px solid #555; + box-shadow: 0 2px 6px 1px #888 inset; + float: left; + width: 263px; + height: 206px; +} + +.trackpad-wrapper .right-border { + background: rgb(170,171,182); /* Old browsers */ + background: -webkit-linear-gradient(top, rgba(170,171,182,.93) 0%,rgba(123,123,133,.93) 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, rgba(170,171,182,.93) 0%,rgba(123,123,133,.93) 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(top, rgba(170,171,182,.93) 0%,rgba(123,123,133,.93) 100%); /* IE10+ */ + background: linear-gradient(top, rgba(170,171,182,.93) 0%,rgba(123,123,133,.93) 100%); /* W3C */ + margin-top: -1px; + float: left; + width: 12px; + height: 209px; + border: 0; + } + +.trackpad-wrapper .bottom-border { + background: rgb(123,123,133); /* Old browsers */ + background: -webkit-linear-gradient(top, rgba(123,123,133,.93) 0%,rgba(110,110,119,.93) 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, rgba(123,123,133,.93) 0%,rgba(110,110,119,.93) 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(top, rgba(123,123,133,.93) 0%,rgba(110,110,119,.93) 100%); /* IE10+ */ + background: linear-gradient(top, rgba(123,123,133,.93) 0%,rgba(110,110,119,.93) 100%); /* W3C */ + width: 289px; + height: 73px; + margin-top: 208px; + border: 0; +} + +.trackpad-wrapper .button-left, .trackpad-wrapper .button-right { + background: rgb(255,255,255); /* Old browsers */ + background: -webkit-linear-gradient(top, rgba(255,255,255,.7) 0%,rgba(225,225,227,.7) 3%,rgba(204,204,204,.7) 45%,rgba(190,190,195,.7) 96%,rgba(131,131,135,.7) 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, rgba(255,255,255,.7) 0%,rgba(225,225,227,.7) 3%,rgba(204,204,204,.7) 45%,rgba(190,190,195,.7) 96%,rgba(131,131,135,.7) 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(top, rgba(255,255,255,.7) 0%,rgba(225,225,227,.7) 3%,rgba(204,204,204,.7) 45%,rgba(190,190,195,.7) 96%,rgba(131,131,135,.7) 100%); /* IE10+ */ + background: linear-gradient(top, rgba(255,255,255,.7) 0%,rgba(225,225,227,.7) 3%,rgba(204,204,204,.7) 45%,rgba(190,190,195,.7) 96%,rgba(131,131,135,.7) 100%); /* W3C */ + border-radius: 6px; + box-shadow: 0 2px 5px #333; + float: left; + width: 126px; + height: 47px; +} + +.trackpad-wrapper .button-left { + margin: 12px 0px auto 12px; +} + +.trackpad-wrapper .button-right { + margin: 12px; +} + +.trackpad-wrapper .button-left.button-highlight, +.trackpad-wrapper .button-right.button-highlight { + background: -webkit-linear-gradient(top, rgba(170,171,182,.7) 0%,rgba(123,123,133,.7) 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, rgba(170,171,182,.7) 0%,rgba(123,123,133,.7) 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(top, rgba(170,171,182,.7) 0%,rgba(123,123,133,.7) 100%); /* IE10+ */ + background: linear-gradient(top, rgba(170,171,182,.7) 0%,rgba(123,123,133,.7) 100%); /* W3C */ +} +/****************************************************************************** + * Copyright 2013 VMware, Inc. All rights reserved. + *****************************************************************************/ + +/* + * extended-keypad.css + * + * Defines style for the virtual keys on the control pane. + */ + +.ctrl-pane-wrapper { + width: 290px !important; /* Needed as the default is a bit larger than this */ + border: 1px solid #333 !important; + -moz-border-radius: 6px; -webkit-border-radius: 6px; -khtml-border-radius: 6px; border-radius: 6px; + background: rgb(170,171,182); /* Old browsers */ + background: -webkit-linear-gradient(top, rgba(170,171,182,.93) 0%,rgba(123,123,133,.93) 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, rgba(170,171,182,.93) 0%,rgba(123,123,133,.93) 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(top, rgba(170,171,182,.93) 0%,rgba(123,123,133,.93) 100%); /* IE10+ */ + background: linear-gradient(top, rgba(170,171,182,.93) 0%,rgba(123,123,133,.93) 100%); /* W3C */ +} + +.fnKey-pane-wrapper { + width: 427px; + border: 1px solid #333; + -moz-border-radius: 6px; -webkit-border-radius: 6px; -khtml-border-radius: 6px; border-radius: 6px; + background: #c1c4d1; /* Old browsers */ + background: -webkit-linear-gradient(top, #c1c4d1 0%,#b0b1bd 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, #c1c4d1 0%,#b0b1bd 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(top, #c1c4d1 0%,#b0b1bd 100%); /* IE10+ */ + background: linear-gradient(top, #c1c4d1 0%, #b0b1bd 100%); /* W3C */ + position: absolute; + padding: 0; + -moz-box-shadow: 0px 5px 7px rgba(0,0,0,.5); + -webkit-box-shadow: 0px 5px 7px rgba(0,0,0,.5); + box-shadow: 0px 5px 7px rgba(0,0,0,.5); +} + +.fnKey-pane-wrapper-down { + width: 427px; + border: 1px solid #333; + -moz-border-radius: 6px; -webkit-border-radius: 6px; -khtml-border-radius: 6px; border-radius: 6px; + background: #6e6e77; /* Old browsers */ + background: -webkit-linear-gradient(top, #6e6e77 0%,#656565 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, #6e6e77 0%,#656565 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(top, #6e6e77 0%,#656565 100%); /* IE10+ */ + background: linear-gradient(top, #6e6e77 0%, #656565 100%); /* W3C */ + position: absolute; + padding: 0; + -moz-box-shadow: 0px 5px 7px rgba(0,0,0,.5); + -webkit-box-shadow: 0px 5px 7px rgba(0,0,0,.5); + box-shadow: 0px 5px 7px rgba(0,0,0,.5); +} + +/* Hide jquery ui title bar. */ +.ctrl-pane-wrapper .ui-dialog-titlebar { + border-top: 1px solid #ccc; + border-left: 1px solid #aaa; + border-right: 1px solid #aaa; + border-bottom: 0; + padding: .6em .8em 0 .8em; + background: none !important; + -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; -khtml-border-top-left-radius: 5px; border-top-left-radius: 5px; + -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; -khtml-border-top-right-radius: 5px; border-top-right-radius: 5px; +} + +/* Replace jquery ui title bar close icon. */ +.ctrl-pane-wrapper .ui-dialog-titlebar-close { + margin-top: -9px; + border: 0 !important; + background: none !important; +} + +/* Background-image is defined along with touch-sprite in 1 place. */ +.ctrl-pane-wrapper .ui-dialog-titlebar-close .ui-icon { + background-position: -9px -239px; + background-repeat: no-repeat; +} + +.ctrl-pane-wrapper .ui-dialog-titlebar-close .ui-icon:active { + background-position-x: -24px; + background-repeat: no-repeat; +} + +/* The grabber icon indicating the dialog could be moved around */ +.ctrl-pane-wrapper .ui-dialog-titlebar .ui-dialog-title { + background-position: -10px -255px; + background-repeat: no-repeat; + width: 40px; + height: 14px; + margin: 0 0 0 42%; +} + +.ctrl-pane-wrapper .ui-dialog-titlebar .ui-dialog-title:active { + background-position-x: -52px; +} + +.ctrl-pane-wrapper .ui-dialog-content { + background: none !important; + padding: 0 0; + border-style: solid; + border-color: #aaaaaa; + border-width: 0 1px 1px 1px; + -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; -khtml-border-bottom-left-radius: 5px; border-bottom-left-radius: 5px; + -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; -khtml-border-bottom-right-radius: 5px; border-bottom-right-radius: 5px; +} + +.fnKey-inner-border-helper { + position: relative; + background: none !important; + border-style: solid; + border-color: #d5d5d5; + border-width: 1px; + -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px; + pointer-events:none; +} + +.ctrl-pane-wrapper .ctrl-pane { + padding: 3px 0 3px 6px; + height: 140px; + width: 280px; +} + +.ctrl-pane .baseKey { + float: left; + border: 0; + padding: 0; + width: 57px; + height: 57px; + margin: 6px; + -moz-border-radius: 6px; -webkit-border-radius: 6px; -khtml-border-radius: 6px; border-radius: 6px; + font-size: 18px; + text-shadow: 0 1px 1px #eeeeee; + -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, .7); + -webkit-box-shadow: 0px 1px 3px rgba(0,0,0,.7); + box-shadow: 0px 1px 3px rgba(0,0,0,.7); +} + +.ctrl-pane .ctrl-key-top-row { + background: -webkit-linear-gradient(top, #fff 0%,#f3f5fb 2%,#d2d2d8 98%,#999 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, #fff 0%,#f3f5fb 2%,#d2d2d8 98%,#999 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(top, #fff 0%,#f3f5fb 2%,#d2d2d8 98%,#999 100%); /* IE10+ */ + background: linear-gradient(top, #fff 0%,#f3f5fb 2%,#d2d2d8 98%,#999 100%); /* W3C */ +} + +.ctrl-pane .ctrl-key-bottom-row { + background: -webkit-linear-gradient(top, #fff 0%,#e1e1e3 2%,#d1d1d4 50%,#bebec3 98%,#838387 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, #fff 0%,#e1e1e3 2%,#d1d1d4 50%,#bebec3 98%,#838387 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(top, #fff 0%,#e1e1e3 2%,#d1d1d4 50%,#bebec3 98%,#838387 100%); /* IE10+ */ + background: linear-gradient(top, #fff 0%,#e1e1e3 2%,#d1d1d4 50%,#bebec3 98%,#838387 100%); /* W3C */ +} + +.ctrl-pane .up-position .fn-key-top-row { + color:#333; + background: #ffffff; /* Old browsers */ + background: -webkit-linear-gradient(top, #ffffff 0%,#f7f7f7 2%,#dcdde3 96%,#999999 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, #ffffff 0%,#f7f7f7 2%,#dcdde3 96%,#999999 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(top, #ffffff 0%,#f7f7f7 2%,#dcdde3 96%,#999999 100%); /* IE10+ */ + background: linear-gradient(top, #ffffff 0%,#f7f7f7 2%,#dcdde3 96%,#999999 100%); /* W3C */ +} + +.ctrl-pane .up-position .fn-key-bottom-row { + color:#333; + background: #ffffff; /* Old browsers */ + background: -webkit-linear-gradient(top, #ffffff 0%,#f3f5fb 2%,#d2d2d8 98%,#999999 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, #ffffff 0%,#f3f5fb 2%,#d2d2d8 98%,#999999 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(top, #ffffff 0%,#f3f5fb 2%,#d2d2d8 98%,#999999 100%); /* IE10+ */ + background: linear-gradient(top, #ffffff 0%,#f3f5fb 2%,#d2d2d8 98%,#999999 100%); /* W3C */ +} + +.ctrl-pane .down-position .fn-key-top-row { + color:#333; + background: #ffffff; /* Old browsers */ + background: -webkit-linear-gradient(top, #ffffff 0%,#e1e1e3 4%,#d1d1d4 45%,#b7b8bd 98%,#838387 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, #ffffff 0%,#e1e1e3 4%,#d1d1d4 45%,#b7b8bd 98%,#838387 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(top, #ffffff 0%,#e1e1e3 4%,#d1d1d4 45%,#b7b8bd 98%,#838387 100%); /* IE10+ */ + background: linear-gradient(top, #ffffff 0%,#e1e1e3 4%,#d1d1d4 45%,#b7b8bd 98%,#838387 100%); /* W3C */ +} + +.ctrl-pane .down-position .fn-key-bottom-row { + color:#333; + background: #ffffff; /* Old browsers */ + background: -webkit-linear-gradient(top, #ffffff 0%,#d9dadd 4%,#c8c8cd 45%,#b0b0b7 98%,#838387 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(top, #ffffff 0%,#d9dadd 4%,#c8c8cd 45%,#b0b0b7 98%,#838387 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(top, #ffffff 0%,#d9dadd 4%,#c8c8cd 45%,#b0b0b7 98%,#838387 100%); /* IE10+ */ + background: linear-gradient(top, #ffffff 0%,#d9dadd 4%,#c8c8cd 45%,#b0b0b7 98%,#838387 100%); /* W3C */ +} + +.ctrl-pane .fn-key-top-row { + margin: 12px 6px 6px 6px; +} + +.ctrl-pane .border-key-top-left .fn-key-top-row { + margin: 12px 6px 6px 12px; +} + +.ctrl-pane .border-key-top-right .fn-key-top-row { + margin: 12px 12px 6px 6px; +} + +.ctrl-pane .fn-key-bottom-row { + margin: 5px 6px 12px 6px; +} + +.ctrl-pane .border-key-bottom-left .fn-key-bottom-row { + margin: 5px 6px 12px 12px; +} + +.ctrl-pane .border-key-bottom-right .fn-key-bottom-row { + margin: 5px 12px 12px 6px; +} + +.ctrl-pane .ctrl-key-top-row:active, .ctrl-pane .fn-key-top-row:active, +.ctrl-pane .ctrl-key-bottom-row:active, .ctrl-pane .fn-key-bottom-row:active { + background: #bbbbbb; + background: -webkit-linear-gradient(bottom, #888888 25%, #CCCCCC 68%); + background: -ms-linear-gradient(bottom, #888888 25%, #CCCCCC 68%); + background: -o-linear-gradient(bottom, #888888 25%, #CCCCCC 68%); + background: linear-gradient(bottom, #888888 25%, #CCCCCC 68%); +} + +.ctrl-pane .ctrl-key-top-row div, .ctrl-pane .ctrl-key-bottom-row div, +.ctrl-pane .fn-key-top-row div, .ctrl-pane .fn-key-bottom-row div { + width: 100%; + text-align: center; + padding-top: 17px; + overflow-x: hidden; +} + +/* Highlight selected modifier key */ +.ctrl-pane .ab-modifier-key-down { + color: #4D8DFF; +} + +.ctrl-pane .baseKey img { /* use .touch-sprite for image */ + background-repeat: no-repeat; + width: 57px; + height: 57px; + border: 0; + -moz-border-radius: 6px; -webkit-border-radius: 6px; -khtml-border-radius: 6px; border-radius: 6px; +} + +.ctrl-pane .baseKey .right-arrow { + background-position: -242px -182px; +} + +.ctrl-pane .baseKey .left-arrow { + background-position: -126px -182px; +} + +.ctrl-pane .baseKey .up-arrow { + background-position: -299px -182px; +} + +.ctrl-pane .baseKey .down-arrow { + background-position: -183px -182px; +} + +.ctrl-pane .baseKey .more-keys { + background-position: -10px -182px; +} + +/* Ctrl - pane flip transition. */ +.ctrl-pane.flip-container { + perspective: 1000; + -webkit-perspective: 1000; + -moz-perspective: 1000; + -ms-perspective: 1000; +} + + /* flip the ctrl-pane when this class toggles. */ +.flip-container.perform-flip .flipper { + transform: rotateY(180deg); + -webkit-transform: rotateY(180deg); + -moz-transform: rotateY(180deg); + -ms-transform: rotateY(180deg); +} + +/* flip speed goes here */ +.flip-container .flipper { + transition: 0.6s; + transform-style: preserve-3d; + -webkit-transition: 0.6s; + -webkit-transform-style: preserve-3d; + -moz-transition: 0.6s; + -moz-transform-style: preserve-3d; + -ms-transition: 0.6s; + -ms-transform-style: preserve-3d; + position: relative; +} + +/* hide back of pane during swap */ +.flip-container .front, .flip-container .back { + backface-visibility: hidden; + -webkit-backface-visibility: hidden; + -moz-backface-visibility: hidden; + -ms-backface-visibility: hidden; + position: absolute; + top: 0; + left: 0; +} + +/* front pane, placed above back */ +.flip-container .front { + z-index: 200; +} + +/* back, initially hidden pane */ +.flip-container .back { + transform: rotateY(180deg); + -webkit-transform: rotateY(180deg); + -moz-transform: rotateY(180deg); + -ms-transform: rotateY(180deg); +} diff --git a/terminal/vmks/wmks.min.js b/terminal/vmks/wmks.min.js new file mode 100644 index 0000000..7a1d742 --- /dev/null +++ b/terminal/vmks/wmks.min.js @@ -0,0 +1,6 @@ +(function(){function a(a){var b=a.length,c=new Array(Math.ceil(b/8)),d,e;for(d=0,e=0;d0?d.shift():new Image},f=function(a){delete a[0],a[0]=null,a=null},g=function(a){a.onload=a.onerror=null;var e=[71,73,70,56,57,97,1,0,1,0,0,255,0,44,0,0,0,0,1,0,1,0,0,2,0,59];e.push32($.now()),a.src="data:image/gif;base64,"+c.encodeFromArray(e),d.length<=b?d.push(a):f([a])};this.getImage=function(){return e()},this.releaseImage=function(a){if(!a)return;g(a)}}function e(){this._mediaSource=null,this._sourceBuffer=null,this._tempQueue=[],this._mediaPlayer=null,this._isError=!1,this._isErrorDoneCalled=!1,this._sendRequest=0,this._doneRequest=0,this._decodeDoneCb=null,this._decodeErrorCb=null,e.instanceNumber++,this._name="MP4Decoder"+e.instanceNumber}function f(d){function g(a){WMKS.LOGGER.trace("uint8utf8: replacing functions"),a._originalFunctions=a._originalFunctions||{};for(var b in f)f.hasOwnProperty(b)&&(a._originalFunctions[b]||(a._originalFunctions[b]=a[b]),a[b]=f[b])}function h(a){WMKS.LOGGER.trace("restoreFunctions");if(!a._originalFunctions)return;for(var b in a._originalFunctions)a._originalFunctions.hasOwnProperty(b)&&(a[b]=a._originalFunctions[b])}"use strict",WMKS.LOGGER.debug("adding uint8utf8 support");var e=d;e.hasOwnProperty("_legacyReceiveQueue")||(e._legacyReceiveQueue="",e._legacyReceiveQueueIndex=""),e.useLegacy=!1;var f={};f._receiveQueueBytesUnread=function(){return this._legacyReceiveQueue.length-this._legacyReceiveQueueIndex},f._receiveQueueConsumeBytes=function(a){this._legacyReceiveQueueIndex+=a},f._receiveQueueReset=function(){this._legacyReceiveQueue="",this._legacyReceiveQueueIndex=0},f._readString=function(a){var b=this._legacyReceiveQueue.slice(this._legacyReceiveQueueIndex,this._legacyReceiveQueueIndex+a);return this._legacyReceiveQueueIndex+=a,b},f._readStringUTF8=function(a){var b,c,d,e,f=[],g=this._legacyReceiveQueueIndex;while(ge._legacyReceiveQueue.length)return e.fail("overflow receiveQueue");e._legacyReceiveQueueIndex===e._legacyReceiveQueue.length&&(e._legacyReceiveQueue="",e._legacyReceiveQueueIndex=0);if(typeof b.data!="string"){var c=new Uint8Array(b.data);e._legacyReceiveQueue=e._legacyReceiveQueue.concat(a(c))}else e._legacyReceiveQueue=e._legacyReceiveQueue.concat(b.data);e._processMessages()},e.protocolList.indexOf("uint8utf8")===-1&&e.protocolList.push("uint8utf8"),f._receiveQueueReset.call(e)}var c={decodeToArray:function(a,c){return b(window.atob(a),c)},decodeToString:function(a){return window.atob(a)},encodeFromArray:function(b){return window.btoa(a(b))},encodeFromString:function(a){return window.btoa(a)}};WMKS={},WMKS.LOGGER=new function(){"use strict",this.LEVEL={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4};var a=this.LEVEL.INFO,b=[" [Trace] "," [Debug] "," [Info ] "," [Warn ] "," [Error] "];this.trace=function(a){this.log(a,this.LEVEL.TRACE)},this.debug=function(a){this.log(a,this.LEVEL.DEBUG)},this.info=function(a){this.log(a,this.LEVEL.INFO)},this.warn=function(a){this.log(a,this.LEVEL.WARN)},this.error=function(a){this.log(a,this.LEVEL.ERROR)},this.log=typeof console=="undefined"||typeof console.log=="undefined"?$.noop:function(c,d){d=d===undefined?this.LEVEL.INFO:d,d>=a&&c&&console.log((WMKS.BROWSER.isIE()?(new Date).toUTCString():(new Date).toISOString())+b[d]+c)},this.setLogLevel=function(c){typeof c=="number"&&c>=0&&c-1?c:d;var e=function(b,c){var d=a.match(b);return d&&d.length>c&&d[c]||""};this.version={full:""},this.isSafari()?this.version.full=e(/Version[ \/]([0-9\.]+)/i,1):this.isChrome()?this.version.full=e(/Chrome\/([0-9\.]+)/i,1):this.isFirefox()?this.version.full=e(/(?:Firefox|Iceweasel)[ \/]([0-9\.]+)/i,1):this.isOpera()?this.version.full=e(/Version[ \/]([0-9\.]+)/i,1)||e(/(?:opera|opr)[\s\/]([0-9\.]+)/i,1):this.isIE()&&(this.version.full=e(/(?:\b(MS)?IE\s+|\bTrident\/7\.0;.*\s+rv:|\bEdge\/)([0-9\.]+)/i,2));var f=this.version.full.split(".");this.version.major=parseInt(f.length>0?f[0]:0,10),this.version.minor=parseInt(f.length>1?f[1]:0,10),this.version.float=parseFloat(this.version.full),this.isCanvasSupported=function(){try{var a=document.createElement("canvas"),b=!!a.getContext;return a=null,b}catch(c){return!1}}},WMKS.CONST={CLICK:{left:1,middle:2,right:4},FORCE_RAW_KEY_CODE:{8:!0,9:!0,13:!0}},WMKS.UTIL={createCanvas:function(a){var b={};return a&&(b.position="absolute"),$("").css(b)},createVideo:function(a){var b={};return a&&(b.position="absolute"),$("