1/**! 2* baserjs - v0.15.1 3* revision: ce46e3a2244b82b6ea95e712c65368e14dcaa385 4* update: 2018-05-16 5* Author: baserCMS Users Community [https://github.com/baserproject/] 6* Github: https://github.com/baserproject/baserjs 7* License: Licensed under the MIT License 8*/ 9 10!function(e){var t={};function o(s){if(t[s])return t[s].exports;var i=t[s]={i:s,l:!1,exports:{}};return e[s].call(i.exports,i,i.exports,o),i.l=!0,i.exports}o.m=e,o.c=t,o.d=function(e,t,s){o.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:s})},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=24)}([function(e,t,o){"use strict";var s,i=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=o(4),n=o(1),r=o(10),l=o(9),c=function(e){function t(o){var s=e.call(this)||this;if(s.name="",s._elementized=!1,s.el=o,s.$el=$(o),s.$el.data("bc-element"))return"console"in window&&console.warn("This element is elementized of baserJS."),s._elementized=!0,s;s.$el.data("bc-element",s);var i=o.id||a.UID(),n=o.getAttribute("name");return o.id=i,s.id=i,s.name=n,s.addClass(t.classNameElementCommon),s}return i(t,e),t.createClassName=function(e,o,s){void 0===o&&(o=""),void 0===s&&(s="");var i,n,c,p="";switch(t.classNameDefaultCase){case r.HYPHEN_DELIMITED:i="-",e=a.hyphenDelimited(e),o=a.hyphenDelimited(o),s=a.hyphenDelimited(s);break;case r.SNAKE_CASE:i="_",e=a.snakeCase(e),o=a.snakeCase(o),s=a.snakeCase(s);break;case r.CAMEL_CASE:i="",e=a.camelCase(e,!0),o=a.camelCase(o),s=a.camelCase(s)}switch(t.classNameDefaultSeparatorForElement){case l.HYPHEN:n="-";break;case l.DOUBLE_HYPHEN:n="--";break;case l.UNDERSCORE:n="_";break;case l.DOUBLE_UNDERSCORE:n="__";break;case l.CAMEL_CASE:n=""}switch(t.classNameDefaultSeparatorForModifier){case l.HYPHEN:c="-";break;case l.DOUBLE_HYPHEN:c="--";break;case l.UNDERSCORE:c="_";break;case l.DOUBLE_UNDERSCORE:c="__";break;case l.CAMEL_CASE:c=""}return t.classNameDefaultPrefix&&(p+=t.classNameDefaultPrefix.replace(/^[^a-z_-]/i,"").replace(/[^a-z0-9_-]+/gi,"").replace(/^--+/,"-")),p+=i+e,o&&(p+=n+o),s&&(p+=c+s),p},t.getBoolAttr=function(e,t){var o;if(!0===(o=e[t]))return!0;var s=e.attributes.getNamedItem(t);return!!s&&(""===(o=s.value)||!a.isFalsy(""+o))},t.addClass=function(e,o,s,i){void 0===s&&(s=""),void 0===i&&(i="");var a=$(e),n=t.createClassName(o,s,i);a.addClass(n)},t.addClassTo=function(e,o,s,i){void 0===s&&(s=""),void 0===i&&(i="");var a=t.createClassName(o,s,i);e.addClass(a)},t.removeClass=function(e,o,s,i){void 0===s&&(s=""),void 0===i&&(i="");var a=$(e),n=t.createClassName(o,s,i);a.removeClass(n)},t.removeClassFrom=function(e,o,s,i){void 0===s&&(s=""),void 0===i&&(i="");var a=t.createClassName(o,s,i);e.removeClass(a)},t.removeCSSProp=function(e,t){var o=e.style;if(o){var s=o;o.removeProperty?o.removeProperty(t):s.removeAttribute&&s.removeAttribute(t)}},t.removeCSSPropertyFromDOMElement=function(e,o){t.removeCSSProp(o,e)},t.removeCSSProperty=function(e,o){o.each(function(o,s){t.removeCSSProp(s,e)})},t.prototype.addClass=function(e,o,s){void 0===o&&(o=""),void 0===s&&(s=""),t.addClass(this.el,e,o,s)},t.prototype.getBoolAttr=function(e){return t.getBoolAttr(this.el,e)},t.prototype.mergeOptions=function(e,t){var o={},s={};for(var i in e)if(e.hasOwnProperty(i)){switch(i){case"id":case"class":break;default:o[i]=this.$el.attr(i)}s[i]=this.$el.data(i)}return $.extend({},e,t,s,o)},t.classNameDefaultPrefix="-bc",t.classNameElementCommon="element",t.classNameDefaultCase=r.HYPHEN_DELIMITED,t.classNameDefaultSeparatorForElement=l.DOUBLE_UNDERSCORE,t.classNameDefaultSeparatorForModifier=l.DOUBLE_HYPHEN,t}(n);e.exports=c},function(e,t,o){"use strict";var s=o(5),i=o(12),a=function(){function e(){}return e.prototype.on=function(t,o){for(var s=0,a="string"==typeof t?t.split(/\s+/g):t;s<a.length;s++){var n=a[s],r=new i(this,n,o);e.eventHandlers[r.id]=r,e.types[n]||(e.types[n]=[]),e.types[n].push(r)}return this},e.prototype.off=function(t){for(var o=0,s="string"==typeof t?t.split(/\s+/g):t;o<s.length;o++){var i=s[o];delete e.types[i]}return this},e.prototype.trigger=function(t,o,i){var a,n;if(void 0===o&&(o=[]),i=i||this,"string"==typeof t?(a=t,n=new s(t)):a=(n=t).type,e.types[a])for(var r=e.types[a].slice();r.length;){var l=r.shift();if(l.context===this)if(l.fire(i,n,o)&&(n.preventDefault(),n.stopImmediatePropagation()),n.isImmediatePropagationStopped())break}return this},e.eventHandlers={},e.types={},e}();e.exports=a},function(e,t,o){"use strict";
10var s,i=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=o(1),n=o(13),r=function(e){function t(){var t=e.call(this)||this;t.resizeEndInterval=100,t.scrollEndInterval=100,t.isResize=!1,t.isScroll=!1;var o,s,i=$(window);return i.on("resize",function(e){t.isResize||t.trigger("resizestart"),t.isResize=!0,t.trigger("resize"),window.clearTimeout(o),o=window.setTimeout(function(){t.isResize=!1,t.trigger("resize"),t.trigger("resizeend")},t.resizeEndInterval)}),i.on("scroll",function(e){t.isScroll||t.trigger("scrollstart"),t.isScroll=!0,t.trigger("scroll"),window.clearTimeout(s),s=window.setTimeout(function(){t.isScroll=!1,t.trigger("scroll"),t.trigger("scrollend")},t.resizeEndInterval)}),t}return i(t,e),t.jumpTo=function(e,t){var o;void 0===t&&(t=!1),o="string"==typeof e?e:e.href,t?window.open(o,null):window.location.href=o},t.getUA=function(){var e=navigator.userAgent,t={iOS:!1,android:/android/i.test(e),iPad:/ipad/i.test(e),iPhone:/iphone/i.test(e),iPod:/ipod/i.test(e),safari:/safari/i.test(e),chrome:/crios|chrome/i.test(e),edge:/edge/i.test(e),ie:/msie/.test(e)};return t.iOS=t.iPad||t.iPhone||t.iPod||!1,t.chrome&&(t.safari=!1),t.edge&&(t.safari=!1,t.chrome=!1),t},t.inheritParams=function(e){var t=$("a, area").filter("[href]"),o=new n(location);if(e in o.params){var s=e,i=o.params[e];t.each(function(e,t){var a=t,r=new n(a);o.host===r.host&&(r.addParam(s,i),a.href=r.href)})}},t.browser=new t,t.spec={isTouchable:"ontouchstart"in window,ua:t.getUA()},t.apiScheme=/https?:/i.test(location.protocol)?"":"http:",t}(a);e.exports=r},function(e,t,o){"use strict";var s,i=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=o(0),n=function(e){function t(o,s){var i=e.call(this,o)||this;return i.hasFocus=!1,i._elementized?i:o.querySelector?(i._config=$.extend({},t.defaultOption,s),i._setClassName(),i._asignLabel(),i._setLabelText(),i._createWrapper(),i._createPsuedoElements(),i._bindEvents(),i.defaultValue=i.$el.val(),i.setDisabled(i.$el.prop("disabled")),i._onblur(),t.elements.push(i),i):i}return i(t,e),t.prototype.setValue=function(e,t){void 0===t&&(t=!1);var o=""+e,s=this.$el.val();this.disabled||s===o||(this.$el.val(o),this._fireChangeEvent(t))},t.prototype.setDisabled=function(e){this.disabled=e,this.el.disabled=e,this.disabled?(a.addClass(this.el,t.classNameFormElementCommon,"",t.classNameStateDisabled),a.addClassTo(this.$label,t.classNameFormElementCommon,t.classNameLabel,t.classNameStateDisabled),a.addClassTo(this.$wrapper,t.classNameWrapper,"",t.classNameStateDisabled)):(a.removeClass(this.el,t.classNameFormElementCommon,"",t.classNameStateDisabled),a.removeClassFrom(this.$label,t.classNameFormElementCommon,t.classNameLabel,t.classNameStateDisabled),a.removeClassFrom(this.$wrapper,t.classNameWrapper,"",t.classNameStateDisabled))},t.prototype._setClassName=function(){this.addClass(t.classNameFormElementCommon)}
10,t.prototype._createWrapper=function(){var e=$("<span />");a.addClassTo(e,t.classNameFormElementCommon),a.addClassTo(e,t.classNameWrapper),this.isWrappedByLabel?(this.$label.wrapAll(e),this.$wrapper=this.$label.parent("span")):this.hasLabelByForAttr?(this.$el.wrapAll(e),this.$wrapper=this.$el.parent("span")):(this.$el.add(this.$label).wrapAll(e),this.$wrapper=this.$el.parent("span"))},t.prototype._createPsuedoElements=function(){},t.prototype._bindEvents=function(){var e=this;this.$el.on("focus.bcFormElement",function(){e.disabled||e._onfocus()}),this.$el.on("blur.bcFormElement",function(){e._onblur()}),this.$el.on("change.bcFormElement",function(t,o){o&&o.isSilent?e._onSilentChange():e.trigger("change",null,e)})},t.prototype._onSilentChange=function(){},t.prototype._onfocus=function(){this.hasFocus=!0,a.addClass(this.el,t.classNameFormElementCommon,"",t.classNameStateFocus),a.addClassTo(this.$label,t.classNameFormElementCommon,t.classNameLabel,t.classNameStateFocus),a.addClassTo(this.$wrapper,t.classNameWrapper,"",t.classNameStateFocus),a.removeClass(this.el,t.classNameFormElementCommon,"",t.classNameStateBlur),a.removeClassFrom(this.$label,t.classNameFormElementCommon,t.classNameLabel,t.classNameStateBlur),a.removeClassFrom(this.$wrapper,t.classNameWrapper,"",t.classNameStateBlur)},t.prototype._onblur=function(){this.hasFocus=!1,a.addClass(this.el,t.classNameFormElementCommon,"",t.classNameStateBlur),a.addClassTo(this.$label,t.classNameFormElementCommon,t.classNameLabel,t.classNameStateBlur),a.addClassTo(this.$wrapper,t.classNameWrapper,"",t.classNameStateBlur),a.removeClass(this.el,t.classNameFormElementCommon,"",t.classNameStateFocus),a.removeClassFrom(this.$label,t.classNameFormElementCommon,t.classNameLabel,t.classNameStateFocus),a.removeClassFrom(this.$wrapper,t.classNameWrapper,"",t.classNameStateFocus)},t.prototype._fireChangeEvent=function(e){if(void 0===e&&(e=!1),e)this.$el.trigger("change.bcFormElement",[{isSilent:!0}]);else if("createEvent"in document){var t=document.createEvent("Event");t.initEvent("change",!0,!0),this.el.dispatchEvent(t)}else{this.el.fireEvent("onchange")}},t.prototype._setLabelText=function(){var e=this;if(this._config.label)this.$label.prepend(this._config.label),this.labelBeforeText=this._config.label,this.labelAfterText="";else{var t=this.$label.contents(),o=$(),s=$(),i=!0;t.each(function(t,a){a!==e.$el[0]?i?o=o.add($(a)):s=s.add($(a)):i=!1}),o.text(function(e,t){return $.trim(t)}),s.text(function(e,t){return $.trim(t)}),this.labelBeforeText=o.text()||this.$el.attr("title")||"",this.labelAfterText=s.text()||"",this.labelBeforeText&&this.$label.prepend(o),this.labelAfterText&&this.$label.append(s)}this.label=this.labelBeforeText+this.labelAfterText},t.prototype._asignLabel=function(){this.hasLabelByForAttr=!1;var e=this.$el.closest("label"),o=!!e.length;this.isWrappedByLabel=o,o||(o=!!(e=$('label[for="'+this.id+'"]')).length,this.hasLabelByForAttr=o),this._config.autoLabeling&&!o&&((e=$("<"+this._config.labelTag.toLowerCase()+" />")).insertAfter(this.$el),this._config.labelClass&&e.addClass(this._config.labelClass),"label"===this._config.labelTag.toLowerCase()&&e.attr("for",this.id)),a.addClassTo(e,t.classNameFormElementCommon),a.addClassTo(e,t.classNameFormElementCommon,t.classNameLabel),this.$label=e},t.defaultOption={label:"",labelTag:"label",labelClass:"",autoLabeling:!0},t.classNameFormElementCommon="form-element",t.classNameWrapper="wrapper",t.classNameLabel="label",t.classNameStateFocus="focus",t.classNameStateBlur="blur",t.classNameStateDisabled="disabled",t.elements=[],t}(a);e.exports=n},function(e,t,o){"use strict";var s=function(){function e(){}return e.UID=function(e){void 0===e&&(e="uid");var t=1e8*Math.random(),o=(new Date).valueOf(),s=Math.abs(Math.floor(t+o));return e&&(e+="-"),""+e+s.toString(24)},e.hyphenDelimited=function(e){for(var t=[],o=0,s=e.replace(/[A-Z]/g,function(e){return" "+e.toLowerCase()}).split(/[^a-z0-9]+/gi);o<s.length;o++){var i=s[o];i&&t.push(i.toLowerCase())}return t.join("-")},e.snakeCase=function(t){return e.hyphenDelimited(t).replace(/-/g,"_")},e.camelCase=function(t,o){void 0===o&&(o=!1);var s=e.hyphenDelimited(t);return o&&/^[a-z]/.test(s)&&(s="-"+s),s.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})},e.isFalsy=function(e){return/^\s*(?:false|null|undefined|0|0?(?:\.0+)?)?\s*$/i.test(e.toLowerCase())},e.divide=function(e,t){var o,s,i=e.split(t);return i&&(o=i.shift(),i.length&&(s=i.join(t))),[o,s]},e}();e.exports=s},function(e,t,o){"use strict";var s=function(){function e(e){this._isImmediatePropagationStopped=!1,this._isDefaultPrevented=!1,this.type=e}return e.prototype.stopImmediatePropagation=function(){this._isImmediatePropagationStopped=!0},e.prototype.isImmediatePropagationStopped=function(){return this._isImmediatePropagationStopped},e.prototype.preventDefault=function(){this._isDefaultPrevented=!0},e.prototype.isDefaultPrevented=function(){return this._isDefaultPrevented},e}();e.exports=s},function(e,t,o){"use strict";
10var s,i=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=o(5),n=function(e){function t(){var t=e.call(this)||this;return t.interval=13,t._timerId=null,t.now(),t}return i(t,e),t.wait=function(e,o,s){return(new t).wait(e,o,s)},t.prototype.valueOf=function(){return this._currentTime.valueOf()},t.prototype.now=function(){return this._currentTime=new Date,this.valueOf()},t.prototype.start=function(e){var t=this;void 0===e&&(e=1/0);var o=this.now();clearTimeout(this._timerId);var s=function(e){t._timerId=setTimeout(function(){var i=t.now();if(i-o<e){s(e);var n=new a("progress");t.trigger(n,[i,o,t],t),n.isDefaultPrevented()&&t.stop()}else t.stop()},t.interval)};return s(e),this},t.prototype.stop=function(){var e=this.now(),t=new a("stop");return this.trigger(t,[e,this._timerId,this],this),t.isDefaultPrevented()||(clearTimeout(this._timerId),this._timerId=null),this},t.prototype.wait=function(e,t,o){var s=this;o=o||this;var i=this.now();return clearTimeout(this._timerId),this._timerId=setTimeout(function(){s.stop();var e=s.now();t.call(o,e,i,o)},e),this},t}(o(1));e.exports=n},function(e,t,o){"use strict";var s=function(){function e(){}return e.random=function(e,t){void 0===e&&(e=1),void 0===t&&(t=0);var o=Math.random(),s=Math.min(e,t);return o*(Math.max(e,t)-s)+s},e.sum=function(e){for(var t=e.slice(),o=0;t.length;)o+=t.shift();return o},e.split=function(e,t){var o=[];e=Math.floor(e),t=Math.floor(t);var s=Math.floor(e/t);if(0<t)for(var i=t,a=e%t,n=a;i--;)0<n||a<0&&0===n?o.push(s+1):o.push(s),n+=a<0?1:-1;return o},e.stretchDimension=function(e,t,o,s,i,a,n){void 0===i&&(i="contain"),void 0===a&&(a="center"),void 0===n&&(n="center");var r=1,l=o/s,c=e/t;switch(i){case"cover":r=1<c?1<o&&l<c?e/o:t/s:1<s&&c<l?t/s:e/o;break;case"contain":r=1<c?1<o&&l<c?t/s:e/o:1<s&&c<l?e/o:t/s}var p,u,h=o*r,d=s*r;switch(n){case"top":p=0;break;case"bottom":p=t-d;break;default:p=t/2-d/2}switch(a){case"left":u=0;break;case"right":u=e-h;break;default:u=e/2-h/2}return{width:h,height:d,top:p,left:u}},e}();e.exports=s},function(e,t,o){"use strict";var s,i=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=o(0),n=o(3),r=function(e){function t(o,s){var i=e.call(this,o,$.extend({},t.defaultOption,s))||this;return i._elementized?i:o.querySelector?(i._checkedClass=i._config.checkedClass,i.checked=i.el.checked,i.defaultChecked=i.el.defaultChecked,i._update(),i.$el.on("change.bcCheckableElement",function(){i._onchenge()}),i):i}return i(t,e),t.prototype.update=function(){this.$el.prop("checked")!==this.checked&&this._update()},t.prototype._onchenge=function(){this.checked=!this.checked,this._update()},t.prototype._update=function(){var e=this.el.checked;this.$el.attr("aria-checked",""+e),e?(this.$el.addClass(this._checkedClass),this.$label.addClass(this._checkedClass),this.$wrapper.addClass(this._checkedClass),a.addClass(this.el,n.classNameFormElementCommon,"",t.classNameStateChecked),a.addClassTo(this.$label,n.classNameFormElementCommon,n.classNameLabel,t.classNameStateChecked),a.addClassTo(this.$wrapper,n.classNameWrapper,"",t.classNameStateChecked),a.removeClass(this.el,n.classNameFormElementCommon,"",t.classNameStateUnchecked),a.removeClassFrom(this.$label,n.classNameFormElementCommon,n.classNameLabel,t.classNameStateUnchecked),a.removeClassFrom(this.$wrapper,n.classNameWrapper,"",t.classNameStateUnchecked)):(this.$el.removeClass(this._checkedClass),this.$label.removeClass(this._checkedClass),this.$wrapper.removeClass(this._checkedClass),a.addClass(this.el,n.classNameFormElementCommon,"",t.classNameStateUnchecked),a.addClassTo(this.$label,n.classNameFormElementCommon,n.classNameLabel,t.classNameStateUnchecked),a.addClassTo(this.$wrapper,n.classNameWrapper,"",t.classNameStateUnchecked),a.removeClass(this.el,n.classNameFormElementCommon,"",t.classNameStateChecked),a.removeClassFrom(this.$label,n.classNameFormElementCommon,n.classNameLabel,t.classNameStateChecked),a.removeClassFrom(this.$wrapper,n.classNameWrapper,"",t.classNameStateChecked)),this.checked=e},t.defaultOption={checkedClass:""},t.classNameStateChecked="checked",t.classNameStateUnchecked="unchecked",t}(n);e.exports=r},function(e,t,o){"use strict";var s,i;(i=s||(s={}))[i.HYPHEN=0]="HYPHEN",i[i.DOUBLE_HYPHEN=1]="DOUBLE_HYPHEN",i[i.UNDERSCORE=2]="UNDERSCORE",i[i.DOUBLE_UNDERSCORE=3]="DOUBLE_UNDERSCORE",i[i.CAMEL_CASE=4]="CAMEL_CASE",e.exports=s},function(e,t,o){"use strict";var s,i;(i=s||(s={}))[i.HYPHEN_DELIMITED=0]="HYPHEN_DELIMITED",i[i.SNAKE_CASE=1]="SNAKE_CASE",i[i.CAMEL_CASE=2]="CAMEL_CASE",e.exports=s},function(e,t,o){"use strict";
10var s,i=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=o(4),n=o(1),r=o(2),l=o(14),c=o(0),p=function(e){function t(o,s,i){void 0===s&&(s=0);var n=e.call(this)||this;n.$el=o,t.boot();var r,c=n.$el.data(t.DATA_KEY_ID);return c&&n.destroy(),c=a.UID(),n.$el.data(t.DATA_KEY_ID,c),n.$el.data(t.DATA_KEY,n),t.groups[c]=n,r="number"==typeof s?{Infinity:s}:s,n._columns=new l(r,function(e,t,o){n._currentColumn=e,n._align()}),n._callback=i,n._align(),n.on("realign",function(){n._align()}),n}return i(t,e),t.createChar=function(){var e=$("<del>M</del>").css({display:"block",visibility:"hidden",position:"absolute",padding:0,top:0,zIndex:-1});e.appendTo("body"),t.dummyCharElement=e[0],t.currentFontSize=t.dummyCharElement.offsetHeight},t.isChanged=function(){return t.currentFontSize!==t.dummyCharElement.offsetHeight&&(t.currentFontSize=t.dummyCharElement.offsetHeight,!0)},t.observerForFontSize=function(){t.isChanged()&&t.reAlign()},t.reAlign=function(){for(var e in t.groups)t.groups.hasOwnProperty(e)&&t.groups[e].trigger("realign")},t.boot=function(){t.isBooted||($(window).on("load",t.reAlign),r.browser.on("resizeend",t.reAlign),t.isBooted=!0,t.createChar(),t.watchTimer=window.setInterval(t.observerForFontSize,t.watchInterval))},t.prototype.destroy=function(){this.$el.each(function(e,o){var s=$(o),i=s.data(t.DATA_KEY_ID);s.removeData(t.DATA_KEY_ID),i in t.groups&&delete t.groups[i]})},t.prototype._align=function(){var e=this,t=[],o=0,s=this.$el.length-1;this.$el.each(function(i,a){var n=$(a);c.removeCSSPropertyFromDOMElement("height",a);var r=i%e._currentColumn;0===r&&(t=[]),t[r]=n;var l=n.height();if((0===r||l>o)&&(o=l),i===s||r===e._currentColumn-1)for(var p=0,u=t;p<u.length;p++){var h=u[p];if(h){var d=!1;e._callback&&(d=!e._callback(o,l,e)),d||h.height(o)}}})},t.DATA_KEY="bc-box",t.DATA_KEY_ID=t.DATA_KEY+"-id",t.watchInterval=1e3,t.isBooted=!1,t.groups={},t}(n);e.exports=p},function(e,t,o){"use strict";var s=o(4),i=function(){function e(e,t,o){this.context=e,this.id=s.UID(),this.type=t,this._handler=o}return e.prototype.fire=function(e,t,o){var s=this._handler.apply(e,[t].concat(o));return void 0!==s&&!s},e}();e.exports=i},function(e,t,o){"use strict";var s=o(4),i=function(){function e(e){this.protocol=e.protocol,this.host=e.host,this.hostname=e.hostname,this.port=e.port,this.pathname=e.pathname,this.search=e.search,this.hash=e.hash,this.update()}return e.parseQueryString=function(e){var t={};if(e)for(var o=0,i=e.split(/&/g);o<i.length;o++){var a=i[o],n=s.divide(a,"="),r=n[0],l=n[1];if(r)if(/\[\]$/.test(r)){var c=t[r=r.replace(/\[\]$/,"")];c&&c instanceof Array?(c.push(l),t[r]=c):t[r]=[l]}else t[r]=l}return t},e.prototype.update=function(){return this.origin=this.protocol+"//"+this.host,this.path=""+this.pathname+this.search+this.hash,this.href=""+this.origin+this.path,this.query=this.search.replace(/^\?/,""),this.params=e.parseQueryString(this.query),this},e.prototype.addParam=function(e,t){if("string"!=typeof t&&t)for(var o=0,s=t;o<s.length;o++){var i=s[o];a="";void 0!==i&&(a="="+i),this.search?this.search+="&"+e+"[]"+a:this.search="?"+e+"[]"+a}else{var a="";void 0!==t&&(a="="+t),this.search?this.search+="&"+e+a:this.search="?"+e+a}return this.update(),this},e.prototype.removeParam=function(e){return this.search=this.search.replace(new RegExp(e+"(?:\\[\\])?(?:=[^&]*)?(&|$)","g"),""),this.update(),this},e.prototype.toString=function(){return this.update(),this.href},e}();e.exports=i},function(e,t,o){"use strict";var s,i=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=o(1),n=o(2),r=function(e){function t(t,o){var s=e.call(this)||this;return s.currentPoint=0,s.breakPoints=[],s._values={},s._setBreakPoints(t),n.browser.on("resizeend",function(){for(var e=Math.max(window.document.documentElement.clientWidth,window.innerWidth),t=0,i=s.breakPoints;t<i.length;t++){var a=i[t];if(e<=a){if(s.currentPoint!==a){s.currentPoint=a;var n=s._values[a];o&&o(n,a,e),s.trigger("breakpoint",[n,a,e],s),s.trigger("breakpoint:"+a,[n,e],s)}break}}}),n.browser.trigger("resizeend"),s}return i(t,e),t.prototype.add=function(e){this._setBreakPoints(e)},t.prototype._setBreakPoints=function(e){for(var t in e)if(e.hasOwnProperty(t)){var o=void 0;if((o=/^defaults?$/i.test(t)?1/0:parseFloat(t))>=1){this.breakPoints.push(o);var s=e[t];this._values[o]=s}}this.breakPoints.sort(function(e,t){return e-t})},t}(a);e.exports=r},function(e,t,o){"use strict";
10var s,i=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=o(7),n=o(2),r=function(e){function t(o,s){var i=e.call(this,o)||this;if(i._elementized)return i;if(!o.querySelector)return i;i.$el.addClass(t.className),i.$el.data(t.className,i),i._config=$.extend({},t.defaultOption,s),i._$bgElement=i.$el.find(i._config.child);var a=i._$bgElement.is("img");if(i._bgWidth=+(i.$el.data("width")||i._$bgElement.data("width")||i._$bgElement.attr("width")||i._$bgElement.width())||400,i._bgHeight=+(i.$el.data("height")||i._$bgElement.data("height")||i._$bgElement.attr("height")||i._$bgElement.height())||300,a&&i._config.useCSSBackgroundImage){var r=i._$bgElement[0];i.$el.css({backgroundImage:"url("+r.src+")",backgroundSize:i._config.size,backgroundPosition:i._config.align+" "+i._config.valign,backgroundRepeat:"no-repeat"}),i._$bgElement.detach()}else{var l=i.$el.css("position");"static"!==l&&""!==l&&null!=l||i.$el.css("position","relative"),i._$bgElement.css({position:"absolute"}),i._bgStyle={width:0,height:0,top:0,left:0,maxWidth:"none",minWidth:0,maxHeight:"none",minHeight:0},i.calc(),n.browser.on("resizeend",i.calc.bind(i))}return i}return i(t,e),t.prototype.calc=function(){var e=this._config.outer?this.$el.outerWidth():this.$el.width(),t=this._config.outer?this.$el.outerHeight():this.$el.height(),o=a.stretchDimension(e,t,this._bgWidth,this._bgHeight,this._config.size,this._config.align,this._config.valign),s=o.width,i=o.height,n=o.top,r=o.left;this._bgStyle.width=s,this._bgStyle.height=i,this._bgStyle.top=n,this._bgStyle.left=r,this._$bgElement.css(this._bgStyle)},t.className="-bc-background-container-element",t.defaultOption={align:"center",valign:"center",size:"cover",child:">*:first",outer:!1,useCSSBackgroundImage:!1},t}(o(0));e.exports=r},function(e,t,o){"use strict";var s,i=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=o(0),n=o(3),r=function(e){function t(o,s){var i=e.call(this,o,s)||this;return i._elementized?i:o.querySelector?(i.addClass(t.classNameCheckbox),a.addClassTo(i.$label,t.classNameCheckbox,n.classNameLabel),a.addClassTo(i.$wrapper,t.classNameCheckbox+"-"+n.classNameWrapper),i):i}return i(t,e),t.classNameCheckbox="form-checkbox",t}(o(8));e.exports=r},function(e,t,o){"use strict";var s,i=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=o(0),n=o(2),r=function(e){function t(o,s){var i=e.call(this,o)||this;if(i._elementized)return i;if(!o.querySelector)return i;if("google"in window&&google.maps)i.$el.addClass(t.className),i.mapOption=$.extend({},s),i._init(),t.maps.push(i),i.$el.data(t.className,i);else if("console"in window)return console.warn('ReferenceError: "//maps.google.com/maps/api/js" ãå
ã«èªã¿è¾¼ãå¿
è¦ãããã¾ãã'),i;return i}return i(t,e),t.getLatLngByAddress=function(e,t){(new google.maps.Geocoder).geocode({address:e},function(o,s){switch(s){case google.maps.GeocoderStatus.OK:var i=o[0].geometry.location.lat(),a=o[0].geometry.location.lng();t(i,a);break;case google.maps.GeocoderStatus.INVALID_REQUEST:case google.maps.GeocoderStatus.ZERO_RESULTS:console&&console.warn&&console.warn('ReferenceError: "'+e+'ã¯ä¸æ£ãªä½æã ã£ãããçµæãè¿ããã¨ãã§ãã¾ããã§ããã"');break;case google.maps.GeocoderStatus.OVER_QUERY_LIMIT:console&&console.warn&&console.warn('Error: "ãªã¯ã¨ã¹ãæ°ã®ä¸éãè¶
ãã¾ããã'+e+'ã¯å¦çããã¾ããã"');break;case google.maps.GeocoderStatus.ERROR:case google.maps.GeocoderStatus.UNKNOWN_ERROR:console&&console.warn&&console.warn('Error: "ã¨ã©ã¼ãçºçãã¾ããã'+e+'ã¯å¦çããã¾ããã"')}})},t.prototype.reload=function(e){this.mapOption=e?$.extend({},e):this.mapOption,this._init()},t.prototype._init=function(){var e=this;this.mapOption=$.extend(this.mapOption,{zoom:this.$el.data("zoom"),fitBounds:this.$el.data("fit-bounds")}),this.markerBounds=new google.maps.LatLngBounds;var o=this.$el.data("lat")||t.defaultLat,s=this.$el.data("lng")||t.defaultLng,i=this.$el.data("address")||"";i?t.getLatLngByAddress(i,function(t,o){e._render(t,o)}):this._render(o,s)},t.prototype._render=function(e,t){var o=this;this.$coordinates=this.$coordinates||this.$el.find("[data-lat][data-lng], [data-address]").detach(),this.$coordinates.length<=0&&(this.$coordinates=this.$el);var s=[];this.$coordinates.each(function(e,t){var i=new l(t,o);s.push(i)}),this.mapOption=$.extend({zoom:14,mapTypeControlOptions:{mapTypeIds:[google.maps.MapTypeId.HYBRID,google.maps.MapTypeId.ROADMAP]},scrollwheel:!1,center:new google.maps.LatLng(e,t),styles:null},this.mapOption),this.info=new google.maps.InfoWindow({disableAutoPan:!0}),this.gmap=new google.maps.Map(this.el,$.extend({},this.mapOption,{fitBounds:google.maps.Map.prototype.fitBounds})),$.each(s,function(e,t){t.markTo(function(e){o.mapOption.fitBounds&&(o.markerBounds.extend(e.position),o.gmap.fitBounds(o.markerBounds))})})},t.defaultLat=35.681382,t.defaultLng=139.766084,t.className="-bc-map-element",t.maps=[],t}(a),l=function(){function e(e,t){var o=this;this.icon=null,this.el=e,this.$el=$(e),this._map=t;var s=this.$el.data("address"),i=$.Deferred();s?r.getLatLngByAddress(s,function(e,t){o.lat=e,o.lng=t,o.position=new google.maps.LatLng(o.lat,o.lng),i.resolve()}):(this.lat=+this.$el.data("lat"),this.lng=+this.$el.data("lng"),this.position=new google.maps.LatLng(this.lat,this.lng),i.resolve()),this._promiseLatLng=i.promise()}return e.prototype.markTo=function(e){var t=this;this._promiseLatLng.done(function(){t._markTo(),e&&e(t)})},e.prototype.openInfoWindow=function(){this._map.info.setContent(this.el),this._map.info.open(this._map.gmap,this.marker),this.marker.setZIndex(google.maps.Marker.MAX_ZINDEX+1);var e=this._map.info.getContent(),t=this._map.gmap.getProjection(),o=t.fromLatLngToPoint(this.position),s=Math.pow(2,this._map.gmap.getZoom()),i=$(e).height(),a=(o.y*s-i)/s,n=new google.maps.Point(o.x,a),r=t.fromPointToLatLng(n);this._map.gmap.panTo(r)},e.prototype._markTo=function(){this.title=this.$el.attr("title")||this.$el.data("title")||this.$el.find("h1,h2,h3,h4,h5,h6").text()||null;var e=this.$el.data("icon"),t=this.$el.data("iconSize"),o=this.$el.data("iconHref"),s="_blank"===this.$el.data("iconTarget")||!1;if(e&&(this.icon={},this.icon.url=e,t)){var i=(""+t).split(/\s+/),a=+i[0]||null;if(a){var r=+i[1]||a,l=new google.maps.Size(a,r);this.icon.size=l,this.icon.scaledSize=l}}this.marker=new google.maps.Marker({position:this.position,title:this.title,icon:this.icon,map:this._map.gmap}),o?google.maps.event.addListener(this.marker,"click",n.jumpTo.bind(null,o,s)):this._map.$coordinates!==this._map.$el&&google.maps.event.addListener(this.marker,"click",this.openInfoWindow.bind(this))},e}();e.exports=r},function(e,t,o){"use strict";
10var s,i=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=o(0),n=o(3),r=o(8),l=o(19),c=function(e){function t(o,s){var i=e.call(this,o,s)||this;return i._elementized?i:o.querySelector?(i.addClass(t.classNameRadio),a.addClassTo(i.$label,t.classNameRadio,n.classNameLabel),a.addClassTo(i.$wrapper,t.classNameRadio+"-"+n.classNameWrapper),l.groups[i.name]||(l.groups[i.name]=new l(i.name)),l.groups[i.name].add(i),i):i}return i(t,e),t.prototype._onchenge=function(){e.prototype._onchenge.call(this),l.groups[this.name].update(this)},t.classNameRadio="form-radio",t}(r);e.exports=c},function(e,t,o){"use strict";var s=function(){function e(e){this._radioButtons=[],this.name=e}return e.prototype.add=function(e){for(var t=0,o=this._radioButtons;t<o.length;t++){if(o[t]===e)return}this._radioButtons.push(e)},e.prototype.update=function(e){for(var t=0,o=this._radioButtons;t<o.length;t++){var s=o[t];s!==e&&s.update()}},e.groups={},e}();e.exports=s},function(e,t,o){"use strict";var s=o(6),i=function(){function e(){this.timer=new s}return e.prototype.to=function(t,o){var i=this;this.options=o||{};var a=this.options.offset||0;if(this.options.wheelCancel&&$(document).on("wheel",function(){i.isScroll&&(i._finish(),$.isFunction(i.options.onScrollCancel)&&i.options.onScrollCancel.call(i,new $.Event("scrollcancel")))}),"number"==typeof t)a+=t||0,this.targetX=0,this.targetY=a;else{if(!t){var n=$(window.location.hash);return n.length&&s.wait(e.delayWhenURLHashTarget,function(){window.scrollTo(0,0),i.to(n,{offset:a})}),this}var r=$(t);if(!r.length)return this;for(var l=r[0],c=0,p=0;l;)c+=l.offsetLeft,p+=l.offsetTop,l=l.offsetParent;var u=document.documentElement.clientWidth,h=document.documentElement.clientHeight,d=document.documentElement.scrollWidth,m=document.documentElement.scrollHeight,f=Math.max(u,d),_=Math.max(h,m);this.targetX=Math.min(c,f)+a,this.targetY=Math.min(p,_)+a}return this.isScroll||(this.isScroll=!0,$.isFunction(this.options.onScrollStart)&&this.options.onScrollStart.call(this,new $.Event("scrollstart")),this._progress()),this},e.prototype._progress=function(){var t=this._getX(),o=this._getY(),s=(this.targetX-t)/e.speed,i=(this.targetY-o)/e.speed;if(Math.abs(s)<1&&Math.abs(i)<1||this.prevX===t&&this.prevY===o)window.scrollTo(this.targetX,this.targetY),this._finish(),$.isFunction(this.options.onScrollEnd)&&this.options.onScrollEnd.call(this,new $.Event("scrollend"));else{var a=Math.floor(t+s),n=Math.floor(o+i);window.scrollTo(a,n),this.prevX=t,this.prevY=o,$.isFunction(this.options.onScrollProgress)&&this.options.onScrollProgress.call(this,new $.Event("scrollprogress")),this.timer.wait(e.interval,this._progress,this)}},e.prototype._getX=function(){return void 0!==window.pageXOffset?window.pageXOffset:document.documentElement.scrollLeft||document.body.scrollLeft},e.prototype._getY=function(){return void 0!==window.pageYOffset?window.pageYOffset:document.documentElement.scrollTop||document.body.scrollTop},e.prototype._finish=function(){this.isScroll=!1,this.prevX=null,this.prevY=null,this.timer.stop()},e.speed=4,e.interval=20,e.delayWhenURLHashTarget=30,e}();e.exports=i},function(e,t,o){"use strict";var s,i=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=o(0),n=o(3),r=o(2),l=function(e){function t(o,s){var i=e.call(this,o,$.extend({},t.defaultOption,s))||this;return i._elementized?i:o.querySelector?(i._update(),i):i}return i(t,e),t.prototype._setClassName=function(){e.prototype._setClassName.call(this),this.addClass(t.classNameSelect)},t.prototype._createWrapper=function(){e.prototype._createWrapper.call(this),a.addClassTo(this.$wrapper,t.classNameSelect+"-"+n.classNameWrapper)},t.prototype._createPsuedoElements=function(){var e=this;this.$pseudo=$("<a />"),this.$pseudo.attr("href","#"),this.$pseudo.insertAfter(this.$el),a.addClassTo(this.$pseudo,n.classNameFormElementCommon),a.addClassTo(this.$pseudo,t.classNamePseudoSelect),this.$selected=$("<span />"),this.$selected.appendTo(this.$pseudo),a.addClassTo(this.$selected,n.classNameFormElementCommon),a.addClassTo(this.$selected,t.classNamePseudoSelect,t.classNamePseudoSelectedDisplay),this._config.useDefaultOptionList||(this.$options=$("<ul />"),this.$options.appendTo(this.$pseudo),a.addClassTo(this.$options,n.classNameFormElementCommon),a.addClassTo(this.$options,t.classNamePseudoSelect,t.classNameSelectOptionList),this.$el.find("option").each(function(o,s){var i=$(s),r=i.val(),l=i.text(),c=$("<li />");c.appendTo(e.$options),c.data("value",r),c.text(l),a.addClassTo(c,n.classNameFormElementCommon),a.addClassTo(c,t.classNameSelectOptionList,t.classNameSelectOption)})),r.spec.isTouchable&&(r.spec.ua.iPhone||r.spec.ua.iPod?(this.addClass(t.classNameOsIOs),a.addClassTo(this.$wrapper,t.classNameOsIOs),a.addClassTo(this.$label,t.classNameOsIOs)):r.spec.ua.android&&(this.addClass(t.classNameOsAndroid),a.addClassTo(this.$wrapper,t.classNameOsAndroid),a.addClassTo(this.$label,t.classNameOsAndroid))),this._config.useDefaultOptionList&&(this.addClass(t.classNameUseDefaultOptionList),a.addClassTo(this.$wrapper,t.classNameUseDefaultOptionList),a.addClassTo(this.$label,t.classNameUseDefaultOptionList))},t.prototype._bindEvents=function(){var t=this;e.prototype._bindEvents.call(this),this.$el.on("change.bcSelect",function(){t._update()}),this.$pseudo.on("click.bcSelect","li",function(e){var o=$(e.target).index();t._onblur(),t.setIndex(o),e.stopPropagation(),e.preventDefault()}),this.$pseudo.on("click.bcSelect",function(e){e.preventDefault()}),this._config.useDefaultOptionList?this.$pseudo.removeAttr("href"):this._psuedoFocusEvent()},t.prototype._onSilentChange=function(){this._update()},t.prototype.update=function(){return this._update(),this},t.prototype.setValue=function(e){var t=""+e,o=this.$el.find('option[value="'+t+'"]');o.length&&!o.prop("selected")&&(o.prop("selected",!0),this._fireChangeEvent())},t.prototype.setIndex=function(e,t){void 0===t&&(t=!1);var o=this.$el.find("option").eq(e);!o.length||o.prop("selected")||o.prop("disabled")||(o.prop("selected",!0),this._fireChangeEvent(t))},t.prototype.getIndex=function(){var e=0;return this.$el.find("option").each(function(t,o){var s=$(o);s.prop("selected")&&(e=s.index())}),e},t.prototype.next=function(e){var t=this.getIndex(),o=this.$el.find("option").length,s=t+1;this.setIndex(Math.min(s,o),e)},t.prototype.prev=function(e){var t=this.getIndex()-1;this.setIndex(Math.max(t,0),e)},t.prototype.setDisabled=function(t){e.prototype.setDisabled.call(this,t),this.disabled?this.$pseudo.attr("tabindex",-1):this.$pseudo.removeAttr("tabindex")},t.prototype._onfocus=function(){this.hasFocus||($(document).triggerHandler("click.bcSelect"),e.prototype._onfocus.call(this),a.addClassTo(this.$pseudo,t.classNamePseudoSelect,"",n.classNameStateFocus),a.removeClassFrom(this.$pseudo,t.classNamePseudoSelect,"",n.classNameStateBlur),this._scrollToSelectedPosition(),this._currentIndex=this.getIndex())}
10,t.prototype._onblur=function(){this.$pseudo&&(e.prototype._onblur.call(this),a.addClassTo(this.$pseudo,t.classNamePseudoSelect,"",n.classNameStateBlur),a.removeClassFrom(this.$pseudo,t.classNamePseudoSelect,"",n.classNameStateFocus))},t.prototype._update=function(){var e,o=this;this.$options&&(e=this.$options.find("li")),this.$el.find("option").each(function(s,i){var n=$(i),r=n.prop("selected");if(r&&o.$selected.text(n.text()),o.$options){var l=n.prop("disabled"),c=e.eq(s);c.attr("aria-selected",""+r),c.attr("aria-disabled",""+l),r?(a.addClassTo(c,t.classNameSelectOptionList,t.classNameSelectOption,t.classNameStateSelected),a.removeClassFrom(c,t.classNameSelectOptionList,t.classNameSelectOption,t.classNameStateUnselected)):(a.addClassTo(c,t.classNameSelectOptionList,t.classNameSelectOption,t.classNameStateUnselected),a.removeClassFrom(c,t.classNameSelectOptionList,t.classNameSelectOption,t.classNameStateSelected)),l?a.addClassTo(c,t.classNameSelectOptionList,t.classNameSelectOption,t.classNameStateDisabled):a.removeClassFrom(c,t.classNameSelectOptionList,t.classNameSelectOption,t.classNameStateDisabled)}})},t.prototype._scrollToSelectedPosition=function(){if(this.$options){var e,t=this.$options.find("li");this.$el.find("option").each(function(o,s){$(s).prop("selected")&&(e=t.eq(o))}),this.$options.scrollTop(0);var o=e.offset(),s=this.$options.offset();o&&s&&this.$options.scrollTop(o.top-s.top)}},t.prototype._psuedoFocusEvent=function(){var e=this;this.$el.off("focus.bcFormElement"),this.$el.off("blur.bcFormElement"),this.$el.on("focus.bcSelect",function(t){e.disabled||e.$pseudo.focus(),t.stopPropagation(),t.preventDefault()}),$(document).on("click.bcSelect",function(t){e._onblur()}),$(document).on("focusin",function(t){e._onblur()}),this.$pseudo.on("focus.bcSelect",function(t){e.disabled?e.$pseudo.blur():e._onfocus(),t.stopPropagation()}).on("click.bcSelect",function(t){e.disabled||e._onfocus(),t.stopPropagation(),t.preventDefault()}),this.$label.on("click.bcSelect focus.bcSelect",function(e){e.stopPropagation()}),this._bindKeybordEvent()},t.prototype._bindKeybordEvent=function(){var e=this;$(document).on("keydown",function(t){if(e.hasFocus)switch(t.keyCode){case 38:e.prev(!0),e._scrollToSelectedPosition(),t.preventDefault();break;case 40:e.next(!0),e._scrollToSelectedPosition(),t.preventDefault();break;case 13:e._currentIndex!==e.getIndex()&&e._fireChangeEvent(),e._onblur(),t.preventDefault()}})},t.defaultOption={useDefaultOptionList:r.spec.isTouchable&&r.spec.ua.iPhone||r.spec.ua.iPod||r.spec.ua.android},t.classNameSelect="form-select",t.classNamePseudoSelect="pseudo-select",t.classNamePseudoSelectedDisplay="selected-display",t.classNameSelectOptionList="option-list",t.classNameSelectOption="item",t.classNameOsIOs="os-i-os",t.classNameOsAndroid="os-android",t.classNameUseDefaultOptionList="use-default-option-list",t.classNameStateSelected="selected",t.classNameStateUnselected="unselected",t}(n);e.exports=l},function(e,t,o){"use strict";var s=function(){function e(){}return e.remove=function(e,t){return e.splice(t,1),e},e.shuffle=function(e){for(var t=e.concat(),o=t.length-1;o>=0;o--){var s=Math.floor(Math.random()*(o+1)),i=t[o];t[o]=t[s],t[s]=i}return t},e}();e.exports=s},function(e,t,o){"use strict";var s,i=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=o(22),n=o(0),r=o(2),l=function(e){function t(o,s){var i=e.call(this,o)||this;return i.isEmbeded=!1,i._elementized?i:o.querySelector?(i._init(s)&&(t.movies.push(i),i.$el.addClass(t.className),i.$el.data(t.className,i)),i):i}return i(t,e),t.getURI=function(e,o){var s=$.param(o);return""+r.apiScheme+t.PLAYER_URL+e+"?"+s},t.getPosterImage=function(e,t){void 0===t&&(t=!1);var o=t?"//i.ytimg.com/vi/":"//img.youtube.com/vi/",s=t?"/maxresdefault.jpg":"/0.jpg";return""+r.apiScheme+o+e+s},t.prototype.reload=function(e){this._init(e)},t.prototype.mute=function(){this.player.mute(),this._isMuted=!0,this.trigger("onmute",[this.player])},t.prototype.unMute=function(){this.player.unMute(),this._isMuted=!1,this.trigger("onunmute",[this.player])},t.prototype.muteController=function(e,t){var o=this,s=$(e),i=$.extend({eventType:"click",mutedClass:"is-muted",unmutedClass:"is-unmuted",baseClass:"youtube-mute-ctrl"},t);n.addClassTo(s,i.baseClass);var a=function(){o._isMuted?(n.addClassTo(s,i.baseClass,"",i.mutedClass),n.removeClassFrom(s,i.baseClass,"",i.unmutedClass)):(n.addClassTo(s,i.baseClass,"",i.unmutedClass),n.removeClassFrom(s,i.baseClass,"",i.mutedClass))},r=function(){s.on(i.eventType,function(e){o._isMuted?o.unMute():o.mute(),a()}),a()};this.on("onmute onunmute",function(){a()}),this.isEmbeded?r():this.on("embeded",function(e,t){o.off(e.type),r()})},t.prototype._init=function(e){this.movieOption=this.mergeOptions({rel:!1,autoplay:!0,stopOnInactive:!1,controls:!1,loop:!0,showinfo:!1,mute:!1,id:"",width:400,height:300,index:0,poster:null,posterHighQuality:!1,startSeconds:0,suggestedQuality:"default",shuffle:!1,preEmbed:!0,playsinline:!1},e),r.spec.ua.iOS&&(this.movieOption.autoplay=!1,this.movieOption.preEmbed=!0);var o=this.movieOption.id.split(/\s*,\s*/);this.movieOption.shuffle&&(o=a.shuffle(o));var s=o[this.movieOption.index],i={version:3,rel:this.movieOption.rel?1:0,autoplay:0,controls:this.movieOption.controls?1:0,disablekb:1,iv_load_policy:3,loop:this.movieOption.loop?1:0,modestbranding:1,showinfo:this.movieOption.showinfo?1:0,wmode:"transparent",enablejsapi:1,playsinline:this.movieOption.playsinline?1:0};return this.src=t.getURI(s,i),this.movieId=o,this.playerDomId=this.id+"-Player",null===this.movieOption.poster||this.movieOption.autoplay?(this._createPlayerFrame(),this._loadYouTubeAPI()):this._createPosterImage(s),!0},t.prototype._createPosterImage=function(e){var o=this,s=$('<div class="-bc-element -bc-youtube-pseudo-poster-element" />');if(this.movieOption.width&&s.width(this.movieOption.width),this.movieOption.height&&s.height(this.movieOption.height),s.css({position:"absolute",top:0,left:0,pointerEvents:r.spec.ua.iOS?"none":"all",curs
10or:"pointer"}),/^@contents?$/i.test(this.movieOption.poster)){var i=this.$el.children().detach();this.movieOption.preEmbed&&(this._createPlayerFrame(),this._loadYouTubeAPI()),s.append(i),s.appendTo(this.$el)}else""===this.movieOption.poster&&(this.movieOption.poster=t.getPosterImage(e,this.movieOption.posterHighQuality)),this.movieOption.preEmbed?(this.$el.empty(),this._createPlayerFrame(),this._loadYouTubeAPI()):s.css({position:"relative"}),s.appendTo(this.$el),this.movieOption.width&&s.width(this.movieOption.width),this.movieOption.height&&s.height(this.movieOption.height),s.css({backgroundImage:'url("'+this.movieOption.poster+'")',backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundPosition:"center center",backgroundColor:"#000"});if(this.movieOption.preEmbed)s.on("click",function(){o.player&&(s.off("click"),o._$posterContainer.addClass("-bc-youtube-pseudo-poster-element--loading"),o.player.playVideo())});else{if(s.css({pointerEvents:"all"}),/^@contents?$/i.test(this.movieOption.poster)){i=this.$el.children().detach();s.append(i),s.appendTo(this.$el)}s.on("click",function(){o.movieOption.autoplay=!0,o._createPlayerFrame(),o._loadYouTubeAPI()})}this._$posterContainer=s}
10,t.prototype._createPlayerFrame=function(){var e=$('<iframe class="-bc-youtube-player-frame-element" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen />');e.prop({src:this.src,id:this.playerDomId}),e.css({position:"relative",display:"block",width:"100%",height:"100%"}),e.prependTo(this.$el),this.movieOption.width&&(e.width(this.movieOption.width),e.data("width",this.movieOption.width)),this.movieOption.height&&(e.height(this.movieOption.height),e.data("height",this.movieOption.height)),this._$frame=e},t.prototype._loadYouTubeAPI=function(){var e=this;"YT"in window&&YT.Player||$.getScript(""+r.apiScheme+t.API_URL);var o=window.setInterval(function(){!e.player&&"YT"in window&&YT.Player&&e._createPlayer(e.playerDomId),e.player&&e.player.pauseVideo&&e.player.playVideo&&(clearInterval(o),e._onEmbeded())},300)},t.prototype._createPlayer=function(e){var t=this;this.player=new YT.Player(e,{events:{onStateChange:function(e){switch(e.data){case-1:t.trigger("unstarted",[t.player]);var o=t.player.getPlaylistIndex();t.currentCueIndex!==o&&t.trigger("changecue",[t.player]),t.currentCueIndex=o;break;case YT.PlayerState.BUFFERING:t._$posterContainer&&t._$posterContainer.addClass("-bc-youtube-pseudo-poster-element--loading"),t.trigger("buffering",[t.player]);break;case YT.PlayerState.CUED:t.trigger("cued",[t.player]);break;case YT.PlayerState.ENDED:t.trigger("ended",[t.player]),t.movieId.length>1&&t.movieOption.loop&&t.currentCueIndex===t.movieId.length-1?t.player.playVideoAt(0):t.movieOption.loop&&t.player.playVideo();break;case YT.PlayerState.PAUSED:t.trigger("paused",[t.player]);break;case YT.PlayerState.PLAYING:t._hidePoster(),t.trigger("playing",[t.player]),t.currentCueIndex=t.player.getPlaylistIndex();break;default:"console"in window&&console.warn("YouTube Player state is unknown.")}}}})},t.prototype._onEmbeded=function(){var e=this;if(this.isEmbeded=!0,this._isMuted=this.player.isMuted(),this.movieOption.mute&&this.mute(),this.movieOption.stopOnInactive&&$(window).on("blur",function(){e.player.pauseVideo()}).on("focus",function(){e.player.playVideo()}),this.movieId.length>=2){var t=this.player;this.movieOption.autoplay?t.loadPlaylist(this.movieId,this.movieOption.index,this.movieOption.startSeconds,this.movieOption.suggestedQuality):t.cuePlaylist(this.movieId,this.movieOption.index,this.movieOption.startSeconds,this.movieOption.suggestedQuality)}else this.movieOption.autoplay&&this.player.playVideo();this.$el.trigger("embeddedyoutubeplay",[this.player]),this.trigger("embeded",[this.player])},t.prototype._hidePoster=function(){this._$posterContainer&&(this._$posterContainer.removeClass("-bc-youtube-pseudo-poster-element--loading"),this._$posterContainer.detach())},t.className="-bc-youtube-element",t.PLAYER_URL="//www.youtube.com/embed/",t.API_URL="//www.youtube.com/player_api",t.movies=[],t}(n);e.exports=l},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=o(25);window.baser=s;var i=o(29);$.extend($,i),$.extend($.fn,i.prototype)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=o(9),i=o(10);t.ClassNameSeparatorForBEM=s,t.ElementClassNameCase=i;var a=o(11),n=o(26),r=o(15),l=o(0),c=o(14),p=o(2),u=o(8),h=o(16),d=o(5),m=o(1),f=o(12),_=o(3),v=o(17),g=o(13),y=o(18),b=o(19),$=o(20),w=o(21),C=o(27),S=o(28),N=o(6),O=o(22),E=o(7),T=o(4),P=o(23);t.AlignedBoxes=a,t.AnimationFrames=n,t.BackgroundContainer=r,t.BaserElement=l,t.BreakPoints=c,t.Browser=p,t.CheckableElement=u,t.Checkbox=h,t.DispatchEvent=d,t.EventDispatcher=m,t.EventHandler=f,t.FormElement=_,t.GoogleMaps=v,t.Locational=g,t.Radio=y,t.RadioGroup=b,t.Scroll=$,t.Select=w,t.Sequence=C,t.TextField=S,t.Timer=N,t.UtilArray=O,t.UtilMath=E,t.UtilString=T,t.YouTube=P},function(e,t,o){"use strict";var s,i=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=o(5),n=function(e){function t(t){var o=e.call(this)||this;return o._isStop=!0,o._callback=t,o._isPolyfill=!("requestAnimationFrame"in window&&"cancelAnimationFrame"in window),o}return i(t,e),t.prototype.start=function(e){var o=this;e=e||this,this._isStop=!1;var s=(new Date).getTime();if(this._isPolyfill){var i=1e3/t.FRAME_RATE,n=function(){clearTimeout(o._requestId);var t=(new Date).getTime();
10if(o._enterFrame(e,t,s).isDefaultPrevented()||o._isStop){var r=new a("stop");o.trigger(r,[t,s,e],e)}else o._requestId=window.setTimeout(n,i)};this._requestId=window.setTimeout(n,i)}else{var r=function(t){if(cancelAnimationFrame(o._requestId),o._enterFrame(e,t,s).isDefaultPrevented()||o._isStop){var i=new a("stop");o.trigger(i,[t,s,e],e)}else o._requestId=requestAnimationFrame(r)};this._requestId=requestAnimationFrame(r)}return this},t.prototype.stop=function(){return this._isStop=!0,this._isPolyfill?clearTimeout(this._requestId):cancelAnimationFrame(this._requestId),this},t.prototype._enterFrame=function(e,t,o){this._callback&&this._callback.call(e,t,o,e);var s=new a("enterframe");return this.trigger(s,[t,o,e],this),s},t.FRAME_RATE=60,t}(o(1));e.exports=n},function(e,t,o){"use strict";var s,i=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=o(1),n=o(6),r=function(e){function t(t){var o=e.call(this)||this;o._tasks=[],o._currentTaskIndex=0,o._iterator=0,o._promise=null,o._resolver=null,o._waitingTime=0,o._waitTimer=new n,o._isStop=!0;for(var s=0,i=t;s<i.length;s++){var a=i[s];o._tasks.push(new l(a,o))}return o}return i(t,e),t.prototype.act=function(e,t){var o=this;void 0===t&&(t=!1),this._isStop=!1,this.trigger("beforeact");var s=this._tasks[this._currentTaskIndex].act(e);return this._setPromiseFrom(s),this._promise.done(function(e){o._reset(),o._currentTaskIndex+=1,o._iterator+=1,!o._isStop&&(o._currentTaskIndex<o._tasks.length||t)?(o._currentTaskIndex>=o._tasks.length&&t&&(o._currentTaskIndex=0),o.act(e,t)):o.trigger("stop")}).fail(function(){o._reset(),o.trigger("exit"),o.trigger("stop")}),this},t.prototype.loop=function(e){return this.act(e,!0)},t.prototype.exit=function(){return this._isStop=!0,this._resolver&&this._resolver.reject(),this},t.prototype.wait=function(e){this._waitingTime=e},t.prototype.getCount=function(){return this._iterator},t.prototype._setPromiseFrom=function(e){var t=this;this._isJQueryPromiseLikeObject(e)?this._promise=e.promise():(this._resolver=$.Deferred(),this._promise=this._resolver.promise(),this._waitTimer.wait(this._waitingTime,function(){t._resolver.resolve(e)}),this._waitTimer.on("cencel",function(){t._resolver.reject(e)}))},t.prototype._reset=function(){this._waitTimer.stop(),this._promise=null,this._resolver=null,this._waitingTime=0},t.prototype._isJQueryPromiseLikeObject=function(e){var t=["always","done","fail","pipe","progress","promise","state","then"];if(e instanceof jQuery)return!!e.promise;for(e=Object(e);t.length;){var o=t.shift();if(!(o in e&&$.isFunction(e[o])))return!1}return!0},t}(a),l=function(){function e(e,t){this._func=e,this._sequencer=t}return e.prototype.act=function(e){return this._func.call(this._sequencer,this._sequencer.getCount(),e)},e}();e.exports=r},function(e,t,o){"use strict";var s,i=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},function(e,t){function o(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=o(0),n=o(3),r=function(e){function t(o,s){var i=e.call(this,o,$.extend({},t.defaultOption,s))||this;return i.placeholder="",i._elementized?i:o.querySelector?(i.placeholder=i.$el.attr("placeholder")||"",i.hasPlaceholder=!!i.placeholder,i._update(),i):i}return i(t,e),t.prototype._setClassName=function(){e.prototype._setClassName.call(this),this.addClass(t.classNameTextField)},t.prototype._createWrapper=function(){e.prototype._createWrapper.call(this),a.addClassTo(this.$wrapper,t.classNameTextField+"-"+n.classNameWrapper)},t.prototype._bindEvents=function(){var o=this;e.prototype._bindEvents.call(this),$(document).on("keyup.bcTextField-"+this.id,function(e){o.hasFocus&&o._update()}),t.supportPlaceholder||(this.$el.on("focus.bcTextField click.bcTextField",function(){o._equalPlaceholder()&&o._msCaretMoveToTop()}),$(document).on("keydown.bcTextField-"+this.id,function(e){o.hasFocus&&o._equalPlaceholder()&&o.$el.val("")}
10))},t.prototype._update=function(){var e=!(this.$el.val()||"");t.supportPlaceholder?e?this._setStateUninputted():this._setStateInputted():this._equalPlaceholder()?this._setStateUninputted():e?(this._setStateUninputted(),this._setPlaceholderValue()):this._setStateInputted()},t.prototype._setStateInputted=function(){this.isEmpty=!1,a.removeClass(this.el,n.classNameFormElementCommon,"",t.classNameStateUninput),a.removeClassFrom(this.$label,n.classNameFormElementCommon,n.classNameLabel,t.classNameStateUninput),a.removeClassFrom(this.$wrapper,n.classNameWrapper,"",t.classNameStateUninput)},t.prototype._setStateUninputted=function(){this.isEmpty=!0,a.addClass(this.el,n.classNameFormElementCommon,"",t.classNameStateUninput),a.addClassTo(this.$label,n.classNameFormElementCommon,n.classNameLabel,t.classNameStateUninput),a.addClassTo(this.$wrapper,n.classNameWrapper,"",t.classNameStateUninput)},t.prototype._equalPlaceholder=function(){var e=this.$el.val()||"";return this.placeholder===e},t.prototype._setPlaceholderValue=function(){this.$el.val(this.placeholder),this._msCaretMoveToTop()},t.prototype._msCaretMoveToTop=function(){var e=this.el.createTextRange();e.collapse(),e.moveStart("character",0),e.moveEnd("character",0),e.select()},t.defaultOption={},t.classNameTextField="form-text-field",t.classNameStateUninput="uninput",t.supportPlaceholder=void 0!==$("<input />").prop("placeholder"),t}(n);e.exports=r},function(e,t,o){"use strict";var s=o(7),i=o(6),a=o(2),n=o(0),r=o(11),l=o(15),c=o(16),p=o(18),u=o(21),h=o(20),d=o(17),m=o(23),f=function(){function e(){}return e.bcScrollTo=function(e,t){(new h).to(e,t)},e.prototype.bcBackground=function(e){return $(this).each(function(t,o){new l(o,e)})},e.prototype.bcBoxAlignHeight=function(e,t,o){void 0===e&&(e=0);var s=$(this);if("string"==typeof e){switch(e){case"destroy":s.data(r.DATA_KEY).destroy()}}else{var i=e;
10if(t)s.find(t).length&&s.each(function(){var e=$(this).find(t);new r(e,i,o)});else new r(s,i,o)}return s},e.prototype.bcBoxLink=function(){return $(this).on("click",function(e){var t=$(this).find("a, area").eq(0),o=t.prop("href");if(t.length&&o){var s="_blank"===t.prop("target");a.jumpTo(o,s),e.preventDefault()}})},e.prototype.bcCheckbox=function(e){return $(this).each(function(t,o){"INPUT"===o.nodeName?new c(o,e):"console"in window&&console.warn("TypeError: A Node is not HTMLInputElement")})},e.prototype.bcRadio=function(e){return $(this).each(function(t,o){"INPUT"===o.nodeName?new p(o,e):"console"in window&&console.warn("TypeError: A Node is not HTMLInputElement")})},e.prototype.bcSelect=function(e){return $(this).each(function(t,o){var s=$(o);if("string"==typeof e)switch(e){case"update":s.data("bc-element").update()}else"SELECT"===o.nodeName?new u(o,e):"console"in window&&console.warn("TypeError: A Node is not HTMLSelectElement")})},e.prototype.bcImageLoaded=function(e,t){return $(this).each(function(o,s){var i=$(s),a=[],n=i.filter("img").add(i.find("img"));n.length?(n.each(function(){var e=$.Deferred(),t=new Image;t.onload=function(){e.resolve(),t.onload=null,t=null},t.onabort=t.onerror=function(o){e.reject(o),t.onload=null,t=null},t.src=this.src,a.push(e.promise())}),$.when.apply($,a).done(function(){e.call(s)}).fail(function(e){t&&t.call(s,e)})):e.call(s)})}
10,e.prototype.bcKeepAspectRatio=function(){var e=$(window),t=$(this);return t.each(function(t,o){var s=$(o),i=+s.data("width")/+s.data("height");e.on("resize",function(){var e=s.width();s.css({width:"100%",height:e/i})}).trigger("resize")}),i.wait(30,function(){e.trigger("resize")}),t},e.prototype.bcScrollTo=function(e){return $(this).on("click",function(t){var o=$(this),s=o.attr("href"),i=new h;if(s){if(e&&$.isPlainObject(e.keywords))for(var a in e.keywords)if(e.keywords.hasOwnProperty(a)){var n=e.keywords[a];if(a===s)return i.to(n,e),void t.preventDefault()}var r=o.prop("href"),l=location.protocol+"//"+location.host+location.pathname+location.search;if("#top"===(s=r.replace(l,"")))return i.to(0,e),void t.preventDefault();try{if(!/^#/.test(s))return;if((n=$(s)).length)return i.to(n,e),void t.preventDefault()}catch(e){}}})},e.prototype.bcSplitList=function(e,t){var o=$(this),i="splited-list",a=$.extend({dataKey:"-bc-split-list-index",splitChildren:!0},t);return o.each(function(t,o){var r,l=$(o),c=l.find(">ul");a.splitChildren?(r=c.find("li").detach()).find("ul").remove():r=c.find(">li").detach();for(var p=r.length,u=s.split(p,e),h=r.toArray(),d=0;d<e;d++){var m=u[d],f=$("<ul></ul>");n.addClassTo(f,i),n.addClassTo(f,i,"","nth"+e),f.appendTo(l);for(var _=0;_<m;_++){var v=$(h.shift());v.appendTo(f),v.data(a.dataKey,d),n.addClassTo(v,i,"item"),n.addClassTo(v,i,"item","nth"+d)}}c.remove()}),o},e.prototype.bcWink=function(e){var t=$(this),o=$.extend({close:50,open:200,opacity:.4,target:null,stopOnTouch:!0},e);return t.each(function(e,t){var s,i=$(t);s=o.target?i.find(o.target):i,i.on("mouseenter",function(e){return o.stopOnTouch&&i.data("-bc-is-touchstarted")?(i.data("-bc-is-touchstarted",!1),!0):(s.stop(!0,!1).fadeTo(o.close,o.opacity).fadeTo(o.open,1),!0)}),o.stopOnTouch&&i.on("touchstart",function(e){return i.data("-bc-is-touchstarted",!0),!0})}),t},e.prototype.bcMaps=function(e){return $(this).each(function(t,o){var s=$(o).data(d.className);s?s.reload(e):new d(o,e)})},e.prototype.bcYoutube=function(e){return $(this).each(function(t,o){var s=$(o).data(m.className);s?s.reload(e):new m(o,e)})},e.prototype.bcRollover=function(e){var t=$(this),o=$.extend({pattern:/_off(\.(?:[a-z0-9]{1,6}))$/i,replace:"_on$1",dataPrefix:"-bc-rollover-",ignore:"",filter:null,stopOnTouch:!0},e),s=o.dataPrefix+"off",i=o.dataPrefix+"on";return t.each(function(e,t){var a=t.nodeName.toLowerCase(),n=$(t).not(o.ignore);if(n.length&&"img"===a||"input"===a&&"image"===n.prop("type")){var r=!0;if($.isFunction(o.filter)?r=!!o.filter.call(t):o.filter&&(r=!!n.filter(o.filter).length),r){var l=n.attr("src");if(l.match(o.pattern)){var c=l.replace(o.pattern,o.replace);n.data(s,l),n.data(i,c)}}}}),t.on("mouseenter",function(e){var t=$(this);if(o.stopOnTouch&&t.data("-bc-is-touchstarted"))return t.data("-bc-is-touchstarted",!1),!0;var s=t.data(i);return t.prop("src",s),!0}),t.on("mouseleave",function(e){var t=$(this);if(o.stopOnTouch&&t.data("-bc-is-touchstarted"))return t.data("-bc-is-touchstarted",!1),!0;var i=t.data(s);return t.prop("src",i),!0}),o.stopOnTouch&&t.on("touchstart",function(e){return $(this).data("-bc-is-touchstarted",!0),!0}),t},e.prototype.bcShy=function(e){var t=$(this),o=$.extend({close:300,open:300,opacity:.6,target:null,stopOnTouch:!0},e);return t.each(function(e,t){var s,i=$(t);s=o.target?i.find(o.target):i,i.on("mouseenter",function(e){return o.stopOnTouch&&i.data("-bc-is-touchstarted")?(i.data("-bc-is-touchstarted",!1),!0):(s.stop(!0,!1).fadeTo(o.close,o.opacity),!0)}),i.on("mouseleave",function(e){return o.stopOnTouch&&i.data("-bc-is-touchstarted")?(i.data("-bc-is-touchstarted",!1),!0):(s.stop(!0,!1).fadeTo(o.open,1),!0)}),o.stopOnTouch&&i.on("touchstart",function(e){return i.data("-bc-is-touchstarted",!0),!0})}),t},e}();e.exports=f}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.