From 12570194c37bc1debe56927752fa07bac931a7bb Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sun, 2 Apr 2017 10:22:23 +1200 Subject: [PATCH] Remove jQuery UI datepicker bundle No longer needed, see https://github.com/silverstripe/silverstripe-framework/issues/6626 Reinstated customisation from https://github.com/silverstripe/silverstripe-framework/commit/abaebbe1d791634f50edd9c15ef6f50a67cec2d5 --- client/dist/js/bundle.js | 8 +- client/dist/js/vendor.js | 5353 ++-- code/LeftAndMain.php | 6 - thirdparty/jquery-ui/datepicker/i18n/README | 25 - .../i18n/jquery.ui.datepicker-da.js | 25 - .../i18n/jquery.ui.datepicker-de.js | 25 - .../i18n/jquery.ui.datepicker-en-GB.js | 24 - .../i18n/jquery.ui.datepicker-en.js | 25 - .../i18n/jquery.ui.datepicker-es.js | 27 - .../i18n/jquery.ui.datepicker-fr.js | 24 - .../i18n/jquery.ui.datepicker-it.js | 28 - .../i18n/jquery.ui.datepicker-nb.js | 24 - .../i18n/jquery.ui.datepicker-nl.js | 26 - .../i18n/jquery.ui.datepicker-sv.js | 24 - .../i18n/jquery.ui.datepicker-zh-CN.js | 23 - .../i18n/jquery.ui.datepicker-zh-TW.js | 23 - thirdparty/jquery-ui/jquery-ui.js | 20696 +++++++--------- thirdparty/jquery-ui/jquery-ui.min.js | 26 - 18 files changed, 11930 insertions(+), 14482 deletions(-) delete mode 100644 thirdparty/jquery-ui/datepicker/i18n/README delete mode 100644 thirdparty/jquery-ui/datepicker/i18n/jquery.ui.datepicker-da.js delete mode 100644 thirdparty/jquery-ui/datepicker/i18n/jquery.ui.datepicker-de.js delete mode 100644 thirdparty/jquery-ui/datepicker/i18n/jquery.ui.datepicker-en-GB.js delete mode 100644 thirdparty/jquery-ui/datepicker/i18n/jquery.ui.datepicker-en.js delete mode 100644 thirdparty/jquery-ui/datepicker/i18n/jquery.ui.datepicker-es.js delete mode 100644 thirdparty/jquery-ui/datepicker/i18n/jquery.ui.datepicker-fr.js delete mode 100644 thirdparty/jquery-ui/datepicker/i18n/jquery.ui.datepicker-it.js delete mode 100644 thirdparty/jquery-ui/datepicker/i18n/jquery.ui.datepicker-nb.js delete mode 100644 thirdparty/jquery-ui/datepicker/i18n/jquery.ui.datepicker-nl.js delete mode 100644 thirdparty/jquery-ui/datepicker/i18n/jquery.ui.datepicker-sv.js delete mode 100644 thirdparty/jquery-ui/datepicker/i18n/jquery.ui.datepicker-zh-CN.js delete mode 100644 thirdparty/jquery-ui/datepicker/i18n/jquery.ui.datepicker-zh-TW.js mode change 100755 => 100644 thirdparty/jquery-ui/jquery-ui.js delete mode 100755 thirdparty/jquery-ui/jquery-ui.min.js diff --git a/client/dist/js/bundle.js b/client/dist/js/bundle.js index 5fd83567a..c4673a8dc 100644 --- a/client/dist/js/bundle.js +++ b/client/dist/js/bundle.js @@ -1319,13 +1319,17 @@ this.add(this.find(".cms-tabset")).redrawTabs(),this.find(".cms-content-header") if(this.trigger("beforesubmitform"),!this.is(".changed")||this.is(".discardchanges"))return!0 if(this.find(".btn-toolbar :submit.btn--loading.loading").length>0)return!0 var t=confirm(s.default._t("LeftAndMain.CONFIRMUNSAVED")) -return t&&this.addClass("discardchanges"),t},onsubmit:function e(t,n){if("_blank"!=this.prop("target"))return n&&this.closest(".cms-container").submitForm(this,n),!1},validate:function e(){var t=!0 +return t&&this.addClass("discardchanges"),t},onsubmit:function e(t,n){"_blank"!=this.prop("target")&&(t.preventDefault(),n&&this.closest(".cms-container").submitForm(this,n))},validate:function e(){var t=!0 + + return this.trigger("validate",{isValid:t}),t},"from .htmleditor":{oneditorinit:function t(n){var a=this,r=e(n.target).closest(".field.htmleditor"),i=r.find("textarea.htmleditor").getEditor().getInstance() i.onClick.add(function(e){a.saveFieldFocus(r.attr("id"))})}},"from .cms-edit-form :input:not(:submit)":{onclick:function t(n){this.saveFieldFocus(e(n.target).attr("id"))},onfocus:function t(n){this.saveFieldFocus(e(n.target).attr("id")) -}},"from .cms-edit-form .treedropdown *":{onfocusin:function t(n){var a=e(n.target).closest(".field.treedropdown") +},onblur:function e(t){t.target.checkValidity()?this.removeClass("error"):this.addClass("error")}},"from .cms-edit-form .treedropdown *":{onfocusin:function t(n){var a=e(n.target).closest(".field.treedropdown") + + this.saveFieldFocus(a.attr("id"))}},"from .cms-edit-form .dropdown .chosen-container a":{onfocusin:function t(n){var a=e(n.target).closest(".field.dropdown") this.saveFieldFocus(a.attr("id"))}},"from .cms-container":{ontabstaterestored:function e(t){this.restoreFieldFocus()}},saveFieldFocus:function t(n){if("undefined"!=typeof window.sessionStorage&&null!==window.sessionStorage){ var a=e(this).attr("id"),r=[] diff --git a/client/dist/js/vendor.js b/client/dist/js/vendor.js index afe0d6c95..dbb0e09d0 100644 --- a/client/dist/js/vendor.js +++ b/client/dist/js/vendor.js @@ -19,7 +19,7 @@ t.exports=n},,,,function(t,e){t.exports=React},,,,function(t,e){!function(t){"us function e(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name") return t.toLowerCase()}function n(t){return"string"!=typeof t&&(t=String(t)),t}function r(t){var e={next:function(){var e=t.shift() return{done:void 0===e,value:e}}} -return g.iterable&&(e[Symbol.iterator]=function(){return e}),e}function i(t){this.map={},t instanceof i?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1]) +return y.iterable&&(e[Symbol.iterator]=function(){return e}),e}function i(t){this.map={},t instanceof i?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1]) },this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function o(t){return t.bodyUsed?Promise.reject(new TypeError("Already read")):void(t.bodyUsed=!0)}function a(t){return new Promise(function(e,n){ t.onload=function(){e(t.result)},t.onerror=function(){n(t.error)}})}function s(t){var e=new FileReader,n=a(e) @@ -28,15 +28,15 @@ return e.readAsText(t),n}function l(t){for(var e=new Uint8Array(t),n=new Array(e return n.join("")}function c(t){if(t.slice)return t.slice(0) var e=new Uint8Array(t.byteLength) return e.set(new Uint8Array(t)),e.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(t){if(this._bodyInit=t,t)if("string"==typeof t)this._bodyText=t -else if(g.blob&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t -else if(g.formData&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t -else if(g.searchParams&&URLSearchParams.prototype.isPrototypeOf(t))this._bodyText=t.toString() -else if(g.arrayBuffer&&g.blob&&b(t))this._bodyArrayBuffer=c(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]) -else{if(!g.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(t)&&!_(t))throw new Error("unsupported BodyInit type") +else if(y.blob&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t +else if(y.formData&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t +else if(y.searchParams&&URLSearchParams.prototype.isPrototypeOf(t))this._bodyText=t.toString() +else if(y.arrayBuffer&&y.blob&&b(t))this._bodyArrayBuffer=c(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]) +else{if(!y.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(t)&&!_(t))throw new Error("unsupported BodyInit type") this._bodyArrayBuffer=c(t)}else this._bodyText="" -this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):g.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8")) +this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):y.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8")) -},g.blob&&(this.blob=function(){var t=o(this) +},y.blob&&(this.blob=function(){var t=o(this) if(t)return t if(this._bodyBlob)return Promise.resolve(this._bodyBlob) if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer])) @@ -48,7 +48,7 @@ if(t)return t if(this._bodyBlob)return u(this._bodyBlob) if(this._bodyArrayBuffer)return Promise.resolve(l(this._bodyArrayBuffer)) if(this._bodyFormData)throw new Error("could not read FormData body as text") -return Promise.resolve(this._bodyText)},g.formData&&(this.formData=function(){return this.text().then(h)}),this.json=function(){return this.text().then(JSON.parse)},this}function f(t){var e=t.toUpperCase() +return Promise.resolve(this._bodyText)},y.formData&&(this.formData=function(){return this.text().then(h)}),this.json=function(){return this.text().then(JSON.parse)},this}function f(t){var e=t.toUpperCase() return x.indexOf(e)>-1?e:t}function p(t,e){e=e||{} @@ -65,10 +65,10 @@ e.append(decodeURIComponent(r),decodeURIComponent(i))}}),e}function m(t){var e=n return t.split(/\r?\n/).forEach(function(t){var n=t.split(":"),r=n.shift().trim() if(r){var i=n.join(":").trim() e.append(r,i)}}),e}function v(t,e){e||(e={}),this.type="default",this.status="status"in e?e.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new i(e.headers), -this.url=e.url||"",this._initBody(t)}if(!t.fetch){var g={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob, +this.url=e.url||"",this._initBody(t)}if(!t.fetch){var y={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob, !0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t} -if(g.arrayBuffer)var y=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],b=function(t){ -return t&&DataView.prototype.isPrototypeOf(t)},_=ArrayBuffer.isView||function(t){return t&&y.indexOf(Object.prototype.toString.call(t))>-1} +if(y.arrayBuffer)var g=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],b=function(t){ +return t&&DataView.prototype.isPrototypeOf(t)},_=ArrayBuffer.isView||function(t){return t&&g.indexOf(Object.prototype.toString.call(t))>-1} i.prototype.append=function(t,r){t=e(t),r=n(r) var i=this.map[t] this.map[t]=i?i+","+r:r},i.prototype.delete=function(t){delete this.map[e(t)]},i.prototype.get=function(t){return t=e(t),this.has(t)?this.map[t]:null},i.prototype.has=function(t){return this.map.hasOwnProperty(e(t)) @@ -78,7 +78,7 @@ this.map[t]=i?i+","+r:r},i.prototype.delete=function(t){delete this.map[e(t)]},i return this.forEach(function(e,n){t.push(n)}),r(t)},i.prototype.values=function(){var t=[] return this.forEach(function(e){t.push(e)}),r(t)},i.prototype.entries=function(){var t=[] -return this.forEach(function(e,n){t.push([n,e])}),r(t)},g.iterable&&(i.prototype[Symbol.iterator]=i.prototype.entries) +return this.forEach(function(e,n){t.push([n,e])}),r(t)},y.iterable&&(i.prototype[Symbol.iterator]=i.prototype.entries) var x=["DELETE","GET","HEAD","OPTIONS","POST","PUT"] p.prototype.clone=function(){return new p(this,{body:this._bodyInit})},d.call(p.prototype),d.call(v.prototype),v.prototype.clone=function(){return new v(this._bodyInit,{status:this.status,statusText:this.statusText, headers:new i(this.headers),url:this.url})},v.error=function(){var t=new v(null,{status:0,statusText:""}) @@ -90,7 +90,7 @@ o.onload=function(){var t={status:o.status,statusText:o.statusText,headers:m(o.g t.url="responseURL"in o?o.responseURL:t.headers.get("X-Request-URL") var e="response"in o?o.response:o.responseText n(new v(e,t))},o.onerror=function(){r(new TypeError("Network request failed"))},o.ontimeout=function(){r(new TypeError("Network request failed"))},o.open(i.method,i.url,!0),"include"===i.credentials&&(o.withCredentials=!0), -"responseType"in o&&g.blob&&(o.responseType="blob"),i.headers.forEach(function(t,e){o.setRequestHeader(e,t)}),o.send("undefined"==typeof i._bodyInit?null:i._bodyInit)})},t.fetch.polyfill=!0}}("undefined"!=typeof self?self:this) +"responseType"in o&&y.blob&&(o.responseType="blob"),i.headers.forEach(function(t,e){o.setRequestHeader(e,t)}),o.send("undefined"==typeof i._bodyInit?null:i._bodyInit)})},t.fetch.polyfill=!0}}("undefined"!=typeof self?self:this) },,function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(t){if(d===setTimeout)return setTimeout(t,0) @@ -112,13 +112,13 @@ c.once=l,c.off=l,c.removeListener=l,c.removeAllListeners=l,c.emit=l,c.binding=fu },c.umask=function(){return 0}},,,,function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},,,,,,,,,,,,,,,,,,,,,,function(t,e,n){ "use strict" function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}) -var i=n(38),o=r(i),a=n(40),s=r(a),u=n(41),l=r(u),c=n(42),d=r(c),f=n(43),p=r(f),h=n(44),m=r(h),v=n(46),g=r(v),y=n(47),b=r(y),_=n(51),x=r(_),w=n(53),k=r(w),j=n(52),T=r(j),E=n(50),C=r(E),S=n(54),O=r(S),P=n(55),D=r(P),A=n(57),M=r(A),I=n(58),N=r(I),R=n(59),F=r(R),L=n(60),Q=r(L),H=n(61),q=r(H),B=n(62),U=r(B),W=n(63),z=r(W),V=n(64),$=r(V),K=n(65),Y=r(K),G=n(66),X=r(G),J=n(67),Z=r(J),tt=n(68),et=r(tt),nt=n(69),rt=r(nt),it=n(70),ot=r(it),at=n(71),st=r(at),ut=n(72),lt=r(ut),ct=n(73),dt=r(ct),ft=n(74),pt=r(ft),ht=n(75),mt=r(ht),vt=n(76),gt=r(vt),yt=n(49),bt=r(yt),_t=n(77),xt=r(_t),wt=n(78),kt=r(wt),jt=n(79),Tt=r(jt),Et=n(81),Ct=r(Et),St=n(82),Ot=r(St),Pt=n(83),Dt=r(Pt),At=n(84),Mt=r(At),It=n(85),Nt=r(It),Rt=n(86),Ft=r(Rt),Lt=n(87),Qt=r(Lt),Ht=n(88),qt=r(Ht),Bt=n(89),Ut=r(Bt),Wt=n(80),zt=r(Wt),Vt=n(90),$t=r(Vt),Kt=n(91),Yt=r(Kt),Gt=n(92),Xt=r(Gt),Jt=n(93),Zt=r(Jt),te=n(94),ee=r(te),ne=n(95),re=r(ne),ie=n(96),oe=r(ie),ae=n(97),se=r(ae),ue=n(99),le=r(ue),ce=n(98),de=r(ce),fe=n(100),pe=r(fe),he=n(101),me=r(he),ve=n(45),ge=r(ve),ye="6.3.0",be={ -version:ye,toDate:o.default,toFloat:s.default,toInt:l.default,toBoolean:d.default,equals:p.default,contains:m.default,matches:g.default,isEmail:b.default,isURL:x.default,isMACAddress:k.default,isIP:T.default, -isFQDN:C.default,isBoolean:O.default,isAlpha:D.default,isAlphanumeric:M.default,isNumeric:N.default,isLowercase:F.default,isUppercase:Q.default,isAscii:q.default,isFullWidth:U.default,isHalfWidth:z.default, -isVariableWidth:$.default,isMultibyte:Y.default,isSurrogatePair:X.default,isInt:Z.default,isFloat:et.default,isDecimal:rt.default,isHexadecimal:ot.default,isDivisibleBy:st.default,isHexColor:lt.default, -isMD5:dt.default,isJSON:pt.default,isEmpty:mt.default,isLength:gt.default,isByteLength:bt.default,isUUID:xt.default,isMongoId:kt.default,isDate:Tt.default,isAfter:Ct.default,isBefore:Ot.default,isIn:Dt.default, -isCreditCard:Mt.default,isISIN:Nt.default,isISBN:Ft.default,isISSN:Qt.default,isMobilePhone:qt.default,isCurrency:Ut.default,isISO8601:zt.default,isBase64:$t.default,isDataURI:Yt.default,ltrim:Xt.default, -rtrim:Zt.default,trim:ee.default,escape:re.default,unescape:oe.default,stripLow:se.default,whitelist:le.default,blacklist:de.default,isWhitelisted:pe.default,normalizeEmail:me.default,toString:ge.default +var i=n(38),o=r(i),a=n(40),s=r(a),u=n(41),l=r(u),c=n(42),d=r(c),f=n(43),p=r(f),h=n(44),m=r(h),v=n(46),y=r(v),g=n(47),b=r(g),_=n(51),x=r(_),w=n(53),E=r(w),j=n(52),T=r(j),k=n(50),C=r(k),S=n(54),O=r(S),P=n(55),A=r(P),I=n(57),N=r(I),M=n(58),D=r(M),R=n(59),F=r(R),L=n(60),Q=r(L),H=n(61),q=r(H),B=n(62),U=r(B),W=n(63),z=r(W),V=n(64),K=r(V),$=n(65),G=r($),X=n(66),Y=r(X),J=n(67),Z=r(J),tt=n(68),et=r(tt),nt=n(69),rt=r(nt),it=n(70),ot=r(it),at=n(71),st=r(at),ut=n(72),lt=r(ut),ct=n(73),dt=r(ct),ft=n(74),pt=r(ft),ht=n(75),mt=r(ht),vt=n(76),yt=r(vt),gt=n(49),bt=r(gt),_t=n(77),xt=r(_t),wt=n(78),Et=r(wt),jt=n(79),Tt=r(jt),kt=n(81),Ct=r(kt),St=n(82),Ot=r(St),Pt=n(83),At=r(Pt),It=n(84),Nt=r(It),Mt=n(85),Dt=r(Mt),Rt=n(86),Ft=r(Rt),Lt=n(87),Qt=r(Lt),Ht=n(88),qt=r(Ht),Bt=n(89),Ut=r(Bt),Wt=n(80),zt=r(Wt),Vt=n(90),Kt=r(Vt),$t=n(91),Gt=r($t),Xt=n(92),Yt=r(Xt),Jt=n(93),Zt=r(Jt),te=n(94),ee=r(te),ne=n(95),re=r(ne),ie=n(96),oe=r(ie),ae=n(97),se=r(ae),ue=n(99),le=r(ue),ce=n(98),de=r(ce),fe=n(100),pe=r(fe),he=n(101),me=r(he),ve=n(45),ye=r(ve),ge="6.3.0",be={ +version:ge,toDate:o.default,toFloat:s.default,toInt:l.default,toBoolean:d.default,equals:p.default,contains:m.default,matches:y.default,isEmail:b.default,isURL:x.default,isMACAddress:E.default,isIP:T.default, +isFQDN:C.default,isBoolean:O.default,isAlpha:A.default,isAlphanumeric:N.default,isNumeric:D.default,isLowercase:F.default,isUppercase:Q.default,isAscii:q.default,isFullWidth:U.default,isHalfWidth:z.default, +isVariableWidth:K.default,isMultibyte:G.default,isSurrogatePair:Y.default,isInt:Z.default,isFloat:et.default,isDecimal:rt.default,isHexadecimal:ot.default,isDivisibleBy:st.default,isHexColor:lt.default, +isMD5:dt.default,isJSON:pt.default,isEmpty:mt.default,isLength:yt.default,isByteLength:bt.default,isUUID:xt.default,isMongoId:Et.default,isDate:Tt.default,isAfter:Ct.default,isBefore:Ot.default,isIn:At.default, +isCreditCard:Nt.default,isISIN:Dt.default,isISBN:Ft.default,isISSN:Qt.default,isMobilePhone:qt.default,isCurrency:Ut.default,isISO8601:zt.default,isBase64:Kt.default,isDataURI:Gt.default,ltrim:Yt.default, +rtrim:Zt.default,trim:ee.default,escape:re.default,unescape:oe.default,stripLow:se.default,whitelist:le.default,blacklist:de.default,isWhitelisted:pe.default,normalizeEmail:me.default,toString:ye.default } e.default=be,t.exports=e.default},function(t,e,n){"use strict" function r(t){return t&&t.__esModule?t:{default:t}}function i(t){return(0,a.default)(t),t=Date.parse(t),isNaN(t)?null:new Date(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i @@ -158,10 +158,10 @@ if(n)t=n[1] else if(e.require_display_name)return!1}var r=t.split("@"),i=r.pop(),o=r.join("@"),s=i.toLowerCase() if("gmail.com"!==s&&"googlemail.com"!==s||(o=o.replace(/\./g,"").toLowerCase()),!(0,c.default)(o,{max:64})||!(0,c.default)(i,{max:256}))return!1 if(!(0,f.default)(i,{require_tld:e.require_tld}))return!1 -if('"'===o[0])return o=o.slice(1,o.length-1),e.allow_utf8_local_part?y.test(o):v.test(o) -for(var l=e.allow_utf8_local_part?g:m,d=o.split("."),b=0;b$/i,m=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,v=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,g=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,y=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i +var o=n(39),a=r(o),s=n(48),u=r(s),l=n(49),c=r(l),d=n(50),f=r(d),p={allow_display_name:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0},h=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\.\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\.\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF\s]*<(.+)>$/i,m=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,v=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,y=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,g=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i t.exports=e.default},function(t,e){"use strict" @@ -198,8 +198,8 @@ if(d=t.split("#"),t=d.shift(),d=t.split("?"),t=d.shift(),d=t.split("://"),d.leng e.allow_protocol_relative_urls&&"//"===t.substr(0,2)&&(d[0]=t.substr(2))}if(t=d.join("://"),d=t.split("/"),t=d.shift(),""===t&&!e.require_host)return!0 if(d=t.split("@"),d.length>1&&(r=d.shift(),r.indexOf(":")>=0&&r.split(":").length>2))return!1 a=d.join("@"),l=p=null -var g=a.match(v) -return g?(i="",p=g[1],l=g[2]||null):(d=a.split(":"),i=d.shift(),d.length&&(l=d.join(":"))),!(null!==l&&(s=parseInt(l,10),!/^[0-9]+$/.test(l)||s<=0||s>65535))&&(!!((0,f.default)(i)||(0,c.default)(i,e)||p&&(0, +var y=a.match(v) +return y?(i="",p=y[1],l=y[2]||null):(d=a.split(":"),i=d.shift(),d.length&&(l=d.join(":"))),!(null!==l&&(s=parseInt(l,10),!/^[0-9]+$/.test(l)||s<=0||s>65535))&&(!!((0,f.default)(i)||(0,c.default)(i,e)||p&&(0, f.default)(p,6)||"localhost"===i)&&(i=i||p,!(e.host_whitelist&&!o(i,e.host_whitelist))&&(!e.host_blacklist||!o(i,e.host_blacklist))))}Object.defineProperty(e,"__esModule",{value:!0}),e.default=a var s=n(39),u=r(s),l=n(50),c=r(l),d=n(52),f=r(d),p=n(48),h=r(p),m={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1, allow_protocol_relative_urls:!1},v=/^\[([^\]]+)\](?::([0-9]+))?$/ @@ -485,8 +485,8 @@ var o=n(47),a=r(o),s=n(48),u=r(s),l={all_lowercase:!0,gmail_lowercase:!0,gmail_r yahoo_lowercase:!0,yahoo_remove_subaddress:!0,icloud_lowercase:!0,icloud_remove_subaddress:!0},c=["icloud.com","me.com"],d=["hotmail.at","hotmail.be","hotmail.ca","hotmail.cl","hotmail.co.il","hotmail.co.nz","hotmail.co.th","hotmail.co.uk","hotmail.com","hotmail.com.ar","hotmail.com.au","hotmail.com.br","hotmail.com.gr","hotmail.com.mx","hotmail.com.pe","hotmail.com.tr","hotmail.com.vn","hotmail.cz","hotmail.de","hotmail.dk","hotmail.es","hotmail.fr","hotmail.hu","hotmail.id","hotmail.ie","hotmail.in","hotmail.it","hotmail.jp","hotmail.kr","hotmail.lv","hotmail.my","hotmail.ph","hotmail.pt","hotmail.sa","hotmail.sg","hotmail.sk","live.be","live.co.uk","live.com","live.com.ar","live.com.mx","live.de","live.es","live.eu","live.fr","live.it","live.nl","msn.com","outlook.at","outlook.be","outlook.cl","outlook.co.il","outlook.co.nz","outlook.co.th","outlook.com","outlook.com.ar","outlook.com.au","outlook.com.br","outlook.com.gr","outlook.com.pe","outlook.com.tr","outlook.com.vn","outlook.cz","outlook.de","outlook.dk","outlook.es","outlook.fr","outlook.hu","outlook.id","outlook.ie","outlook.in","outlook.it","outlook.jp","outlook.kr","outlook.lv","outlook.my","outlook.ph","outlook.pt","outlook.sa","outlook.sg","outlook.sk","passport.com"],f=["rocketmail.com","yahoo.ca","yahoo.co.uk","yahoo.com","yahoo.de","yahoo.fr","yahoo.in","yahoo.it","ymail.com"] -t.exports=e.default},,,,,function(t,e){t.exports=ReactRedux},function(t,e){t.exports=Redux},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e){t.exports=jQuery},function(module,exports,__webpack_require__){ -(function(jQuery){!function(t,e){function n(e,n){var i,o,a,s=e.nodeName.toLowerCase() +t.exports=e.default},,,,,function(t,e){t.exports=ReactRedux},function(t,e){t.exports=Redux},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e){t.exports=jQuery},function(t,e,n){ +(function(t){!function(t,e){function n(e,n){var i,o,a,s=e.nodeName.toLowerCase() return"area"===s?(i=e.parentNode,o=i.name,!(!e.href||!o||"map"!==i.nodeName.toLowerCase())&&(a=t("img[usemap=#"+o+"]")[0],!!a&&r(a))):(/input|select|textarea|button|object/.test(s)?!e.disabled:"a"===s?e.href||n:n)&&r(e) }function r(e){return t.expr.filters.visible(e)&&!t(e).parents().andSelf().filter(function(){return"hidden"===t.css(this,"visibility")}).length}var i=0,o=/^ui-id-\d+$/ @@ -523,7 +523,7 @@ if(i&&t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType)for(r=0;r0||(e[r]=1,i=e[r]>0,e[r]=0,i)},isOverAxis:function(t,e,n){return t>e&&t0||(e[r]=1,i=e[r]>0,e[r]=0,i)},isOverAxis:function(t,e,n){return t>e&&t=this.options.distance -},_mouseDelayMet:function(t){return this.mouseDelayMet},_mouseStart:function(t){},_mouseDrag:function(t){},_mouseStop:function(t){},_mouseCapture:function(t){return!0}})}(jQuery),function(t,e){function n(t,e,n){ -return[parseInt(t[0],10)*(f.test(t[0])?e/100:1),parseInt(t[1],10)*(f.test(t[1])?n/100:1)]}function r(e,n){return parseInt(t.css(e,n),10)||0}t.ui=t.ui||{} -var i,o=Math.max,a=Math.abs,s=Math.round,u=/left|center|right/,l=/top|center|bottom/,c=/[\+\-]\d+%?/,d=/^\w+/,f=/%$/,p=t.fn.position -t.position={scrollbarWidth:function(){if(i!==e)return i -var n,r,o=t("
"),a=o.children()[0] -return t("body").append(o),n=a.offsetWidth,o.css("overflow","scroll"),r=a.offsetWidth,n===r&&(r=o[0].clientWidth),o.remove(),i=n-r},getScrollInfo:function(e){var n=e.isWindow?"":e.element.css("overflow-x"),r=e.isWindow?"":e.element.css("overflow-y"),i="scroll"===n||"auto"===n&&e.width0?"right":"center",vertical:s<0?"top":i>0?"bottom":"middle"} -fo(a(i),a(s))?u.important="horizontal":u.important="vertical",e.using.call(this,t,u)}),c.offset(t.extend(E,{using:l -}))})},t.ui.position={fit:{left:function(t,e){var n=e.within,r=n.isWindow?n.scrollLeft:n.offset.left,i=n.width,a=t.left-e.collisionPosition.marginLeft,s=r-a,u=a+e.collisionWidth-i-r,l -e.collisionWidth>i?s>0&&u<=0?(l=t.left+s+e.collisionWidth-i-r,t.left+=s-l):u>0&&s<=0?t.left=r:s>u?t.left=r+i-e.collisionWidth:t.left=r:s>0?t.left+=s:u>0?t.left-=u:t.left=o(t.left-a,t.left)},top:function(t,e){ -var n=e.within,r=n.isWindow?n.scrollTop:n.offset.top,i=e.within.height,a=t.top-e.collisionPosition.marginTop,s=r-a,u=a+e.collisionHeight-i-r,l -e.collisionHeight>i?s>0&&u<=0?(l=t.top+s+e.collisionHeight-i-r,t.top+=s-l):u>0&&s<=0?t.top=r:s>u?t.top=r+i-e.collisionHeight:t.top=r:s>0?t.top+=s:u>0?t.top-=u:t.top=o(t.top-a,t.top)}},flip:{left:function(t,e){ -var n=e.within,r=n.offset.left+n.scrollLeft,i=n.width,o=n.isWindow?n.scrollLeft:n.offset.left,s=t.left-e.collisionPosition.marginLeft,u=s-o,l=s+e.collisionWidth-i-o,c="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,d="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0],p,h - - -u<0?(p=t.left+c+d+f+e.collisionWidth-i-r,(p<0||p0&&(h=t.left-e.collisionPosition.marginLeft+c+d+f-o,(h>0||a(h)u&&(m<0||m0&&(h=t.top-e.collisionPosition.marginTop+d+f+p-o,t.top+d+f+p>l&&(h>0||a(h)10&&i<11,e.innerHTML="", -n.removeChild(e)}(),t.uiBackCompat!==!1&&!function(t){var n=t.fn.position -t.fn.position=function(r){if(!r||!r.offset)return n.call(this,r) +},_mouseDelayMet:function(t){return this.mouseDelayMet},_mouseStart:function(t){},_mouseDrag:function(t){},_mouseStop:function(t){},_mouseCapture:function(t){return!0}})}(t),function(e,n){function r(t,e,n){ +return[parseInt(t[0],10)*(p.test(t[0])?e/100:1),parseInt(t[1],10)*(p.test(t[1])?n/100:1)]}function i(t,n){return parseInt(e.css(t,n),10)||0}e.ui=e.ui||{} +var o,a=Math.max,s=Math.abs,u=Math.round,l=/left|center|right/,c=/top|center|bottom/,d=/[\+\-]\d+%?/,f=/^\w+/,p=/%$/,h=e.fn.position +e.position={scrollbarWidth:function(){if(o!==n)return o +var t,r,i=e("
"),a=i.children()[0] +return e("body").append(i),t=a.offsetWidth,i.css("overflow","scroll"),r=a.offsetWidth,t===r&&(r=i[0].clientWidth),i.remove(),o=t-r},getScrollInfo:function(t){var n=t.isWindow?"":t.element.css("overflow-x"),r=t.isWindow?"":t.element.css("overflow-y"),i="scroll"===n||"auto"===n&&t.width0?"right":"center",vertical:u<0?"top":i>0?"bottom":"middle"} +oa(s(i),s(u))?l.important="horizontal":l.important="vertical",t.using.call(this,e,l)}),d.offset(e.extend(k,{using:c +}))})},e.ui.position={fit:{left:function(t,e){var n=e.within,r=n.isWindow?n.scrollLeft:n.offset.left,i=n.width,o=t.left-e.collisionPosition.marginLeft,s=r-o,u=o+e.collisionWidth-i-r,l +e.collisionWidth>i?s>0&&u<=0?(l=t.left+s+e.collisionWidth-i-r,t.left+=s-l):u>0&&s<=0?t.left=r:s>u?t.left=r+i-e.collisionWidth:t.left=r:s>0?t.left+=s:u>0?t.left-=u:t.left=a(t.left-o,t.left)},top:function(t,e){ +var n=e.within,r=n.isWindow?n.scrollTop:n.offset.top,i=e.within.height,o=t.top-e.collisionPosition.marginTop,s=r-o,u=o+e.collisionHeight-i-r,l +e.collisionHeight>i?s>0&&u<=0?(l=t.top+s+e.collisionHeight-i-r,t.top+=s-l):u>0&&s<=0?t.top=r:s>u?t.top=r+i-e.collisionHeight:t.top=r:s>0?t.top+=s:u>0?t.top-=u:t.top=a(t.top-o,t.top)}},flip:{left:function(t,e){ +var n=e.within,r=n.offset.left+n.scrollLeft,i=n.width,o=n.isWindow?n.scrollLeft:n.offset.left,a=t.left-e.collisionPosition.marginLeft,u=a-o,l=a+e.collisionWidth-i-o,c="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,d="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0],p,h + + +u<0?(p=t.left+c+d+f+e.collisionWidth-i-r,(p<0||p0&&(h=t.left-e.collisionPosition.marginLeft+c+d+f-o,(h>0||s(h)u&&(m<0||m0&&(h=t.top-e.collisionPosition.marginTop+d+f+p-o,t.top+d+f+p>l&&(h>0||s(h)10&&i<11,t.innerHTML="", +n.removeChild(t)}(),e.uiBackCompat!==!1&&!function(t){var e=t.fn.position +t.fn.position=function(r){if(!r||!r.offset)return e.call(this,r) var i=r.offset.split(" "),o=r.at.split(" ") -return 1===i.length&&(i[1]=i[0]),/^\d/.test(i[0])&&(i[0]="+"+i[0]),/^\d/.test(i[1])&&(i[1]="+"+i[1]),1===o.length&&(/left|center|right/.test(o[0])?o[1]="center":(o[1]=o[0],o[0]="center")),n.call(this,t.extend(r,{ -at:o[0]+i[0]+" "+o[1]+i[1],offset:e}))}}(jQuery)}(jQuery),function(t,e){var n=0,r={},i={} -r.height=r.paddingTop=r.paddingBottom=r.borderTopWidth=r.borderBottomWidth="hide",i.height=i.paddingTop=i.paddingBottom=i.borderTopWidth=i.borderBottomWidth="show",t.widget("ui.accordion",{version:"1.9.2", -options:{active:0,animate:{},collapsible:!1,event:"click",header:"> li > :first-child,> :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null, -beforeActivate:null},_create:function(){var e=this.accordionId="ui-accordion-"+(this.element.attr("id")||++n),r=this.options -this.prevShow=this.prevHide=t(),this.element.addClass("ui-accordion ui-widget ui-helper-reset"),this.headers=this.element.find(r.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all"), -this._hoverable(this.headers),this._focusable(this.headers),this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").hide(),r.collapsible||r.active!==!1&&null!=r.active||(r.active=0), -r.active<0&&(r.active+=this.headers.length),this.active=this._findActive(r.active).addClass("ui-accordion-header-active ui-state-active").toggleClass("ui-corner-all ui-corner-top"),this.active.next().addClass("ui-accordion-content-active").show(), -this._createIcons(),this.refresh(),this.element.attr("role","tablist"),this.headers.attr("role","tab").each(function(n){var r=t(this),i=r.attr("id"),o=r.next(),a=o.attr("id") -i||(i=e+"-header-"+n,r.attr("id",i)),a||(a=e+"-panel-"+n,o.attr("id",a)),r.attr("aria-controls",a),o.attr("aria-labelledby",i)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false", -tabIndex:-1}).next().attr({"aria-expanded":"false","aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true",tabIndex:0}).next().attr({"aria-expanded":"true","aria-hidden":"false" -}):this.headers.eq(0).attr("tabIndex",0),this._on(this.headers,{keydown:"_keydown"}),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._setupEvents(r.event)},_getCreateEventData:function(){return{ -header:this.active,content:this.active.length?this.active.next():t()}},_createIcons:function(){var e=this.options.icons -e&&(t("").addClass("ui-accordion-header-icon ui-icon "+e.header).prependTo(this.headers),this.active.children(".ui-accordion-header-icon").removeClass(e.header).addClass(e.activeHeader),this.headers.addClass("ui-accordion-icons")) - -},_destroyIcons:function(){this.headers.removeClass("ui-accordion-icons").children(".ui-accordion-header-icon").remove()},_destroy:function(){var t -this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role"),this.headers.removeClass("ui-accordion-header ui-accordion-header-active ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").each(function(){ -/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),this._destroyIcons(),t=this.headers.next().css("display","").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").each(function(){ -/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),"content"!==this.options.heightStyle&&t.css("height","")},_setOption:function(t,e){return"active"===t?void this._activate(e):("event"===t&&(this.options.event&&this._off(this.headers,this.options.event), -this._setupEvents(e)),this._super(t,e),"collapsible"!==t||e||this.options.active!==!1||this._activate(0),"icons"===t&&(this._destroyIcons(),e&&this._createIcons()),void("disabled"===t&&this.headers.add(this.headers.next()).toggleClass("ui-state-disabled",!!e))) +return 1===i.length&&(i[1]=i[0]),/^\d/.test(i[0])&&(i[0]="+"+i[0]),/^\d/.test(i[1])&&(i[1]="+"+i[1]),1===o.length&&(/left|center|right/.test(o[0])?o[1]="center":(o[1]=o[0],o[0]="center")),e.call(this,t.extend(r,{ +at:o[0]+i[0]+" "+o[1]+i[1],offset:n}))}}(t)}(t),function(t,e){t.widget("ui.draggable",t.ui.mouse,{version:"1.9.2",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1, +containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20, +snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1},_create:function(){"original"!=this.options.helper||/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative"), +this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._mouseInit()},_destroy:function(){this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"), +this._mouseDestroy()},_mouseCapture:function(e){var n=this.options +return!(this.helper||n.disabled||t(e.target).is(".ui-resizable-handle"))&&(this.handle=this._getHandle(e),!!this.handle&&(t(n.iframeFix===!0?"iframe":n.iframeFix).each(function(){t('
').css({ +width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(t(this).offset()).appendTo("body")}),!0))},_mouseStart:function(e){var n=this.options +return this.helper=this._createHelper(e),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),t.ui.ddmanager&&(t.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"), +this.scrollParent=this.helper.scrollParent(),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},t.extend(this.offset,{ +click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(e),this.originalPageX=e.pageX, +this.originalPageY=e.pageY,n.cursorAt&&this._adjustOffsetFromHelper(n.cursorAt),n.containment&&this._setContainment(),this._trigger("start",e)===!1?(this._clear(),!1):(this._cacheHelperProportions(),t.ui.ddmanager&&!n.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e), +this._mouseDrag(e,!0),t.ui.ddmanager&&t.ui.ddmanager.dragStart(this,e),!0)},_mouseDrag:function(e,n){if(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),!n){ +var r=this._uiHash() +if(this._trigger("drag",e,r)===!1)return this._mouseUp({}),!1 +this.position=r.position}return this.options.axis&&"y"==this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"==this.options.axis||(this.helper[0].style.top=this.position.top+"px"), +t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var n=!1 +t.ui.ddmanager&&!this.options.dropBehaviour&&(n=t.ui.ddmanager.drop(this,e)),this.dropped&&(n=this.dropped,this.dropped=!1) +for(var r=this.element[0],i=!1;r&&(r=r.parentNode);)r==document&&(i=!0) +if(!i&&"original"===this.options.helper)return!1 +if("invalid"==this.options.revert&&!n||"valid"==this.options.revert&&n||this.options.revert===!0||t.isFunction(this.options.revert)&&this.options.revert.call(this.element,n)){var o=this +t(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){o._trigger("stop",e)!==!1&&o._clear()})}else this._trigger("stop",e)!==!1&&this._clear() +return!1},_mouseUp:function(e){return t("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)}),t.ui.ddmanager&&t.ui.ddmanager.dragStop(this,e),t.ui.mouse.prototype._mouseUp.call(this,e) -},_keydown:function(e){if(!e.altKey&&!e.ctrlKey){var n=t.ui.keyCode,r=this.headers.length,i=this.headers.index(e.target),o=!1 -switch(e.keyCode){case n.RIGHT:case n.DOWN:o=this.headers[(i+1)%r] -break -case n.LEFT:case n.UP:o=this.headers[(i-1+r)%r] -break -case n.SPACE:case n.ENTER:this._eventHandler(e) -break -case n.HOME:o=this.headers[0] -break -case n.END:o=this.headers[r-1]}o&&(t(e.target).attr("tabIndex",-1),t(o).attr("tabIndex",0),o.focus(),e.preventDefault())}},_panelKeyDown:function(e){e.keyCode===t.ui.keyCode.UP&&e.ctrlKey&&t(e.currentTarget).prev().focus() +},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(e){var n=!this.options.handle||!t(this.options.handle,this.element).length +return t(this.options.handle,this.element).find("*").andSelf().each(function(){this==e.target&&(n=!0)}),n},_createHelper:function(e){var n=this.options,r=t.isFunction(n.helper)?t(n.helper.apply(this.element[0],[e])):"clone"==n.helper?this.element.clone().removeAttr("id"):this.element -},refresh:function(){var e,n,r=this.options.heightStyle,i=this.element.parent() -"fill"===r?(t.support.minHeight||(n=i.css("overflow"),i.css("overflow","hidden")),e=i.height(),this.element.siblings(":visible").each(function(){var n=t(this),r=n.css("position") -"absolute"!==r&&"fixed"!==r&&(e-=n.outerHeight(!0))}),n&&i.css("overflow",n),this.headers.each(function(){e-=t(this).outerHeight(!0)}),this.headers.next().each(function(){t(this).height(Math.max(0,e-t(this).innerHeight()+t(this).height())) -}).css("overflow","auto")):"auto"===r&&(e=0,this.headers.next().each(function(){e=Math.max(e,t(this).css("height","").height())}).height(e))},_activate:function(e){var n=this._findActive(e)[0] -n!==this.active[0]&&(n=n||this.active[0],this._eventHandler({target:n,currentTarget:n,preventDefault:t.noop}))},_findActive:function(e){return"number"==typeof e?this.headers.eq(e):t()},_setupEvents:function(e){ -var n={} -e&&(t.each(e.split(" "),function(t,e){n[e]="_eventHandler"}),this._on(this.headers,n))},_eventHandler:function(e){var n=this.options,r=this.active,i=t(e.currentTarget),o=i[0]===r[0],a=o&&n.collapsible,s=a?t():i.next(),u=r.next(),l={ -oldHeader:r,oldPanel:u,newHeader:a?t():i,newPanel:s} -e.preventDefault(),o&&!n.collapsible||this._trigger("beforeActivate",e,l)===!1||(n.active=!a&&this.headers.index(i),this.active=o?t():i,this._toggle(l),r.removeClass("ui-accordion-header-active ui-state-active"), -n.icons&&r.children(".ui-accordion-header-icon").removeClass(n.icons.activeHeader).addClass(n.icons.header),o||(i.removeClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-active ui-corner-top"), -n.icons&&i.children(".ui-accordion-header-icon").removeClass(n.icons.header).addClass(n.icons.activeHeader),i.next().addClass("ui-accordion-content-active")))},_toggle:function(e){var n=e.newPanel,r=this.prevShow.length?this.prevShow:e.oldPanel +return r.parents("body").length||r.appendTo("parent"==n.appendTo?this.element[0].parentNode:n.appendTo),r[0]==this.element[0]||/(fixed|absolute)/.test(r.css("position"))||r.css("position","absolute"),r +},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left), +"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent() -this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=n,this.prevHide=r,this.options.animate?this._animate(n,r,e):(r.hide(),n.show(),this._toggleComplete(e)),r.attr({"aria-expanded":"false","aria-hidden":"true" -}),r.prev().attr("aria-selected","false"),n.length&&r.length?r.prev().attr("tabIndex",-1):n.length&&this.headers.filter(function(){return 0===t(this).attr("tabIndex")}).attr("tabIndex",-1),n.attr({"aria-expanded":"true", -"aria-hidden":"false"}).prev().attr({"aria-selected":"true",tabIndex:0})},_animate:function(t,e,n){var o,a,s,u=this,l=0,c=t.length&&(!e.length||t.index()",options:{appendTo:"body",autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null, -close:null,focus:null,open:null,response:null,search:null,select:null},pending:0,_create:function(){var e,n,r -this.isMultiLine=this._isMultiLine(),this.valueMethod=this.element[this.element.is("input,textarea")?"val":"text"],this.isNewMenu=!0,this.element.addClass("ui-autocomplete-input").attr("autocomplete","off"), -this._on(this.element,{keydown:function(i){if(this.element.prop("readOnly"))return e=!0,r=!0,void(n=!0) -e=!1,r=!1,n=!1 -var o=t.ui.keyCode -switch(i.keyCode){case o.PAGE_UP:e=!0,this._move("previousPage",i) -break -case o.PAGE_DOWN:e=!0,this._move("nextPage",i) -break -case o.UP:e=!0,this._keyEvent("previous",i) -break -case o.DOWN:e=!0,this._keyEvent("next",i) -break -case o.ENTER:case o.NUMPAD_ENTER:this.menu.active&&(e=!0,i.preventDefault(),this.menu.select(i)) -break -case o.TAB:this.menu.active&&this.menu.select(i) -break -case o.ESCAPE:this.menu.element.is(":visible")&&(this._value(this.term),this.close(i),i.preventDefault()) -break -default:n=!0,this._searchTimeout(i)}},keypress:function(r){if(e)return e=!1,void r.preventDefault() -if(!n){var i=t.ui.keyCode -switch(r.keyCode){case i.PAGE_UP:this._move("previousPage",r) -break -case i.PAGE_DOWN:this._move("nextPage",r) -break -case i.UP:this._keyEvent("previous",r) -break -case i.DOWN:this._keyEvent("next",r)}}},input:function(t){return r?(r=!1,void t.preventDefault()):void this._searchTimeout(t)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){ -return this.cancelBlur?void delete this.cancelBlur:(clearTimeout(this.searching),this.close(t),void this._change(t))}}),this._initSource(),this.menu=t("