Форк Rambox
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.9 MiB

(function(Ext) {
Ext.sandboxName = 'Ext5';
Ext.isSandboxed = true;
Ext.buildSettings = { baseCSSPrefix: "x5-", scopeResetCSS: true };
/*
This file is part of Ext JS 5.1.1.451
Copyright (c) 2011-2015 Sencha Inc
Contact: http://www.sencha.com/contact
GNU General Public License Usage
This file may be used under the terms of the GNU General Public License version 3.0 as
published by the Free Software Foundation and appearing in the file LICENSE included in the
packaging of this file.
Please review the following information to ensure the GNU General Public License version 3.0
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
If you are unsure which license is appropriate for your use, please contact the sales department
at http://www.sencha.com/contact.
Version: 5.1.1.451 Build date: 2015-05-06 21:53:32 (130b7b8a6334f33aee5c2952cefb768cadb3bf78)
*/
var Ext=Ext||{};Ext.Boot=Ext.Boot||(function(g){var n=document,o=function(p,s,r){if(r){o(p,r)}if(p&&s&&typeof s=="object"){for(var q in s){p[q]=s[q]}}return p},j={disableCaching:(/[?&](?:cache|disableCacheBuster)\b/i.test(location.search)||!(/http[s]?\:/i.test(location.href))||/(^|[ ;])ext-cache=1/.test(n.cookie))?false:true,disableCachingParam:"_dc",loadDelay:false,preserveScripts:true,charset:undefined},e=/\.css(?:\?|$)/i,m=n.createElement("a"),k=typeof window!=="undefined",h={browser:k,node:!k&&(typeof require==="function"),phantom:(typeof phantom!=="undefined"&&phantom.fs)},l=(Ext.platformTags={}),d=function(p){},a=function(q,p,s){if(s){a(q,s)}if(q&&p&&typeof p==="object"){for(var r in p){q[r]=p[r]}}return q},c={loading:0,loaded:0,env:h,config:j,scripts:{},currentFile:null,suspendedQueue:[],currentRequest:null,syncMode:false,debug:d,useElements:true,listeners:[],Request:b,Entry:i,detectPlatformTags:function(){var q=navigator.userAgent,A=l.isMobile=/Mobile(\/|\s)/.test(q),w,u,v,y,p,D,t=document.createElement("div"),s=["iPhone","iPod","Android","Silk","Android 2","BlackBerry","BB","iPad","RIM Tablet OS","MSIE 10","Trident","Chrome","Tizen","Firefox","Safari","Windows Phone"],C=function(G,E){if(E===undefined){E=window}var F="on"+G.toLowerCase(),H=(F in t);if(!H){if(t.setAttribute&&t.removeAttribute){t.setAttribute(F,"");H=typeof t[F]==="function";if(typeof t[F]!=="undefined"){t[F]=undefined}t.removeAttribute(F)}}return H},B={},x=s.length,r,z;for(z=0;z<x;z++){r=s[z];B[r]=new RegExp(r).test(q)}w=(B.iPhone||B.iPod)||(!B.Silk&&(B.Android&&(B["Android 2"]||A)))||((B.BlackBerry||B.BB)&&B.isMobile)||(B["Windows Phone"]);v=(!l.isPhone)&&(B.iPad||B.Android||B.Silk||B["RIM Tablet OS"]||(B["MSIE 10"]&&/; Touch/.test(q)));y=C("touchend")||navigator.maxTouchPoints||navigator.msMaxTouchPoints;u=!w&&!v;p=B["MSIE 10"];D=B.Blackberry||B.BB;o(l,c.loadPlatformsParam(),{phone:w,tablet:v,desktop:u,touch:y,ios:(B.iPad||B.iPhone||B.iPod),android:B.Android||B.Silk,blackberry:D,safari:B.Safari&&!D,chrome:B.Chrome,ie10:p,windows:p||B.Trident,tizen:B.Tizen,firefox:B.Firefox})},loadPlatformsParam:function(){var p=window.location.search.substr(1),r=p.split("&"),t={},v,w={},y,u,s,q,x;for(v=0;v<r.length;v++){y=r[v].split("=");t[y[0]]=y[1]}if(t.platformTags){y=t.platform.split(/\W/);for(u=y.length,v=0;v<u;v++){s=y[v].split(":");q=s[0];if(s.length>1){x=s[1];if(x==="false"||x==="0"){x=false}else{x=true}}w[q]=x}}return s},filterPlatform:function(s){s=[].concat(s);var r,t,q;for(r=s.length,t=0;t<r;t++){q=s[t];if(l.hasOwnProperty(q)){return !!l[q]}}return false},init:function(){var s=n.getElementsByTagName("script"),t=s.length,z=/\/ext(\-[a-z\-]+)?\.js$/,x,v,p,q,u,y,r,w;for(r=0;r<t;r++){p=(v=s[r]).src;if(!p){continue}q=v.readyState||null;if(!u){if(z.test(p)){c.hasReadyState=("readyState" in v);c.hasAsync=("async" in v)||!c.hasReadyState;u=p}}if(!c.scripts[y=c.canonicalUrl(p)]){d("creating entry "+y+" in Boot.init");x=new i({key:y,url:p,done:q===null||q==="loaded"||q==="complete",el:v,prop:"src"})}}if(!u){v=s[s.length-1];u=v.src;c.hasReadyState=("readyState" in v);c.hasAsync=("async" in v)||!c.hasReadyState}c.baseUrl=u.substring(0,u.lastIndexOf("/")+1);w=window.location.origin||window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"");c.origin=w;c.detectPlatformTags();Ext.filterPlatform=c.filterPlatform},canonicalUrl:function(s){m.href=s;var r=m.href,q=j.disableCachingParam,u=q?r.indexOf(q+"="):-1,t,p;if(u>0&&((t=r.charAt(u-1))==="?"||t==="&")){p=r.indexOf("&",u);p=(p<0)?"":r.substring(p);if(p&&t==="?"){++u;p=p.substring(1)}r=r.substring(0,u-1)+p}return r},getConfig:function(p){return p?c.config[p]:c.config},setConfig:function(p,r){if(typeof p==="string"){c.config[p]=r}else{for(var q in p){c.setConfig(q,p[q])}}return c},getHead:function(){return c.docHead||(c.docHead=n.head||n.getElementsByTagName("head")[0])},create:function(r,s,p){var q=p||{};q.url=r;q.key=s;return c.scripts[s]=new i(q)},getEntry:function(q,p){var r=c.canonicalUrl(q),s=c.scripts[r];if(!s){s=c.create(q,r,p)}return s},processRequest:function(q
})(this.Ext5 || (this.Ext5 = {}));