Skip to content

Instantly share code, notes, and snippets.

@ZenCocoon
Last active April 30, 2017 07:41
Show Gist options
  • Save ZenCocoon/993326649314810c155daf387f947f05 to your computer and use it in GitHub Desktop.
Save ZenCocoon/993326649314810c155daf387f947f05 to your computer and use it in GitHub Desktop.
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("BookingSyncCalendarWidget",[],t):"object"==typeof exports?exports.BookingSyncCalendarWidget=t():e.BookingSyncCalendarWidget=t()}(this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,t,n){Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/assets/",t(t.s=13)}([function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"g",function(){return d}),n.d(t,"n",function(){return u}),n.d(t,"l",function(){return g}),n.d(t,"c",function(){return h}),n.d(t,"f",function(){return f}),n.d(t,"b",function(){return _}),n.d(t,"e",function(){return p}),n.d(t,"a",function(){return k}),n.d(t,"i",function(){return B}),n.d(t,"j",function(){return R}),n.d(t,"m",function(){return C}),n.d(t,"h",function(){return w}),n.d(t,"k",function(){return x}),n.d(t,"d",function(){return A}),n.d(t,"p",function(){return D}),n.d(t,"o",function(){return L});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),a=Object.keys,r=Object.prototype.toString,s=JSON.parse,l=JSON.stringify,c=function(e){return"number"==typeof e&&isNaN(e)},d=function(e){return"[object Object]"===r.call(e)},u=function(e){return"[object Array]"===r.call(e)},g=function(e){return"function"==typeof e},h=function(e){return"string"==typeof e},f=function(e){return!c(parseInt(e,10))},_=function(e){return"undefined"!=typeof e&&null!==e&&!c(e)},y=function(e){return e.replace(/([A-Z])/g,function(e){return"_"+e.toLowerCase()})},p=function e(t,n,o){return a(t).reduce(function(i,a){var r=t[a],s=i;return u(r)&&(r=r.map(function(t){return e(t,n,o)})),s[n(a)]=d(r)?e(r,n,o):o(r),s},{})},k=function e(t,n,o){var i={};return a(t).forEach(function(n){o&&d(t[n])?i[n]=e(t[n],{},!0):i[n]=t[n]}),a(n).forEach(function(t){o&&d(n[t])?i[t]=e(i[t]||{},n[t],!0):i[t]=n[t]}),i},m=function(e,t){var n=a(e).map(function(n){return t(encodeURIComponent(n))+"="+encodeURIComponent(e[n])});return n.join("&")},S=function(e){return e.className instanceof e.ownerDocument.defaultView.SVGAnimatedString?e.className.baseVal:e.className},b=function(e,t){e.setAttribute("class",t)},v=function(e,t){var n=t||{},o=document.createElement(e);return a(n).map(function(e){return o.setAttribute(e,n[e])}),o},B=function(e){var t=v("div");return t.innerHTML=e,t.children[0]},R=function(e){return e.parentNode.removeChild(e),e},C=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var i=n;if("undefined"!=typeof e.classList)i.forEach(function(t){t.trim()&&e.classList.remove(t)});else{var a=new RegExp("(^| )"+i.join("|")+"( |$)","gi"),r=S(e).replace(a," ");b(e,r)}},w=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var i=n;if("undefined"!=typeof e.classList)i.forEach(function(t){t.trim()&&e.classList.add(t)});else{C(e,i);var a=S(e)+(" "+i.join(" "));b(e,a)}},x=function(e,t){for(var n=e,o=e.getAttribute(t);!_(o);){if(n=n.parentNode,!n||"function"!=typeof n.getAttribute){n=null;break}o=n.getAttribute(t)}return{value:o,parent:n}},E=[31,28,31,30,31,30,31,31,30,31,30,31],M=function(e){return e%4===0&&e%100!==0||e%400===0},A=function(e,t){var n=E[t];return 1===t&&M(e)&&(n=29),n},D=function(e,t,n,o,i){var a=i||"GET",r=new XMLHttpRequest,c="GET"===i&&o?e+"?"+m(o,y):e,u=function(e){return e>=200&&e<300||304===e};r.open(a,c),r.setRequestHeader("Content-type","application/vnd.api+json"),r.onreadystatechange=function(){var e=void 0;if(4===r.readyState)if(u(r.status)){try{e=s(r.responseText)}catch(t){e=r}t(e)}else n(r)},d(o)?r.send(l(o)):r.send()},L=function(){function e(){o(this,e)}return i(e,[{key:"on",value:function(e,t){return this.events=this.events||{},this.events[e]=this.events[e]||[],this.events[e].push(t),this}},{key:"once",value:function(e,t){function n(){o.off(e,n),t.apply(this,arguments)}var o=this;return n.listener=t,this.on(e,n),this}},{key:"off",value:function(e,t){var n=void 0;return this.events&&(n=this.events[e])?(n.forEach(function(e,o){e!==t&&e.listener!==t||n.splice(o,1)}),0===n.length&&delete this.events[e],this):this}},{key:"emit",value:function(e){for(var t=this,n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var a=void 0;return this.events&&(a=this.events[e])?(a=a.slice(0),a.forEach(function(e){return e.apply(t,o)}),this):this}}]),e}()},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var o={},i=0;i<this.length;i++){var a=this[i][0];"number"==typeof a&&(o[a]=!0)}for(i=0;i<t.length;i++){var r=t[i];"number"==typeof r[0]&&o[r[0]]||(n&&!r[2]?r[2]=n:n&&(r[2]="("+r[2]+") and ("+n+")"),e.push(r))}},e}},function(e,t){function n(e,t){for(var n=0;n<e.length;n++){var o=e[n],i=g[o.id];if(i){i.refs++;for(var a=0;a<i.parts.length;a++)i.parts[a](o.parts[a]);for(;a<o.parts.length;a++)i.parts.push(l(o.parts[a],t))}else{for(var r=[],a=0;a<o.parts.length;a++)r.push(l(o.parts[a],t));g[o.id]={id:o.id,refs:1,parts:r}}}}function o(e){for(var t=[],n={},o=0;o<e.length;o++){var i=e[o],a=i[0],r=i[1],s=i[2],l=i[3],c={css:r,media:s,sourceMap:l};n[a]?n[a].parts.push(c):t.push(n[a]={id:a,parts:[c]})}return t}function i(e,t){var n=_(),o=k[k.length-1];if("top"===e.insertAt)o?o.nextSibling?n.insertBefore(t,o.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),k.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(t)}}function a(e){e.parentNode.removeChild(e);var t=k.indexOf(e);t>=0&&k.splice(t,1)}function r(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function s(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function l(e,t){var n,o,i;if(t.singleton){var l=p++;n=y||(y=r(t)),o=c.bind(null,n,l,!1),i=c.bind(null,n,l,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=s(t),o=u.bind(null,n),i=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=r(t),o=d.bind(null,n),i=function(){a(n)});return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else i()}}function c(e,t,n,o){var i=n?"":o.css;if(e.styleSheet)e.styleSheet.cssText=m(t,i);else{var a=document.createTextNode(i),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(a,r[t]):e.appendChild(a)}}function d(e,t){var n=t.css,o=t.media;if(o&&e.setAttribute("media",o),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function u(e,t){var n=t.css,o=t.sourceMap;o&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var i=new Blob([n],{type:"text/css"}),a=e.href;e.href=URL.createObjectURL(i),a&&URL.revokeObjectURL(a)}var g={},h=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},f=h(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),_=h(function(){return document.head||document.getElementsByTagName("head")[0]}),y=null,p=0,k=[];e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");t=t||{},"undefined"==typeof t.singleton&&(t.singleton=f()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var i=o(e);return n(i,t),function(e){for(var a=[],r=0;r<i.length;r++){var s=i[r],l=g[s.id];l.refs--,a.push(l)}if(e){var c=o(e);n(c,t)}for(var r=0;r<a.length;r++){var l=a[r];if(0===l.refs){for(var d=0;d<l.parts.length;d++)l.parts[d]();delete g[l.id]}}}};var m=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t,n){var o=n(10);"string"==typeof o&&(o=[[e.i,o,""]]),n(2)(o,{insertAt:"top",singleton:!0}),o.locals&&(e.exports=o.locals)},function(e,t,n){"use strict";var o=n(0),i=n(6),a=n(7),r=[],s=function(e,t,i){i.toggleLoading();var a=function(e){i.toggleLoading(),n.i(o.n)(e.data)&&e.data[0].attributes?i.addMaps(e.data[0].attributes):console.error("expects json-api data format")},r=function(){i.toggleLoading(),console.error("Server error happened")};n.i(o.p)(e.rentalUrl(t),a,r)};i.a.init=function(){var e=document.querySelectorAll("[data-calendar-widget]"),t=e.length;0===e.length&&console.log('expects at least one HTMLElement with "data-calendar-widget" and "data-rental-ids"');for(var l=0;l<t;l+=1){var c=e[l],d=n.i(o.a)(a.a,c.dataset);d.el=c;var u=new i.a(d);c.dataset.rentalIds?(s(d,c.dataset.rentalIds,u),r.push(u)):console.log("data-rental-ids is mandatory")}1===r.length&&(r=r[0])},document.addEventListener("DOMContentLoaded",function(){i.a.autoInit!==!1&&i.a.init()}),e.exports=r},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=n(0),a=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=function(e,t){for(var n=[],o=e;o<=t;o+=1)n.push(o);return n},s=new Date,l=function(){function e(t,n){o(this,e),this.validateCell=t,this.tree=n}return a(e,[{key:"addTree",value:function(e){return this.tree?this.tree=n.i(i.a)(this.tree||{},e,!0):this.tree=e,this}},{key:"selectRange",value:function(e,t){var n=[],o=e.slice();if(o[0]===t[0]&&o[1]===t[1])n=this.selectDaysInMonth(o[0],o[1],o[2],t[2]);else{var i=this.tree[o[0]][o[1]];n=n.concat(this.selectDaysInMonth(o[0],o[1],o[2],i.length)),o[1]+=1,t[0]>e[0]&&(n=n.concat(this.selectMonthsInYear(o[0],o[1],11)),o[0]=t[0],o[1]=0),t[1]>o[1]&&(n=n.concat(this.selectMonthsInYear(o[0],o[1],t[1]-1)),o[1]=t[1]),n=n.concat(this.selectDaysInMonth(t[0],t[1],1,t[2]))}return{range:n,isValid:this.isRangeValid(n)}}},{key:"selectMonthsInYear",value:function(e,t,o){var a=this,s=[],l=r(t,o);return l.forEach(function(t){var o=a.tree[e],r=n.i(i.b)(o)?a.tree[e][t]:null;o&&r&&(s=s.concat(a.selectDaysInMonth(e,t,1,r.length)))}),s}},{key:"selectDaysInMonth",value:function(e,t,o,a){var r=this.tree[e],s=n.i(i.b)(r)?this.tree[e][t]:null;return r&&s?s.slice(o-1,a):[]}},{key:"selectDay",value:function(e,t,o){var a=this.tree[e],r=n.i(i.b)(a)?this.tree[e][t]:null;return a&&r?r[o-1]:null}},{key:"isRangeValid",value:function(e,t){var n=this,o=this.validateCell||t,i=!0;return"function"==typeof o&&(i=0===e.filter(function(e){return n.validateCell(e)}).length),i}},{key:"replaceMaps",value:function(t,n){return this.map=e.mapsToTree(t,n),this}},{key:"removeMap",value:function(){return this.map={},this}},{key:"getDayProperty",value:function(e,t,n,o){var i=void 0;if(this.map)try{i=this.map[e][t][n][o]}catch(e){}return i}},{key:"isDayDisabledOnMap",value:function(e,t,n){return!this.getDayProperty(e,t,n,"isAvailable")}},{key:"isDayDisabled",value:function e(t,n,o){var i=new Date(s),a=new Date(t,n,o)<i.setDate(s.getDate()-1),e=this.isDayDisabledOnMap(t,n,o);return a||e}}],[{key:"mapsToTree",value:function(e,t){if(!(n.i(i.c)(e.availability)||n.i(i.c)(e.nightly_rates)||n.i(i.c)(e.minimum_stays)))return null;var o=e.availability.split("").map(parseFloat),a=e.nightly_rates.split(",").map(parseFloat),r=e.minimum_stays.split(",").map(parseFloat),s=new Date(t),l=s.getFullYear(),c=s.getMonth(),d=s.getDate(),u=1;return o.reduce(function(e,t,o){var s=n.i(i.d)(l,c),g=e,h=r[o],f=0===t;return g[l]||(g[l]={}),g[l][c]||(g[l][c]={}),d&&(u=d,d=null),g[l][c][u]={isAvailable:f,rate:a[o],minStay:h},u<s?u+=1:(c>10?(c=0,l+=1):c+=1,u=1),g},{})}}]),e}();t.a=l},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var s=n(0),l=n(9),c=n(5),d=n(8),u=n(12),g=n.n(u),h=n(3),f=n.n(h),_=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),y=f.a.calendar,p=f.a.chunky,k=f.a.highlighted,m=f.a.invalid,S=f.a.selected,b=f.a.actionsEnabled,v=f.a.body,B=f.a.tableHeader,R=f.a.caption,C=f.a.selectedStart,w=f.a.selectedEnd,x=document,E=x.documentElement.lang,M=new Date,A=function(e,t){return new(Function.prototype.bind.apply(Date,[null].concat(r(e))))<new(Function.prototype.bind.apply(Date,[null].concat(r(t))))},D=function(e,t,n){function o(e){return e<10?"0"+e:e}return new Date(e+"-"+o(t+1)+"-"+n)},L={startOfWeek:6,minRange:1,monthStart:M.getUTCMonth(),yearStart:M.getUTCFullYear(),daysPerWeek:7,displayMonths:2,selectable:!1,showRates:!1,showMinStay:!1,reverseSelecting:!1},T=function(e){function t(e,a){o(this,t);var r=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.name="BookingSync Calendar Widget",r.VERSION="0.0.4",r.opts=n.i(s.a)(L,e),r.el=e.el,r.dom={},r.opts=n.i(s.e)(r.opts,function(e){return e},function(e){return"true"===e||"false"===e?"true"===e:n.i(s.f)(e)?parseInt(e,10):e}),r.opts.lang=t.widgetLang(r.opts.lang,E),r.locale=d.a[r.opts.lang||"en"],r.cTree=new c.a(function(e){return""===e.getAttribute("data-disabled")},{}),n.i(s.g)(a)&&r.cTree.addMaps(a,a.start_date||M),r.isSelecting=!1,r.highlightedBounds=[],r.hasValidRange=!0,r.reverseSelecting=r.opts.reverseSelecting,r.init(),r}return a(t,e),_(t,[{key:"init",value:function(){n.i(s.h)(this.el,y,g.a.reset),(this.opts.showRates||this.opts.showMinStay)&&n.i(s.h)(this.el,p),this.dom.monthsWrapper=this.el.appendChild(n.i(s.i)(l.a)),this.renderMonths(this.opts.yearStart,this.opts.monthStart),this.dom.forward=this.el.appendChild(n.i(s.i)(l.b)),this.dom.back=this.el.appendChild(n.i(s.i)(l.c)),this.addBtnsEvents(),this.emit("init")}},{key:"renderMonths",value:function(e,t){var o=this,i=this.createTree(e,t,this.opts.displayMonths),a=i.tree,r=i.yearEnd,l=i.monthEnd,c=i.months;this.cTree.addTree(a),this.currMonth=t,this.currYear=e,this.dom.months=c,this.monthEnd=l,this.yearEnd=r,this.recoverSelections(),this.dom.months.forEach(function(e){o.dom.monthsWrapper.appendChild(e),o.opts.selectable&&(o.addMonthEvents(e),n.i(s.h)(o.el,b))})}},{key:"recoverSelections",value:function(){if(this.selectionStart){var e;this.selectStart.apply(this,r(this.selectionStart).concat([(e=this.cTree).selectDay.apply(e,r(this.selectionStart))]))}if(this.selectionEnd){var t;this.selectEnd.apply(this,r(this.selectionEnd).concat([(t=this.cTree).selectDay.apply(t,r(this.selectionEnd))]))}this.highlightedBounds.length>0&&this.highLightRange.apply(this,r(this.highlightedBounds))}},{key:"toggleLoading",value:function(){this.loaderEl?(n.i(s.j)(this.loaderEl),this.loaderEl=null,this.emit("loading-ended")):(this.loaderEl=this.el.appendChild(n.i(s.i)(l.d)),this.emit("loading-starts"))}},{key:"addMaps",value:function(e){this.cTree.replaceMaps(e,e.start_date),this.destroyMonths(),this.renderMonths(this.opts.yearStart,this.opts.monthStart)}},{key:"addBtnsEvents",value:function(){var e=this;this.dom.forward.addEventListener("click",function(t){e.destroyMonths(),e.renderMonths(e.yearEnd,e.monthEnd),t.preventDefault()}),this.dom.back.addEventListener("click",function(t){e.destroyMonths();var n=e.currMonth-e.opts.displayMonths,o=e.currYear;n<0&&(n+=12,o-=1),e.renderMonths(o,n),t.preventDefault()})}},{key:"addMonthEvents",value:function(e){var t=this;e.addEventListener("click",function(o){var i=n.i(s.k)(o.target,"data-enabled"),a=i.value,r=i.parent;if(n.i(s.b)(a)&&r){var l=[e.year,e.month,parseInt(r.getAttribute("data-value"),10)],c=t.reverseSelecting;!t.isSelecting&&t.selectionEnd&&t.selectionStart&&t.resetSelection(),c?t.endDateFirstAction(l,r):t.startDateFirstAction(l,r)}}),e.addEventListener("mouseover",function(o){var i=n.i(s.k)(o.target,"data-value"),a=i.value,r=i.parent;if(n.i(s.b)(a)&&r&&t.isSelecting){var l=[e.year,e.month,parseInt(r.getAttribute("data-value"),10)];t.removeHighlight(),t.reverseSelecting?t.highLightRange(l,t.selectionEnd):t.highLightRange(t.selectionStart,l)}}),e.body.addEventListener("mouseout",function(n){n.relatedTarget&&(n.relatedTarget===e.body||e.body.compareDocumentPosition(n.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY)||t.isSelecting&&t.removeHighlight()})}},{key:"endDateFirstAction",value:function(e,t){if(this.isSelecting&&A(e,this.selectionEnd)){if(!this.hasValidRange)return;this.selectStartAction(e,t),this.isSelecting=!1}else this.isSelecting=!0,this.selectEndAction(e,t)}},{key:"startDateFirstAction",value:function(e,t){if(this.isSelecting&&A(this.selectionStart,e)){if(!this.hasValidRange)return;this.selectEndAction(e,t),this.isSelecting=!1}else this.isSelecting=!0,this.selectStartAction(e,t)}},{key:"selectStartAction",value:function(e,t){this.selectStart.apply(this,r(e).concat([t])),this.emit("selection-start",D.apply(void 0,r(e)),e),n.i(s.l)(this.opts.onSelectStart)&&this.opts.onSelectStart(D.apply(void 0,r(e)),e)}},{key:"selectEndAction",value:function(e,t){this.selectEnd.apply(this,r(e).concat([t])),this.emit("selection-end",D.apply(void 0,r(e)),e),n.i(s.l)(this.opts.onSelectEnd)&&this.opts.onSelectEnd(D.apply(void 0,r(e)),e)}},{key:"removeHighlight",value:function(){if(this.highlightedBounds.length>0){var e=this.selectRange.apply(this,r(this.highlightedBounds)),t=e.range;t.map(function(e){return n.i(s.m)(e,k,m)}),this.hasValidRange=!0,this.highlightedBounds=[]}}},{key:"highLightRange",value:function(e,t){var o=this.selectRange(e,t),i=o.range,a=o.isValid,l=a;if(n.i(s.n)(i)){var c;i.length<=(c=this.cTree).getDayProperty.apply(c,r(e).concat(["minStay"]))&&(l=!1),i.map(function(e){return n.i(s.h)(e,l?k:m)}),this.hasValidRange=l,this.highlightedBounds=[e,t]}return l}},{key:"resetSelection",value:function(){return this.removeHighlight(),this.isSelecting=!1,this.emit("clear-selection",this.selectionStart,this.selectionEnd),n.i(s.l)(this.opts.onClearSelection)&&this.opts.onClearSelection(this.selectionStart,this.selectionEnd),this.selectionStart=null,this.selectionEnd=null,this.cellA&&(n.i(s.m)(this.cellA,S,C),this.cellA=null),this.cellB&&(n.i(s.m)(this.cellB,S,w),this.cellB=null),this}},{key:"selectRange",value:function(e,t){return A(e,t)?this.cTree.selectRange(e,t):{range:null,isValid:!1}}},{key:"selectStart",value:function(e,t,o,i){this.selectionStart=[e,t,o],this.cellA&&n.i(s.m)(this.cellA,S,C),i&&(n.i(s.h)(i,S,C),this.cellA=i)}},{key:"selectEnd",value:function(e,t,o,i){this.selectionEnd=[e,t,o],this.cellB&&n.i(s.m)(this.cellB,S,w),i&&(n.i(s.h)(i,S,w),this.cellB=i)}},{key:"createTree",value:function(e,t,n){for(var o=[],i={},a=t,r=e,s=0;s<n;s+=1){var l=this.domMonth(r,a);o.push(l),i[r]||(i[r]={}),i[r][a]||(i[r][a]=l.dayElements||[]),a>10?(a=0,r+=1):a+=1}return{tree:i,yearEnd:r,monthEnd:a,months:o}}},{key:"domMonth",value:function(e,t){var o=n.i(s.i)(l.e);return o.querySelector("."+B+" tr").innerHTML=this.headerTplString(),o.querySelector("."+R).innerHTML=this.locale.months[t]+" "+e,o.body=o.querySelector("."+v),o.body.innerHTML=this.daysTplString(e,t),o.month=t,o.year=e,o.dayElements=[].slice.call(o.querySelectorAll("[data-value]")),o}},{key:"headerTplString",value:function(){for(var e=[],t=this.locale.weekdaysLabels.concat(this.locale.weekdaysLabels),n=0;n<this.opts.daysPerWeek;n+=1)e.push(l.f(t[n+this.opts.startOfWeek]));return e.join("")}},{key:"daysTplString",value:function(e,t){var o=new Date(e,t,1).getUTCDay(),i=n.i(s.d)(e,t),a=l.g,r=[],c=this.opts.daysPerWeek-this.opts.startOfWeek,d=5,u=o+c,g=0,h=1;u>=this.opts.daysPerWeek&&(u-=this.opts.daysPerWeek),d*this.opts.daysPerWeek<u+i&&(d=6);for(var f=0;f<d;f+=1){var _=[];_.push(a.open);for(var y=0;y<this.opts.daysPerWeek;y+=1){if(g>=u&&h<=i){var p=this.opts.showRates?this.cTree.getDayProperty(e,t,h,"rate"):null,k=this.opts.showMinStay?this.cTree.getDayProperty(e,t,h,"minStay"):null,m=this.locale.rate,S=this.locale.minStay;_.push(l.h(h,this.cTree.isDayDisabled(e,t,h),p,k,m,S)),h+=1}else _.push(l.i);g+=1}_.push(a.close),r.push(_.join(""))}return r.join("")}},{key:"destroyMonths",value:function(){this.dom.months.map(function(e){return n.i(s.j)(e)})}},{key:"destroy",value:function(){return n.i(s.j)(this.el)}}],[{key:"widgetLang",value:function(e,t){var n=e||t;return Object.keys(d.a).indexOf(n)===-1&&(console.warn("this language is not supported yet"),n="en"),n}}]),t}(s.o);t.a=T},function(e,t,n){"use strict";t.a={name:"Calendar Widget",apiHost:"https://www.bookingsync.com",apiNamespace:"/api/v2/public",apiMapsRoute:"/maps.json?rental_id={params}",rentalUrl:function(e){var t=this.apiMapsRoute.replace("{params}",e);return""+this.apiHost+this.apiNamespace+t}}},function(e,t,n){"use strict";t.a={en:{weekdaysLabels:"Mo_Tu_We_Th_Fr_Sa_Su".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),rate:"&euro;",minStay:"Min"},fr:{weekdaysLabels:"Lu_Ma_Me_Je_Ve_Sa_Di".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),rate:"&euro;",minStay:"Min."},de:{weekdaysLabels:"Mo_Di_Mi_Do_Fr_Sa_So".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),rate:"&euro;",minStay:"Min."}}},function(e,t,n){"use strict";var o=n(3),i=n.n(o);n.d(t,"a",function(){return l}),n.d(t,"e",function(){return c}),n.d(t,"f",function(){return d}),n.d(t,"h",function(){return u}),n.d(t,"b",function(){return g}),n.d(t,"c",function(){return h}),n.d(t,"i",function(){return f}),n.d(t,"g",function(){return _}),n.d(t,"d",function(){return y});var a=i.a.disabled,r=i.a.info,s=i.a.infoExtra,l='<div class="'+i.a.monthsWrapper+'"></div>',c='<div class="'+i.a.mCell+'">\n <table class="'+i.a.month+'">\n <caption class="'+i.a.caption+'"></caption>\n <thead class="'+i.a.tableHeader+'"><tr></tr></thead>\n <tbody class="'+i.a.body+'"></tbody>\n </table>\n </div>',d=function(e){return'<th class="'+i.a.th+'">'+e+"</th>"},u=function(e,t,n,o,l,c){return"<td "+(t?"data-disabled":"data-enabled")+'\n data-value="'+e+'"\n class="'+i.a.cell+" "+(t?a:"")+'">\n '+e+"\n "+(n?'<span class="'+r+'">'+l+" "+n+"</span>":"")+"\n "+(o?'<span class="'+s+'">'+c+" "+o+"</span>":"")+"\n </td>"},g='<div class="'+i.a.forward+'">\n <svg viewBox="0 0 1000 1000">\n <path d="M694.4 242.4l249.1 249.1c11 11 11 21 0 32L694.4 772.7c-5 5-10 7-16 7s-11-2-16-7c-11-11-11-21 0-32l210.1-210.1H67.1c-13 0-23-10-23-23s10-23 23-23h805.4L662.4 274.5c-21-21.1 11-53.1 32-32.1z"></path>\n </svg>\n </div>',h='<div class="'+i.a.back+'">\n <svg viewBox="0 0 1000 1000">\n <path d="M336.2 274.5l-210.1 210h805.4c13 0 23 10 23 23s-10 23-23 23H126.1l210.1 210.1c11 11 11 21 0 32-5 5-10 7-16 7s-11-2-16-7l-249.1-249c-11-11-11-21 0-32l249.1-249.1c21-21.1 53 10.9 32 32z"></path>\n </svg>\n </div>',f="<td></td>",_={open:"<tr>",close:"</tr>"},y='<div class="'+i.a.loadingLayer+'">\n <div class="'+i.a.loading+'"></div>\n </div>'},function(e,t,n){t=e.exports=n(1)(),t.push([e.i,"@import url(//fonts.googleapis.com/css?family=Open+Sans:300,400,700);",""]),t.push([e.i,".BookingSyncCalendar__calendar{font:.875rem/1.4 Open Sans,Helvetica,Arial,sans-serif;position:relative;margin:0 -1rem 3rem;background:#fff;padding:2rem}.BookingSyncCalendar__calendar .BookingSyncCalendar__caption{font-weight:700;margin-bottom:1rem;text-align:center}.BookingSyncCalendar__calendar .BookingSyncCalendar__monthsWrapper{display:flex;flex-wrap:wrap}.BookingSyncCalendar__calendar .BookingSyncCalendar__mCell{margin:0 1rem 2rem;min-width:14rem;flex:1 1 25%}.BookingSyncCalendar__calendar .BookingSyncCalendar__month{border-collapse:collapse;padding:0;margin:0;width:100%}.BookingSyncCalendar__calendar .BookingSyncCalendar__body,.BookingSyncCalendar__calendar .BookingSyncCalendar__tableHeader{margin:0}.BookingSyncCalendar__calendar .BookingSyncCalendar__th{border-bottom:1px solid #eee;font-size:.85rem;color:#aaa;height:25px;width:20px;text-align:center}.BookingSyncCalendar__calendar .BookingSyncCalendar__cell{text-align:center;padding:0;width:40px;height:40px;position:relative;border:1px solid #e9ebef;vertical-align:middle;background-clip:padding-box;color:#444}.BookingSyncCalendar__calendar .BookingSyncCalendar__info,.BookingSyncCalendar__calendar .BookingSyncCalendar__infoExtra{position:absolute;bottom:0;left:0;font-size:.7rem;padding:1px 3px;text-align:right;font-weight:100;right:0}.BookingSyncCalendar__calendar .BookingSyncCalendar__infoExtra{left:0;text-align:left;right:auto}.BookingSyncCalendar__calendar .BookingSyncCalendar__disabled,.BookingSyncCalendar__calendar .BookingSyncCalendar__disabled:hover{color:#bfbfbf;cursor:default;background-color:#f8f8f8}.BookingSyncCalendar__calendar .BookingSyncCalendar__highlighted{background-color:#8acdf6;border-color:#bde3ff}.BookingSyncCalendar__calendar .BookingSyncCalendar__invalid{background-color:#d8dade}.BookingSyncCalendar__actionsEnabled [data-enabled]:hover,.BookingSyncCalendar__calendar .BookingSyncCalendar__selected{background-color:#50abf4}.BookingSyncCalendar__calendar .BookingSyncCalendar__selectedStart{background:linear-gradient(to right bottom,#fff 50%,#8acdf6 0);border-top-color:#e9ebef;border-left-color:#e9ebef}.BookingSyncCalendar__calendar .BookingSyncCalendar__selectedEnd{background:linear-gradient(to left top,#fff 50%,#8acdf6 0);border-bottom-color:#e9ebef;border-right-color:#e9ebef}.BookingSyncCalendar__calendar .BookingSyncCalendar__invalid.BookingSyncCalendar__selectedStart{background:linear-gradient(to right bottom,#fff 50%,#d8dade 0)}.BookingSyncCalendar__calendar .BookingSyncCalendar__invalid.BookingSyncCalendar__selectedEnd{background:linear-gradient(to left top,#fff 50%,#d8dade 0)}.BookingSyncCalendar__actionsEnabled [data-enabled]:hover,.BookingSyncCalendar__actionsEnabled [data-enabled]:hover .BookingSyncCalendar__info,.BookingSyncCalendar__actionsEnabled [data-enabled]:hover .BookingSyncCalendar__infoExtra{cursor:pointer}.BookingSyncCalendar__calendar .BookingSyncCalendar__cell.BookingSyncCalendar__invalid:hover{background-color:#b6b6b6;cursor:not-allowed}.BookingSyncCalendar__calendar .BookingSyncCalendar__back,.BookingSyncCalendar__calendar .BookingSyncCalendar__forward{cursor:pointer;height:23px;width:23px;fill:#45494a;border-radius:2px;padding:6px 9px;top:1.4rem;left:1rem;z-index:2;position:absolute}.BookingSyncCalendar__calendar .BookingSyncCalendar__forward{right:1rem;left:auto}@-webkit-keyframes BookingSyncCalendar__spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes BookingSyncCalendar__spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes BookingSyncCalendar__pulse{50%{background:#fff}}@keyframes BookingSyncCalendar__pulse{50%{background:#fff}}.BookingSyncCalendar__calendar .BookingSyncCalendar__loading{border-radius:50%;width:24px;height:24px;border:.25rem solid #cacaca;border-top-color:#000;-webkit-animation:BookingSyncCalendar__spin 1s infinite linear;animation:BookingSyncCalendar__spin 1s infinite linear;position:absolute;left:50%;top:50%;margin-left:-12px;margin-top:-12px}.BookingSyncCalendar__calendar .BookingSyncCalendar__loadingLayer{position:absolute;top:0;left:0;bottom:0;background-color:hsla(0,0%,100%,.55);right:0;z-index:10}.BookingSyncCalendar__chunky .BookingSyncCalendar__cell{height:57px}.BookingSyncCalendar__chunky .BookingSyncCalendar__mCell{min-width:20rem}",""]),t.locals={calendar:"BookingSyncCalendar__calendar",caption:"BookingSyncCalendar__caption",monthsWrapper:"BookingSyncCalendar__monthsWrapper",mCell:"BookingSyncCalendar__mCell",month:"BookingSyncCalendar__month",tableHeader:"BookingSyncCalendar__tableHeader",body:"BookingSyncCalendar__body",th:"BookingSyncCalendar__th",cell:"BookingSyncCalendar__cell",infoExtra:"BookingSyncCalendar__infoExtra",info:"BookingSyncCalendar__info",disabled:"BookingSyncCalendar__disabled",highlighted:"BookingSyncCalendar__highlighted",invalid:"BookingSyncCalendar__invalid",actionsEnabled:"BookingSyncCalendar__actionsEnabled",selected:"BookingSyncCalendar__selected",selectedStart:"BookingSyncCalendar__selectedStart",selectedEnd:"BookingSyncCalendar__selectedEnd",forward:"BookingSyncCalendar__forward",back:"BookingSyncCalendar__back",loading:"BookingSyncCalendar__loading",spin:"BookingSyncCalendar__spin",loadingLayer:"BookingSyncCalendar__loadingLayer",chunky:"BookingSyncCalendar__chunky",pulse:"BookingSyncCalendar__pulse"}},function(e,t,n){t=e.exports=n(1)(),t.push([e.i,".BookingSyncReset__reset .BookingSyncReset__button,.BookingSyncReset__reset .BookingSyncReset__legend,.BookingSyncReset__reset a,.BookingSyncReset__reset abbr,.BookingSyncReset__reset acronym,.BookingSyncReset__reset address,.BookingSyncReset__reset applet,.BookingSyncReset__reset article,.BookingSyncReset__reset aside,.BookingSyncReset__reset audio,.BookingSyncReset__reset b,.BookingSyncReset__reset big,.BookingSyncReset__reset blockquote,.BookingSyncReset__reset button,.BookingSyncReset__reset canvas,.BookingSyncReset__reset caption,.BookingSyncReset__reset center,.BookingSyncReset__reset cite,.BookingSyncReset__reset code,.BookingSyncReset__reset dd,.BookingSyncReset__reset del,.BookingSyncReset__reset details,.BookingSyncReset__reset dfn,.BookingSyncReset__reset div,.BookingSyncReset__reset div.BookingSyncReset__form,.BookingSyncReset__reset dl,.BookingSyncReset__reset dt,.BookingSyncReset__reset em,.BookingSyncReset__reset fieldset,.BookingSyncReset__reset figcaption,.BookingSyncReset__reset figure,.BookingSyncReset__reset footer,.BookingSyncReset__reset form,.BookingSyncReset__reset h1,.BookingSyncReset__reset h2,.BookingSyncReset__reset h3,.BookingSyncReset__reset h4,.BookingSyncReset__reset h5,.BookingSyncReset__reset h6,.BookingSyncReset__reset header,.BookingSyncReset__reset hgroup,.BookingSyncReset__reset i,.BookingSyncReset__reset iframe,.BookingSyncReset__reset img,.BookingSyncReset__reset input,.BookingSyncReset__reset ins,.BookingSyncReset__reset kbd,.BookingSyncReset__reset label,.BookingSyncReset__reset legend,.BookingSyncReset__reset li,.BookingSyncReset__reset mark,.BookingSyncReset__reset menu,.BookingSyncReset__reset nav,.BookingSyncReset__reset object,.BookingSyncReset__reset ol,.BookingSyncReset__reset p,.BookingSyncReset__reset pre,.BookingSyncReset__reset q,.BookingSyncReset__reset s,.BookingSyncReset__reset samp,.BookingSyncReset__reset section,.BookingSyncReset__reset small,.BookingSyncReset__reset span,.BookingSyncReset__reset strike,.BookingSyncReset__reset strong,.BookingSyncReset__reset sub,.BookingSyncReset__reset summary,.BookingSyncReset__reset sup,.BookingSyncReset__reset table,.BookingSyncReset__reset tbody,.BookingSyncReset__reset td,.BookingSyncReset__reset textarea,.BookingSyncReset__reset tfoot,.BookingSyncReset__reset th,.BookingSyncReset__reset thead,.BookingSyncReset__reset time,.BookingSyncReset__reset tr,.BookingSyncReset__reset tt,.BookingSyncReset__reset u,.BookingSyncReset__reset ul,.BookingSyncReset__reset var,.BookingSyncReset__reset video{font-family:Open sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-size-adjust:none;font-size:100%;font-style:normal;letter-spacing:normal;font-stretch:normal;font-variant:normal;font-weight:400;font:normal normal 100% Open sans,Helvetica Neue,Helvetica,Arial,sans-serif;text-align:left;-moz-text-align-last:initial;text-align-last:auto;text-decoration:none;-webkit-text-emphasis:none;text-emphasis:none;text-height:auto;text-indent:0;text-justify:auto;text-outline:none;text-shadow:none;text-transform:none;text-wrap:normal;alignment-adjust:auto;alignment-baseline:baseline;-webkit-animation:none 0 ease 0 1 normal;animation:none 0 ease 0 1 normal;-webkit-animation-play-state:running;animation-play-state:running;appearance:normal;azimuth:center;-webkit-backface-visibility:visible;backface-visibility:visible;background:none 0 0 auto repeat scroll padding-box transparent;background-color:transparent;background-image:none;baseline-shift:baseline;binding:none;bleed:6pt;bookmark-label:content();bookmark-level:none;bookmark-state:open;bookmark-target:none;border:0 none transparent;border-radius:0;bottom:auto;box-align:stretch;-webkit-box-decoration-break:slice;box-decoration-break:slice;box-direction:normal;flex:0.0;flex-group:1;box-lines:single;box-ordinal-group:1;box-orient:inline-axis;box-pack:start;box-shadow:none;box-sizing:content-box;-webkit-break-after:auto;-moz-break-after:auto;break-after:auto;-webkit-break-before:auto;-moz-break-before:auto;break-before:auto;-webkit-column-break-inside:auto;break-inside:auto;caption-side:top;clear:none;clip:auto;color:inherit;color-profile:auto;-webkit-column-count:auto;-moz-column-count:auto;column-count:auto;-webkit-column-fill:balance;-moz-column-fill:balance;column-fill:balance;-webkit-column-gap:normal;-moz-column-gap:normal;column-gap:normal;-webkit-column-rule:medium medium #1f1f1f;-moz-column-rule:medium medium #1f1f1f;column-rule:medium medium #1f1f1f;-webkit-column-span:1;-moz-column-span:1;column-span:1;-webkit-column-width:auto;-moz-column-width:auto;column-width:auto;-webkit-columns:auto auto;-moz-columns:auto auto;columns:auto auto;content:normal;counter-increment:none;counter-reset:none;crop:auto;cursor:auto;direction:ltr;display:inline;dominant-baseline:auto;drop-initial-after-adjust:text-after-edge;drop-initial-after-align:baseline;drop-initial-before-adjust:text-before-edge;drop-initial-before-align:caps-height;drop-initial-size:auto;drop-initial-value:initial;elevation:level;empty-cells:show;fit:fill;fit-position:0 0;float:none;float-offset:0 0;grid-columns:none;grid-rows:none;hanging-punctuation:none;height:auto;hyphenate-after:auto;hyphenate-before:auto;hyphenate-character:auto;hyphenate-lines:no-limit;hyphenate-resource:none;-webkit-hyphens:manual;-ms-hyphens:manual;hyphens:manual;icon:auto;image-orientation:auto;image-rendering:auto;image-resolution:normal;inline-box-align:last;left:auto;line-height:inherit;line-stacking:inline-line-height exclude-ruby consider-shifts;list-style:disc outside none;margin:0;marks:none;marquee-direction:forward;marquee-loop:1;marquee-play-count:1;marquee-speed:normal;marquee-style:scroll;max-height:none;max-width:none;min-height:0;min-width:0;move-to:normal;nav-down:auto;nav-index:auto;nav-left:auto;nav-right:auto;nav-up:auto;opacity:1;orphans:2;outline:medium none invert;outline-offset:0;overflow:visible;overflow-style:auto;padding:0;page:auto;page-break-after:auto;page-break-before:auto;page-break-inside:auto;page-policy:start;-webkit-perspective:none;perspective:none;-webkit-perspective-origin:50% 50%;perspective-origin:50% 50%;position:static;presentation-level:0;punctuation-trim:none;quotes:none;rendering-intent:auto;resize:none;right:auto;rotation:0;rotation-point:50% 50%;ruby-align:auto;ruby-overhang:none;ruby-position:before;ruby-span:none;size:auto;string-set:none;table-layout:auto;top:auto;-webkit-transform:none;transform:none;-webkit-transform-origin:50% 50% 0;transform-origin:50% 50% 0;-webkit-transform-style:flat;transform-style:flat;transition:all 0 ease 0;unicode-bidi:normal;vertical-align:baseline;white-space:normal;white-space-collapse:collapse;widows:2;width:auto;word-break:normal;word-spacing:normal;word-wrap:normal;z-index:auto;text-align:start;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.BookingSyncReset__reset address,.BookingSyncReset__reset article,.BookingSyncReset__reset aside,.BookingSyncReset__reset blockquote,.BookingSyncReset__reset canvas,.BookingSyncReset__reset center,.BookingSyncReset__reset dd,.BookingSyncReset__reset details,.BookingSyncReset__reset dir,.BookingSyncReset__reset div,.BookingSyncReset__reset div.BookingSyncReset__form,.BookingSyncReset__reset dl,.BookingSyncReset__reset dt,.BookingSyncReset__reset fieldset,.BookingSyncReset__reset figcaption,.BookingSyncReset__reset figure,.BookingSyncReset__reset footer,.BookingSyncReset__reset form,.BookingSyncReset__reset frame,.BookingSyncReset__reset frameset,.BookingSyncReset__reset h1,.BookingSyncReset__reset h2,.BookingSyncReset__reset h3,.BookingSyncReset__reset h4,.BookingSyncReset__reset h5,.BookingSyncReset__reset h6,.BookingSyncReset__reset header,.BookingSyncReset__reset hgroup,.BookingSyncReset__reset hr,.BookingSyncReset__reset menu,.BookingSyncReset__reset nav,.BookingSyncReset__reset noframes,.BookingSyncReset__reset ol,.BookingSyncReset__reset p,.BookingSyncReset__reset pre,.BookingSyncReset__reset section,.BookingSyncReset__reset summary,.BookingSyncReset__reset ul{display:block}.BookingSyncReset__reset li{display:list-item}.BookingSyncReset__reset table{display:table}.BookingSyncReset__reset tr{display:table-row}.BookingSyncReset__reset thead{display:table-header-group}.BookingSyncReset__reset tbody{display:table-row-group}.BookingSyncReset__reset tfoot{display:table-footer-group}.BookingSyncReset__reset col{display:table-column}.BookingSyncReset__reset colgroup{display:table-column-group}.BookingSyncReset__reset td,.BookingSyncReset__reset th{display:table-cell}.BookingSyncReset__reset caption{display:table-caption}.BookingSyncReset__reset input,.BookingSyncReset__reset select{display:inline-block}.BookingSyncReset__reset b,.BookingSyncReset__reset strong{font-weight:700}.BookingSyncReset__reset b>em,.BookingSyncReset__reset b>i,.BookingSyncReset__reset em>b,.BookingSyncReset__reset em>strong,.BookingSyncReset__reset i>b,.BookingSyncReset__reset i>strong,.BookingSyncReset__reset strong>em,.BookingSyncReset__reset strong>i{font-weight:700;font-style:italic}.BookingSyncReset__reset input,.BookingSyncReset__reset textarea{cursor:text}",""]),
t.locals={reset:"BookingSyncReset__reset",form:"BookingSyncReset__form",button:"BookingSyncReset__button",legend:"BookingSyncReset__legend"}},function(e,t,n){var o=n(11);"string"==typeof o&&(o=[[e.i,o,""]]),n(2)(o,{insertAt:"top",singleton:!0}),o.locals&&(e.exports=o.locals)},function(e,t,n){e.exports=n(4)}])});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment