(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-063af2c9"],{"0757":function(t,e,r){"use strict";r.r(e);r("7f7f"),r("386d");var n=function(){var t=this,e=t._self._c;return e("div",[e("breadcrumbs",{staticClass:"mb-3",attrs:{breadcrumbs:t.breadcrumbs}}),e("v-container",{attrs:{fluid:"","pt-0":""}},[e("v-toolbar",{staticClass:"primary lighten-2",attrs:{flat:""}},[e("v-text-field",{staticStyle:{"background-color":"white"},attrs:{placeholder:t.$t("message.search"),solo:"",flat:"","hide-details":"","append-icon":"search"},on:{change:function(e){t.filter.search=e,t.search(e)}}}),e("v-menu",{attrs:{"offset-y":"","open-on-hover":""}},[e("v-btn",{attrs:{slot:"activator",color:"white",outline:""},slot:"activator"},[t._v("\n          "+t._s(t.selectedStatus.title)+"\n          "),e("v-icon",{attrs:{right:"",dark:""}},[t._v("filter_list")])],1),e("v-list",t._l([{value:"all",title:t.$t("message.all")},{value:"pending",title:t.$t("message.pending")},{value:"rejected",title:t.$t("message.rejected")}],(function(r,n){return e("v-list-tile",{key:n,on:{click:function(e){t.selectedStatus=r,t.filter.status=r.value,t.search()}}},[e("v-list-tile-title",[t._v(t._s(r.title))])],1)})),1)],1)],1),e("v-data-table",{attrs:{headers:t.headers,items:t.records,"total-items":t.totalRecords,"rows-per-page-items":[15,30,50],pagination:t.pagination,loading:t.fetching},on:{"update:pagination":function(e){t.pagination=e}},scopedSlots:t._u([{key:"headers",fn:function(r){return[e("tr",[t._l(r.headers,(function(r){return e("th",{key:r.text,class:["column",t.pagination.descending?"desc":"asc",r.value===t.pagination.sortBy?"active":"",r.value?"sortable":"","text-xs-"+(r.align?r.align:"left")],on:{click:function(e){return t.changeSort(!!r.value,r.value)}}},[r.value?e("v-icon",{attrs:{small:""}},[t._v("arrow_upward")]):t._e(),t._v("\n            "+t._s(r.text)+"\n          ")],1)})),e("th",{staticStyle:{width:"1%"}})],2)]}},{key:"items",fn:function(r){return[e("tr",[e("td",{staticClass:"py-2"},[e("router-link",{attrs:{to:{name:"admin.property.selfcare.registration.view",params:{registrationId:r.item.id}}}},[e("v-chip",{attrs:{label:"",color:t.statusColor(r.item.status),"text-color":"white"}},[e("v-avatar",[e("v-icon",[t._v("notifications")])],1),t._v("\n                "+t._s(r.item.name)+"\n              ")],1)],1)],1),e("td",{staticClass:"py-3",staticStyle:{"vertical-align":"top"}},[t._v("\n              "+t._s(t.getValue(r.item,"email"))+"\n          ")]),e("td",{staticClass:"py-3",staticStyle:{"vertical-align":"top"}},[t._v("\n              "+t._s(t.getValue(r.item.unit,"unit_no"))+"\n          ")]),e("td",{staticClass:"py-3",staticStyle:{"vertical-align":"top"}},[t._v("\n              "+t._s(t.getDateTimeFromISO(r.item.date))+"\n          ")]),e("td",{staticClass:"pa-0 py-1",staticStyle:{"vertical-align":"top"}},[e("v-btn",{attrs:{flat:"",icon:"",to:{name:"admin.property.selfcare.registration.view",params:{registrationId:r.item.id}}}},[e("v-icon",[t._v("edit")])],1)],1)])]}}])})],1)],1)},o=[],i=(r("8e6e"),r("ac6a"),r("456d"),r("ade3")),a=r("365c"),c=r("2f62"),s=r("4da1"),l=r("323e"),u=r.n(l),f=(r("c1df"),r("5e44"));function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function p(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach((function(e){Object(i["a"])(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var v=r("4328"),y={constants:{STATUS_PENDING_ADMIN_APPROVAL:2,STATUS_REJECTED:3},created:function(){this.fetching=!0},components:{Breadcrumbs:f["a"]},computed:p({},Object(c["b"])(["adminScope"])),watch:{pagination:function(){this.fetching=!0},$route:function(){this.fetching=!0},fetching:function(t){1==t&&this.getTablesData()}},methods:{getValue:function(t,e){return Object(s["j"])(t,e)},getDateTimeFromISO:function(t){return Object(s["g"])(t)},getDateFromISO:function(t){return Object(s["e"])(t)},changeSort:function(t,e){t&&(this.pagination.sortBy===e?this.pagination.descending=!this.pagination.descending:(this.pagination.sortBy=e,this.pagination.descending=!1),this.fetching=!0)},getTablesData:function(){var t=this,e=this.pagination,r=e.sortBy,n=e.descending,o=e.page,i=e.rowsPerPage;1==this.fetching&&(u.a.start(),a["a"].get("admin/property/selfcare/registration",{params:{page:o,rows_per_page:i,sort_by:r,descending:n,project_id:this.adminScope.projectId,company_id:this.adminScope.companyId,filter:this.filter},paramsSerializer:function(t){return v.stringify(t,{indices:!1})}}).then((function(e){t.records=Object(s["j"])(e,"data.data"),t.totalRecords=Object(s["j"])(e,"data.meta.total")})).catch((function(t){})).then((function(){t.fetching=!1,u.a.done()})))},search:function(t){this.fetching=!0},statusColor:function(t){var e="primary";switch(t){case this.STATUS_REJECTED:e="error";break;case this.STATUS_PENDING_ADMIN_APPROVAL:default:e="primary";break}return e}},data:function(){return{color:"grey",fetching:!1,records:[],totalRecords:0,filter:{},selectedStatus:{value:"all",title:this.$t("message.all")},pagination:{sortBy:"name",descending:!1},headers:[{text:this.$t("message.name"),align:"left",value:"name"},{text:this.$t("message.email")},{text:this.$t("message.unitNo")},{text:this.$t("message.createDate"),value:"created_at"}],breadcrumbs:[{text:this.$t("message.registration"),disabled:!1}]}}},m=y,g=r("2877"),h=Object(g["a"])(m,n,o,!1,null,null,null);e["default"]=h.exports},"3ba2":function(t,e,r){"use strict";var n=function(){var t=this,e=t._self._c;return e("router-link",{attrs:{to:t.to},nativeOn:{click:function(e){return t.routeToAnchor.apply(null,arguments)}}},[t._t("default")],2)},o=[],i=(r("c5f6"),r("2b0e")),a=r("8c4f"),c=r("f13c"),s=r.n(c);i["default"].use(a["a"]),i["default"].use(s.a);var l={name:"vue-anchor-router-link",props:{to:Object,scrollOptions:{type:[Object,Number],default:1}},data:function(){return{previousRoute:this.$route}},methods:{routeToAnchor:function(){this.$route.fullPath===this.previousRoute.fullPath&&this.$scrollTo(this.to.hash,this.scrollOptions)}},watch:{$route:function(t,e){this.previousRoute=t}}},u=l,f=r("2877"),d=Object(f["a"])(u,n,o,!1,null,null,null),p=d.exports;e["a"]=p},4127:function(t,e,r){"use strict";var n=r("d233"),o=r("b313"),i={brackets:function(t){return t+"[]"},indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},a=Date.prototype.toISOString,c={delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,serializeDate:function(t){return a.call(t)},skipNulls:!1,strictNullHandling:!1},s=function t(e,r,o,i,a,s,l,u,f,d,p,v){var y=e;if("function"===typeof l)y=l(r,y);else if(y instanceof Date)y=d(y);else if(null===y){if(i)return s&&!v?s(r,c.encoder):r;y=""}if("string"===typeof y||"number"===typeof y||"boolean"===typeof y||n.isBuffer(y)){if(s){var m=v?r:s(r,c.encoder);return[p(m)+"="+p(s(y,c.encoder))]}return[p(r)+"="+p(String(y))]}var g,h=[];if("undefined"===typeof y)return h;if(Array.isArray(l))g=l;else{var b=Object.keys(y);g=u?b.sort(u):b}for(var w=0;w<g.length;++w){var O=g[w];a&&null===y[O]||(h=Array.isArray(y)?h.concat(t(y[O],o(r,O),o,i,a,s,l,u,f,d,p,v)):h.concat(t(y[O],r+(f?"."+O:"["+O+"]"),o,i,a,s,l,u,f,d,p,v)))}return h};t.exports=function(t,e){var r=t,a=e?n.assign({},e):{};if(null!==a.encoder&&void 0!==a.encoder&&"function"!==typeof a.encoder)throw new TypeError("Encoder has to be a function.");var l="undefined"===typeof a.delimiter?c.delimiter:a.delimiter,u="boolean"===typeof a.strictNullHandling?a.strictNullHandling:c.strictNullHandling,f="boolean"===typeof a.skipNulls?a.skipNulls:c.skipNulls,d="boolean"===typeof a.encode?a.encode:c.encode,p="function"===typeof a.encoder?a.encoder:c.encoder,v="function"===typeof a.sort?a.sort:null,y="undefined"!==typeof a.allowDots&&a.allowDots,m="function"===typeof a.serializeDate?a.serializeDate:c.serializeDate,g="boolean"===typeof a.encodeValuesOnly?a.encodeValuesOnly:c.encodeValuesOnly;if("undefined"===typeof a.format)a.format=o["default"];else if(!Object.prototype.hasOwnProperty.call(o.formatters,a.format))throw new TypeError("Unknown format option provided.");var h,b,w=o.formatters[a.format];"function"===typeof a.filter?(b=a.filter,r=b("",r)):Array.isArray(a.filter)&&(b=a.filter,h=b);var O,j=[];if("object"!==typeof r||null===r)return"";O=a.arrayFormat in i?a.arrayFormat:"indices"in a?a.indices?"indices":"repeat":"indices";var _=i[O];h||(h=Object.keys(r)),v&&h.sort(v);for(var S=0;S<h.length;++S){var A=h[S];f&&null===r[A]||(j=j.concat(s(r[A],A,_,u,f,d?p:null,b,v,y,m,w,g)))}var x=j.join(l),P=!0===a.addQueryPrefix?"?":"";return x.length>0?P+x:""}},4328:function(t,e,r){"use strict";var n=r("4127"),o=r("9e6a"),i=r("b313");t.exports={formats:i,parse:o,stringify:n}},"5e44":function(t,e,r){"use strict";var n=function(){var t=this,e=t._self._c;return e("v-toolbar",{attrs:{flat:"",color:t.color?t.color:"white"}},[e("v-breadcrumbs",{attrs:{divider:"/",items:t.breadcrumbs},scopedSlots:t._u([{key:"item",fn:function(r){return[r.item.to?[e("vue-anchor-router-link",{attrs:{to:r.item.to}},[t._v(t._s(r.item.text))])]:[t._v("\n        "+t._s(r.item.text)+"\n      ")]]}}])}),e("v-spacer"),t._t("default")],2)},o=[],i=r("3ba2"),a={props:["breadcrumbs","color"],computed:{},components:{VueAnchorRouterLink:i["a"]}},c=a,s=r("2877"),l=Object(s["a"])(c,n,o,!1,null,null,null);e["a"]=l.exports},"9e6a":function(t,e,r){"use strict";var n=r("d233"),o=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:n.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},a=function(t,e){for(var r={},n=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,a=e.parameterLimit===1/0?void 0:e.parameterLimit,c=n.split(e.delimiter,a),s=0;s<c.length;++s){var l,u,f=c[s],d=f.indexOf("]="),p=-1===d?f.indexOf("="):d+1;-1===p?(l=e.decoder(f,i.decoder),u=e.strictNullHandling?null:""):(l=e.decoder(f.slice(0,p),i.decoder),u=e.decoder(f.slice(p+1),i.decoder)),o.call(r,l)?r[l]=[].concat(r[l]).concat(u):r[l]=u}return r},c=function(t,e,r){for(var n=e,o=t.length-1;o>=0;--o){var i,a=t[o];if("[]"===a)i=[],i=i.concat(n);else{i=r.plainObjects?Object.create(null):{};var c="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,s=parseInt(c,10);!isNaN(s)&&a!==c&&String(s)===c&&s>=0&&r.parseArrays&&s<=r.arrayLimit?(i=[],i[s]=n):i[c]=n}n=i}return n},s=function(t,e,r){if(t){var n=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,s=i.exec(n),l=s?n.slice(0,s.index):n,u=[];if(l){if(!r.plainObjects&&o.call(Object.prototype,l)&&!r.allowPrototypes)return;u.push(l)}var f=0;while(null!==(s=a.exec(n))&&f<r.depth){if(f+=1,!r.plainObjects&&o.call(Object.prototype,s[1].slice(1,-1))&&!r.allowPrototypes)return;u.push(s[1])}return s&&u.push("["+n.slice(s.index)+"]"),c(u,e,r)}};t.exports=function(t,e){var r=e?n.assign({},e):{};if(null!==r.decoder&&void 0!==r.decoder&&"function"!==typeof r.decoder)throw new TypeError("Decoder has to be a function.");if(r.ignoreQueryPrefix=!0===r.ignoreQueryPrefix,r.delimiter="string"===typeof r.delimiter||n.isRegExp(r.delimiter)?r.delimiter:i.delimiter,r.depth="number"===typeof r.depth?r.depth:i.depth,r.arrayLimit="number"===typeof r.arrayLimit?r.arrayLimit:i.arrayLimit,r.parseArrays=!1!==r.parseArrays,r.decoder="function"===typeof r.decoder?r.decoder:i.decoder,r.allowDots="boolean"===typeof r.allowDots?r.allowDots:i.allowDots,r.plainObjects="boolean"===typeof r.plainObjects?r.plainObjects:i.plainObjects,r.allowPrototypes="boolean"===typeof r.allowPrototypes?r.allowPrototypes:i.allowPrototypes,r.parameterLimit="number"===typeof r.parameterLimit?r.parameterLimit:i.parameterLimit,r.strictNullHandling="boolean"===typeof r.strictNullHandling?r.strictNullHandling:i.strictNullHandling,""===t||null===t||"undefined"===typeof t)return r.plainObjects?Object.create(null):{};for(var o="string"===typeof t?a(t,r):t,c=r.plainObjects?Object.create(null):{},l=Object.keys(o),u=0;u<l.length;++u){var f=l[u],d=s(f,o[f],r);c=n.merge(c,d,r)}return n.compact(c)}},b313:function(t,e,r){"use strict";var n=String.prototype.replace,o=/%20/g;t.exports={default:"RFC3986",formatters:{RFC1738:function(t){return n.call(t,o,"+")},RFC3986:function(t){return t}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},d233:function(t,e,r){"use strict";var n=Object.prototype.hasOwnProperty,o=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),i=function(t){var e;while(t.length){var r=t.pop();if(e=r.obj[r.prop],Array.isArray(e)){for(var n=[],o=0;o<e.length;++o)"undefined"!==typeof e[o]&&n.push(e[o]);r.obj[r.prop]=n}}return e},a=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n<t.length;++n)"undefined"!==typeof t[n]&&(r[n]=t[n]);return r},c=function t(e,r,o){if(!r)return e;if("object"!==typeof r){if(Array.isArray(e))e.push(r);else{if("object"!==typeof e)return[e,r];(o.plainObjects||o.allowPrototypes||!n.call(Object.prototype,r))&&(e[r]=!0)}return e}if("object"!==typeof e)return[e].concat(r);var i=e;return Array.isArray(e)&&!Array.isArray(r)&&(i=a(e,o)),Array.isArray(e)&&Array.isArray(r)?(r.forEach((function(r,i){n.call(e,i)?e[i]&&"object"===typeof e[i]?e[i]=t(e[i],r,o):e.push(r):e[i]=r})),e):Object.keys(r).reduce((function(e,i){var a=r[i];return n.call(e,i)?e[i]=t(e[i],a,o):e[i]=a,e}),i)},s=function(t,e){return Object.keys(e).reduce((function(t,r){return t[r]=e[r],t}),t)},l=function(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(e){return t}},u=function(t){if(0===t.length)return t;for(var e="string"===typeof t?t:String(t),r="",n=0;n<e.length;++n){var i=e.charCodeAt(n);45===i||46===i||95===i||126===i||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122?r+=e.charAt(n):i<128?r+=o[i]:i<2048?r+=o[192|i>>6]+o[128|63&i]:i<55296||i>=57344?r+=o[224|i>>12]+o[128|i>>6&63]+o[128|63&i]:(n+=1,i=65536+((1023&i)<<10|1023&e.charCodeAt(n)),r+=o[240|i>>18]+o[128|i>>12&63]+o[128|i>>6&63]+o[128|63&i])}return r},f=function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],n=0;n<e.length;++n)for(var o=e[n],a=o.obj[o.prop],c=Object.keys(a),s=0;s<c.length;++s){var l=c[s],u=a[l];"object"===typeof u&&null!==u&&-1===r.indexOf(u)&&(e.push({obj:a,prop:l}),r.push(u))}return i(e)},d=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},p=function(t){return null!==t&&"undefined"!==typeof t&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))};t.exports={arrayToObject:a,assign:s,compact:f,decode:l,encode:u,isBuffer:p,isRegExp:d,merge:c}},f13c:function(t,e,r){(function(e,r){t.exports=r()})(0,(function(){"use strict";var t=4,e=.001,r=1e-7,n=10,o=11,i=1/(o-1),a="function"===typeof Float32Array;function c(t,e){return 1-3*e+3*t}function s(t,e){return 3*e-6*t}function l(t){return 3*t}function u(t,e,r){return((c(e,r)*t+s(e,r))*t+l(e))*t}function f(t,e,r){return 3*c(e,r)*t*t+2*s(e,r)*t+l(e)}function d(t,e,o,i,a){var c,s,l=0;do{s=e+(o-e)/2,c=u(s,i,a)-t,c>0?o=s:e=s}while(Math.abs(c)>r&&++l<n);return s}function p(e,r,n,o){for(var i=0;i<t;++i){var a=f(r,n,o);if(0===a)return r;var c=u(r,n,o)-e;r-=c/a}return r}var v=function(t,r,n,c){if(!(0<=t&&t<=1&&0<=n&&n<=1))throw new Error("bezier x values must be in [0, 1] range");var s=a?new Float32Array(o):new Array(o);if(t!==r||n!==c)for(var l=0;l<o;++l)s[l]=u(l*i,t,n);function v(r){for(var a=0,c=1,l=o-1;c!==l&&s[c]<=r;++c)a+=i;--c;var u=(r-s[c])/(s[c+1]-s[c]),v=a+u*i,y=f(v,t,n);return y>=e?p(r,v,t,n):0===y?v:d(r,a,a+i,t,n)}return function(e){return t===r&&n===c?e:0===e?0:1===e?1:u(v(e),r,c)}},y={ease:[.25,.1,.25,1],linear:[0,0,1,1],"ease-in":[.42,0,1,1],"ease-out":[0,0,.58,1],"ease-in-out":[.42,0,.58,1]},m=!1;try{var g=Object.defineProperty({},"passive",{get:function(){m=!0}});window.addEventListener("test",null,g)}catch(N){}var h={$:function(t){return"string"!==typeof t?t:document.querySelector(t)},on:function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!1};e instanceof Array||(e=[e]);for(var o=0;o<e.length;o++)t.addEventListener(e[o],r,!!m&&n)},off:function(t,e,r){e instanceof Array||(e=[e]);for(var n=0;n<e.length;n++)t.removeEventListener(e[n],r)},cumulativeOffset:function(t){var e=0,r=0;do{e+=t.offsetTop||0,r+=t.offsetLeft||0,t=t.offsetParent}while(t);return{top:e,left:r}}},b="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},O=["mousedown","wheel","DOMMouseScroll","mousewheel","keyup","touchmove"],j={container:"body",duration:500,easing:"ease",offset:0,force:!0,cancelable:!0,onStart:!1,onDone:!1,onCancel:!1,x:!1,y:!0};function _(t){j=w({},j,t)}var S=function(){var t=void 0,e=void 0,r=void 0,n=void 0,o=void 0,i=void 0,a=void 0,c=void 0,s=void 0,l=void 0,u=void 0,f=void 0,d=void 0,p=void 0,m=void 0,g=void 0,w=void 0,_=void 0,S=void 0,A=void 0,x=function(t){a&&(A=t,S=!0)},P=void 0,D=void 0,k=void 0,T=void 0;function C(t){var e=t.scrollTop;return"body"===t.tagName.toLowerCase()&&(e=e||document.documentElement.scrollTop),e}function L(t){var e=t.scrollLeft;return"body"===t.tagName.toLowerCase()&&(e=e||document.documentElement.scrollLeft),e}function N(t){if(S)return E();D||(D=t),k=t-D,T=Math.min(k/r,1),T=P(T),R(e,m+_*T,d+w*T),k<r?window.requestAnimationFrame(N):E()}function E(){S||R(e,g,p),D=!1,h.off(e,O,x),S&&l&&l(A,t),!S&&s&&s(t)}function R(t,e,r){f&&(t.scrollTop=e),u&&(t.scrollLeft=r),"body"===t.tagName.toLowerCase()&&(f&&(document.documentElement.scrollTop=e),u&&(document.documentElement.scrollLeft=r))}function $(D,k){var T=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("object"===("undefined"===typeof k?"undefined":b(k))?T=k:"number"===typeof k&&(T.duration=k),t=h.$(D),!t)return console.warn("[vue-scrollto warn]: Trying to scroll to an element that is not on the page: "+D);e=h.$(T.container||j.container),r=T.duration||j.duration,n=T.easing||j.easing,o=T.offset||j.offset,i=T.hasOwnProperty("force")?!1!==T.force:j.force,a=T.hasOwnProperty("cancelable")?!1!==T.cancelable:j.cancelable,c=T.onStart||j.onStart,s=T.onDone||j.onDone,l=T.onCancel||j.onCancel,u=void 0===T.x?j.x:T.x,f=void 0===T.y?j.y:T.y;var E=h.cumulativeOffset(e),R=h.cumulativeOffset(t);if("function"===typeof o&&(o=o()),m=C(e),g=R.top-E.top+o,d=L(e),p=R.left-E.left+o,S=!1,_=g-m,w=p-d,!i){var $=m,F=$+e.offsetHeight,I=g,V=I+t.offsetHeight;if(I>=$&&V<=F)return}return"string"===typeof n&&(n=y[n]||y["ease"]),P=v.apply(v,n),_||w?(c&&c(t),h.on(e,O,x,{passive:!0}),window.requestAnimationFrame(N),function(){A=null,S=!0}):void 0}return $},A=S(),x=[];function P(t){for(var e=0;e<x.length;++e)if(x[e].el===t)return x.splice(e,1),!0;return!1}function D(t){for(var e=0;e<x.length;++e)if(x[e].el===t)return x[e]}function k(t){var e=D(t);return e||(x.push(e={el:t,binding:{}}),e)}function T(t){t.preventDefault();var e=k(this).binding;if("string"===typeof e.value)return A(e.value);A(e.value.el||e.value.element,e.value)}var C={bind:function(t,e){k(t).binding=e,h.on(t,"click",T)},unbind:function(t){P(t),h.off(t,"click",T)},update:function(t,e){k(t).binding=e},scrollTo:A,bindings:x},L=function(t,e){e&&_(e),t.directive("scroll-to",C),t.prototype.$scrollTo=C.scrollTo};return"undefined"!==typeof window&&window.Vue&&(window.VueScrollTo=C,window.VueScrollTo.setDefaults=_,window.Vue.use(L)),C.install=L,C}))}}]);