mixit/compiler/dist/openweathermap/main.js

1 line
18 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},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=35)}([function(t,e,n){t.exports=!n(3)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(7);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var r=n(8),o=n(18);t.exports=n(0)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(1),o=n(5),i=n(2),s=n(20)("src"),a=n(55),u=(""+a).split("toString");n(11).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var c="function"==typeof n;c&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(c&&(i(n,s)||o(n,s,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||a.call(this)})},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(4),o=n(32),i=n(19),s=Object.defineProperty;e.f=n(0)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(21)("wks"),o=n(20),i=n(1).Symbol,s="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=s&&i[t]||(s?i:o)("Symbol."+t))}).store=r},function(t,e,n){var r=n(57),o=n(16);t.exports=function(t){return r(o(t))}},function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(21)("keys"),o=n(20);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e,n){var r=n(27),o=n(12);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(1),o=n(11),i=n(5),s=n(6),a=n(29),u=function(t,e,n){var c,f,p,l,h=t&u.F,v=t&u.G,d=t&u.S,y=t&u.P,g=t&u.B,m=v?r:d?r[e]||(r[e]={}):(r[e]||{}).prototype,_=v?o:o[e]||(o[e]={}),b=_.prototype||(_.prototype={});for(c in v&&(n=e),n)p=((f=!h&&m&&void 0!==m[c])?m:n)[c],l=g&&f?a(p,r):y&&"function"==typeof p?a(Function.call,p):p,m&&s(m,c,p,t&u.U),_[c]!=p&&i(_,c,l),y&&b[c]!=p&&(b[c]=p)};r.core=o,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports={}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(7);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(11),o=n(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(33)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){"use strict";var r=n(4);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var r=n(41),o=n(18),i=n(10),s=n(19),a=n(2),u=n(32),c=Object.getOwnPropertyDescriptor;e.f=n(0)?c:function(t,e){if(t=i(t),e=s(e,!0),u)try{return c(t,e)}catch(t){}if(a(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(16);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(8).f,o=n(2),i=n(9)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(2),o=n(10),i=n(51)(!1),s=n(13)("IE_PROTO");t.exports=function(t,e){var n,a=o(t),u=0,c=[];for(n in a)n!=s&&r(a,n)&&c.push(n);for(;e.length>u;)r(a,n=e[u++])&&(~i(c,n)||c.push(n));return c}},function(t,e,n){var r=n(4),o=n(52),i=n(12),s=n(13)("IE_PROTO"),a=function(){},u=function(){var t,e=n(31)("iframe"),r=i.length;for(e.style.display="none",n(48).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u.prototype[i[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[s]=t):n=u(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(54);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(7),o=n(1).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){t.exports=!n(0)&&!n(3)(function(){return 7!=Object.defineProperty(n(31)("div"),"a",{get:function(){return 7}}).a})},function(t,e){t.exports=!1},function(t,e,n){"use strict";var r=n(59),o=n(58),i=n(17),s=n(10);t.exports=n(56)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"openweathermap"},[n("div",{staticClass:"header",on:{click:function(e){t.showSettings=!t.showSettings}}},[t._v("OpenWeatherMap")]),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showSettings,expression:"showSettings"}],staticClass:"settings"},[n("p",[n("label",{attrs:{for:"token"}},[t._v("Token:")]),n("input",{attrs:{id:"token"},domProps:{value:t.token},on:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.setOption("token",e.target.value)}}})]),n("p",[n("label",{attrs:{for:"update"}},[t._v("Update interval:")]),n("input",{attrs:{id:"update",type:"number"},domProps:{value:t.update},on:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.setOption("update",parseInt(e.target.value))}}})]),n("p",[n("button",{on:{click:function(e){t.showAdd=!0}}},[t._v("Add city")])])]),t.weathers.length>0||0==t.cities.length?[n("div",{staticClass:"list"},[t._l(t.weathers,function(e,r){return n("div",{staticClass:"weather",class:{selected:t.selected==r},on:{click:function(e){e.stopPropagation(),e.preventDefault(),t.makeSelect(r)}}},[t._l(e.weather,function(e){return n("div",{staticClass:"main"},[n("p",[t._v(t._s(e.description))]),n("div",{staticClass:"ic"},[n("img",{attrs:{src:"https://openweathermap.org/img/w/"+e.icon+".png",alt:e.main}})])])}),n("div",{staticClass:"header"},[t._v(t._s(e.name)+" "),n("img",{staticClass:"icon",attrs:{src:"https://openweathermap.org/images/flags/"+e.sys.country.toLowerCase()+".png",alt:e.sys.country,title:e.sys.country}})]),n("div",{staticClass:"data"},[t._v(t._s(e.main.temp)+"°C ─ "+t._s(e.main.humidity)+"%")])],2)}),n("input",{directives:[{name:"show",rawName:"v-show",value:t.showAdd,expression:"showAdd"}],staticClass:"weather",attrs:{placeholder:"city id"},on:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.addCity(parseInt(e.target.value))}}})],2),n("div",{staticClass:"forecast"},[t.forecast?[n("div",{staticClass:"list"},t._l(t.forecast,function(e){return n("div",{staticClass:"line"},[t._v(t._s(t.formatDate(e.dt))),n("div",{staticClass:"data"},[t._v(t._s(e.main.temp)+"°C ─ "+t._s(e.main.humidity)+"%")]),t._l(e.weather,function(e){return n("div",{staticClass:"main"},[n("div",{staticClass:"ic"},[n("img",{attrs:{src:"https://openweathermap.org/img/w/"+e.icon+".png",alt:e.main}})]),n("p",[t._v(t._s(e.description))])])})],2)}),0)]:[t._v("Loading...")]],2)]:[t._v("Loading...")]],2)};r._withStripped=!0;n(60),n(34),n(46),n(44),n(37);function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){i(t,e,n[e])})}return t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var s=function(t,e,n,r,o,i,s,a){var u,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),s?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=u):o&&(u=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),u)if(c.functional){c._injectStyles=u;var f=c.render;c.render=function(t,e){return u.call(e),f(t,e)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,u):[u]}return{exports:t,options:c}}({name:"openweathermap",components:{},mixins:[{methods:{emitError:function(t){this.$emit("error",t.toString())}}},{methods:{saveOptions:function(t){this.$emit("save",t)}}}],props:{token:String,cities:{type:Array,default:function(){return[]}},timeout:{default:5e3,type:Number},update:{default:600,type:Number},lang:{default:"fr",type:String}},data:function(){return{rest:axios.create({baseURL:"https://api.openweathermap.org/data/2.5/",params:{appid:this.token,units:"metric",lang:this.lang},timeout:this.timeout}),weathers:[],forecast:null,selected:0,showSettings:!1,showAdd:0==this.cities.length}},methods:{makeSelect:function(t){this.selected=t,this.forecast=null,this.loadForecast()},updateData:function(){for(var t=this,e=function(e){var n=t.weathers[e];t.getWeather({id:n.id}).then(function(n){return t.$set(t.weathers,e,n.data)})},n=0;n<this.weathers.length;n++)e(n);this.loadForecast()},getWeather:function(t){return this.rest.get("weather",{params:t}).catch(this.emitError)},loadForecast:function(){var t=this;this.weathers[this.selected]&&this.rest.get("forecast",{params:{id:this.weathers[this.selected].id}}).then(function(e){return t.forecast=e.data.list}).catch(this.emitError)},formatDate:function(t){var e=new Date(1e3*t);return"".concat(e.toLocaleDateString()," ").concat(e.getHours(),"h")},addCity:function(t){var e=o({},this.$props);e.cities.push({id:t}),this.saveOptions(e)},setOption:function(t,e){var n=o({},this.$props);n[t]=e,this.saveOptions(n)}},created:function(){var t=this;axios.all(this.cities.map(function(e){return t.getWeather(e).then(function(e){return t.weathers.push(e.data)})})).then(this.loadForecast),this.update>0&&setInterval(this.updateData,1e3*this.update)}},r,[],!1,null,null,null);s.options.__file="src/openweathermap/main.vue";var a=s.exports;Vue.component(a.name,a)},function(t,e,n){n(0)&&"g"!=/./g.flags&&n(8).f(RegExp.prototype,"flags",{configurable:!0,get:n(22)})},function(t,e,n){"use strict";n(36);var r=n(4),o=n(22),i=n(0),s=/./.toString,a=function(t){n(6)(RegExp.prototype,"toString",t,!0)};n(3)(function(){return"/a/b"!=s.call({source:"a",flags:"b"})})?a(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!i&&t instanceof RegExp?o.call(t):void 0)}):"toString"!=s.name&&a(function(){return s.call(this)})},function(t,e){t.exports="\t\n\v\f\r    \u2028\u2029\ufeff"},function(t,e,n){var r=n(15),o=n(16),i=n(3),s=n(38),a="["+s+"]",u=RegExp("^"+a+a+"*"),c=RegExp(a+a+"*$"),f=function(t,e,n){var o={},a=i(function(){return!!s[t]()||"…"!="…"[t]()}),u=o[t]=a?e(p):s[t];n&&(o[n]=u),r(r.P+r.F*a,"String",o)},p=f.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(c,"")),t};t.exports=f},function(t,e,n){var r=n(27),o=n(12).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(7),o=n(4),i=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(29)(Function.call,n(23).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}},function(t,e,n){var r=n(7),o=n(42).set;t.exports=function(t,e,n){var i,s=e.constructor;return s!==n&&"function"==typeof s&&(i=s.prototype)!==n.prototype&&r(i)&&o&&o(t,i),t}},function(t,e,n){"use strict";var r=n(1),o=n(2),i=n(30),s=n(43),a=n(19),u=n(3),c=n(40).f,f=n(23).f,p=n(8).f,l=n(39).trim,h=r.Number,v=h,d=h.prototype,y="Number"==i(n(28)(d)),g="trim"in String.prototype,m=function(t){var e=a(t,!1);if("string"==typeof e&&e.length>2){var n,r,o,i=(e=g?e.trim():l(e,3)).charCodeAt(0);if(43===i||45===i){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===i){switch(e.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+e}for(var s,u=e.slice(2),c=0,f=u.length;c<f;c++)if((s=u.charCodeAt(c))<48||s>o)return NaN;return parseInt(u,r)}}return+e};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof h&&(y?u(function(){d.valueOf.call(n)}):"Number"!=i(n))?s(new v(m(e)),n,h):m(e)};for(var _,b=n(0)?c(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;b.length>x;x++)o(v,_=b[x])&&!o(h,_)&&p(h,_,f(v,_));h.prototype=d,d.constructor=h,n(6)(r,"Number",h)}},function(t,e,n){var r=n(15),o=n(11),i=n(3);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],s={};s[t]=e(n),r(r.S+r.F*i(function(){n(1)}),"Object",s)}},function(t,e,n){var r=n(24),o=n(14);n(45)("keys",function(){return function(t){return o(r(t))}})},function(t,e,n){var r=n(2),o=n(24),i=n(13)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,e,n){var r=n(1).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(26),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(26),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(10),o=n(50),i=n(49);t.exports=function(t){return function(e,n,s){var a,u=r(e),c=o(u.length),f=i(s,c);if(t&&n!=n){for(;c>f;)if((a=u[f++])!=a)return!0}else for(;c>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}}},function(t,e,n){var r=n(8),o=n(4),i=n(14);t.exports=n(0)?Object.defineProperties:function(t,e){o(t);for(var n,s=i(e),a=s.length,u=0;a>u;)r.f(t,n=s[u++],e[n]);return t}},function(t,e,n){"use strict";var r=n(28),o=n(18),i=n(25),s={};n(5)(s,n(9)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){t.exports=n(21)("native-function-to-string",Function.toString)},function(t,e,n){"use strict";var r=n(33),o=n(15),i=n(6),s=n(5),a=n(17),u=n(53),c=n(25),f=n(47),p=n(9)("iterator"),l=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,v,d,y,g){u(n,e,v);var m,_,b,x=function(t){if(!l&&t in C)return C[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},w=e+" Iterator",S="values"==d,O=!1,C=t.prototype,k=C[p]||C["@@iterator"]||d&&C[d],E=k||x(d),j=d?S?x("entries"):E:void 0,P="Array"==e&&C.entries||k;if(P&&(b=f(P.call(new t)))!==Object.prototype&&b.next&&(c(b,w,!0),r||"function"==typeof b[p]||s(b,p,h)),S&&k&&"values"!==k.name&&(O=!0,E=function(){return k.call(this)}),r&&!g||!l&&!O&&C[p]||s(C,p,E),a[e]=E,a[w]=h,d)if(m={values:S?E:x("values"),keys:y?E:x("keys"),entries:j},g)for(_ in m)_ in C||i(C,_,m[_]);else o(o.P+o.F*(l||O),e,m);return m}},function(t,e,n){var r=n(30);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(9)("unscopables"),o=Array.prototype;void 0==o[r]&&n(5)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e,n){for(var r=n(34),o=n(14),i=n(6),s=n(1),a=n(5),u=n(17),c=n(9),f=c("iterator"),p=c("toStringTag"),l=u.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},v=o(h),d=0;d<v.length;d++){var y,g=v[d],m=h[g],_=s[g],b=_&&_.prototype;if(b&&(b[f]||a(b,f,l),b[p]||a(b,p,g),u[g]=l,m))for(y in r)b[y]||i(b,y,r[y],!0)}}]);