From 5a85a46567d63f9041ce548a47c1c0d5b12456b3 Mon Sep 17 00:00:00 2001 From: Regis Freyd Date: Tue, 20 Mar 2018 21:57:53 -0400 Subject: [PATCH 1/2] Add two new languages: Hebrew and Chinese Simplified --- config/monica.php | 4 +++- resources/lang/en/settings.php | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/config/monica.php b/config/monica.php index f1b1a20e09a..09226cad557 100644 --- a/config/monica.php +++ b/config/monica.php @@ -8,7 +8,7 @@ |-------------------------------------------------------------------------- | | This is the list of locales that we will use to localize the application. - | Each locale is defined in `resources/lang/` in their respective folder. + | Each locale is defined in `resources/lang/` in its respective folder. | */ 'langs' => [ @@ -19,6 +19,8 @@ 'cs', 'it', 'de', + 'zh', + 'he', ], /* diff --git a/resources/lang/en/settings.php b/resources/lang/en/settings.php index 2eea61ee1b5..fecf8fc9d64 100644 --- a/resources/lang/en/settings.php +++ b/resources/lang/en/settings.php @@ -49,6 +49,8 @@ 'locale_cs' => 'Czech', 'locale_it' => 'Italian', 'locale_de' => 'German', + 'locale_zh' => 'Chinese Simplified', + 'locale_he' => 'Hebrew', 'security_title' => 'Security', 'security_help' => 'Change security matters for your account.', From 1613b7e0010d8b891e35173cb804b0005a6ab9d9 Mon Sep 17 00:00:00 2001 From: Regis Freyd Date: Tue, 20 Mar 2018 22:00:02 -0400 Subject: [PATCH 2/2] Update i18n locales --- package-lock.json | 2 +- public/js/app.js | 2 +- public/js/app.js.map | 2 +- public/js/stripe.js.map | 2 +- public/mix-manifest.json | 6 +- .../assets/js/vue-i18n-locales.generated.js | 10500 +++++++++------- 6 files changed, 5979 insertions(+), 4535 deletions(-) diff --git a/package-lock.json b/package-lock.json index 40b8133a271..0c1f8120820 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10050,7 +10050,7 @@ }, "onetime": { "version": "1.1.0", - "resolved": "http://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz", "integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=", "dev": true }, diff --git a/public/js/app.js b/public/js/app.js index 7a7b5b86245..cbbcdb7559b 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -1,2 +1,2 @@ -!function(e){var t={};function n(a){if(t[a])return t[a].exports;var i=t[a]={i:a,l:!1,exports:{}};return e[a].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:a})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}({"+dqM":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default={data:function(){return{contactFieldTypes:[],submitted:!1,edited:!1,deleted:!1,createForm:{name:"",protocol:"",icon:"",errors:[]},editForm:{id:"",name:"",protocol:"",icon:"",errors:[]}}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},methods:{prepareComponent:function(){this.getContactFieldTypes(),$("#modal-create-contact-field-type").on("shown.bs.modal",function(){$("#name").focus()}),$("#modal-edit-contact-field-type").on("shown.bs.modal",function(){$("#name").focus()})},getContactFieldTypes:function(){var e=this;axios.get("/settings/personalization/contactfieldtypes").then(function(t){e.contactFieldTypes=t.data})},add:function(){$("#modal-create-contact-field-type").modal("show")},store:function(){this.persistClient("post","/settings/personalization/contactfieldtypes",this.createForm,"#modal-create-contact-field-type",this.submitted),this.$notify({group:"main",title:this.$t("settings.personalization_contact_field_type_add_success"),text:"",width:"500px",type:"success"})},edit:function(e){this.editForm.id=e.id,this.editForm.name=e.name,this.editForm.protocol=e.protocol,this.editForm.icon=e.fontawesome_icon,$("#modal-edit-contact-field-type").modal("show")},update:function(){this.persistClient("put","/settings/personalization/contactfieldtypes/"+this.editForm.id,this.editForm,"#modal-edit-contact-field-type",this.edited),this.$notify({group:"main",title:this.$t("settings.personalization_contact_field_type_edit_success"),text:"",width:"500px",type:"success"})},showDelete:function(e){this.editForm.id=e.id,$("#modal-delete-contact-field-type").modal("show")},trash:function(){this.persistClient("delete","/settings/personalization/contactfieldtypes/"+this.editForm.id,this.editForm,"#modal-delete-contact-field-type",this.deleted),this.$notify({group:"main",title:this.$t("settings.personalization_contact_field_type_delete_success"),text:"",width:"500px",type:"success"})},persistClient:function(e,t,n,i,o){var r=this;n.errors={},axios[e](t,n).then(function(e){r.getContactFieldTypes(),n.id="",n.name="",n.protocol="",n.icon="",n.errors=[],$(i).modal("hide"),!0}).catch(function(e){"object"===a(e.response.data)?n.errors=_.flatten(_.toArray(e.response.data)):n.errors=["Something went wrong. Please try again."]})}}}},"+iJ1":function(e,t,n){var a=n("VU/8")(n("kkLY"),n("bMRZ"),!1,function(e){n("eJdv")},"data-v-25a46624",null);e.exports=a.exports},"/FjL":function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("journal-calendar",{attrs:{"journal-entry":e.journalEntry}}),e._v(" "),n("div",{staticClass:"fl journal-calendar-content"},[n("div",{staticClass:"br3 ba b--gray-monica bg-white mb3 journal-line"},[n("div",{staticClass:"flex pb3 pt3"},[n("div",{staticClass:"flex-none w-10 tc"},[n("h3",{staticClass:"mb0 normal fw5"},[e._v(e._s(e.activity.day))]),e._v(" "),n("p",{staticClass:"mb0 black-60 f6"},[e._v(e._s(e.activity.day_name))])]),e._v(" "),n("div",{staticClass:"flex-auto"},[n("p",{staticClass:"mb1"},[n("span",{staticClass:"pr2 f6 avenir"},[e._v(e._s(e.$t("journal.journal_entry_type_activity"))+": "+e._s(e.activity.activity_type))])]),e._v(" "),n("p",{staticClass:"mb1"},[e._v(e._s(e.activity.summary))]),e._v(" "),e.showDescription?n("p",[e._v(e._s(e.activity.description))]):e._e()]),e._v(" "),e.activity.description?[n("div",{staticClass:"flex-none w-5 pointer",on:{click:function(t){e.toggleDescription()}}},[n("div",{staticClass:"flex justify-center items-center h-100"},[n("svg",{directives:[{name:"tooltip",rawName:"v-tooltip.top",value:"Show comment",expression:"'Show comment'",modifiers:{top:!0}}],staticClass:"flex-none",attrs:{width:"16px",height:"13px",viewBox:"0 0 16 13",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[n("defs"),e._v(" "),n("g",{attrs:{id:"App",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd","stroke-linecap":"square"}},[n("g",{attrs:{id:"Desktop",transform:"translate(-839.000000, -279.000000)",stroke:"#979797"}},[n("g",{attrs:{id:"Group-4",transform:"translate(839.000000, 278.000000)"}},[n("path",{attrs:{d:"M0.5,1.5 L15.5,1.5",id:"Line-2"}}),e._v(" "),n("path",{attrs:{d:"M0.5,9.5 L15.5,9.5",id:"Line-2"}}),e._v(" "),n("path",{attrs:{d:"M0.5,5.5 L13.5,5.5",id:"Line-2"}}),e._v(" "),n("path",{attrs:{d:"M0.5,13.5 L10.5,13.5",id:"Line-2"}})])])])])])])]:e._e()],2),e._v(" "),n("div",{staticClass:"flex bt b--gray-monica"},[n("div",{staticClass:"w-10"},[e._v("\n  \n ")]),e._v(" "),n("div",{staticClass:"flex-none w-30 mt2 pt1 pb2"},[n("p",{staticClass:"mb0 f6 gray"},[e._v(e._s(e.$t("journal.journal_created_automatically")))])]),e._v(" "),n("div",{staticClass:"flex-auto w-60 tr mt2 pa1 pr3 pb2"},[n("span",{staticClass:"f6 gray"},[e._v(e._s(e.$t("app.with"))+" ")]),e._v(" "),e._l(e.activity.attendees,function(t){return n("div",{staticClass:"dib pointer ml2",on:{click:function(n){e.redirect(t)}}},[t.information.avatar.has_avatar?n("img",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.complete_name,expression:"attendees.complete_name"}],staticClass:"br3 journal-avatar-small",attrs:{src:t.information.avatar.avatar_url}}):e._e(),e._v(" "),t.information.avatar.has_avatar?e._e():n("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.complete_name,expression:"attendees.complete_name"}],staticClass:"br3 white tc journal-initial-small",style:{"background-color":t.information.avatar.default_avatar_color}},[e._v("\n "+e._s(t.initials)+"\n ")])])})],2)])])])],1)},staticRenderFns:[]}},0:function(e,t,n){n("sV/x"),n("xZZD"),e.exports=n("A15i")},"0pae":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{activeTab:"",callsAlreadyLoaded:!1,notesAlreadyLoaded:!1,calls:[],notes:[]}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},props:["defaultActiveTab"],methods:{prepareComponent:function(){this.setActiveTab(this.defaultActiveTab)},setActiveTab:function(e){this.activeTab=e,this.saveTab(e),"calls"==e&&(this.callsAlreadyLoaded||(this.getCalls(),this.callsAlreadyLoaded=!0)),"notes"==e&&(this.notesAlreadyLoaded||(this.getNotes(),this.notesAlreadyLoaded=!0))},saveTab:function(e){axios.post("/dashboard/setTab",{tab:e}).then(function(e){})},getCalls:function(){var e=this;axios.get("/dashboard/calls").then(function(t){e.calls=t.data})},getNotes:function(){var e=this;axios.get("/dashboard/notes").then(function(t){e.notes=t.data})}}}},"0w0L":function(e,t,n){var a=n("zWpP");"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);n("rjj0")("2147099e",a,!0,{})},1:function(e,t){},"162o":function(e,t,n){(function(e){var a=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(a.call(setTimeout,window,arguments),clearTimeout)},t.setInterval=function(){return new i(a.call(setInterval,window,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(window,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n("mypn"),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(t,n("DuR2"))},"1Ftj":function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[1==e.clickable?n("div",[e.contact.has_avatar?n("div",{staticClass:"tc"},[e.contact.has_avatar?n("img",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.contact.complete_name,expression:"contact.complete_name"}],staticClass:"br4 h3 w3 dib",attrs:{src:e.contact.avatar_url},on:{click:function(t){e.goToContact()}}}):e._e()]):e._e(),e._v(" "),e.contact.gravatar_url?n("div",{staticClass:"tc"},[n("img",{staticClass:"br4 h3 w3 dib",attrs:{src:e.contact.gravatar_url,width:"43"},on:{click:function(t){e.goToContact()}}})]):e._e(),e._v(" "),e.contact.has_avatar?e._e():n("div",{directives:[{name:"tooltip",rawName:"v-tooltip.bottom",value:e.contact.complete_name,expression:"contact.complete_name",modifiers:{bottom:!0}}],staticClass:"br4 h3 w3 dib pt3 white tc f4",style:{"background-color":e.contact.default_avatar_color},on:{click:function(t){e.goToContact()}}},[e._v("\n "+e._s(e.contact.initials)+"\n ")])]):e._e(),e._v(" "),0==e.clickable?n("div",[e.contact.has_avatar?n("div",{staticClass:"tc"},[e.contact.has_avatar?n("img",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.contact.complete_name,expression:"contact.complete_name"}],staticClass:"br4 h3 w3 dib",attrs:{src:e.contact.avatar_url}}):e._e()]):e._e(),e._v(" "),e.contact.gravatar_url?n("div",{staticClass:"tc"},[n("img",{staticClass:"br4 h3 w3 dib",attrs:{src:e.contact.gravatar_url,width:"43"}})]):e._e(),e._v(" "),e.contact.has_avatar?e._e():n("div",{directives:[{name:"tooltip",rawName:"v-tooltip.bottom",value:e.contact.complete_name,expression:"contact.complete_name",modifiers:{bottom:!0}}],staticClass:"br4 h3 w3 dib pt3 white tc f4",style:{"background-color":e.contact.default_avatar_color}},[e._v("\n "+e._s(e.contact.initials)+"\n ")])]):e._e()])},staticRenderFns:[]}},"1abU":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{day:[]}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},props:["journalEntry"],methods:{prepareComponent:function(){this.day=this.journalEntry.object},destroy:function(){var e=this;axios.delete("/journal/day/"+this.day.id).then(function(t){e.$emit("deleteJournalEntry",e.journalEntry.id)})}}}},"20cu":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{tokens:[]}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},methods:{prepareComponent:function(){this.getTokens()},getTokens:function(){var e=this;axios.get("/oauth/tokens").then(function(t){e.tokens=t.data})},revoke:function(e){var t=this;axios.delete("/oauth/tokens/"+e.id).then(function(e){t.getTokens()})}}}},"21It":function(e,t,n){"use strict";var a=n("FtD3");e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(a("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},"2i7L":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("XILU"),i=n.n(a);t.default={data:function(){return{format:"yyyy-MM-dd",selectedDate:""}},components:{Datepicker:i.a},mounted:function(){this.selectedDate=new Date,this.selectedDate.setYear(this.defaultDate.slice(0,4)),this.selectedDate.setMonth(parseInt(this.defaultDate.slice(5,7))-1),this.selectedDate.setDate(this.defaultDate.slice(8,10))},props:{value:null,id:{type:String},defaultDate:{type:String},locale:{type:String}},methods:{}}},"3IRH":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"437+":function(e,t){e.exports={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{class:["sweet-modal-tab",{active:this.active}]},[this._t("default")],2)},staticRenderFns:[]}},"4TwI":function(e,t,n){var a=n("VU/8")(n("0pae"),n("fkhF"),!1,function(e){n("YDK2")},"data-v-3374f9f4",null);e.exports=a.exports},"5VQ+":function(e,t,n){"use strict";var a=n("cGG2");e.exports=function(e,t){a.forEach(e,function(n,a){a!==t&&a.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[a])})}},"5d/b":function(e,t,n){var a=n("xDyL");"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);n("rjj0")("37705fab",a,!0,{})},"5m3O":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default={data:function(){return{clients:[],createForm:{errors:[],name:"",redirect:""},editForm:{errors:[],name:"",redirect:""}}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},methods:{prepareComponent:function(){this.getClients(),$("#modal-create-client").on("shown.bs.modal",function(){$("#create-client-name").focus()}),$("#modal-edit-client").on("shown.bs.modal",function(){$("#edit-client-name").focus()})},getClients:function(){var e=this;axios.get("/oauth/clients").then(function(t){e.clients=t.data})},showCreateClientForm:function(){$("#modal-create-client").modal("show")},store:function(){this.persistClient("post","/oauth/clients",this.createForm,"#modal-create-client")},edit:function(e){this.editForm.id=e.id,this.editForm.name=e.name,this.editForm.redirect=e.redirect,$("#modal-edit-client").modal("show")},update:function(){this.persistClient("put","/oauth/clients/"+this.editForm.id,this.editForm,"#modal-edit-client")},persistClient:function(e,t,n,i){var o=this;n.errors=[],axios[e](t,n).then(function(e){o.getClients(),n.name="",n.redirect="",n.errors=[],$(i).modal("hide")}).catch(function(e){"object"===a(e.response.data)?n.errors=_.flatten(_.toArray(e.response.data)):n.errors=["Something went wrong. Please try again."]})},destroy:function(e){var t=this;axios.delete("/oauth/clients/"+e.id).then(function(e){t.getClients()})}}}},"68uQ":function(e,t,n){(e.exports=n("FZ+f")(!1)).push([e.i,".note[data-v-f9b1ad80]:hover{background-color:#f6fbff}",""])},"6rY6":function(e,t,n){var a=n("T4AH");"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);n("rjj0")("55aaeea9",a,!0,{})},"72za":function(e,t,n){var a,i,o,r;r=function(e,t){"use strict";var n=function(e){var t=!1,n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};function a(e){return{}.toString.call(e).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function i(t){var n=this,a=!1;return e(this).one(o.TRANSITION_END,function(){a=!0}),setTimeout(function(){a||o.triggerTransitionEnd(n)},t),this}var o={TRANSITION_END:"bsTransitionEnd",getUID:function(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");return t||(t=e.getAttribute("href")||"",t=/^#[a-z]/i.test(t)?t:null),t},reflow:function(e){new Function("bs","return bs")(e.offsetHeight)},triggerTransitionEnd:function(n){e(n).trigger(t.end)},supportsTransitionEnd:function(){return Boolean(t)},typeCheckConfig:function(e,t,n){for(var i in n)if(n.hasOwnProperty(i)){var o=n[i],r=t[i],s=void 0;if(s=r&&((c=r)[0]||c).nodeType?"element":a(r),!new RegExp(o).test(s))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+o+'".')}var c}};return t=function(){if(window.QUnit)return!1;var e=document.createElement("bootstrap");for(var t in n)if(void 0!==e.style[t])return{end:n[t]};return!1}(),e.fn.emulateTransitionEnd=i,o.supportsTransitionEnd()&&(e.event.special[o.TRANSITION_END]={bindType:t.end,delegateType:t.end,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}}),o}(jQuery);t.exports=n},i=[t,e],void 0===(o="function"==typeof(a=r)?a.apply(t,i):a)||(e.exports=o)},"7GwW":function(e,t,n){"use strict";var a=n("cGG2"),i=n("21It"),o=n("DQCr"),r=n("oJlt"),s=n("GHBc"),c=n("FtD3"),l="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n("thJu");e.exports=function(e){return new Promise(function(t,d){var u=e.data,p=e.headers;a.isFormData(u)&&delete p["Content-Type"];var _=new XMLHttpRequest,f="onreadystatechange",m=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in _||s(e.url)||(_=new window.XDomainRequest,f="onload",m=!0,_.onprogress=function(){},_.ontimeout=function(){}),e.auth){var h=e.auth.username||"",v=e.auth.password||"";p.Authorization="Basic "+l(h+":"+v)}if(_.open(e.method.toUpperCase(),o(e.url,e.params,e.paramsSerializer),!0),_.timeout=e.timeout,_[f]=function(){if(_&&(4===_.readyState||m)&&(0!==_.status||_.responseURL&&0===_.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in _?r(_.getAllResponseHeaders()):null,a={data:e.responseType&&"text"!==e.responseType?_.response:_.responseText,status:1223===_.status?204:_.status,statusText:1223===_.status?"No Content":_.statusText,headers:n,config:e,request:_};i(t,d,a),_=null}},_.onerror=function(){d(c("Network Error",e,null,_)),_=null},_.ontimeout=function(){d(c("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",_)),_=null},a.isStandardBrowserEnv()){var g=n("p1b6"),b=(e.withCredentials||s(e.url))&&e.xsrfCookieName?g.read(e.xsrfCookieName):void 0;b&&(p[e.xsrfHeaderName]=b)}if("setRequestHeader"in _&&a.forEach(p,function(e,t){void 0===u&&"content-type"===t.toLowerCase()?delete p[t]:_.setRequestHeader(t,e)}),e.withCredentials&&(_.withCredentials=!0),e.responseType)try{_.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&_.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&_.upload&&_.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){_&&(_.abort(),d(e),_=null)}),void 0===u&&(u=null),_.send(u)})}},"7t+N":function(e,t,n){var a;!function(t,n){"use strict";"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,i){"use strict";var o=[],r=n.document,s=Object.getPrototypeOf,c=o.slice,l=o.concat,d=o.push,u=o.indexOf,p={},_=p.toString,f=p.hasOwnProperty,m=f.toString,h=m.call(Object),v={},g=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},b=function(e){return null!=e&&e===e.window},y={type:!0,src:!0,noModule:!0};function w(e,t,n){var a,i=(t=t||r).createElement("script");if(i.text=e,n)for(a in y)n[a]&&(i[a]=n[a]);t.head.appendChild(i).parentNode.removeChild(i)}function k(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?p[_.call(e)]||"object":typeof e}var x=function(e,t){return new x.fn.init(e,t)},C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function A(e){var t=!!e&&"length"in e&&e.length,n=k(e);return!g(e)&&!b(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}x.fn=x.prototype={jquery:"3.3.1",constructor:x,length:0,toArray:function(){return c.call(this)},get:function(e){return null==e?c.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return x.each(this,e)},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(c.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|"+P+")"+P+"*"),W=new RegExp("="+P+"*([^\\]'\"]*?)"+P+"*\\]","g"),H=new RegExp($),Y=new RegExp("^"+N+"$"),V={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+I+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Q=/[+~]/,X=new RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),ee=function(e,t,n){var a="0x"+t-65536;return a!=a||n?t:a<0?String.fromCharCode(a+65536):String.fromCharCode(a>>10|55296,1023&a|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ae=function(){p()},ie=ge(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{O.apply(D=L.call(w.childNodes),w.childNodes),D[w.childNodes.length].nodeType}catch(e){O={apply:D.length?function(e,t){E.apply(e,L.call(t))}:function(e,t){for(var n=e.length,a=0;e[n++]=t[a++];);e.length=n-1}}}function oe(e,t,a,i){var o,s,l,d,u,f,v,g=t&&t.ownerDocument,k=t?t.nodeType:9;if(a=a||[],"string"!=typeof e||!e||1!==k&&9!==k&&11!==k)return a;if(!i&&((t?t.ownerDocument||t:w)!==_&&p(t),t=t||_,m)){if(11!==k&&(u=Z.exec(e)))if(o=u[1]){if(9===k){if(!(l=t.getElementById(o)))return a;if(l.id===o)return a.push(l),a}else if(g&&(l=g.getElementById(o))&&b(t,l)&&l.id===o)return a.push(l),a}else{if(u[2])return O.apply(a,t.getElementsByTagName(e)),a;if((o=u[3])&&n.getElementsByClassName&&t.getElementsByClassName)return O.apply(a,t.getElementsByClassName(o)),a}if(n.qsa&&!T[e+" "]&&(!h||!h.test(e))){if(1!==k)g=t,v=e;else if("object"!==t.nodeName.toLowerCase()){for((d=t.getAttribute("id"))?d=d.replace(te,ne):t.setAttribute("id",d=y),s=(f=r(e)).length;s--;)f[s]="#"+d+" "+ve(f[s]);v=f.join(","),g=Q.test(e)&&me(t.parentNode)||t}if(v)try{return O.apply(a,g.querySelectorAll(v)),a}catch(e){}finally{d===y&&t.removeAttribute("id")}}}return c(e.replace(R,"$1"),t,a,i)}function re(){var e=[];return function t(n,i){return e.push(n+" ")>a.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function se(e){return e[y]=!0,e}function ce(e){var t=_.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function le(e,t){for(var n=e.split("|"),i=n.length;i--;)a.attrHandle[n[i]]=t}function de(e,t){var n=t&&e,a=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(a)return a;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function ue(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function _e(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ie(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function fe(e){return se(function(t){return t=+t,se(function(n,a){for(var i,o=e([],n.length,t),r=o.length;r--;)n[i=o[r]]&&(n[i]=!(a[i]=n[i]))})})}function me(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=oe.support={},o=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},p=oe.setDocument=function(e){var t,i,r=e?e.ownerDocument||e:w;return r!==_&&9===r.nodeType&&r.documentElement?(f=(_=r).documentElement,m=!o(_),w!==_&&(i=_.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",ae,!1):i.attachEvent&&i.attachEvent("onunload",ae)),n.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ce(function(e){return e.appendChild(_.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=J.test(_.getElementsByClassName),n.getById=ce(function(e){return f.appendChild(e).id=y,!_.getElementsByName||!_.getElementsByName(y).length}),n.getById?(a.filter.ID=function(e){var t=e.replace(X,ee);return function(e){return e.getAttribute("id")===t}},a.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(a.filter.ID=function(e){var t=e.replace(X,ee);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},a.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,a,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),a=0;o=i[a++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),a.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,a=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&a.push(n);return a}return o},a.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},v=[],h=[],(n.qsa=J.test(_.querySelectorAll))&&(ce(function(e){f.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&h.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||h.push("\\["+P+"*(?:value|"+I+")"),e.querySelectorAll("[id~="+y+"-]").length||h.push("~="),e.querySelectorAll(":checked").length||h.push(":checked"),e.querySelectorAll("a#"+y+"+*").length||h.push(".#.+[+~]")}),ce(function(e){e.innerHTML="";var t=_.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&h.push("name"+P+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&h.push(":enabled",":disabled"),f.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&h.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),h.push(",.*:")})),(n.matchesSelector=J.test(g=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&ce(function(e){n.disconnectedMatch=g.call(e,"*"),g.call(e,"[s!='']:x"),v.push("!=",$)}),h=h.length&&new RegExp(h.join("|")),v=v.length&&new RegExp(v.join("|")),t=J.test(f.compareDocumentPosition),b=t||J.test(f.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,a=t&&t.parentNode;return e===a||!(!a||1!==a.nodeType||!(n.contains?n.contains(a):e.compareDocumentPosition&&16&e.compareDocumentPosition(a)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},z=t?function(e,t){if(e===t)return u=!0,0;var a=!e.compareDocumentPosition-!t.compareDocumentPosition;return a||(1&(a=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===a?e===_||e.ownerDocument===w&&b(w,e)?-1:t===_||t.ownerDocument===w&&b(w,t)?1:d?M(d,e)-M(d,t):0:4&a?-1:1)}:function(e,t){if(e===t)return u=!0,0;var n,a=0,i=e.parentNode,o=t.parentNode,r=[e],s=[t];if(!i||!o)return e===_?-1:t===_?1:i?-1:o?1:d?M(d,e)-M(d,t):0;if(i===o)return de(e,t);for(n=e;n=n.parentNode;)r.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;r[a]===s[a];)a++;return a?de(r[a],s[a]):r[a]===w?-1:s[a]===w?1:0},_):_},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==_&&p(e),t=t.replace(W,"='$1']"),n.matchesSelector&&m&&!T[t+" "]&&(!v||!v.test(t))&&(!h||!h.test(t)))try{var a=g.call(e,t);if(a||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return a}catch(e){}return oe(t,_,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!==_&&p(e),b(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!==_&&p(e);var i=a.attrHandle[t.toLowerCase()],o=i&&j.call(a.attrHandle,t.toLowerCase())?i(e,t,!m):void 0;return void 0!==o?o:n.attributes||!m?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},oe.escape=function(e){return(e+"").replace(te,ne)},oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,a=[],i=0,o=0;if(u=!n.detectDuplicates,d=!n.sortStable&&e.slice(0),e.sort(z),u){for(;t=e[o++];)t===e[o]&&(i=a.push(o));for(;i--;)e.splice(a[i],1)}return d=null,e},i=oe.getText=function(e){var t,n="",a=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[a++];)n+=i(t);return n},(a=oe.selectors={cacheLength:50,createPseudo:se,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(X,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(X,ee),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||oe.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&oe.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&H.test(n)&&(t=r(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(X,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=C[e+" "];return t||(t=new RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&C(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(a){var i=oe.attr(a,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(q," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,a,i){var o="nth"!==e.slice(0,3),r="last"!==e.slice(-4),s="of-type"===t;return 1===a&&0===i?function(e){return!!e.parentNode}:function(t,n,c){var l,d,u,p,_,f,m=o!==r?"nextSibling":"previousSibling",h=t.parentNode,v=s&&t.nodeName.toLowerCase(),g=!c&&!s,b=!1;if(h){if(o){for(;m;){for(p=t;p=p[m];)if(s?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;f=m="only"===e&&!f&&"nextSibling"}return!0}if(f=[r?h.firstChild:h.lastChild],r&&g){for(b=(_=(l=(d=(u=(p=h)[y]||(p[y]={}))[p.uniqueID]||(u[p.uniqueID]={}))[e]||[])[0]===k&&l[1])&&l[2],p=_&&h.childNodes[_];p=++_&&p&&p[m]||(b=_=0)||f.pop();)if(1===p.nodeType&&++b&&p===t){d[e]=[k,_,b];break}}else if(g&&(b=_=(l=(d=(u=(p=t)[y]||(p[y]={}))[p.uniqueID]||(u[p.uniqueID]={}))[e]||[])[0]===k&&l[1]),!1===b)for(;(p=++_&&p&&p[m]||(b=_=0)||f.pop())&&((s?p.nodeName.toLowerCase()!==v:1!==p.nodeType)||!++b||(g&&((d=(u=p[y]||(p[y]={}))[p.uniqueID]||(u[p.uniqueID]={}))[e]=[k,b]),p!==t)););return(b-=i)===a||b%a==0&&b/a>=0}}},PSEUDO:function(e,t){var n,i=a.pseudos[e]||a.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);return i[y]?i(t):i.length>1?(n=[e,e,"",t],a.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){for(var a,o=i(e,t),r=o.length;r--;)e[a=M(e,o[r])]=!(n[a]=o[r])}):function(e){return i(e,0,n)}):i}},pseudos:{not:se(function(e){var t=[],n=[],a=s(e.replace(R,"$1"));return a[y]?se(function(e,t,n,i){for(var o,r=a(e,null,i,[]),s=e.length;s--;)(o=r[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,a(t,null,o,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return oe(e,t).length>0}}),contains:se(function(e){return e=e.replace(X,ee),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:se(function(e){return Y.test(e||"")||oe.error("unsupported lang: "+e),e=e.replace(X,ee).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===_.activeElement&&(!_.hasFocus||_.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:_e(!1),disabled:_e(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!a.pseudos.empty(e)},header:function(e){return K.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:fe(function(){return[0]}),last:fe(function(e,t){return[t-1]}),eq:fe(function(e,t,n){return[n<0?n+t:n]}),even:fe(function(e,t){for(var n=0;n=0;)e.push(a);return e}),gt:fe(function(e,t,n){for(var a=n<0?n+t:n;++a1?function(t,n,a){for(var i=e.length;i--;)if(!e[i](t,n,a))return!1;return!0}:e[0]}function ye(e,t,n,a,i){for(var o,r=[],s=0,c=e.length,l=null!=t;s-1&&(o[l]=!(r[l]=u))}}else v=ye(v===r?v.splice(f,v.length):v),i?i(null,r,v,c):O.apply(r,v)})}function ke(e){for(var t,n,i,o=e.length,r=a.relative[e[0].type],s=r||a.relative[" "],c=r?1:0,d=ge(function(e){return e===t},s,!0),u=ge(function(e){return M(t,e)>-1},s,!0),p=[function(e,n,a){var i=!r&&(a||n!==l)||((t=n).nodeType?d(e,n,a):u(e,n,a));return t=null,i}];c1&&be(p),c>1&&ve(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(R,"$1"),n,c0,i=e.length>0,o=function(o,r,s,c,d){var u,f,h,v=0,g="0",b=o&&[],y=[],w=l,x=o||i&&a.find.TAG("*",d),C=k+=null==w?1:Math.random()||.1,A=x.length;for(d&&(l=r===_||r||d);g!==A&&null!=(u=x[g]);g++){if(i&&u){for(f=0,r||u.ownerDocument===_||(p(u),s=!m);h=e[f++];)if(h(u,r||_,s)){c.push(u);break}d&&(k=C)}n&&((u=!h&&u)&&v--,o&&b.push(u))}if(v+=g,n&&g!==v){for(f=0;h=t[f++];)h(b,y,r,s);if(o){if(v>0)for(;g--;)b[g]||y[g]||(y[g]=S.call(c));y=ye(y)}O.apply(c,y),d&&!o&&y.length>0&&v+t.length>1&&oe.uniqueSort(c)}return d&&(k=C,l=w),b};return n?se(o):o}(o,i))).selector=e}return s},c=oe.select=function(e,t,n,i){var o,c,l,d,u,p="function"==typeof e&&e,_=!i&&r(e=p.selector||e);if(n=n||[],1===_.length){if((c=_[0]=_[0].slice(0)).length>2&&"ID"===(l=c[0]).type&&9===t.nodeType&&m&&a.relative[c[1].type]){if(!(t=(a.find.ID(l.matches[0].replace(X,ee),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(c.shift().value.length)}for(o=V.needsContext.test(e)?0:c.length;o--&&(l=c[o],!a.relative[d=l.type]);)if((u=a.find[d])&&(i=u(l.matches[0].replace(X,ee),Q.test(c[0].type)&&me(t.parentNode)||t))){if(c.splice(o,1),!(e=i.length&&ve(c)))return O.apply(n,i),n;break}}return(p||s(e,_))(i,t,!m,n,!t||Q.test(e)&&me(t.parentNode)||t),n},n.sortStable=y.split("").sort(z).join("")===y,n.detectDuplicates=!!u,p(),n.sortDetached=ce(function(e){return 1&e.compareDocumentPosition(_.createElement("fieldset"))}),ce(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||le("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ce(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||le("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ce(function(e){return null==e.getAttribute("disabled")})||le(I,function(e,t,n){var a;if(!n)return!0===e[t]?t.toLowerCase():(a=e.getAttributeNode(t))&&a.specified?a.value:null}),oe}(n);x.find=T,x.expr=T.selectors,x.expr[":"]=x.expr.pseudos,x.uniqueSort=x.unique=T.uniqueSort,x.text=T.getText,x.isXMLDoc=T.isXML,x.contains=T.contains,x.escapeSelector=T.escape;var z=function(e,t,n){for(var a=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&x(e).is(n))break;a.push(e)}return a},j=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},D=x.expr.match.needsContext;function S(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var E=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function O(e,t,n){return g(t)?x.grep(e,function(e,a){return!!t.call(e,a,e)!==n}):t.nodeType?x.grep(e,function(e){return e===t!==n}):"string"!=typeof t?x.grep(e,function(e){return u.call(t,e)>-1!==n}):x.filter(t,e,n)}x.filter=function(e,t,n){var a=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===a.nodeType?x.find.matchesSelector(a,e)?[a]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},x.fn.extend({find:function(e){var t,n,a=this.length,i=this;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;t1?x.uniqueSort(n):n},filter:function(e){return this.pushStack(O(this,e||[],!1))},not:function(e){return this.pushStack(O(this,e||[],!0))},is:function(e){return!!O(this,"string"==typeof e&&D.test(e)?x(e):e||[],!1).length}});var L,M=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(x.fn.init=function(e,t,n){var a,i;if(!e)return this;if(n=n||L,"string"==typeof e){if(!(a="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:M.exec(e))||!a[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(a[1]){if(t=t instanceof x?t[0]:t,x.merge(this,x.parseHTML(a[1],t&&t.nodeType?t.ownerDocument||t:r,!0)),E.test(a[1])&&x.isPlainObject(t))for(a in t)g(this[a])?this[a](t[a]):this.attr(a,t[a]);return this}return(i=r.getElementById(a[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(x):x.makeArray(e,this)}).prototype=x.fn,L=x(r);var I=/^(?:parents|prev(?:Until|All))/,P={children:!0,contents:!0,next:!0,prev:!0};function N(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}x.fn.extend({has:function(e){var t=x(e,this),n=t.length;return this.filter(function(){for(var e=0;e-1:1===n.nodeType&&x.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?x.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(x(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return z(e,"parentNode")},parentsUntil:function(e,t,n){return z(e,"parentNode",n)},next:function(e){return N(e,"nextSibling")},prev:function(e){return N(e,"previousSibling")},nextAll:function(e){return z(e,"nextSibling")},prevAll:function(e){return z(e,"previousSibling")},nextUntil:function(e,t,n){return z(e,"nextSibling",n)},prevUntil:function(e,t,n){return z(e,"previousSibling",n)},siblings:function(e){return j((e.parentNode||{}).firstChild,e)},children:function(e){return j(e.firstChild)},contents:function(e){return S(e,"iframe")?e.contentDocument:(S(e,"template")&&(e=e.content||e),x.merge([],e.childNodes))}},function(e,t){x.fn[e]=function(n,a){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(a=n),a&&"string"==typeof a&&(i=x.filter(a,i)),this.length>1&&(P[e]||x.uniqueSort(i),I.test(e)&&i.reverse()),this.pushStack(i)}});var F=/[^\x20\t\r\n\f]+/g;function $(e){return e}function q(e){throw e}function R(e,t,n,a){var i;try{e&&g(i=e.promise)?i.call(e).done(t).fail(n):e&&g(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(a))}catch(e){n.apply(void 0,[e])}}x.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return x.each(e.match(F)||[],function(e,n){t[n]=!0}),t}(e):x.extend({},e);var t,n,a,i,o=[],r=[],s=-1,c=function(){for(i=i||e.once,a=t=!0;r.length;s=-1)for(n=r.shift();++s-1;)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?x.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=r=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=r=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],r.push(n),t||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!a}};return l},x.extend({Deferred:function(e){var t=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],a="pending",i={state:function(){return a},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,a){var i=g(e[a[4]])&&e[a[4]];o[a[1]](function(){var e=i&&i.apply(this,arguments);e&&g(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[a[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(e,a,i){var o=0;function r(e,t,a,i){return function(){var s=this,c=arguments,l=function(){var n,l;if(!(e=o&&(a!==q&&(s=void 0,c=[n]),t.rejectWith(s,c))}};e?d():(x.Deferred.getStackHook&&(d.stackTrace=x.Deferred.getStackHook()),n.setTimeout(d))}}return x.Deferred(function(n){t[0][3].add(r(0,n,g(i)?i:$,n.notifyWith)),t[1][3].add(r(0,n,g(e)?e:$)),t[2][3].add(r(0,n,g(a)?a:q))}).promise()},promise:function(e){return null!=e?x.extend(e,i):i}},o={};return x.each(t,function(e,n){var r=n[2],s=n[5];i[n[1]]=r.add,s&&r.add(function(){a=s},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),r.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=r.fireWith}),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,a=Array(n),i=c.call(arguments),o=x.Deferred(),r=function(e){return function(n){a[e]=this,i[e]=arguments.length>1?c.call(arguments):n,--t||o.resolveWith(a,i)}};if(t<=1&&(R(e,o.done(r(n)).resolve,o.reject,!t),"pending"===o.state()||g(i[n]&&i[n].then)))return o.then();for(;n--;)R(i[n],r(n),o.reject);return o.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&B.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},x.readyException=function(e){n.setTimeout(function(){throw e})};var U=x.Deferred();function W(){r.removeEventListener("DOMContentLoaded",W),n.removeEventListener("load",W),x.ready()}x.fn.ready=function(e){return U.then(e).catch(function(e){x.readyException(e)}),this},x.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--x.readyWait:x.isReady)||(x.isReady=!0,!0!==e&&--x.readyWait>0||U.resolveWith(r,[x]))}}),x.ready.then=U.then,"complete"===r.readyState||"loading"!==r.readyState&&!r.documentElement.doScroll?n.setTimeout(x.ready):(r.addEventListener("DOMContentLoaded",W),n.addEventListener("load",W));var H=function(e,t,n,a,i,o,r){var s=0,c=e.length,l=null==n;if("object"===k(n))for(s in i=!0,n)H(e,t,s,n[s],!0,o,r);else if(void 0!==a&&(i=!0,g(a)||(r=!0),l&&(r?(t.call(e,a),t=null):(l=t,t=function(e,t,n){return l.call(x(e),n)})),t))for(;s1,null,!0)},removeData:function(e){return this.each(function(){X.remove(this,e)})}}),x.extend({queue:function(e,t,n){var a;if(e)return t=(t||"fx")+"queue",a=Q.get(e,t),n&&(!a||Array.isArray(n)?a=Q.access(e,t,x.makeArray(n)):a.push(n)),a||[]},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),a=n.length,i=n.shift(),o=x._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),a--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){x.dequeue(e,t)},o)),!a&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q.get(e,n)||Q.access(e,n,{empty:x.Callbacks("once memory").add(function(){Q.remove(e,[t+"queue",n])})})}}),x.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]+)/i,fe=/^$|^module$|\/(?:java|ecma)script/i,me={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function he(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&S(e,t)?x.merge([e],n):n}function ve(e,t){for(var n=0,a=e.length;n-1)i&&i.push(o);else if(l=x.contains(o.ownerDocument,o),r=he(u.appendChild(o),"script"),l&&ve(r),n)for(d=0;o=r[d++];)fe.test(o.type||"")&&n.push(o);return u}ge=r.createDocumentFragment().appendChild(r.createElement("div")),(be=r.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),ge.appendChild(be),v.checkClone=ge.cloneNode(!0).cloneNode(!0).lastChild.checked,ge.innerHTML="",v.noCloneChecked=!!ge.cloneNode(!0).lastChild.defaultValue;var ke=r.documentElement,xe=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ae=/^([^.]*)(?:\.(.+)|)/;function Te(){return!0}function ze(){return!1}function je(){try{return r.activeElement}catch(e){}}function De(e,t,n,a,i,o){var r,s;if("object"==typeof t){for(s in"string"!=typeof n&&(a=a||n,n=void 0),t)De(e,s,n,a,t[s],o);return e}if(null==a&&null==i?(i=n,a=n=void 0):null==i&&("string"==typeof n?(i=a,a=void 0):(i=a,a=n,n=void 0)),!1===i)i=ze;else if(!i)return e;return 1===o&&(r=i,(i=function(e){return x().off(e),r.apply(this,arguments)}).guid=r.guid||(r.guid=x.guid++)),e.each(function(){x.event.add(this,t,i,a,n)})}x.event={global:{},add:function(e,t,n,a,i){var o,r,s,c,l,d,u,p,_,f,m,h=Q.get(e);if(h)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&x.find.matchesSelector(ke,i),n.guid||(n.guid=x.guid++),(c=h.events)||(c=h.events={}),(r=h.handle)||(r=h.handle=function(t){return void 0!==x&&x.event.triggered!==t.type?x.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(F)||[""]).length;l--;)_=m=(s=Ae.exec(t[l])||[])[1],f=(s[2]||"").split(".").sort(),_&&(u=x.event.special[_]||{},_=(i?u.delegateType:u.bindType)||_,u=x.event.special[_]||{},d=x.extend({type:_,origType:m,data:a,handler:n,guid:n.guid,selector:i,needsContext:i&&x.expr.match.needsContext.test(i),namespace:f.join(".")},o),(p=c[_])||((p=c[_]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,a,f,r)||e.addEventListener&&e.addEventListener(_,r)),u.add&&(u.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,d):p.push(d),x.event.global[_]=!0)},remove:function(e,t,n,a,i){var o,r,s,c,l,d,u,p,_,f,m,h=Q.hasData(e)&&Q.get(e);if(h&&(c=h.events)){for(l=(t=(t||"").match(F)||[""]).length;l--;)if(_=m=(s=Ae.exec(t[l])||[])[1],f=(s[2]||"").split(".").sort(),_){for(u=x.event.special[_]||{},p=c[_=(a?u.delegateType:u.bindType)||_]||[],s=s[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=o=p.length;o--;)d=p[o],!i&&m!==d.origType||n&&n.guid!==d.guid||s&&!s.test(d.namespace)||a&&a!==d.selector&&("**"!==a||!d.selector)||(p.splice(o,1),d.selector&&p.delegateCount--,u.remove&&u.remove.call(e,d));r&&!p.length&&(u.teardown&&!1!==u.teardown.call(e,f,h.handle)||x.removeEvent(e,_,h.handle),delete c[_])}else for(_ in c)x.event.remove(e,_+t[l],n,a,!0);x.isEmptyObject(c)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,a,i,o,r,s=x.event.fix(e),c=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],d=x.event.special[s.type]||{};for(c[0]=s,t=1;t=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],r={},n=0;n-1:x.find(i,this,null,[l]).length),r[i]&&o.push(a);o.length&&s.push({elem:l,handlers:o})}return l=this,c\x20\t\r\n\f]*)[^>]*)\/>/gi,Ee=/\s*$/g;function Me(e,t){return S(e,"table")&&S(11!==t.nodeType?t:t.firstChild,"tr")&&x(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Pe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ne(e,t){var n,a,i,o,r,s,c,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),r=Q.set(t,o),l=o.events))for(i in delete r.handle,r.events={},l)for(n=0,a=l[i].length;n1&&"string"==typeof f&&!v.checkClone&&Oe.test(f))return e.each(function(i){var o=e.eq(i);m&&(t[0]=f.call(this,i,o.html())),Fe(o,t,n,a)});if(p&&(o=(i=we(t,e[0].ownerDocument,!1,e,a)).firstChild,1===i.childNodes.length&&(i=o),o||a)){for(s=(r=x.map(he(i,"script"),Ie)).length;u")},clone:function(e,t,n){var a,i,o,r,s,c,l,d=e.cloneNode(!0),u=x.contains(e.ownerDocument,e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(r=he(d),a=0,i=(o=he(e)).length;a0&&ve(r,!u&&he(e,"script")),d},cleanData:function(e){for(var t,n,a,i=x.event.special,o=0;void 0!==(n=e[o]);o++)if(J(n)){if(t=n[Q.expando]){if(t.events)for(a in t.events)i[a]?x.event.remove(n,a):x.removeEvent(n,a,t.handle);n[Q.expando]=void 0}n[X.expando]&&(n[X.expando]=void 0)}}}),x.fn.extend({detach:function(e){return $e(this,e,!0)},remove:function(e){return $e(this,e)},text:function(e){return H(this,function(e){return void 0===e?x.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Fe(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Me(this,e).appendChild(e)})},prepend:function(){return Fe(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Me(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Fe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Fe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(x.cleanData(he(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return H(this,function(e){var t=this[0]||{},n=0,a=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ee.test(e)&&!me[(_e.exec(e)||["",""])[1].toLowerCase()]){e=x.htmlPrefilter(e);try{for(;n=0&&(c+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-c-s-.5))),c}function et(e,t,n){var a=Re(e),i=Ue(e,t,a),o="border-box"===x.css(e,"boxSizing",!1,a),r=o;if(qe.test(i)){if(!n)return i;i="auto"}return r=r&&(v.boxSizingReliable()||i===e.style[t]),("auto"===i||!parseFloat(i)&&"inline"===x.css(e,"display",!1,a))&&(i=e["offset"+t[0].toUpperCase()+t.slice(1)],r=!0),(i=parseFloat(i)||0)+Xe(e,t,n||(o?"border":"content"),r,a,i)+"px"}function tt(e,t,n,a,i){return new tt.prototype.init(e,t,n,a,i)}x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ue(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,a){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,r,s=K(t),c=Ye.test(t),l=e.style;if(c||(t=Ze(s)),r=x.cssHooks[t]||x.cssHooks[s],void 0===n)return r&&"get"in r&&void 0!==(i=r.get(e,!1,a))?i:l[t];"string"===(o=typeof n)&&(i=ie.exec(n))&&i[1]&&(n=ce(e,t,i),o="number"),null!=n&&n==n&&("number"===o&&(n+=i&&i[3]||(x.cssNumber[s]?"":"px")),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),r&&"set"in r&&void 0===(n=r.set(e,n,a))||(c?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,a){var i,o,r,s=K(t);return Ye.test(t)||(t=Ze(s)),(r=x.cssHooks[t]||x.cssHooks[s])&&"get"in r&&(i=r.get(e,!0,n)),void 0===i&&(i=Ue(e,t,a)),"normal"===i&&t in Ge&&(i=Ge[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),x.each(["height","width"],function(e,t){x.cssHooks[t]={get:function(e,n,a){if(n)return!He.test(x.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?et(e,t,a):se(e,Ve,function(){return et(e,t,a)})},set:function(e,n,a){var i,o=Re(e),r="border-box"===x.css(e,"boxSizing",!1,o),s=a&&Xe(e,t,a,r,o);return r&&v.scrollboxSize()===o.position&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-Xe(e,t,"border",!1,o)-.5)),s&&(i=ie.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=x.css(e,t)),Qe(0,n,s)}}}),x.cssHooks.marginLeft=We(v.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ue(e,"marginLeft"))||e.getBoundingClientRect().left-se(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),x.each({margin:"",padding:"",border:"Width"},function(e,t){x.cssHooks[e+t]={expand:function(n){for(var a=0,i={},o="string"==typeof n?n.split(" "):[n];a<4;a++)i[e+oe[a]+t]=o[a]||o[a-2]||o[0];return i}},"margin"!==e&&(x.cssHooks[e+t].set=Qe)}),x.fn.extend({css:function(e,t){return H(this,function(e,t,n){var a,i,o={},r=0;if(Array.isArray(t)){for(a=Re(e),i=t.length;r1)}}),x.Tween=tt,tt.prototype={constructor:tt,init:function(e,t,n,a,i,o){this.elem=e,this.prop=n,this.easing=i||x.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=a,this.unit=o||(x.cssNumber[n]?"":"px")},cur:function(){var e=tt.propHooks[this.prop];return e&&e.get?e.get(this):tt.propHooks._default.get(this)},run:function(e){var t,n=tt.propHooks[this.prop];return this.options.duration?this.pos=t=x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):tt.propHooks._default.set(this),this}},tt.prototype.init.prototype=tt.prototype,tt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=x.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[x.cssProps[e.prop]]&&!x.cssHooks[e.prop]?e.elem[e.prop]=e.now:x.style(e.elem,e.prop,e.now+e.unit)}}},tt.propHooks.scrollTop=tt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},x.fx=tt.prototype.init,x.fx.step={};var nt,at,it=/^(?:toggle|show|hide)$/,ot=/queueHooks$/;function rt(){at&&(!1===r.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(rt):n.setTimeout(rt,x.fx.interval),x.fx.tick())}function st(){return n.setTimeout(function(){nt=void 0}),nt=Date.now()}function ct(e,t){var n,a=0,i={height:e};for(t=t?1:0;a<4;a+=2-t)i["margin"+(n=oe[a])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function lt(e,t,n){for(var a,i=(dt.tweeners[t]||[]).concat(dt.tweeners["*"]),o=0,r=i.length;o1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})}}),x.extend({attr:function(e,t,n){var a,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?x.prop(e,t,n):(1===o&&x.isXMLDoc(e)||(i=x.attrHooks[t.toLowerCase()]||(x.expr.match.bool.test(t)?ut:void 0)),void 0!==n?null===n?void x.removeAttr(e,t):i&&"set"in i&&void 0!==(a=i.set(e,n,t))?a:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(a=i.get(e,t))?a:null==(a=x.find.attr(e,t))?void 0:a)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&S(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,a=0,i=t&&t.match(F);if(i&&1===e.nodeType)for(;n=i[a++];)e.removeAttribute(n)}}),ut={set:function(e,t,n){return!1===t?x.removeAttr(e,n):e.setAttribute(n,n),n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,t){var n=pt[t]||x.find.attr;pt[t]=function(e,t,a){var i,o,r=t.toLowerCase();return a||(o=pt[r],pt[r]=i,i=null!=n(e,t,a)?r:null,pt[r]=o),i}});var _t=/^(?:input|select|textarea|button)$/i,ft=/^(?:a|area)$/i;function mt(e){return(e.match(F)||[]).join(" ")}function ht(e){return e.getAttribute&&e.getAttribute("class")||""}function vt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(F)||[]}x.fn.extend({prop:function(e,t){return H(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[x.propFix[e]||e]})}}),x.extend({prop:function(e,t,n){var a,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&x.isXMLDoc(e)||(t=x.propFix[t]||t,i=x.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(a=i.set(e,n,t))?a:e[t]=n:i&&"get"in i&&null!==(a=i.get(e,t))?a:e[t]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):_t.test(e.nodeName)||ft.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.fn.extend({addClass:function(e){var t,n,a,i,o,r,s,c=0;if(g(e))return this.each(function(t){x(this).addClass(e.call(this,t,ht(this)))});if((t=vt(e)).length)for(;n=this[c++];)if(i=ht(n),a=1===n.nodeType&&" "+mt(i)+" "){for(r=0;o=t[r++];)a.indexOf(" "+o+" ")<0&&(a+=o+" ");i!==(s=mt(a))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,a,i,o,r,s,c=0;if(g(e))return this.each(function(t){x(this).removeClass(e.call(this,t,ht(this)))});if(!arguments.length)return this.attr("class","");if((t=vt(e)).length)for(;n=this[c++];)if(i=ht(n),a=1===n.nodeType&&" "+mt(i)+" "){for(r=0;o=t[r++];)for(;a.indexOf(" "+o+" ")>-1;)a=a.replace(" "+o+" "," ");i!==(s=mt(a))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,a="string"===n||Array.isArray(e);return"boolean"==typeof t&&a?t?this.addClass(e):this.removeClass(e):g(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,ht(this),t),t)}):this.each(function(){var t,i,o,r;if(a)for(i=0,o=x(this),r=vt(e);t=r[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=ht(this))&&Q.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Q.get(this,"__className__")||""))})},hasClass:function(e){var t,n,a=0;for(t=" "+e+" ";n=this[a++];)if(1===n.nodeType&&(" "+mt(ht(n))+" ").indexOf(t)>-1)return!0;return!1}});var gt=/\r/g;x.fn.extend({val:function(e){var t,n,a,i=this[0];return arguments.length?(a=g(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=a?e.call(this,n,x(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=x.map(i,function(e){return null==e?"":e+""})),(t=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=x.valHooks[i.type]||x.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(gt,""):null==n?"":n:void 0}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:mt(x.text(e))}},select:{get:function(e){var t,n,a,i=e.options,o=e.selectedIndex,r="select-one"===e.type,s=r?null:[],c=r?o+1:i.length;for(a=o<0?c:r?o:0;a-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=x.inArray(x(e).val(),t)>-1}},v.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),v.focusin="onfocusin"in n;var bt=/^(?:focusinfocus|focusoutblur)$/,yt=function(e){e.stopPropagation()};x.extend(x.event,{trigger:function(e,t,a,i){var o,s,c,l,d,u,p,_,m=[a||r],h=f.call(e,"type")?e.type:e,v=f.call(e,"namespace")?e.namespace.split("."):[];if(s=_=c=a=a||r,3!==a.nodeType&&8!==a.nodeType&&!bt.test(h+x.event.triggered)&&(h.indexOf(".")>-1&&(h=(v=h.split(".")).shift(),v.sort()),d=h.indexOf(":")<0&&"on"+h,(e=e[x.expando]?e:new x.Event(h,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=v.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=a),t=null==t?[e]:x.makeArray(t,[e]),p=x.event.special[h]||{},i||!p.trigger||!1!==p.trigger.apply(a,t))){if(!i&&!p.noBubble&&!b(a)){for(l=p.delegateType||h,bt.test(l+h)||(s=s.parentNode);s;s=s.parentNode)m.push(s),c=s;c===(a.ownerDocument||r)&&m.push(c.defaultView||c.parentWindow||n)}for(o=0;(s=m[o++])&&!e.isPropagationStopped();)_=s,e.type=o>1?l:p.bindType||h,(u=(Q.get(s,"events")||{})[e.type]&&Q.get(s,"handle"))&&u.apply(s,t),(u=d&&s[d])&&u.apply&&J(s)&&(e.result=u.apply(s,t),!1===e.result&&e.preventDefault());return e.type=h,i||e.isDefaultPrevented()||p._default&&!1!==p._default.apply(m.pop(),t)||!J(a)||d&&g(a[h])&&!b(a)&&((c=a[d])&&(a[d]=null),x.event.triggered=h,e.isPropagationStopped()&&_.addEventListener(h,yt),a[h](),e.isPropagationStopped()&&_.removeEventListener(h,yt),x.event.triggered=void 0,c&&(a[d]=c)),e.result}},simulate:function(e,t,n){var a=x.extend(new x.Event,n,{type:e,isSimulated:!0});x.event.trigger(a,null,t)}}),x.fn.extend({trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return x.event.trigger(e,t,n,!0)}}),v.focusin||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){x.event.simulate(t,e.target,x.event.fix(e))};x.event.special[t]={setup:function(){var a=this.ownerDocument||this,i=Q.access(a,t);i||a.addEventListener(e,n,!0),Q.access(a,t,(i||0)+1)},teardown:function(){var a=this.ownerDocument||this,i=Q.access(a,t)-1;i?Q.access(a,t,i):(a.removeEventListener(e,n,!0),Q.remove(a,t))}}});var wt=n.location,kt=Date.now(),xt=/\?/;x.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+e),t};var Ct=/\[\]$/,At=/\r?\n/g,Tt=/^(?:submit|button|image|reset|file)$/i,zt=/^(?:input|select|textarea|keygen)/i;function jt(e,t,n,a){var i;if(Array.isArray(t))x.each(t,function(t,i){n||Ct.test(e)?a(e,i):jt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,a)});else if(n||"object"!==k(t))a(e,t);else for(i in t)jt(e+"["+i+"]",t[i],n,a)}x.param=function(e,t){var n,a=[],i=function(e,t){var n=g(t)?t():t;a[a.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,function(){i(this.name,this.value)});else for(n in e)jt(n,e[n],t,i);return a.join("&")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&zt.test(this.nodeName)&&!Tt.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=x(this).val();return null==n?null:Array.isArray(n)?x.map(n,function(e){return{name:t.name,value:e.replace(At,"\r\n")}}):{name:t.name,value:n.replace(At,"\r\n")}}).get()}});var Dt=/%20/g,St=/#.*$/,Et=/([?&])_=[^&]*/,Ot=/^(.*?):[ \t]*([^\r\n]*)$/gm,Lt=/^(?:GET|HEAD)$/,Mt=/^\/\//,It={},Pt={},Nt="*/".concat("*"),Ft=r.createElement("a");function $t(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var a,i=0,o=t.toLowerCase().match(F)||[];if(g(n))for(;a=o[i++];)"+"===a[0]?(a=a.slice(1)||"*",(e[a]=e[a]||[]).unshift(n)):(e[a]=e[a]||[]).push(n)}}function qt(e,t,n,a){var i={},o=e===Pt;function r(s){var c;return i[s]=!0,x.each(e[s]||[],function(e,s){var l=s(t,n,a);return"string"!=typeof l||o||i[l]?o?!(c=l):void 0:(t.dataTypes.unshift(l),r(l),!1)}),c}return r(t.dataTypes[0])||!i["*"]&&r("*")}function Rt(e,t){var n,a,i=x.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:a||(a={}))[n]=t[n]);return a&&x.extend(!0,e,a),e}Ft.href=wt.href,x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:wt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(wt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Nt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Rt(Rt(e,x.ajaxSettings),t):Rt(x.ajaxSettings,e)},ajaxPrefilter:$t(It),ajaxTransport:$t(Pt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var a,i,o,s,c,l,d,u,p,_,f=x.ajaxSetup({},t),m=f.context||f,h=f.context&&(m.nodeType||m.jquery)?x(m):x.event,v=x.Deferred(),g=x.Callbacks("once memory"),b=f.statusCode||{},y={},w={},k="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(d){if(!s)for(s={};t=Ot.exec(o);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return d?o:null},setRequestHeader:function(e,t){return null==d&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,y[e]=t),this},overrideMimeType:function(e){return null==d&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(d)C.always(e[C.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||k;return a&&a.abort(t),A(0,t),this}};if(v.promise(C),f.url=((e||f.url||wt.href)+"").replace(Mt,wt.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(F)||[""],null==f.crossDomain){l=r.createElement("a");try{l.href=f.url,l.href=l.href,f.crossDomain=Ft.protocol+"//"+Ft.host!=l.protocol+"//"+l.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=x.param(f.data,f.traditional)),qt(It,f,t,C),d)return C;for(p in(u=x.event&&f.global)&&0==x.active++&&x.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Lt.test(f.type),i=f.url.replace(St,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Dt,"+")):(_=f.url.slice(i.length),f.data&&(f.processData||"string"==typeof f.data)&&(i+=(xt.test(i)?"&":"?")+f.data,delete f.data),!1===f.cache&&(i=i.replace(Et,"$1"),_=(xt.test(i)?"&":"?")+"_="+kt+++_),f.url=i+_),f.ifModified&&(x.lastModified[i]&&C.setRequestHeader("If-Modified-Since",x.lastModified[i]),x.etag[i]&&C.setRequestHeader("If-None-Match",x.etag[i])),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&C.setRequestHeader("Content-Type",f.contentType),C.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Nt+"; q=0.01":""):f.accepts["*"]),f.headers)C.setRequestHeader(p,f.headers[p]);if(f.beforeSend&&(!1===f.beforeSend.call(m,C,f)||d))return C.abort();if(k="abort",g.add(f.complete),C.done(f.success),C.fail(f.error),a=qt(Pt,f,t,C)){if(C.readyState=1,u&&h.trigger("ajaxSend",[C,f]),d)return C;f.async&&f.timeout>0&&(c=n.setTimeout(function(){C.abort("timeout")},f.timeout));try{d=!1,a.send(y,A)}catch(e){if(d)throw e;A(-1,e)}}else A(-1,"No Transport");function A(e,t,r,s){var l,p,_,y,w,k=t;d||(d=!0,c&&n.clearTimeout(c),a=void 0,o=s||"",C.readyState=e>0?4:0,l=e>=200&&e<300||304===e,r&&(y=function(e,t,n){for(var a,i,o,r,s=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===a&&(a=e.mimeType||t.getResponseHeader("Content-Type"));if(a)for(i in s)if(s[i]&&s[i].test(a)){c.unshift(i);break}if(c[0]in n)o=c[0];else{for(i in n){if(!c[0]||e.converters[i+" "+c[0]]){o=i;break}r||(r=i)}o=o||r}if(o)return o!==c[0]&&c.unshift(o),n[o]}(f,C,r)),y=function(e,t,n,a){var i,o,r,s,c,l={},d=e.dataTypes.slice();if(d[1])for(r in e.converters)l[r.toLowerCase()]=e.converters[r];for(o=d.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!c&&a&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=o,o=d.shift())if("*"===o)o=c;else if("*"!==c&&c!==o){if(!(r=l[c+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(r=l[c+" "+s[0]]||l["* "+s[0]])){!0===r?r=l[i]:!0!==l[i]&&(o=s[0],d.unshift(s[1]));break}if(!0!==r)if(r&&e.throws)t=r(t);else try{t=r(t)}catch(e){return{state:"parsererror",error:r?e:"No conversion from "+c+" to "+o}}}return{state:"success",data:t}}(f,y,C,l),l?(f.ifModified&&((w=C.getResponseHeader("Last-Modified"))&&(x.lastModified[i]=w),(w=C.getResponseHeader("etag"))&&(x.etag[i]=w)),204===e||"HEAD"===f.type?k="nocontent":304===e?k="notmodified":(k=y.state,p=y.data,l=!(_=y.error))):(_=k,!e&&k||(k="error",e<0&&(e=0))),C.status=e,C.statusText=(t||k)+"",l?v.resolveWith(m,[p,k,C]):v.rejectWith(m,[C,k,_]),C.statusCode(b),b=void 0,u&&h.trigger(l?"ajaxSuccess":"ajaxError",[C,f,l?p:_]),g.fireWith(m,[C,k]),u&&(h.trigger("ajaxComplete",[C,f]),--x.active||x.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,t){return x.get(e,void 0,t,"script")}}),x.each(["get","post"],function(e,t){x[t]=function(e,n,a,i){return g(n)&&(i=i||a,a=n,n=void 0),x.ajax(x.extend({url:e,type:t,dataType:i,data:n,success:a},x.isPlainObject(e)&&e))}}),x._evalUrl=function(e){return x.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},x.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=x(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return g(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=g(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){x(this).replaceWith(this.childNodes)}),this}}),x.expr.pseudos.hidden=function(e){return!x.expr.pseudos.visible(e)},x.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},x.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Bt={0:200,1223:204},Ut=x.ajaxSettings.xhr();v.cors=!!Ut&&"withCredentials"in Ut,v.ajax=Ut=!!Ut,x.ajaxTransport(function(e){var t,a;if(v.cors||Ut&&!e.crossDomain)return{send:function(i,o){var r,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(r in e.xhrFields)s[r]=e.xhrFields[r];for(r in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(r,i[r]);t=function(e){return function(){t&&(t=a=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Bt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),a=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=a:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){t&&a()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),x.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),x.ajaxTransport("script",function(e){var t,n;if(e.crossDomain)return{send:function(a,i){t=x("\n\n\n\n// WEBPACK FOOTER //\n// resources/assets/js/components/settings/ContactFieldTypes.vue","function injectStyle (ssrContext) {\n require(\"!!vue-style-loader!css-loader?minimize!../../../../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-25a46624\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":true}!../../../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./Input.vue\")\n}\nvar normalizeComponent = require(\"!../../../../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nvar __vue_script__ = require(\"!!babel-loader?{\\\"cacheDirectory\\\":true,\\\"presets\\\":[[\\\"env\\\",{\\\"modules\\\":false,\\\"targets\\\":{\\\"browsers\\\":[\\\"> 2%\\\"],\\\"uglify\\\":true}}]],\\\"plugins\\\":[\\\"transform-object-rest-spread\\\",[\\\"transform-runtime\\\",{\\\"polyfill\\\":false,\\\"helpers\\\":false}]]}!../../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./Input.vue\")\n/* template */\nvar __vue_template__ = require(\"!!../../../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-25a46624\\\",\\\"hasScoped\\\":true,\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../../../../node_modules/vue-loader/lib/selector?type=template&index=0!./Input.vue\")\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-25a46624\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./resources/assets/js/components/partials/form/Input.vue\n// module id = +iJ1\n// module chunks = 0","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('journal-calendar',{attrs:{\"journal-entry\":_vm.journalEntry}}),_vm._v(\" \"),_c('div',{staticClass:\"fl journal-calendar-content\"},[_c('div',{staticClass:\"br3 ba b--gray-monica bg-white mb3 journal-line\"},[_c('div',{staticClass:\"flex pb3 pt3\"},[_c('div',{staticClass:\"flex-none w-10 tc\"},[_c('h3',{staticClass:\"mb0 normal fw5\"},[_vm._v(_vm._s(_vm.activity.day))]),_vm._v(\" \"),_c('p',{staticClass:\"mb0 black-60 f6\"},[_vm._v(_vm._s(_vm.activity.day_name))])]),_vm._v(\" \"),_c('div',{staticClass:\"flex-auto\"},[_c('p',{staticClass:\"mb1\"},[_c('span',{staticClass:\"pr2 f6 avenir\"},[_vm._v(_vm._s(_vm.$t('journal.journal_entry_type_activity'))+\": \"+_vm._s(_vm.activity.activity_type))])]),_vm._v(\" \"),_c('p',{staticClass:\"mb1\"},[_vm._v(_vm._s(_vm.activity.summary))]),_vm._v(\" \"),(_vm.showDescription)?_c('p',[_vm._v(_vm._s(_vm.activity.description))]):_vm._e()]),_vm._v(\" \"),(_vm.activity.description)?[_c('div',{staticClass:\"flex-none w-5 pointer\",on:{\"click\":function($event){_vm.toggleDescription()}}},[_c('div',{staticClass:\"flex justify-center items-center h-100\"},[_c('svg',{directives:[{name:\"tooltip\",rawName:\"v-tooltip.top\",value:('Show comment'),expression:\"'Show comment'\",modifiers:{\"top\":true}}],staticClass:\"flex-none\",attrs:{\"width\":\"16px\",\"height\":\"13px\",\"viewBox\":\"0 0 16 13\",\"version\":\"1.1\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\"}},[_c('defs'),_vm._v(\" \"),_c('g',{attrs:{\"id\":\"App\",\"stroke\":\"none\",\"stroke-width\":\"1\",\"fill\":\"none\",\"fill-rule\":\"evenodd\",\"stroke-linecap\":\"square\"}},[_c('g',{attrs:{\"id\":\"Desktop\",\"transform\":\"translate(-839.000000, -279.000000)\",\"stroke\":\"#979797\"}},[_c('g',{attrs:{\"id\":\"Group-4\",\"transform\":\"translate(839.000000, 278.000000)\"}},[_c('path',{attrs:{\"d\":\"M0.5,1.5 L15.5,1.5\",\"id\":\"Line-2\"}}),_vm._v(\" \"),_c('path',{attrs:{\"d\":\"M0.5,9.5 L15.5,9.5\",\"id\":\"Line-2\"}}),_vm._v(\" \"),_c('path',{attrs:{\"d\":\"M0.5,5.5 L13.5,5.5\",\"id\":\"Line-2\"}}),_vm._v(\" \"),_c('path',{attrs:{\"d\":\"M0.5,13.5 L10.5,13.5\",\"id\":\"Line-2\"}})])])])])])])]:_vm._e()],2),_vm._v(\" \"),_c('div',{staticClass:\"flex bt b--gray-monica\"},[_c('div',{staticClass:\"w-10\"},[_vm._v(\"\\n  \\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"flex-none w-30 mt2 pt1 pb2\"},[_c('p',{staticClass:\"mb0 f6 gray\"},[_vm._v(_vm._s(_vm.$t('journal.journal_created_automatically')))])]),_vm._v(\" \"),_c('div',{staticClass:\"flex-auto w-60 tr mt2 pa1 pr3 pb2\"},[_c('span',{staticClass:\"f6 gray\"},[_vm._v(_vm._s(_vm.$t('app.with'))+\" \")]),_vm._v(\" \"),_vm._l((_vm.activity.attendees),function(attendees){return _c('div',{staticClass:\"dib pointer ml2\",on:{\"click\":function($event){_vm.redirect(attendees)}}},[(attendees.information.avatar.has_avatar)?_c('img',{directives:[{name:\"tooltip\",rawName:\"v-tooltip\",value:(attendees.complete_name),expression:\"attendees.complete_name\"}],staticClass:\"br3 journal-avatar-small\",attrs:{\"src\":attendees.information.avatar.avatar_url}}):_vm._e(),_vm._v(\" \"),(!attendees.information.avatar.has_avatar)?_c('div',{directives:[{name:\"tooltip\",rawName:\"v-tooltip\",value:(attendees.complete_name),expression:\"attendees.complete_name\"}],staticClass:\"br3 white tc journal-initial-small\",style:({ 'background-color': attendees.information.avatar.default_avatar_color })},[_vm._v(\"\\n \"+_vm._s(attendees.initials)+\"\\n \")]):_vm._e()])})],2)])])])],1)}\nvar staticRenderFns = []\nmodule.exports = { render: render, staticRenderFns: staticRenderFns }\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-21da1fe6\",\"hasScoped\":true,\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./resources/assets/js/components/journal/partials/JournalContentActivity.vue\n// module id = /FjL\n// module chunks = 0","\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// resources/assets/js/components/dashboard/DashboardLog.vue","// style-loader: Adds some css to the DOM by adding a \n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// resources/assets/js/components/journal/partials/JournalContentRate.vue","\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// resources/assets/js/components/passport/AuthorizedClients.vue","'use strict';\n\nvar createError = require('./createError');\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n */\nmodule.exports = function settle(resolve, reject, response) {\n var validateStatus = response.config.validateStatus;\n // Note: status is not exposed by XDomainRequest\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(createError(\n 'Request failed with status code ' + response.status,\n response.config,\n null,\n response.request,\n response\n ));\n }\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/axios/lib/core/settle.js\n// module id = 21It\n// module chunks = 0","\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// resources/assets/js/components/partials/form/Date.vue","module.exports = function(module) {\r\n\tif(!module.webpackPolyfill) {\r\n\t\tmodule.deprecate = function() {};\r\n\t\tmodule.paths = [];\r\n\t\t// module.parent = undefined by default\r\n\t\tif(!module.children) module.children = [];\r\n\t\tObject.defineProperty(module, \"loaded\", {\r\n\t\t\tenumerable: true,\r\n\t\t\tget: function() {\r\n\t\t\t\treturn module.l;\r\n\t\t\t}\r\n\t\t});\r\n\t\tObject.defineProperty(module, \"id\", {\r\n\t\t\tenumerable: true,\r\n\t\t\tget: function() {\r\n\t\t\t\treturn module.i;\r\n\t\t\t}\r\n\t\t});\r\n\t\tmodule.webpackPolyfill = 1;\r\n\t}\r\n\treturn module;\r\n};\r\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// (webpack)/buildin/module.js\n// module id = 3IRH\n// module chunks = 0","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:['sweet-modal-tab', { active: _vm.active }]},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\nmodule.exports = { render: render, staticRenderFns: staticRenderFns }\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-53147251\",\"hasScoped\":false,\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./node_modules/sweet-modal-vue/src/components/SweetModalTab.vue\n// module id = 437+\n// module chunks = 0","function injectStyle (ssrContext) {\n require(\"!!vue-style-loader!css-loader?minimize!../../../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-3374f9f4\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":true}!../../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./DashboardLog.vue\")\n}\nvar normalizeComponent = require(\"!../../../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nvar __vue_script__ = require(\"!!babel-loader?{\\\"cacheDirectory\\\":true,\\\"presets\\\":[[\\\"env\\\",{\\\"modules\\\":false,\\\"targets\\\":{\\\"browsers\\\":[\\\"> 2%\\\"],\\\"uglify\\\":true}}]],\\\"plugins\\\":[\\\"transform-object-rest-spread\\\",[\\\"transform-runtime\\\",{\\\"polyfill\\\":false,\\\"helpers\\\":false}]]}!../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./DashboardLog.vue\")\n/* template */\nvar __vue_template__ = require(\"!!../../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-3374f9f4\\\",\\\"hasScoped\\\":true,\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../../../node_modules/vue-loader/lib/selector?type=template&index=0!./DashboardLog.vue\")\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-3374f9f4\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./resources/assets/js/components/dashboard/DashboardLog.vue\n// module id = 4TwI\n// module chunks = 0","'use strict';\n\nvar utils = require('../utils');\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n utils.forEach(headers, function processHeader(value, name) {\n if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n headers[normalizedName] = value;\n delete headers[name];\n }\n });\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/axios/lib/helpers/normalizeHeaderName.js\n// module id = 5VQ+\n// module chunks = 0","// style-loader: Adds some css to the DOM by adding a \n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// resources/assets/js/components/passport/Clients.vue","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".note[data-v-f9b1ad80]:hover{background-color:#f6fbff}\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/css-loader?minimize!./node_modules/vue-loader/lib/style-compiler?{\"vue\":true,\"id\":\"data-v-f9b1ad80\",\"scoped\":true,\"hasInlineConfig\":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./resources/assets/js/components/people/Notes.vue\n// module id = 68uQ\n// module chunks = 0","// style-loader: Adds some css to the DOM by adding a \n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// resources/assets/js/components/people/Pets.vue","function injectStyle (ssrContext) {\n require(\"!!vue-style-loader!css-loader?minimize!../../../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-9517199c\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":true}!../../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./Pets.vue\")\n}\nvar normalizeComponent = require(\"!../../../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nvar __vue_script__ = require(\"!!babel-loader?{\\\"cacheDirectory\\\":true,\\\"presets\\\":[[\\\"env\\\",{\\\"modules\\\":false,\\\"targets\\\":{\\\"browsers\\\":[\\\"> 2%\\\"],\\\"uglify\\\":true}}]],\\\"plugins\\\":[\\\"transform-object-rest-spread\\\",[\\\"transform-runtime\\\",{\\\"polyfill\\\":false,\\\"helpers\\\":false}]]}!../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./Pets.vue\")\n/* template */\nvar __vue_template__ = require(\"!!../../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-9517199c\\\",\\\"hasScoped\\\":true,\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../../../node_modules/vue-loader/lib/selector?type=template&index=0!./Pets.vue\")\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-9517199c\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./resources/assets/js/components/people/Pets.vue\n// module id = D8sB\n// module chunks = 0","'use strict';\n\nvar utils = require('./../utils');\n\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%40/gi, '@').\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @returns {string} The formatted url\n */\nmodule.exports = function buildURL(url, params, paramsSerializer) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n\n var serializedParams;\n if (paramsSerializer) {\n serializedParams = paramsSerializer(params);\n } else if (utils.isURLSearchParams(params)) {\n serializedParams = params.toString();\n } else {\n var parts = [];\n\n utils.forEach(params, function serialize(val, key) {\n if (val === null || typeof val === 'undefined') {\n return;\n }\n\n if (utils.isArray(val)) {\n key = key + '[]';\n } else {\n val = [val];\n }\n\n utils.forEach(val, function parseValue(v) {\n if (utils.isDate(v)) {\n v = v.toISOString();\n } else if (utils.isObject(v)) {\n v = JSON.stringify(v);\n }\n parts.push(encode(key) + '=' + encode(v));\n });\n });\n\n serializedParams = parts.join('&');\n }\n\n if (serializedParams) {\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/axios/lib/helpers/buildURL.js\n// module id = DQCr\n// module chunks = 0","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"br2 pa3 mb3 f6\",class:[_vm.editMode ? 'bg-washed-yellow b--yellow ba' : 'bg-near-white']},[_c('div',{staticClass:\"w-100 dt\"},[_c('div',{staticClass:\"dtc\"},[_c('h3',{staticClass:\"f6 ttu normal\"},[_vm._v(_vm._s(_vm.$t('people.contact_address_title')))])]),_vm._v(\" \"),(_vm.contactAddresses.length > 0)?_c('div',{staticClass:\"dtc tr\"},[(!_vm.editMode)?_c('a',{staticClass:\"pointer\",on:{\"click\":function($event){_vm.editMode = true}}},[_vm._v(_vm._s(_vm.$t('app.edit')))]):_vm._e(),_vm._v(\" \"),(_vm.editMode)?_c('a',{staticClass:\"pointer\",on:{\"click\":function($event){[_vm.editMode = false, _vm.addMode = false]}}},[_vm._v(_vm._s(_vm.$t('app.done')))]):_vm._e()]):_vm._e()]),_vm._v(\" \"),(_vm.contactAddresses.length == 0 && !_vm.addMode)?_c('p',{staticClass:\"mb0\"},[_c('a',{staticClass:\"pointer\",on:{\"click\":_vm.toggleAdd}},[_vm._v(_vm._s(_vm.$t('app.add')))])]):_vm._e(),_vm._v(\" \"),(_vm.contactAddresses.length > 0)?_c('ul',[_vm._l((_vm.contactAddresses),function(contactAddress){return _c('li',{staticClass:\"mb2\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!contactAddress.edit),expression:\"!contactAddress.edit\"}],staticClass:\"w-100 dt\"},[_c('div',{staticClass:\"dtc\"},[_c('i',{staticClass:\"f6 light-silver fa fa-globe pr2\"}),_vm._v(\" \"),(!_vm.editMode)?_c('a',{attrs:{\"href\":contactAddress.googleMapAddress,\"target\":\"_blank\"}},[_vm._v(_vm._s(contactAddress.address))]):_vm._e(),_vm._v(\" \"),(_vm.editMode)?_c('span',[_vm._v(_vm._s(contactAddress.address))]):_vm._e(),_vm._v(\" \"),_c('span',{staticClass:\"light-silver\"},[_vm._v(\"(\"+_vm._s(contactAddress.name)+\")\")]),_vm._v(\" \"),(_vm.editMode)?_c('div',{staticClass:\"fr\"},[_c('i',{staticClass:\"fa fa-pencil-square-o pointer pr2\",on:{\"click\":function($event){_vm.toggleEdit(contactAddress)}}}),_vm._v(\" \"),_c('i',{staticClass:\"fa fa-trash-o pointer\",on:{\"click\":function($event){_vm.trash(contactAddress)}}})]):_vm._e()])]),_vm._v(\" \"),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(contactAddress.edit),expression:\"contactAddress.edit\"}],staticClass:\"w-100\"},[_c('form',{staticClass:\"measure center\"},[_c('div',{staticClass:\"mt3\"},[_c('label',{staticClass:\"db fw6 lh-copy f6\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('people.contact_address_form_name'))+\"\\n \")]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.updateForm.name),expression:\"updateForm.name\"}],staticClass:\"pa2 db w-100\",attrs:{\"type\":\"text\"},domProps:{\"value\":(_vm.updateForm.name)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.updateForm, \"name\", $event.target.value)}}})]),_vm._v(\" \"),_c('div',{staticClass:\"mt3\"},[_c('label',{staticClass:\"db fw6 lh-copy f6\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('people.contact_address_form_street'))+\"\\n \")]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.updateForm.street),expression:\"updateForm.street\"}],staticClass:\"pa2 db w-100\",attrs:{\"type\":\"text\"},domProps:{\"value\":(_vm.updateForm.street)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.updateForm, \"street\", $event.target.value)}}})]),_vm._v(\" \"),_c('div',{staticClass:\"mt3\"},[_c('label',{staticClass:\"db fw6 lh-copy f6\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('people.contact_address_form_city'))+\"\\n \")]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.updateForm.city),expression:\"updateForm.city\"}],staticClass:\"pa2 db w-100\",attrs:{\"type\":\"text\"},domProps:{\"value\":(_vm.updateForm.city)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.updateForm, \"city\", $event.target.value)}}})]),_vm._v(\" \"),_c('div',{staticClass:\"mt3\"},[_c('label',{staticClass:\"db fw6 lh-copy f6\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('people.contact_address_form_province'))+\"\\n \")]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.updateForm.province),expression:\"updateForm.province\"}],staticClass:\"pa2 db w-100\",attrs:{\"type\":\"text\"},domProps:{\"value\":(_vm.updateForm.province)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.updateForm, \"province\", $event.target.value)}}})]),_vm._v(\" \"),_c('div',{staticClass:\"mt3\"},[_c('label',{staticClass:\"db fw6 lh-copy f6\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('people.contact_address_form_postal_code'))+\"\\n \")]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.updateForm.postal_code),expression:\"updateForm.postal_code\"}],staticClass:\"pa2 db w-100\",attrs:{\"type\":\"text\"},domProps:{\"value\":(_vm.updateForm.postal_code)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.updateForm, \"postal_code\", $event.target.value)}}})]),_vm._v(\" \"),_c('div',{staticClass:\"mt3\"},[_c('label',{staticClass:\"db fw6 lh-copy f6\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('people.contact_address_form_country'))+\"\\n \")]),_vm._v(\" \"),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.updateForm.country_id),expression:\"updateForm.country_id\"}],staticClass:\"db w-100 h2\",on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.updateForm, \"country_id\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},_vm._l((_vm.countries),function(country){return _c('option',{domProps:{\"value\":country.id}},[_vm._v(\"\\n \"+_vm._s(country.country)+\"\\n \")])}))]),_vm._v(\" \"),_c('div',{staticClass:\"lh-copy mt3\"},[_c('a',{staticClass:\"btn btn-primary\",on:{\"click\":function($event){$event.preventDefault();_vm.update(contactAddress)}}},[_vm._v(_vm._s(_vm.$t('app.add')))]),_vm._v(\" \"),_c('a',{staticClass:\"btn\",on:{\"click\":function($event){_vm.toggleEdit(contactAddress)}}},[_vm._v(_vm._s(_vm.$t('app.cancel')))])])])])])}),_vm._v(\" \"),(_vm.editMode && !_vm.addMode)?_c('li',[_c('a',{staticClass:\"pointer\",on:{\"click\":_vm.toggleAdd}},[_vm._v(_vm._s(_vm.$t('app.add')))])]):_vm._e()],2):_vm._e(),_vm._v(\" \"),(_vm.addMode)?_c('div',[_c('form',{staticClass:\"measure center\"},[_c('div',{staticClass:\"mt3\"},[_c('label',{staticClass:\"db fw6 lh-copy f6\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('people.contact_address_form_name'))+\"\\n \")]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.createForm.name),expression:\"createForm.name\"}],staticClass:\"pa2 db w-100\",attrs:{\"type\":\"text\"},domProps:{\"value\":(_vm.createForm.name)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.createForm, \"name\", $event.target.value)}}})]),_vm._v(\" \"),_c('div',{staticClass:\"mt3\"},[_c('label',{staticClass:\"db fw6 lh-copy f6\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('people.contact_address_form_street'))+\"\\n \")]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.createForm.street),expression:\"createForm.street\"}],staticClass:\"pa2 db w-100\",attrs:{\"type\":\"text\"},domProps:{\"value\":(_vm.createForm.street)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.createForm, \"street\", $event.target.value)}}})]),_vm._v(\" \"),_c('div',{staticClass:\"mt3\"},[_c('label',{staticClass:\"db fw6 lh-copy f6\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('people.contact_address_form_city'))+\"\\n \")]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.createForm.city),expression:\"createForm.city\"}],staticClass:\"pa2 db w-100\",attrs:{\"type\":\"text\"},domProps:{\"value\":(_vm.createForm.city)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.createForm, \"city\", $event.target.value)}}})]),_vm._v(\" \"),_c('div',{staticClass:\"mt3\"},[_c('label',{staticClass:\"db fw6 lh-copy f6\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('people.contact_address_form_province'))+\"\\n \")]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.createForm.province),expression:\"createForm.province\"}],staticClass:\"pa2 db w-100\",attrs:{\"type\":\"text\"},domProps:{\"value\":(_vm.createForm.province)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.createForm, \"province\", $event.target.value)}}})]),_vm._v(\" \"),_c('div',{staticClass:\"mt3\"},[_c('label',{staticClass:\"db fw6 lh-copy f6\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('people.contact_address_form_postal_code'))+\"\\n \")]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.createForm.postal_code),expression:\"createForm.postal_code\"}],staticClass:\"pa2 db w-100\",attrs:{\"type\":\"text\"},domProps:{\"value\":(_vm.createForm.postal_code)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.createForm, \"postal_code\", $event.target.value)}}})]),_vm._v(\" \"),_c('div',{staticClass:\"mt3\"},[_c('label',{staticClass:\"db fw6 lh-copy f6\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('people.contact_address_form_country'))+\"\\n \")]),_vm._v(\" \"),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.createForm.country_id),expression:\"createForm.country_id\"}],staticClass:\"db w-100 h2\",on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.createForm, \"country_id\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{attrs:{\"value\":\"0\"}}),_vm._v(\" \"),_vm._l((_vm.countries),function(country){return _c('option',{domProps:{\"value\":country.id}},[_vm._v(\"\\n \"+_vm._s(country.country)+\"\\n \")])})],2)]),_vm._v(\" \"),_c('div',{staticClass:\"lh-copy mt3\"},[_c('a',{staticClass:\"btn btn-primary\",on:{\"click\":function($event){$event.preventDefault();return _vm.store($event)}}},[_vm._v(_vm._s(_vm.$t('app.add')))]),_vm._v(\" \"),_c('a',{staticClass:\"btn\",on:{\"click\":function($event){_vm.addMode = false}}},[_vm._v(_vm._s(_vm.$t('app.cancel')))])])])]):_vm._e()])}\nvar staticRenderFns = []\nmodule.exports = { render: render, staticRenderFns: staticRenderFns }\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-d5f4fa5a\",\"hasScoped\":true,\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./resources/assets/js/components/people/Addresses.vue\n// module id = DfXp\n// module chunks = 0","(function (global, factory) {\n if (typeof define === 'function' && define.amd) {\n define(['exports', 'module', './util'], factory);\n } else if (typeof exports !== 'undefined' && typeof module !== 'undefined') {\n factory(exports, module, require('./util'));\n } else {\n var mod = {\n exports: {}\n };\n factory(mod.exports, mod, global.Util);\n global.tab = mod.exports;\n }\n})(this, function (exports, module, _util) {\n 'use strict';\n\n var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\n function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }\n\n var _Util = _interopRequireDefault(_util);\n\n /**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.0.0-alpha.2): tab.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n var Tab = (function ($) {\n\n /**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\n var NAME = 'tab';\n var VERSION = '4.0.0-alpha';\n var DATA_KEY = 'bs.tab';\n var EVENT_KEY = '.' + DATA_KEY;\n var DATA_API_KEY = '.data-api';\n var JQUERY_NO_CONFLICT = $.fn[NAME];\n var TRANSITION_DURATION = 150;\n\n var Event = {\n HIDE: 'hide' + EVENT_KEY,\n HIDDEN: 'hidden' + EVENT_KEY,\n SHOW: 'show' + EVENT_KEY,\n SHOWN: 'shown' + EVENT_KEY,\n CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY\n };\n\n var ClassName = {\n DROPDOWN_MENU: 'dropdown-menu',\n ACTIVE: 'active',\n FADE: 'fade',\n IN: 'in'\n };\n\n var Selector = {\n A: 'a',\n LI: 'li',\n DROPDOWN: '.dropdown',\n UL: 'ul:not(.dropdown-menu)',\n FADE_CHILD: '> .nav-item .fade, > .fade',\n ACTIVE: '.active',\n ACTIVE_CHILD: '> .nav-item > .active, > .active',\n DATA_TOGGLE: '[data-toggle=\"tab\"], [data-toggle=\"pill\"]',\n DROPDOWN_TOGGLE: '.dropdown-toggle',\n DROPDOWN_ACTIVE_CHILD: '> .dropdown-menu .active'\n };\n\n /**\n * ------------------------------------------------------------------------\n * Class Definition\n * ------------------------------------------------------------------------\n */\n\n var Tab = (function () {\n function Tab(element) {\n _classCallCheck(this, Tab);\n\n this._element = element;\n }\n\n /**\n * ------------------------------------------------------------------------\n * Data Api implementation\n * ------------------------------------------------------------------------\n */\n\n // getters\n\n _createClass(Tab, [{\n key: 'show',\n\n // public\n\n value: function show() {\n var _this = this;\n\n if (this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && $(this._element).hasClass(ClassName.ACTIVE)) {\n return;\n }\n\n var target = undefined;\n var previous = undefined;\n var ulElement = $(this._element).closest(Selector.UL)[0];\n var selector = _Util['default'].getSelectorFromElement(this._element);\n\n if (ulElement) {\n previous = $.makeArray($(ulElement).find(Selector.ACTIVE));\n previous = previous[previous.length - 1];\n }\n\n var hideEvent = $.Event(Event.HIDE, {\n relatedTarget: this._element\n });\n\n var showEvent = $.Event(Event.SHOW, {\n relatedTarget: previous\n });\n\n if (previous) {\n $(previous).trigger(hideEvent);\n }\n\n $(this._element).trigger(showEvent);\n\n if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) {\n return;\n }\n\n if (selector) {\n target = $(selector)[0];\n }\n\n this._activate(this._element, ulElement);\n\n var complete = function complete() {\n var hiddenEvent = $.Event(Event.HIDDEN, {\n relatedTarget: _this._element\n });\n\n var shownEvent = $.Event(Event.SHOWN, {\n relatedTarget: previous\n });\n\n $(previous).trigger(hiddenEvent);\n $(_this._element).trigger(shownEvent);\n };\n\n if (target) {\n this._activate(target, target.parentNode, complete);\n } else {\n complete();\n }\n }\n }, {\n key: 'dispose',\n value: function dispose() {\n $.removeClass(this._element, DATA_KEY);\n this._element = null;\n }\n\n // private\n\n }, {\n key: '_activate',\n value: function _activate(element, container, callback) {\n var active = $(container).find(Selector.ACTIVE_CHILD)[0];\n var isTransitioning = callback && _Util['default'].supportsTransitionEnd() && (active && $(active).hasClass(ClassName.FADE) || Boolean($(container).find(Selector.FADE_CHILD)[0]));\n\n var complete = $.proxy(this._transitionComplete, this, element, active, isTransitioning, callback);\n\n if (active && isTransitioning) {\n $(active).one(_Util['default'].TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);\n } else {\n complete();\n }\n\n if (active) {\n $(active).removeClass(ClassName.IN);\n }\n }\n }, {\n key: '_transitionComplete',\n value: function _transitionComplete(element, active, isTransitioning, callback) {\n if (active) {\n $(active).removeClass(ClassName.ACTIVE);\n\n var dropdownChild = $(active).find(Selector.DROPDOWN_ACTIVE_CHILD)[0];\n\n if (dropdownChild) {\n $(dropdownChild).removeClass(ClassName.ACTIVE);\n }\n\n active.setAttribute('aria-expanded', false);\n }\n\n $(element).addClass(ClassName.ACTIVE);\n element.setAttribute('aria-expanded', true);\n\n if (isTransitioning) {\n _Util['default'].reflow(element);\n $(element).addClass(ClassName.IN);\n } else {\n $(element).removeClass(ClassName.FADE);\n }\n\n if (element.parentNode && $(element.parentNode).hasClass(ClassName.DROPDOWN_MENU)) {\n\n var dropdownElement = $(element).closest(Selector.DROPDOWN)[0];\n if (dropdownElement) {\n $(dropdownElement).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE);\n }\n\n element.setAttribute('aria-expanded', true);\n }\n\n if (callback) {\n callback();\n }\n }\n\n // static\n\n }], [{\n key: '_jQueryInterface',\n value: function _jQueryInterface(config) {\n return this.each(function () {\n var $this = $(this);\n var data = $this.data(DATA_KEY);\n\n if (!data) {\n data = data = new Tab(this);\n $this.data(DATA_KEY, data);\n }\n\n if (typeof config === 'string') {\n if (data[config] === undefined) {\n throw new Error('No method named \"' + config + '\"');\n }\n data[config]();\n }\n });\n }\n }, {\n key: 'VERSION',\n get: function get() {\n return VERSION;\n }\n }]);\n\n return Tab;\n })();\n\n $(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {\n event.preventDefault();\n Tab._jQueryInterface.call($(this), 'show');\n });\n\n /**\n * ------------------------------------------------------------------------\n * jQuery\n * ------------------------------------------------------------------------\n */\n\n $.fn[NAME] = Tab._jQueryInterface;\n $.fn[NAME].Constructor = Tab;\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT;\n return Tab._jQueryInterface;\n };\n\n return Tab;\n })(jQuery);\n\n module.exports = Tab;\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/bootstrap/dist/js/umd/tab.js\n// module id = Dh4l\n// module chunks = 0","// Code to manage tags in the contact view\n\n$('#tags').tagsInput({\n 'maxChars' : 255,\n});\n\n$('#tagsForm').hide();\n\n$('#tagsFormCancel').click( function(e) {\n $('#tagsForm').hide();\n $('.tags').toggle();\n});\n\n$('#showTagForm').click(function(e) {\n $('#tagsForm').toggle();\n $('.tags').toggle();\n e.preventDefault();\n return false;\n});\n\n$('#tags_tagsinput').keyup(function(e) {\n if (e.keyCode == 27) {\n $('#tagsForm').toggle();\n $('.tags').toggle();\n }\n});\n\n$('#tagsForm').submit(function(e) {\n\n // gather the list of tags in the input and translating it into a comma\n // separated string\n var tags = $.map(\n $('#tagsForm .tag span'), function(e,i) {\n return $(e).text().trim();\n });\n\n var tagsTring = tags.join(',');\n\n $.post(\n $( this ).prop( 'action' ),\n {\n \"_token\": $(this).find( 'input[name=_token]' ).val(),\n 'tags': tagsTring\n },\n function( data ) {\n // success\n $('#tagsForm').toggle();\n\n $('.tags-list').empty();\n\n // add the new tag\n for (var i = 0; i < data['tags'].length ; i++) {\n $('.tags-list').append('
  • ' + data.tags[i].slug + '
  • ');\n }\n\n $('.tags').toggle();\n },\n 'json'\n );\n e.preventDefault();\n});\n\n\n\n// WEBPACK FOOTER //\n// ./resources/assets/js/tags.js","var g;\r\n\r\n// This works in non-strict mode\r\ng = (function() {\r\n\treturn this;\r\n})();\r\n\r\ntry {\r\n\t// This works if eval is allowed (see CSP)\r\n\tg = g || Function(\"return this\")() || (1,eval)(\"this\");\r\n} catch(e) {\r\n\t// This works if the window reference is available\r\n\tif(typeof window === \"object\")\r\n\t\tg = window;\r\n}\r\n\r\n// g can still be undefined, but nothing to do about it...\r\n// We return undefined, instead of nothing here, so it's\r\n// easier to handle this case. if(!global) { ...}\r\n\r\nmodule.exports = g;\r\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// (webpack)/buildin/global.js\n// module id = DuR2\n// module chunks = 0","\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// resources/assets/js/components/people/Notes.vue","\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// resources/assets/js/components/partials/form/Select.vue","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/css-loader?minimize!./node_modules/vue-loader/lib/style-compiler?{\"vue\":true,\"id\":\"data-v-d5f4fa5a\",\"scoped\":true,\"hasInlineConfig\":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./resources/assets/js/components/people/Addresses.vue\n// module id = FNWz\n// module chunks = 0","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/css-loader?minimize!./node_modules/vue-loader/lib/style-compiler?{\"vue\":true,\"id\":\"data-v-723bbcdc\",\"scoped\":true,\"hasInlineConfig\":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./resources/assets/js/components/people/ContactInformation.vue\n// module id = FOBg\n// module chunks = 0","/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\nmodule.exports = function(useSourceMap) {\n\tvar list = [];\n\n\t// return the list of modules as css string\n\tlist.toString = function toString() {\n\t\treturn this.map(function (item) {\n\t\t\tvar content = cssWithMappingToString(item, useSourceMap);\n\t\t\tif(item[2]) {\n\t\t\t\treturn \"@media \" + item[2] + \"{\" + content + \"}\";\n\t\t\t} else {\n\t\t\t\treturn content;\n\t\t\t}\n\t\t}).join(\"\");\n\t};\n\n\t// import a list of modules into the list\n\tlist.i = function(modules, mediaQuery) {\n\t\tif(typeof modules === \"string\")\n\t\t\tmodules = [[null, modules, \"\"]];\n\t\tvar alreadyImportedModules = {};\n\t\tfor(var i = 0; i < this.length; i++) {\n\t\t\tvar id = this[i][0];\n\t\t\tif(typeof id === \"number\")\n\t\t\t\talreadyImportedModules[id] = true;\n\t\t}\n\t\tfor(i = 0; i < modules.length; i++) {\n\t\t\tvar item = modules[i];\n\t\t\t// skip already imported module\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\n\t\t\t// when a module is imported multiple times with different media queries.\n\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\n\t\t\tif(typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\n\t\t\t\tif(mediaQuery && !item[2]) {\n\t\t\t\t\titem[2] = mediaQuery;\n\t\t\t\t} else if(mediaQuery) {\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\n\t\t\t\t}\n\t\t\t\tlist.push(item);\n\t\t\t}\n\t\t}\n\t};\n\treturn list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n\tvar content = item[1] || '';\n\tvar cssMapping = item[3];\n\tif (!cssMapping) {\n\t\treturn content;\n\t}\n\n\tif (useSourceMap && typeof btoa === 'function') {\n\t\tvar sourceMapping = toComment(cssMapping);\n\t\tvar sourceURLs = cssMapping.sources.map(function (source) {\n\t\t\treturn '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'\n\t\t});\n\n\t\treturn [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n\t}\n\n\treturn [content].join('\\n');\n}\n\n// Adapted from convert-source-map (MIT)\nfunction toComment(sourceMap) {\n\t// eslint-disable-next-line no-undef\n\tvar base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n\tvar data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\n\n\treturn '/*# ' + data + ' */';\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/css-loader/lib/css-base.js\n// module id = FZ+f\n// module chunks = 0","'use strict';\n\nvar enhanceError = require('./enhanceError');\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The created error.\n */\nmodule.exports = function createError(message, config, code, request, response) {\n var error = new Error(message);\n return enhanceError(error, config, code, request, response);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/axios/lib/core/createError.js\n// module id = FtD3\n// module chunks = 0","// style-loader: Adds some css to the DOM by adding a \n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// resources/assets/js/components/journal/partials/JournalContentActivity.vue","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"select[data-v-347b3ac7]{height:34px;-webkit-transition:all;transition:all;-webkit-transition-duration:.2s;transition-duration:.2s;border:1px solid #c4cdd5}select[data-v-347b3ac7]:focus{border:1px solid #5c6ac4}\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/css-loader?minimize!./node_modules/vue-loader/lib/style-compiler?{\"vue\":true,\"id\":\"data-v-347b3ac7\",\"scoped\":true,\"hasInlineConfig\":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./resources/assets/js/components/partials/form/Select.vue\n// module id = Hiwe\n// module chunks = 0","/*!\n * Vue.js v2.5.16\n * (c) 2014-2018 Evan You\n * Released under the MIT License.\n */\n'use strict';\n\n/* */\n\nvar emptyObject = Object.freeze({});\n\n// these helpers produces better vm code in JS engines due to their\n// explicitness and function inlining\nfunction isUndef (v) {\n return v === undefined || v === null\n}\n\nfunction isDef (v) {\n return v !== undefined && v !== null\n}\n\nfunction isTrue (v) {\n return v === true\n}\n\nfunction isFalse (v) {\n return v === false\n}\n\n/**\n * Check if value is primitive\n */\nfunction isPrimitive (value) {\n return (\n typeof value === 'string' ||\n typeof value === 'number' ||\n // $flow-disable-line\n typeof value === 'symbol' ||\n typeof value === 'boolean'\n )\n}\n\n/**\n * Quick object check - this is primarily used to tell\n * Objects from primitive values when we know the value\n * is a JSON-compliant type.\n */\nfunction isObject (obj) {\n return obj !== null && typeof obj === 'object'\n}\n\n/**\n * Get the raw type string of a value e.g. [object Object]\n */\nvar _toString = Object.prototype.toString;\n\nfunction toRawType (value) {\n return _toString.call(value).slice(8, -1)\n}\n\n/**\n * Strict object type check. Only returns true\n * for plain JavaScript objects.\n */\nfunction isPlainObject (obj) {\n return _toString.call(obj) === '[object Object]'\n}\n\nfunction isRegExp (v) {\n return _toString.call(v) === '[object RegExp]'\n}\n\n/**\n * Check if val is a valid array index.\n */\nfunction isValidArrayIndex (val) {\n var n = parseFloat(String(val));\n return n >= 0 && Math.floor(n) === n && isFinite(val)\n}\n\n/**\n * Convert a value to a string that is actually rendered.\n */\nfunction toString (val) {\n return val == null\n ? ''\n : typeof val === 'object'\n ? JSON.stringify(val, null, 2)\n : String(val)\n}\n\n/**\n * Convert a input value to a number for persistence.\n * If the conversion fails, return original string.\n */\nfunction toNumber (val) {\n var n = parseFloat(val);\n return isNaN(n) ? val : n\n}\n\n/**\n * Make a map and return a function for checking if a key\n * is in that map.\n */\nfunction makeMap (\n str,\n expectsLowerCase\n) {\n var map = Object.create(null);\n var list = str.split(',');\n for (var i = 0; i < list.length; i++) {\n map[list[i]] = true;\n }\n return expectsLowerCase\n ? function (val) { return map[val.toLowerCase()]; }\n : function (val) { return map[val]; }\n}\n\n/**\n * Check if a tag is a built-in tag.\n */\nvar isBuiltInTag = makeMap('slot,component', true);\n\n/**\n * Check if a attribute is a reserved attribute.\n */\nvar isReservedAttribute = makeMap('key,ref,slot,slot-scope,is');\n\n/**\n * Remove an item from an array\n */\nfunction remove (arr, item) {\n if (arr.length) {\n var index = arr.indexOf(item);\n if (index > -1) {\n return arr.splice(index, 1)\n }\n }\n}\n\n/**\n * Check whether the object has the property.\n */\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction hasOwn (obj, key) {\n return hasOwnProperty.call(obj, key)\n}\n\n/**\n * Create a cached version of a pure function.\n */\nfunction cached (fn) {\n var cache = Object.create(null);\n return (function cachedFn (str) {\n var hit = cache[str];\n return hit || (cache[str] = fn(str))\n })\n}\n\n/**\n * Camelize a hyphen-delimited string.\n */\nvar camelizeRE = /-(\\w)/g;\nvar camelize = cached(function (str) {\n return str.replace(camelizeRE, function (_, c) { return c ? c.toUpperCase() : ''; })\n});\n\n/**\n * Capitalize a string.\n */\nvar capitalize = cached(function (str) {\n return str.charAt(0).toUpperCase() + str.slice(1)\n});\n\n/**\n * Hyphenate a camelCase string.\n */\nvar hyphenateRE = /\\B([A-Z])/g;\nvar hyphenate = cached(function (str) {\n return str.replace(hyphenateRE, '-$1').toLowerCase()\n});\n\n/**\n * Simple bind polyfill for environments that do not support it... e.g.\n * PhantomJS 1.x. Technically we don't need this anymore since native bind is\n * now more performant in most browsers, but removing it would be breaking for\n * code that was able to run in PhantomJS 1.x, so this must be kept for\n * backwards compatibility.\n */\n\n/* istanbul ignore next */\nfunction polyfillBind (fn, ctx) {\n function boundFn (a) {\n var l = arguments.length;\n return l\n ? l > 1\n ? fn.apply(ctx, arguments)\n : fn.call(ctx, a)\n : fn.call(ctx)\n }\n\n boundFn._length = fn.length;\n return boundFn\n}\n\nfunction nativeBind (fn, ctx) {\n return fn.bind(ctx)\n}\n\nvar bind = Function.prototype.bind\n ? nativeBind\n : polyfillBind;\n\n/**\n * Convert an Array-like object to a real Array.\n */\nfunction toArray (list, start) {\n start = start || 0;\n var i = list.length - start;\n var ret = new Array(i);\n while (i--) {\n ret[i] = list[i + start];\n }\n return ret\n}\n\n/**\n * Mix properties into target object.\n */\nfunction extend (to, _from) {\n for (var key in _from) {\n to[key] = _from[key];\n }\n return to\n}\n\n/**\n * Merge an Array of Objects into a single Object.\n */\nfunction toObject (arr) {\n var res = {};\n for (var i = 0; i < arr.length; i++) {\n if (arr[i]) {\n extend(res, arr[i]);\n }\n }\n return res\n}\n\n/**\n * Perform no operation.\n * Stubbing args to make Flow happy without leaving useless transpiled code\n * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/)\n */\nfunction noop (a, b, c) {}\n\n/**\n * Always return false.\n */\nvar no = function (a, b, c) { return false; };\n\n/**\n * Return same value\n */\nvar identity = function (_) { return _; };\n\n/**\n * Generate a static keys string from compiler modules.\n */\nfunction genStaticKeys (modules) {\n return modules.reduce(function (keys, m) {\n return keys.concat(m.staticKeys || [])\n }, []).join(',')\n}\n\n/**\n * Check if two values are loosely equal - that is,\n * if they are plain objects, do they have the same shape?\n */\nfunction looseEqual (a, b) {\n if (a === b) { return true }\n var isObjectA = isObject(a);\n var isObjectB = isObject(b);\n if (isObjectA && isObjectB) {\n try {\n var isArrayA = Array.isArray(a);\n var isArrayB = Array.isArray(b);\n if (isArrayA && isArrayB) {\n return a.length === b.length && a.every(function (e, i) {\n return looseEqual(e, b[i])\n })\n } else if (!isArrayA && !isArrayB) {\n var keysA = Object.keys(a);\n var keysB = Object.keys(b);\n return keysA.length === keysB.length && keysA.every(function (key) {\n return looseEqual(a[key], b[key])\n })\n } else {\n /* istanbul ignore next */\n return false\n }\n } catch (e) {\n /* istanbul ignore next */\n return false\n }\n } else if (!isObjectA && !isObjectB) {\n return String(a) === String(b)\n } else {\n return false\n }\n}\n\nfunction looseIndexOf (arr, val) {\n for (var i = 0; i < arr.length; i++) {\n if (looseEqual(arr[i], val)) { return i }\n }\n return -1\n}\n\n/**\n * Ensure a function is called only once.\n */\nfunction once (fn) {\n var called = false;\n return function () {\n if (!called) {\n called = true;\n fn.apply(this, arguments);\n }\n }\n}\n\nvar SSR_ATTR = 'data-server-rendered';\n\nvar ASSET_TYPES = [\n 'component',\n 'directive',\n 'filter'\n];\n\nvar LIFECYCLE_HOOKS = [\n 'beforeCreate',\n 'created',\n 'beforeMount',\n 'mounted',\n 'beforeUpdate',\n 'updated',\n 'beforeDestroy',\n 'destroyed',\n 'activated',\n 'deactivated',\n 'errorCaptured'\n];\n\n/* */\n\nvar config = ({\n /**\n * Option merge strategies (used in core/util/options)\n */\n // $flow-disable-line\n optionMergeStrategies: Object.create(null),\n\n /**\n * Whether to suppress warnings.\n */\n silent: false,\n\n /**\n * Show production mode tip message on boot?\n */\n productionTip: process.env.NODE_ENV !== 'production',\n\n /**\n * Whether to enable devtools\n */\n devtools: process.env.NODE_ENV !== 'production',\n\n /**\n * Whether to record perf\n */\n performance: false,\n\n /**\n * Error handler for watcher errors\n */\n errorHandler: null,\n\n /**\n * Warn handler for watcher warns\n */\n warnHandler: null,\n\n /**\n * Ignore certain custom elements\n */\n ignoredElements: [],\n\n /**\n * Custom user key aliases for v-on\n */\n // $flow-disable-line\n keyCodes: Object.create(null),\n\n /**\n * Check if a tag is reserved so that it cannot be registered as a\n * component. This is platform-dependent and may be overwritten.\n */\n isReservedTag: no,\n\n /**\n * Check if an attribute is reserved so that it cannot be used as a component\n * prop. This is platform-dependent and may be overwritten.\n */\n isReservedAttr: no,\n\n /**\n * Check if a tag is an unknown element.\n * Platform-dependent.\n */\n isUnknownElement: no,\n\n /**\n * Get the namespace of an element\n */\n getTagNamespace: noop,\n\n /**\n * Parse the real tag name for the specific platform.\n */\n parsePlatformTagName: identity,\n\n /**\n * Check if an attribute must be bound using property, e.g. value\n * Platform-dependent.\n */\n mustUseProp: no,\n\n /**\n * Exposed for legacy reasons\n */\n _lifecycleHooks: LIFECYCLE_HOOKS\n})\n\n/* */\n\n/**\n * Check if a string starts with $ or _\n */\nfunction isReserved (str) {\n var c = (str + '').charCodeAt(0);\n return c === 0x24 || c === 0x5F\n}\n\n/**\n * Define a property.\n */\nfunction def (obj, key, val, enumerable) {\n Object.defineProperty(obj, key, {\n value: val,\n enumerable: !!enumerable,\n writable: true,\n configurable: true\n });\n}\n\n/**\n * Parse simple path.\n */\nvar bailRE = /[^\\w.$]/;\nfunction parsePath (path) {\n if (bailRE.test(path)) {\n return\n }\n var segments = path.split('.');\n return function (obj) {\n for (var i = 0; i < segments.length; i++) {\n if (!obj) { return }\n obj = obj[segments[i]];\n }\n return obj\n }\n}\n\n/* */\n\n// can we use __proto__?\nvar hasProto = '__proto__' in {};\n\n// Browser environment sniffing\nvar inBrowser = typeof window !== 'undefined';\nvar inWeex = typeof WXEnvironment !== 'undefined' && !!WXEnvironment.platform;\nvar weexPlatform = inWeex && WXEnvironment.platform.toLowerCase();\nvar UA = inBrowser && window.navigator.userAgent.toLowerCase();\nvar isIE = UA && /msie|trident/.test(UA);\nvar isIE9 = UA && UA.indexOf('msie 9.0') > 0;\nvar isEdge = UA && UA.indexOf('edge/') > 0;\nvar isAndroid = (UA && UA.indexOf('android') > 0) || (weexPlatform === 'android');\nvar isIOS = (UA && /iphone|ipad|ipod|ios/.test(UA)) || (weexPlatform === 'ios');\nvar isChrome = UA && /chrome\\/\\d+/.test(UA) && !isEdge;\n\n// Firefox has a \"watch\" function on Object.prototype...\nvar nativeWatch = ({}).watch;\n\nvar supportsPassive = false;\nif (inBrowser) {\n try {\n var opts = {};\n Object.defineProperty(opts, 'passive', ({\n get: function get () {\n /* istanbul ignore next */\n supportsPassive = true;\n }\n })); // https://github.com/facebook/flow/issues/285\n window.addEventListener('test-passive', null, opts);\n } catch (e) {}\n}\n\n// this needs to be lazy-evaled because vue may be required before\n// vue-server-renderer can set VUE_ENV\nvar _isServer;\nvar isServerRendering = function () {\n if (_isServer === undefined) {\n /* istanbul ignore if */\n if (!inBrowser && !inWeex && typeof global !== 'undefined') {\n // detect presence of vue-server-renderer and avoid\n // Webpack shimming the process\n _isServer = global['process'].env.VUE_ENV === 'server';\n } else {\n _isServer = false;\n }\n }\n return _isServer\n};\n\n// detect devtools\nvar devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;\n\n/* istanbul ignore next */\nfunction isNative (Ctor) {\n return typeof Ctor === 'function' && /native code/.test(Ctor.toString())\n}\n\nvar hasSymbol =\n typeof Symbol !== 'undefined' && isNative(Symbol) &&\n typeof Reflect !== 'undefined' && isNative(Reflect.ownKeys);\n\nvar _Set;\n/* istanbul ignore if */ // $flow-disable-line\nif (typeof Set !== 'undefined' && isNative(Set)) {\n // use native Set when available.\n _Set = Set;\n} else {\n // a non-standard Set polyfill that only works with primitive keys.\n _Set = (function () {\n function Set () {\n this.set = Object.create(null);\n }\n Set.prototype.has = function has (key) {\n return this.set[key] === true\n };\n Set.prototype.add = function add (key) {\n this.set[key] = true;\n };\n Set.prototype.clear = function clear () {\n this.set = Object.create(null);\n };\n\n return Set;\n }());\n}\n\n/* */\n\nvar warn = noop;\nvar tip = noop;\nvar generateComponentTrace = (noop); // work around flow check\nvar formatComponentName = (noop);\n\nif (process.env.NODE_ENV !== 'production') {\n var hasConsole = typeof console !== 'undefined';\n var classifyRE = /(?:^|[-_])(\\w)/g;\n var classify = function (str) { return str\n .replace(classifyRE, function (c) { return c.toUpperCase(); })\n .replace(/[-_]/g, ''); };\n\n warn = function (msg, vm) {\n var trace = vm ? generateComponentTrace(vm) : '';\n\n if (config.warnHandler) {\n config.warnHandler.call(null, msg, vm, trace);\n } else if (hasConsole && (!config.silent)) {\n console.error((\"[Vue warn]: \" + msg + trace));\n }\n };\n\n tip = function (msg, vm) {\n if (hasConsole && (!config.silent)) {\n console.warn(\"[Vue tip]: \" + msg + (\n vm ? generateComponentTrace(vm) : ''\n ));\n }\n };\n\n formatComponentName = function (vm, includeFile) {\n if (vm.$root === vm) {\n return ''\n }\n var options = typeof vm === 'function' && vm.cid != null\n ? vm.options\n : vm._isVue\n ? vm.$options || vm.constructor.options\n : vm || {};\n var name = options.name || options._componentTag;\n var file = options.__file;\n if (!name && file) {\n var match = file.match(/([^/\\\\]+)\\.vue$/);\n name = match && match[1];\n }\n\n return (\n (name ? (\"<\" + (classify(name)) + \">\") : \"\") +\n (file && includeFile !== false ? (\" at \" + file) : '')\n )\n };\n\n var repeat = function (str, n) {\n var res = '';\n while (n) {\n if (n % 2 === 1) { res += str; }\n if (n > 1) { str += str; }\n n >>= 1;\n }\n return res\n };\n\n generateComponentTrace = function (vm) {\n if (vm._isVue && vm.$parent) {\n var tree = [];\n var currentRecursiveSequence = 0;\n while (vm) {\n if (tree.length > 0) {\n var last = tree[tree.length - 1];\n if (last.constructor === vm.constructor) {\n currentRecursiveSequence++;\n vm = vm.$parent;\n continue\n } else if (currentRecursiveSequence > 0) {\n tree[tree.length - 1] = [last, currentRecursiveSequence];\n currentRecursiveSequence = 0;\n }\n }\n tree.push(vm);\n vm = vm.$parent;\n }\n return '\\n\\nfound in\\n\\n' + tree\n .map(function (vm, i) { return (\"\" + (i === 0 ? '---> ' : repeat(' ', 5 + i * 2)) + (Array.isArray(vm)\n ? ((formatComponentName(vm[0])) + \"... (\" + (vm[1]) + \" recursive calls)\")\n : formatComponentName(vm))); })\n .join('\\n')\n } else {\n return (\"\\n\\n(found in \" + (formatComponentName(vm)) + \")\")\n }\n };\n}\n\n/* */\n\n\nvar uid = 0;\n\n/**\n * A dep is an observable that can have multiple\n * directives subscribing to it.\n */\nvar Dep = function Dep () {\n this.id = uid++;\n this.subs = [];\n};\n\nDep.prototype.addSub = function addSub (sub) {\n this.subs.push(sub);\n};\n\nDep.prototype.removeSub = function removeSub (sub) {\n remove(this.subs, sub);\n};\n\nDep.prototype.depend = function depend () {\n if (Dep.target) {\n Dep.target.addDep(this);\n }\n};\n\nDep.prototype.notify = function notify () {\n // stabilize the subscriber list first\n var subs = this.subs.slice();\n for (var i = 0, l = subs.length; i < l; i++) {\n subs[i].update();\n }\n};\n\n// the current target watcher being evaluated.\n// this is globally unique because there could be only one\n// watcher being evaluated at any time.\nDep.target = null;\nvar targetStack = [];\n\nfunction pushTarget (_target) {\n if (Dep.target) { targetStack.push(Dep.target); }\n Dep.target = _target;\n}\n\nfunction popTarget () {\n Dep.target = targetStack.pop();\n}\n\n/* */\n\nvar VNode = function VNode (\n tag,\n data,\n children,\n text,\n elm,\n context,\n componentOptions,\n asyncFactory\n) {\n this.tag = tag;\n this.data = data;\n this.children = children;\n this.text = text;\n this.elm = elm;\n this.ns = undefined;\n this.context = context;\n this.fnContext = undefined;\n this.fnOptions = undefined;\n this.fnScopeId = undefined;\n this.key = data && data.key;\n this.componentOptions = componentOptions;\n this.componentInstance = undefined;\n this.parent = undefined;\n this.raw = false;\n this.isStatic = false;\n this.isRootInsert = true;\n this.isComment = false;\n this.isCloned = false;\n this.isOnce = false;\n this.asyncFactory = asyncFactory;\n this.asyncMeta = undefined;\n this.isAsyncPlaceholder = false;\n};\n\nvar prototypeAccessors = { child: { configurable: true } };\n\n// DEPRECATED: alias for componentInstance for backwards compat.\n/* istanbul ignore next */\nprototypeAccessors.child.get = function () {\n return this.componentInstance\n};\n\nObject.defineProperties( VNode.prototype, prototypeAccessors );\n\nvar createEmptyVNode = function (text) {\n if ( text === void 0 ) text = '';\n\n var node = new VNode();\n node.text = text;\n node.isComment = true;\n return node\n};\n\nfunction createTextVNode (val) {\n return new VNode(undefined, undefined, undefined, String(val))\n}\n\n// optimized shallow clone\n// used for static nodes and slot nodes because they may be reused across\n// multiple renders, cloning them avoids errors when DOM manipulations rely\n// on their elm reference.\nfunction cloneVNode (vnode) {\n var cloned = new VNode(\n vnode.tag,\n vnode.data,\n vnode.children,\n vnode.text,\n vnode.elm,\n vnode.context,\n vnode.componentOptions,\n vnode.asyncFactory\n );\n cloned.ns = vnode.ns;\n cloned.isStatic = vnode.isStatic;\n cloned.key = vnode.key;\n cloned.isComment = vnode.isComment;\n cloned.fnContext = vnode.fnContext;\n cloned.fnOptions = vnode.fnOptions;\n cloned.fnScopeId = vnode.fnScopeId;\n cloned.isCloned = true;\n return cloned\n}\n\n/*\n * not type checking this file because flow doesn't play well with\n * dynamically accessing methods on Array prototype\n */\n\nvar arrayProto = Array.prototype;\nvar arrayMethods = Object.create(arrayProto);\n\nvar methodsToPatch = [\n 'push',\n 'pop',\n 'shift',\n 'unshift',\n 'splice',\n 'sort',\n 'reverse'\n];\n\n/**\n * Intercept mutating methods and emit events\n */\nmethodsToPatch.forEach(function (method) {\n // cache original method\n var original = arrayProto[method];\n def(arrayMethods, method, function mutator () {\n var args = [], len = arguments.length;\n while ( len-- ) args[ len ] = arguments[ len ];\n\n var result = original.apply(this, args);\n var ob = this.__ob__;\n var inserted;\n switch (method) {\n case 'push':\n case 'unshift':\n inserted = args;\n break\n case 'splice':\n inserted = args.slice(2);\n break\n }\n if (inserted) { ob.observeArray(inserted); }\n // notify change\n ob.dep.notify();\n return result\n });\n});\n\n/* */\n\nvar arrayKeys = Object.getOwnPropertyNames(arrayMethods);\n\n/**\n * In some cases we may want to disable observation inside a component's\n * update computation.\n */\nvar shouldObserve = true;\n\nfunction toggleObserving (value) {\n shouldObserve = value;\n}\n\n/**\n * Observer class that is attached to each observed\n * object. Once attached, the observer converts the target\n * object's property keys into getter/setters that\n * collect dependencies and dispatch updates.\n */\nvar Observer = function Observer (value) {\n this.value = value;\n this.dep = new Dep();\n this.vmCount = 0;\n def(value, '__ob__', this);\n if (Array.isArray(value)) {\n var augment = hasProto\n ? protoAugment\n : copyAugment;\n augment(value, arrayMethods, arrayKeys);\n this.observeArray(value);\n } else {\n this.walk(value);\n }\n};\n\n/**\n * Walk through each property and convert them into\n * getter/setters. This method should only be called when\n * value type is Object.\n */\nObserver.prototype.walk = function walk (obj) {\n var keys = Object.keys(obj);\n for (var i = 0; i < keys.length; i++) {\n defineReactive(obj, keys[i]);\n }\n};\n\n/**\n * Observe a list of Array items.\n */\nObserver.prototype.observeArray = function observeArray (items) {\n for (var i = 0, l = items.length; i < l; i++) {\n observe(items[i]);\n }\n};\n\n// helpers\n\n/**\n * Augment an target Object or Array by intercepting\n * the prototype chain using __proto__\n */\nfunction protoAugment (target, src, keys) {\n /* eslint-disable no-proto */\n target.__proto__ = src;\n /* eslint-enable no-proto */\n}\n\n/**\n * Augment an target Object or Array by defining\n * hidden properties.\n */\n/* istanbul ignore next */\nfunction copyAugment (target, src, keys) {\n for (var i = 0, l = keys.length; i < l; i++) {\n var key = keys[i];\n def(target, key, src[key]);\n }\n}\n\n/**\n * Attempt to create an observer instance for a value,\n * returns the new observer if successfully observed,\n * or the existing observer if the value already has one.\n */\nfunction observe (value, asRootData) {\n if (!isObject(value) || value instanceof VNode) {\n return\n }\n var ob;\n if (hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {\n ob = value.__ob__;\n } else if (\n shouldObserve &&\n !isServerRendering() &&\n (Array.isArray(value) || isPlainObject(value)) &&\n Object.isExtensible(value) &&\n !value._isVue\n ) {\n ob = new Observer(value);\n }\n if (asRootData && ob) {\n ob.vmCount++;\n }\n return ob\n}\n\n/**\n * Define a reactive property on an Object.\n */\nfunction defineReactive (\n obj,\n key,\n val,\n customSetter,\n shallow\n) {\n var dep = new Dep();\n\n var property = Object.getOwnPropertyDescriptor(obj, key);\n if (property && property.configurable === false) {\n return\n }\n\n // cater for pre-defined getter/setters\n var getter = property && property.get;\n if (!getter && arguments.length === 2) {\n val = obj[key];\n }\n var setter = property && property.set;\n\n var childOb = !shallow && observe(val);\n Object.defineProperty(obj, key, {\n enumerable: true,\n configurable: true,\n get: function reactiveGetter () {\n var value = getter ? getter.call(obj) : val;\n if (Dep.target) {\n dep.depend();\n if (childOb) {\n childOb.dep.depend();\n if (Array.isArray(value)) {\n dependArray(value);\n }\n }\n }\n return value\n },\n set: function reactiveSetter (newVal) {\n var value = getter ? getter.call(obj) : val;\n /* eslint-disable no-self-compare */\n if (newVal === value || (newVal !== newVal && value !== value)) {\n return\n }\n /* eslint-enable no-self-compare */\n if (process.env.NODE_ENV !== 'production' && customSetter) {\n customSetter();\n }\n if (setter) {\n setter.call(obj, newVal);\n } else {\n val = newVal;\n }\n childOb = !shallow && observe(newVal);\n dep.notify();\n }\n });\n}\n\n/**\n * Set a property on an object. Adds the new property and\n * triggers change notification if the property doesn't\n * already exist.\n */\nfunction set (target, key, val) {\n if (process.env.NODE_ENV !== 'production' &&\n (isUndef(target) || isPrimitive(target))\n ) {\n warn((\"Cannot set reactive property on undefined, null, or primitive value: \" + ((target))));\n }\n if (Array.isArray(target) && isValidArrayIndex(key)) {\n target.length = Math.max(target.length, key);\n target.splice(key, 1, val);\n return val\n }\n if (key in target && !(key in Object.prototype)) {\n target[key] = val;\n return val\n }\n var ob = (target).__ob__;\n if (target._isVue || (ob && ob.vmCount)) {\n process.env.NODE_ENV !== 'production' && warn(\n 'Avoid adding reactive properties to a Vue instance or its root $data ' +\n 'at runtime - declare it upfront in the data option.'\n );\n return val\n }\n if (!ob) {\n target[key] = val;\n return val\n }\n defineReactive(ob.value, key, val);\n ob.dep.notify();\n return val\n}\n\n/**\n * Delete a property and trigger change if necessary.\n */\nfunction del (target, key) {\n if (process.env.NODE_ENV !== 'production' &&\n (isUndef(target) || isPrimitive(target))\n ) {\n warn((\"Cannot delete reactive property on undefined, null, or primitive value: \" + ((target))));\n }\n if (Array.isArray(target) && isValidArrayIndex(key)) {\n target.splice(key, 1);\n return\n }\n var ob = (target).__ob__;\n if (target._isVue || (ob && ob.vmCount)) {\n process.env.NODE_ENV !== 'production' && warn(\n 'Avoid deleting properties on a Vue instance or its root $data ' +\n '- just set it to null.'\n );\n return\n }\n if (!hasOwn(target, key)) {\n return\n }\n delete target[key];\n if (!ob) {\n return\n }\n ob.dep.notify();\n}\n\n/**\n * Collect dependencies on array elements when the array is touched, since\n * we cannot intercept array element access like property getters.\n */\nfunction dependArray (value) {\n for (var e = (void 0), i = 0, l = value.length; i < l; i++) {\n e = value[i];\n e && e.__ob__ && e.__ob__.dep.depend();\n if (Array.isArray(e)) {\n dependArray(e);\n }\n }\n}\n\n/* */\n\n/**\n * Option overwriting strategies are functions that handle\n * how to merge a parent option value and a child option\n * value into the final value.\n */\nvar strats = config.optionMergeStrategies;\n\n/**\n * Options with restrictions\n */\nif (process.env.NODE_ENV !== 'production') {\n strats.el = strats.propsData = function (parent, child, vm, key) {\n if (!vm) {\n warn(\n \"option \\\"\" + key + \"\\\" can only be used during instance \" +\n 'creation with the `new` keyword.'\n );\n }\n return defaultStrat(parent, child)\n };\n}\n\n/**\n * Helper that recursively merges two data objects together.\n */\nfunction mergeData (to, from) {\n if (!from) { return to }\n var key, toVal, fromVal;\n var keys = Object.keys(from);\n for (var i = 0; i < keys.length; i++) {\n key = keys[i];\n toVal = to[key];\n fromVal = from[key];\n if (!hasOwn(to, key)) {\n set(to, key, fromVal);\n } else if (isPlainObject(toVal) && isPlainObject(fromVal)) {\n mergeData(toVal, fromVal);\n }\n }\n return to\n}\n\n/**\n * Data\n */\nfunction mergeDataOrFn (\n parentVal,\n childVal,\n vm\n) {\n if (!vm) {\n // in a Vue.extend merge, both should be functions\n if (!childVal) {\n return parentVal\n }\n if (!parentVal) {\n return childVal\n }\n // when parentVal & childVal are both present,\n // we need to return a function that returns the\n // merged result of both functions... no need to\n // check if parentVal is a function here because\n // it has to be a function to pass previous merges.\n return function mergedDataFn () {\n return mergeData(\n typeof childVal === 'function' ? childVal.call(this, this) : childVal,\n typeof parentVal === 'function' ? parentVal.call(this, this) : parentVal\n )\n }\n } else {\n return function mergedInstanceDataFn () {\n // instance merge\n var instanceData = typeof childVal === 'function'\n ? childVal.call(vm, vm)\n : childVal;\n var defaultData = typeof parentVal === 'function'\n ? parentVal.call(vm, vm)\n : parentVal;\n if (instanceData) {\n return mergeData(instanceData, defaultData)\n } else {\n return defaultData\n }\n }\n }\n}\n\nstrats.data = function (\n parentVal,\n childVal,\n vm\n) {\n if (!vm) {\n if (childVal && typeof childVal !== 'function') {\n process.env.NODE_ENV !== 'production' && warn(\n 'The \"data\" option should be a function ' +\n 'that returns a per-instance value in component ' +\n 'definitions.',\n vm\n );\n\n return parentVal\n }\n return mergeDataOrFn(parentVal, childVal)\n }\n\n return mergeDataOrFn(parentVal, childVal, vm)\n};\n\n/**\n * Hooks and props are merged as arrays.\n */\nfunction mergeHook (\n parentVal,\n childVal\n) {\n return childVal\n ? parentVal\n ? parentVal.concat(childVal)\n : Array.isArray(childVal)\n ? childVal\n : [childVal]\n : parentVal\n}\n\nLIFECYCLE_HOOKS.forEach(function (hook) {\n strats[hook] = mergeHook;\n});\n\n/**\n * Assets\n *\n * When a vm is present (instance creation), we need to do\n * a three-way merge between constructor options, instance\n * options and parent options.\n */\nfunction mergeAssets (\n parentVal,\n childVal,\n vm,\n key\n) {\n var res = Object.create(parentVal || null);\n if (childVal) {\n process.env.NODE_ENV !== 'production' && assertObjectType(key, childVal, vm);\n return extend(res, childVal)\n } else {\n return res\n }\n}\n\nASSET_TYPES.forEach(function (type) {\n strats[type + 's'] = mergeAssets;\n});\n\n/**\n * Watchers.\n *\n * Watchers hashes should not overwrite one\n * another, so we merge them as arrays.\n */\nstrats.watch = function (\n parentVal,\n childVal,\n vm,\n key\n) {\n // work around Firefox's Object.prototype.watch...\n if (parentVal === nativeWatch) { parentVal = undefined; }\n if (childVal === nativeWatch) { childVal = undefined; }\n /* istanbul ignore if */\n if (!childVal) { return Object.create(parentVal || null) }\n if (process.env.NODE_ENV !== 'production') {\n assertObjectType(key, childVal, vm);\n }\n if (!parentVal) { return childVal }\n var ret = {};\n extend(ret, parentVal);\n for (var key$1 in childVal) {\n var parent = ret[key$1];\n var child = childVal[key$1];\n if (parent && !Array.isArray(parent)) {\n parent = [parent];\n }\n ret[key$1] = parent\n ? parent.concat(child)\n : Array.isArray(child) ? child : [child];\n }\n return ret\n};\n\n/**\n * Other object hashes.\n */\nstrats.props =\nstrats.methods =\nstrats.inject =\nstrats.computed = function (\n parentVal,\n childVal,\n vm,\n key\n) {\n if (childVal && process.env.NODE_ENV !== 'production') {\n assertObjectType(key, childVal, vm);\n }\n if (!parentVal) { return childVal }\n var ret = Object.create(null);\n extend(ret, parentVal);\n if (childVal) { extend(ret, childVal); }\n return ret\n};\nstrats.provide = mergeDataOrFn;\n\n/**\n * Default strategy.\n */\nvar defaultStrat = function (parentVal, childVal) {\n return childVal === undefined\n ? parentVal\n : childVal\n};\n\n/**\n * Validate component names\n */\nfunction checkComponents (options) {\n for (var key in options.components) {\n validateComponentName(key);\n }\n}\n\nfunction validateComponentName (name) {\n if (!/^[a-zA-Z][\\w-]*$/.test(name)) {\n warn(\n 'Invalid component name: \"' + name + '\". Component names ' +\n 'can only contain alphanumeric characters and the hyphen, ' +\n 'and must start with a letter.'\n );\n }\n if (isBuiltInTag(name) || config.isReservedTag(name)) {\n warn(\n 'Do not use built-in or reserved HTML elements as component ' +\n 'id: ' + name\n );\n }\n}\n\n/**\n * Ensure all props option syntax are normalized into the\n * Object-based format.\n */\nfunction normalizeProps (options, vm) {\n var props = options.props;\n if (!props) { return }\n var res = {};\n var i, val, name;\n if (Array.isArray(props)) {\n i = props.length;\n while (i--) {\n val = props[i];\n if (typeof val === 'string') {\n name = camelize(val);\n res[name] = { type: null };\n } else if (process.env.NODE_ENV !== 'production') {\n warn('props must be strings when using array syntax.');\n }\n }\n } else if (isPlainObject(props)) {\n for (var key in props) {\n val = props[key];\n name = camelize(key);\n res[name] = isPlainObject(val)\n ? val\n : { type: val };\n }\n } else if (process.env.NODE_ENV !== 'production') {\n warn(\n \"Invalid value for option \\\"props\\\": expected an Array or an Object, \" +\n \"but got \" + (toRawType(props)) + \".\",\n vm\n );\n }\n options.props = res;\n}\n\n/**\n * Normalize all injections into Object-based format\n */\nfunction normalizeInject (options, vm) {\n var inject = options.inject;\n if (!inject) { return }\n var normalized = options.inject = {};\n if (Array.isArray(inject)) {\n for (var i = 0; i < inject.length; i++) {\n normalized[inject[i]] = { from: inject[i] };\n }\n } else if (isPlainObject(inject)) {\n for (var key in inject) {\n var val = inject[key];\n normalized[key] = isPlainObject(val)\n ? extend({ from: key }, val)\n : { from: val };\n }\n } else if (process.env.NODE_ENV !== 'production') {\n warn(\n \"Invalid value for option \\\"inject\\\": expected an Array or an Object, \" +\n \"but got \" + (toRawType(inject)) + \".\",\n vm\n );\n }\n}\n\n/**\n * Normalize raw function directives into object format.\n */\nfunction normalizeDirectives (options) {\n var dirs = options.directives;\n if (dirs) {\n for (var key in dirs) {\n var def = dirs[key];\n if (typeof def === 'function') {\n dirs[key] = { bind: def, update: def };\n }\n }\n }\n}\n\nfunction assertObjectType (name, value, vm) {\n if (!isPlainObject(value)) {\n warn(\n \"Invalid value for option \\\"\" + name + \"\\\": expected an Object, \" +\n \"but got \" + (toRawType(value)) + \".\",\n vm\n );\n }\n}\n\n/**\n * Merge two option objects into a new one.\n * Core utility used in both instantiation and inheritance.\n */\nfunction mergeOptions (\n parent,\n child,\n vm\n) {\n if (process.env.NODE_ENV !== 'production') {\n checkComponents(child);\n }\n\n if (typeof child === 'function') {\n child = child.options;\n }\n\n normalizeProps(child, vm);\n normalizeInject(child, vm);\n normalizeDirectives(child);\n var extendsFrom = child.extends;\n if (extendsFrom) {\n parent = mergeOptions(parent, extendsFrom, vm);\n }\n if (child.mixins) {\n for (var i = 0, l = child.mixins.length; i < l; i++) {\n parent = mergeOptions(parent, child.mixins[i], vm);\n }\n }\n var options = {};\n var key;\n for (key in parent) {\n mergeField(key);\n }\n for (key in child) {\n if (!hasOwn(parent, key)) {\n mergeField(key);\n }\n }\n function mergeField (key) {\n var strat = strats[key] || defaultStrat;\n options[key] = strat(parent[key], child[key], vm, key);\n }\n return options\n}\n\n/**\n * Resolve an asset.\n * This function is used because child instances need access\n * to assets defined in its ancestor chain.\n */\nfunction resolveAsset (\n options,\n type,\n id,\n warnMissing\n) {\n /* istanbul ignore if */\n if (typeof id !== 'string') {\n return\n }\n var assets = options[type];\n // check local registration variations first\n if (hasOwn(assets, id)) { return assets[id] }\n var camelizedId = camelize(id);\n if (hasOwn(assets, camelizedId)) { return assets[camelizedId] }\n var PascalCaseId = capitalize(camelizedId);\n if (hasOwn(assets, PascalCaseId)) { return assets[PascalCaseId] }\n // fallback to prototype chain\n var res = assets[id] || assets[camelizedId] || assets[PascalCaseId];\n if (process.env.NODE_ENV !== 'production' && warnMissing && !res) {\n warn(\n 'Failed to resolve ' + type.slice(0, -1) + ': ' + id,\n options\n );\n }\n return res\n}\n\n/* */\n\nfunction validateProp (\n key,\n propOptions,\n propsData,\n vm\n) {\n var prop = propOptions[key];\n var absent = !hasOwn(propsData, key);\n var value = propsData[key];\n // boolean casting\n var booleanIndex = getTypeIndex(Boolean, prop.type);\n if (booleanIndex > -1) {\n if (absent && !hasOwn(prop, 'default')) {\n value = false;\n } else if (value === '' || value === hyphenate(key)) {\n // only cast empty string / same name to boolean if\n // boolean has higher priority\n var stringIndex = getTypeIndex(String, prop.type);\n if (stringIndex < 0 || booleanIndex < stringIndex) {\n value = true;\n }\n }\n }\n // check default value\n if (value === undefined) {\n value = getPropDefaultValue(vm, prop, key);\n // since the default value is a fresh copy,\n // make sure to observe it.\n var prevShouldObserve = shouldObserve;\n toggleObserving(true);\n observe(value);\n toggleObserving(prevShouldObserve);\n }\n if (\n process.env.NODE_ENV !== 'production' &&\n // skip validation for weex recycle-list child component props\n !(false && isObject(value) && ('@binding' in value))\n ) {\n assertProp(prop, key, value, vm, absent);\n }\n return value\n}\n\n/**\n * Get the default value of a prop.\n */\nfunction getPropDefaultValue (vm, prop, key) {\n // no default, return undefined\n if (!hasOwn(prop, 'default')) {\n return undefined\n }\n var def = prop.default;\n // warn against non-factory defaults for Object & Array\n if (process.env.NODE_ENV !== 'production' && isObject(def)) {\n warn(\n 'Invalid default value for prop \"' + key + '\": ' +\n 'Props with type Object/Array must use a factory function ' +\n 'to return the default value.',\n vm\n );\n }\n // the raw prop value was also undefined from previous render,\n // return previous default value to avoid unnecessary watcher trigger\n if (vm && vm.$options.propsData &&\n vm.$options.propsData[key] === undefined &&\n vm._props[key] !== undefined\n ) {\n return vm._props[key]\n }\n // call factory function for non-Function types\n // a value is Function if its prototype is function even across different execution context\n return typeof def === 'function' && getType(prop.type) !== 'Function'\n ? def.call(vm)\n : def\n}\n\n/**\n * Assert whether a prop is valid.\n */\nfunction assertProp (\n prop,\n name,\n value,\n vm,\n absent\n) {\n if (prop.required && absent) {\n warn(\n 'Missing required prop: \"' + name + '\"',\n vm\n );\n return\n }\n if (value == null && !prop.required) {\n return\n }\n var type = prop.type;\n var valid = !type || type === true;\n var expectedTypes = [];\n if (type) {\n if (!Array.isArray(type)) {\n type = [type];\n }\n for (var i = 0; i < type.length && !valid; i++) {\n var assertedType = assertType(value, type[i]);\n expectedTypes.push(assertedType.expectedType || '');\n valid = assertedType.valid;\n }\n }\n if (!valid) {\n warn(\n \"Invalid prop: type check failed for prop \\\"\" + name + \"\\\".\" +\n \" Expected \" + (expectedTypes.map(capitalize).join(', ')) +\n \", got \" + (toRawType(value)) + \".\",\n vm\n );\n return\n }\n var validator = prop.validator;\n if (validator) {\n if (!validator(value)) {\n warn(\n 'Invalid prop: custom validator check failed for prop \"' + name + '\".',\n vm\n );\n }\n }\n}\n\nvar simpleCheckRE = /^(String|Number|Boolean|Function|Symbol)$/;\n\nfunction assertType (value, type) {\n var valid;\n var expectedType = getType(type);\n if (simpleCheckRE.test(expectedType)) {\n var t = typeof value;\n valid = t === expectedType.toLowerCase();\n // for primitive wrapper objects\n if (!valid && t === 'object') {\n valid = value instanceof type;\n }\n } else if (expectedType === 'Object') {\n valid = isPlainObject(value);\n } else if (expectedType === 'Array') {\n valid = Array.isArray(value);\n } else {\n valid = value instanceof type;\n }\n return {\n valid: valid,\n expectedType: expectedType\n }\n}\n\n/**\n * Use function string name to check built-in types,\n * because a simple equality check will fail when running\n * across different vms / iframes.\n */\nfunction getType (fn) {\n var match = fn && fn.toString().match(/^\\s*function (\\w+)/);\n return match ? match[1] : ''\n}\n\nfunction isSameType (a, b) {\n return getType(a) === getType(b)\n}\n\nfunction getTypeIndex (type, expectedTypes) {\n if (!Array.isArray(expectedTypes)) {\n return isSameType(expectedTypes, type) ? 0 : -1\n }\n for (var i = 0, len = expectedTypes.length; i < len; i++) {\n if (isSameType(expectedTypes[i], type)) {\n return i\n }\n }\n return -1\n}\n\n/* */\n\nfunction handleError (err, vm, info) {\n if (vm) {\n var cur = vm;\n while ((cur = cur.$parent)) {\n var hooks = cur.$options.errorCaptured;\n if (hooks) {\n for (var i = 0; i < hooks.length; i++) {\n try {\n var capture = hooks[i].call(cur, err, vm, info) === false;\n if (capture) { return }\n } catch (e) {\n globalHandleError(e, cur, 'errorCaptured hook');\n }\n }\n }\n }\n }\n globalHandleError(err, vm, info);\n}\n\nfunction globalHandleError (err, vm, info) {\n if (config.errorHandler) {\n try {\n return config.errorHandler.call(null, err, vm, info)\n } catch (e) {\n logError(e, null, 'config.errorHandler');\n }\n }\n logError(err, vm, info);\n}\n\nfunction logError (err, vm, info) {\n if (process.env.NODE_ENV !== 'production') {\n warn((\"Error in \" + info + \": \\\"\" + (err.toString()) + \"\\\"\"), vm);\n }\n /* istanbul ignore else */\n if ((inBrowser || inWeex) && typeof console !== 'undefined') {\n console.error(err);\n } else {\n throw err\n }\n}\n\n/* */\n/* globals MessageChannel */\n\nvar callbacks = [];\nvar pending = false;\n\nfunction flushCallbacks () {\n pending = false;\n var copies = callbacks.slice(0);\n callbacks.length = 0;\n for (var i = 0; i < copies.length; i++) {\n copies[i]();\n }\n}\n\n// Here we have async deferring wrappers using both microtasks and (macro) tasks.\n// In < 2.4 we used microtasks everywhere, but there are some scenarios where\n// microtasks have too high a priority and fire in between supposedly\n// sequential events (e.g. #4521, #6690) or even between bubbling of the same\n// event (#6566). However, using (macro) tasks everywhere also has subtle problems\n// when state is changed right before repaint (e.g. #6813, out-in transitions).\n// Here we use microtask by default, but expose a way to force (macro) task when\n// needed (e.g. in event handlers attached by v-on).\nvar microTimerFunc;\nvar macroTimerFunc;\nvar useMacroTask = false;\n\n// Determine (macro) task defer implementation.\n// Technically setImmediate should be the ideal choice, but it's only available\n// in IE. The only polyfill that consistently queues the callback after all DOM\n// events triggered in the same loop is by using MessageChannel.\n/* istanbul ignore if */\nif (typeof setImmediate !== 'undefined' && isNative(setImmediate)) {\n macroTimerFunc = function () {\n setImmediate(flushCallbacks);\n };\n} else if (typeof MessageChannel !== 'undefined' && (\n isNative(MessageChannel) ||\n // PhantomJS\n MessageChannel.toString() === '[object MessageChannelConstructor]'\n)) {\n var channel = new MessageChannel();\n var port = channel.port2;\n channel.port1.onmessage = flushCallbacks;\n macroTimerFunc = function () {\n port.postMessage(1);\n };\n} else {\n /* istanbul ignore next */\n macroTimerFunc = function () {\n setTimeout(flushCallbacks, 0);\n };\n}\n\n// Determine microtask defer implementation.\n/* istanbul ignore next, $flow-disable-line */\nif (typeof Promise !== 'undefined' && isNative(Promise)) {\n var p = Promise.resolve();\n microTimerFunc = function () {\n p.then(flushCallbacks);\n // in problematic UIWebViews, Promise.then doesn't completely break, but\n // it can get stuck in a weird state where callbacks are pushed into the\n // microtask queue but the queue isn't being flushed, until the browser\n // needs to do some other work, e.g. handle a timer. Therefore we can\n // \"force\" the microtask queue to be flushed by adding an empty timer.\n if (isIOS) { setTimeout(noop); }\n };\n} else {\n // fallback to macro\n microTimerFunc = macroTimerFunc;\n}\n\n/**\n * Wrap a function so that if any code inside triggers state change,\n * the changes are queued using a (macro) task instead of a microtask.\n */\nfunction withMacroTask (fn) {\n return fn._withTask || (fn._withTask = function () {\n useMacroTask = true;\n var res = fn.apply(null, arguments);\n useMacroTask = false;\n return res\n })\n}\n\nfunction nextTick (cb, ctx) {\n var _resolve;\n callbacks.push(function () {\n if (cb) {\n try {\n cb.call(ctx);\n } catch (e) {\n handleError(e, ctx, 'nextTick');\n }\n } else if (_resolve) {\n _resolve(ctx);\n }\n });\n if (!pending) {\n pending = true;\n if (useMacroTask) {\n macroTimerFunc();\n } else {\n microTimerFunc();\n }\n }\n // $flow-disable-line\n if (!cb && typeof Promise !== 'undefined') {\n return new Promise(function (resolve) {\n _resolve = resolve;\n })\n }\n}\n\n/* */\n\nvar mark;\nvar measure;\n\nif (process.env.NODE_ENV !== 'production') {\n var perf = inBrowser && window.performance;\n /* istanbul ignore if */\n if (\n perf &&\n perf.mark &&\n perf.measure &&\n perf.clearMarks &&\n perf.clearMeasures\n ) {\n mark = function (tag) { return perf.mark(tag); };\n measure = function (name, startTag, endTag) {\n perf.measure(name, startTag, endTag);\n perf.clearMarks(startTag);\n perf.clearMarks(endTag);\n perf.clearMeasures(name);\n };\n }\n}\n\n/* not type checking this file because flow doesn't play well with Proxy */\n\nvar initProxy;\n\nif (process.env.NODE_ENV !== 'production') {\n var allowedGlobals = makeMap(\n 'Infinity,undefined,NaN,isFinite,isNaN,' +\n 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' +\n 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' +\n 'require' // for Webpack/Browserify\n );\n\n var warnNonPresent = function (target, key) {\n warn(\n \"Property or method \\\"\" + key + \"\\\" is not defined on the instance but \" +\n 'referenced during render. Make sure that this property is reactive, ' +\n 'either in the data option, or for class-based components, by ' +\n 'initializing the property. ' +\n 'See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',\n target\n );\n };\n\n var hasProxy =\n typeof Proxy !== 'undefined' && isNative(Proxy);\n\n if (hasProxy) {\n var isBuiltInModifier = makeMap('stop,prevent,self,ctrl,shift,alt,meta,exact');\n config.keyCodes = new Proxy(config.keyCodes, {\n set: function set (target, key, value) {\n if (isBuiltInModifier(key)) {\n warn((\"Avoid overwriting built-in modifier in config.keyCodes: .\" + key));\n return false\n } else {\n target[key] = value;\n return true\n }\n }\n });\n }\n\n var hasHandler = {\n has: function has (target, key) {\n var has = key in target;\n var isAllowed = allowedGlobals(key) || key.charAt(0) === '_';\n if (!has && !isAllowed) {\n warnNonPresent(target, key);\n }\n return has || !isAllowed\n }\n };\n\n var getHandler = {\n get: function get (target, key) {\n if (typeof key === 'string' && !(key in target)) {\n warnNonPresent(target, key);\n }\n return target[key]\n }\n };\n\n initProxy = function initProxy (vm) {\n if (hasProxy) {\n // determine which proxy handler to use\n var options = vm.$options;\n var handlers = options.render && options.render._withStripped\n ? getHandler\n : hasHandler;\n vm._renderProxy = new Proxy(vm, handlers);\n } else {\n vm._renderProxy = vm;\n }\n };\n}\n\n/* */\n\nvar seenObjects = new _Set();\n\n/**\n * Recursively traverse an object to evoke all converted\n * getters, so that every nested property inside the object\n * is collected as a \"deep\" dependency.\n */\nfunction traverse (val) {\n _traverse(val, seenObjects);\n seenObjects.clear();\n}\n\nfunction _traverse (val, seen) {\n var i, keys;\n var isA = Array.isArray(val);\n if ((!isA && !isObject(val)) || Object.isFrozen(val) || val instanceof VNode) {\n return\n }\n if (val.__ob__) {\n var depId = val.__ob__.dep.id;\n if (seen.has(depId)) {\n return\n }\n seen.add(depId);\n }\n if (isA) {\n i = val.length;\n while (i--) { _traverse(val[i], seen); }\n } else {\n keys = Object.keys(val);\n i = keys.length;\n while (i--) { _traverse(val[keys[i]], seen); }\n }\n}\n\n/* */\n\nvar normalizeEvent = cached(function (name) {\n var passive = name.charAt(0) === '&';\n name = passive ? name.slice(1) : name;\n var once$$1 = name.charAt(0) === '~'; // Prefixed last, checked first\n name = once$$1 ? name.slice(1) : name;\n var capture = name.charAt(0) === '!';\n name = capture ? name.slice(1) : name;\n return {\n name: name,\n once: once$$1,\n capture: capture,\n passive: passive\n }\n});\n\nfunction createFnInvoker (fns) {\n function invoker () {\n var arguments$1 = arguments;\n\n var fns = invoker.fns;\n if (Array.isArray(fns)) {\n var cloned = fns.slice();\n for (var i = 0; i < cloned.length; i++) {\n cloned[i].apply(null, arguments$1);\n }\n } else {\n // return handler return value for single handlers\n return fns.apply(null, arguments)\n }\n }\n invoker.fns = fns;\n return invoker\n}\n\nfunction updateListeners (\n on,\n oldOn,\n add,\n remove$$1,\n vm\n) {\n var name, def, cur, old, event;\n for (name in on) {\n def = cur = on[name];\n old = oldOn[name];\n event = normalizeEvent(name);\n /* istanbul ignore if */\n if (isUndef(cur)) {\n process.env.NODE_ENV !== 'production' && warn(\n \"Invalid handler for event \\\"\" + (event.name) + \"\\\": got \" + String(cur),\n vm\n );\n } else if (isUndef(old)) {\n if (isUndef(cur.fns)) {\n cur = on[name] = createFnInvoker(cur);\n }\n add(event.name, cur, event.once, event.capture, event.passive, event.params);\n } else if (cur !== old) {\n old.fns = cur;\n on[name] = old;\n }\n }\n for (name in oldOn) {\n if (isUndef(on[name])) {\n event = normalizeEvent(name);\n remove$$1(event.name, oldOn[name], event.capture);\n }\n }\n}\n\n/* */\n\nfunction mergeVNodeHook (def, hookKey, hook) {\n if (def instanceof VNode) {\n def = def.data.hook || (def.data.hook = {});\n }\n var invoker;\n var oldHook = def[hookKey];\n\n function wrappedHook () {\n hook.apply(this, arguments);\n // important: remove merged hook to ensure it's called only once\n // and prevent memory leak\n remove(invoker.fns, wrappedHook);\n }\n\n if (isUndef(oldHook)) {\n // no existing hook\n invoker = createFnInvoker([wrappedHook]);\n } else {\n /* istanbul ignore if */\n if (isDef(oldHook.fns) && isTrue(oldHook.merged)) {\n // already a merged invoker\n invoker = oldHook;\n invoker.fns.push(wrappedHook);\n } else {\n // existing plain hook\n invoker = createFnInvoker([oldHook, wrappedHook]);\n }\n }\n\n invoker.merged = true;\n def[hookKey] = invoker;\n}\n\n/* */\n\nfunction extractPropsFromVNodeData (\n data,\n Ctor,\n tag\n) {\n // we are only extracting raw values here.\n // validation and default values are handled in the child\n // component itself.\n var propOptions = Ctor.options.props;\n if (isUndef(propOptions)) {\n return\n }\n var res = {};\n var attrs = data.attrs;\n var props = data.props;\n if (isDef(attrs) || isDef(props)) {\n for (var key in propOptions) {\n var altKey = hyphenate(key);\n if (process.env.NODE_ENV !== 'production') {\n var keyInLowerCase = key.toLowerCase();\n if (\n key !== keyInLowerCase &&\n attrs && hasOwn(attrs, keyInLowerCase)\n ) {\n tip(\n \"Prop \\\"\" + keyInLowerCase + \"\\\" is passed to component \" +\n (formatComponentName(tag || Ctor)) + \", but the declared prop name is\" +\n \" \\\"\" + key + \"\\\". \" +\n \"Note that HTML attributes are case-insensitive and camelCased \" +\n \"props need to use their kebab-case equivalents when using in-DOM \" +\n \"templates. You should probably use \\\"\" + altKey + \"\\\" instead of \\\"\" + key + \"\\\".\"\n );\n }\n }\n checkProp(res, props, key, altKey, true) ||\n checkProp(res, attrs, key, altKey, false);\n }\n }\n return res\n}\n\nfunction checkProp (\n res,\n hash,\n key,\n altKey,\n preserve\n) {\n if (isDef(hash)) {\n if (hasOwn(hash, key)) {\n res[key] = hash[key];\n if (!preserve) {\n delete hash[key];\n }\n return true\n } else if (hasOwn(hash, altKey)) {\n res[key] = hash[altKey];\n if (!preserve) {\n delete hash[altKey];\n }\n return true\n }\n }\n return false\n}\n\n/* */\n\n// The template compiler attempts to minimize the need for normalization by\n// statically analyzing the template at compile time.\n//\n// For plain HTML markup, normalization can be completely skipped because the\n// generated render function is guaranteed to return Array. There are\n// two cases where extra normalization is needed:\n\n// 1. When the children contains components - because a functional component\n// may return an Array instead of a single root. In this case, just a simple\n// normalization is needed - if any child is an Array, we flatten the whole\n// thing with Array.prototype.concat. It is guaranteed to be only 1-level deep\n// because functional components already normalize their own children.\nfunction simpleNormalizeChildren (children) {\n for (var i = 0; i < children.length; i++) {\n if (Array.isArray(children[i])) {\n return Array.prototype.concat.apply([], children)\n }\n }\n return children\n}\n\n// 2. When the children contains constructs that always generated nested Arrays,\n// e.g.