From 64acead971a4541643d9e443b10d47750301be52 Mon Sep 17 00:00:00 2001 From: Tony Air Date: Thu, 19 Jul 2018 21:04:23 +0700 Subject: [PATCH] Minor updates --- app/client/dist/icons/.cache | 2 +- app/client/dist/js/HomePage.js | 2 +- app/client/dist/js/app.js | 2 +- app/client/dist/js/editor.js | 2 +- app/thirdparty/client/.gitkeep | 0 5 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 app/thirdparty/client/.gitkeep diff --git a/app/client/dist/icons/.cache b/app/client/dist/icons/.cache index fccff85..7175b11 100644 --- a/app/client/dist/icons/.cache +++ b/app/client/dist/icons/.cache @@ -1 +1 @@ -{"hash":"bee428eb92d17ce43fc0fb76f73f1358","version":"0.0.9","optionHash":"48da8109542971737c0c3794682790d4","result":{"outputFilePrefix":"/icons/","html":["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"files":["/icons/android-chrome-36x36.png","/icons/android-chrome-96x96.png","/icons/android-chrome-72x72.png","/icons/android-chrome-48x48.png","/icons/android-chrome-144x144.png","/icons/android-chrome-192x192.png","/icons/android-chrome-384x384.png","/icons/android-chrome-256x256.png","/icons/android-chrome-512x512.png","/icons/apple-touch-icon-57x57.png","/icons/apple-touch-icon-60x60.png","/icons/apple-touch-icon-72x72.png","/icons/apple-touch-icon-76x76.png","/icons/apple-touch-icon-152x152.png","/icons/apple-touch-icon-120x120.png","/icons/apple-touch-icon-167x167.png","/icons/apple-touch-icon.png","/icons/apple-touch-icon-144x144.png","/icons/apple-touch-icon-180x180.png","/icons/apple-touch-icon-114x114.png","/icons/apple-touch-icon-precomposed.png","/icons/coast-228x228.png","/icons/yandex-browser-50x50.png","/icons/mstile-70x70.png","/icons/mstile-150x150.png","/icons/mstile-144x144.png","/icons/mstile-310x150.png","/icons/mstile-310x310.png","/icons/favicon-16x16.png","/icons/favicon-32x32.png","/icons/favicon.ico","/icons/apple-touch-startup-image-640x920.png","/icons/apple-touch-startup-image-320x460.png","/icons/apple-touch-startup-image-640x1096.png","/icons/apple-touch-startup-image-748x1024.png","/icons/apple-touch-startup-image-768x1004.png","/icons/apple-touch-startup-image-750x1294.png","/icons/apple-touch-startup-image-1182x2208.png","/icons/apple-touch-startup-image-1242x2148.png","/icons/apple-touch-startup-image-1536x2008.png","/icons/apple-touch-startup-image-1496x2048.png","/icons/firefox_app_60x60.png","/icons/firefox_app_128x128.png","/icons/firefox_app_512x512.png","/icons/manifest.json","/icons/yandex-browser-manifest.json","/icons/browserconfig.xml","/icons/manifest.webapp"]}} \ No newline at end of file +{"hash":"bee428eb92d17ce43fc0fb76f73f1358","version":"0.0.9","optionHash":"48da8109542971737c0c3794682790d4","result":{"outputFilePrefix":"/icons/","html":["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"files":["/icons/android-chrome-36x36.png","/icons/android-chrome-48x48.png","/icons/android-chrome-96x96.png","/icons/android-chrome-144x144.png","/icons/android-chrome-192x192.png","/icons/android-chrome-384x384.png","/icons/android-chrome-256x256.png","/icons/android-chrome-72x72.png","/icons/android-chrome-512x512.png","/icons/apple-touch-icon-57x57.png","/icons/apple-touch-icon-60x60.png","/icons/apple-touch-icon-72x72.png","/icons/apple-touch-icon-76x76.png","/icons/apple-touch-icon-120x120.png","/icons/apple-touch-icon-144x144.png","/icons/apple-touch-icon-152x152.png","/icons/apple-touch-icon-167x167.png","/icons/apple-touch-icon-180x180.png","/icons/apple-touch-icon.png","/icons/apple-touch-icon-114x114.png","/icons/apple-touch-icon-precomposed.png","/icons/coast-228x228.png","/icons/yandex-browser-50x50.png","/icons/mstile-70x70.png","/icons/mstile-150x150.png","/icons/mstile-144x144.png","/icons/mstile-310x150.png","/icons/mstile-310x310.png","/icons/favicon-32x32.png","/icons/favicon-16x16.png","/icons/favicon.ico","/icons/apple-touch-startup-image-640x920.png","/icons/apple-touch-startup-image-640x1096.png","/icons/apple-touch-startup-image-320x460.png","/icons/apple-touch-startup-image-748x1024.png","/icons/apple-touch-startup-image-768x1004.png","/icons/apple-touch-startup-image-750x1294.png","/icons/apple-touch-startup-image-1242x2148.png","/icons/apple-touch-startup-image-1182x2208.png","/icons/apple-touch-startup-image-1536x2008.png","/icons/apple-touch-startup-image-1496x2048.png","/icons/firefox_app_60x60.png","/icons/firefox_app_128x128.png","/icons/firefox_app_512x512.png","/icons/manifest.json","/icons/yandex-browser-manifest.json","/icons/browserconfig.xml","/icons/manifest.webapp"]}} \ No newline at end of file diff --git a/app/client/dist/js/HomePage.js b/app/client/dist/js/HomePage.js index f888856..d59ad5e 100644 --- a/app/client/dist/js/HomePage.js +++ b/app/client/dist/js/HomePage.js @@ -1 +1 @@ -!function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var e={};n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="app/client/dist/",n(n.s=31)}({31:function(t,n){}}); \ No newline at end of file +!function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var e={};n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="app/client/dist/",n(n.s=32)}({32:function(t,n){}}); \ No newline at end of file diff --git a/app/client/dist/js/app.js b/app/client/dist/js/app.js index be2a2f8..8416e5e 100644 --- a/app/client/dist/js/app.js +++ b/app/client/dist/js/app.js @@ -1 +1 @@ -!function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="app/client/dist/",e(e.s=6)}([function(t,e){t.exports=jQuery},function(t,e,n){(function(e){var n=function(t){function e(t){return{}.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase()}function n(){return{bindType:i,delegateType:i,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}}}function r(e){var n=this,r=!1;return t(this).one(o.TRANSITION_END,function(){r=!0}),setTimeout(function(){r||o.triggerTransitionEnd(n)},e),this}var i="transitionend",o={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement:function(e){var n=e.getAttribute("data-target");n&&"#"!==n||(n=e.getAttribute("href")||"");try{return t(document).find(n).length>0?n:null}catch(t){return null}},getTransitionDurationFromElement:function(e){if(!e)return 0;var n=t(e).css("transition-duration");return parseFloat(n)?(n=n.split(",")[0],1e3*parseFloat(n)):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(e){t(e).trigger(i)},supportsTransitionEnd:function(){return Boolean(i)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,n,r){for(var i in r)if(Object.prototype.hasOwnProperty.call(r,i)){var s=r[i],a=n[i],c=a&&o.isElement(a)?"element":e(a);if(!new RegExp(s).test(c))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+c+'" but expected type "'+s+'".')}}};return function(){t.fn.emulateTransitionEnd=r,t.event.special[o.TRANSITION_END]=n()}(),o}(e);t.exports=n}).call(e,n(0))},function(t,e){t.exports={AJAX:"ajax-load",LOADED:"load"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){function n(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}function r(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},ft))}}function i(t){var e={};return t&&"[object Function]"===e.toString.call(t)}function o(t,e){if(1!==t.nodeType)return[];var n=getComputedStyle(t,null);return e?n[e]:n}function s(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function a(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=o(t),n=e.overflow,r=e.overflowX;return/(auto|scroll|overlay)/.test(n+e.overflowY+r)?t:a(s(t))}function c(t){return 11===t?vt:10===t?gt:vt||gt}function u(t){if(!t)return document.documentElement;for(var e=c(10)?document.body:null,n=t.offsetParent;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TD","TABLE"].indexOf(n.nodeName)&&"static"===o(n,"position")?u(n):n:t?t.ownerDocument.documentElement:document.documentElement}function l(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||u(t.firstElementChild)===t)}function f(t){return null!==t.parentNode?f(t.parentNode):t}function h(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,i=n?e:t,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var s=o.commonAncestorContainer;if(t!==s&&e!==s||r.contains(i))return l(s)?s:u(s);var a=f(t);return a.host?h(a.host,e):h(t,f(e).host)}function d(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var i=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||i)[n]}return t[n]}function p(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=d(e,"top"),i=d(e,"left"),o=n?-1:1;return t.top+=r*o,t.bottom+=r*o,t.left+=i*o,t.right+=i*o,t}function v(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+r+"Width"],10)}function g(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],c(10)?n["offset"+t]+r["margin"+("Height"===t?"Top":"Left")]+r["margin"+("Height"===t?"Bottom":"Right")]:0)}function m(){var t=document.body,e=document.documentElement,n=c(10)&&getComputedStyle(e);return{height:g("Height",t,e,n),width:g("Width",t,e,n)}}function _(t){return bt({},t,{right:t.left+t.width,bottom:t.top+t.height})}function y(t){var e={};try{if(c(10)){e=t.getBoundingClientRect();var n=d(t,"top"),r=d(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}else e=t.getBoundingClientRect()}catch(t){}var i={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},s="HTML"===t.nodeName?m():{},a=s.width||t.clientWidth||i.right-i.left,u=s.height||t.clientHeight||i.bottom-i.top,l=t.offsetWidth-a,f=t.offsetHeight-u;if(l||f){var h=o(t);l-=v(h,"x"),f-=v(h,"y"),i.width-=l,i.height-=f}return _(i)}function b(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=c(10),i="HTML"===e.nodeName,s=y(t),u=y(e),l=a(t),f=o(e),h=parseFloat(f.borderTopWidth,10),d=parseFloat(f.borderLeftWidth,10);n&&"HTML"===e.nodeName&&(u.top=Math.max(u.top,0),u.left=Math.max(u.left,0));var v=_({top:s.top-u.top-h,left:s.left-u.left-d,width:s.width,height:s.height});if(v.marginTop=0,v.marginLeft=0,!r&&i){var g=parseFloat(f.marginTop,10),m=parseFloat(f.marginLeft,10);v.top-=h-g,v.bottom-=h-g,v.left-=d-m,v.right-=d-m,v.marginTop=g,v.marginLeft=m}return(r&&!n?e.contains(l):e===l&&"BODY"!==l.nodeName)&&(v=p(v,e)),v}function E(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=b(t,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),s=e?0:d(n),a=e?0:d(n,"left");return _({top:s-r.top+r.marginTop,left:a-r.left+r.marginLeft,width:i,height:o})}function w(t){var e=t.nodeName;return"BODY"!==e&&"HTML"!==e&&("fixed"===o(t,"position")||w(s(t)))}function T(t){if(!t||!t.parentElement||c())return document.documentElement;for(var e=t.parentElement;e&&"none"===o(e,"transform");)e=e.parentElement;return e||document.documentElement}function C(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},c=i?T(t):h(t,e);if("viewport"===r)o=E(c,i);else{var u=void 0;"scrollParent"===r?(u=a(s(e)),"BODY"===u.nodeName&&(u=t.ownerDocument.documentElement)):u="window"===r?t.ownerDocument.documentElement:r;var l=b(u,c,i);if("HTML"!==u.nodeName||w(c))o=l;else{var f=m(),d=f.height,p=f.width;o.top+=l.top-l.marginTop,o.bottom=d+l.top,o.left+=l.left-l.marginLeft,o.right=p+l.left}}return o.left+=n,o.top+=n,o.right-=n,o.bottom-=n,o}function S(t){return t.width*t.height}function O(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=C(n,r,o,i),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},c=Object.keys(a).map(function(t){return bt({key:t},a[t],{area:S(a[t])})}).sort(function(t,e){return e.area-t.area}),u=c.filter(function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight}),l=u.length>0?u[0].key:c[0].key,f=t.split("-")[1];return l+(f?"-"+f:"")}function A(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return b(n,r?T(e):h(e,n),r)}function I(t){var e=getComputedStyle(t),n=parseFloat(e.marginTop)+parseFloat(e.marginBottom),r=parseFloat(e.marginLeft)+parseFloat(e.marginRight);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function D(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function k(t,e,n){n=n.split("-")[0];var r=I(t),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),s=o?"top":"left",a=o?"left":"top",c=o?"height":"width",u=o?"width":"height";return i[s]=e[s]+e[c]/2-r[c]/2,i[a]=n===a?e[a]-r[u]:e[D(a)],i}function x(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function N(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var r=x(t,function(t){return t[e]===n});return t.indexOf(r)}function L(t,e,n){return(void 0===n?t:t.slice(0,N(t,"name",n))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&i(n)&&(e.offsets.popper=_(e.offsets.popper),e.offsets.reference=_(e.offsets.reference),e=n(e,t))}),e}function j(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=A(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=O(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=k(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=L(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function R(t,e){return t.some(function(t){var n=t.name;return t.enabled&&n===e})}function q(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;ra[p]&&(t.offsets.popper[h]+=c[h]+v-a[p]),t.offsets.popper=_(t.offsets.popper);var g=c[h]+c[l]/2-v/2,m=o(t.instance.popper),y=parseFloat(m["margin"+f],10),b=parseFloat(m["border"+f+"Width"],10),E=g-t.offsets.popper[h]-y-b;return E=Math.max(Math.min(a[l]-v,E),0),t.arrowElement=r,t.offsets.arrow=(n={},yt(n,h,Math.round(E)),yt(n,d,""),n),t}function J(t){return"end"===t?"start":"start"===t?"end":t}function Z(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=wt.indexOf(t),r=wt.slice(n+1).concat(wt.slice(0,n));return e?r.reverse():r}function tt(t,e){if(R(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=C(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],i=D(r),o=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case Tt.FLIP:s=[r,i];break;case Tt.CLOCKWISE:s=Z(r);break;case Tt.COUNTERCLOCKWISE:s=Z(r,!0);break;default:s=e.behavior}return s.forEach(function(a,c){if(r!==a||s.length===c+1)return t;r=t.placement.split("-")[0],i=D(r);var u=t.offsets.popper,l=t.offsets.reference,f=Math.floor,h="left"===r&&f(u.right)>f(l.left)||"right"===r&&f(u.left)f(l.top)||"bottom"===r&&f(u.top)f(n.right),v=f(u.top)f(n.bottom),m="left"===r&&d||"right"===r&&p||"top"===r&&v||"bottom"===r&&g,_=-1!==["top","bottom"].indexOf(r),y=!!e.flipVariations&&(_&&"start"===o&&d||_&&"end"===o&&p||!_&&"start"===o&&v||!_&&"end"===o&&g);(h||m||y)&&(t.flipped=!0,(h||m)&&(r=s[c+1]),y&&(o=J(o)),t.placement=r+(o?"-"+o:""),t.offsets.popper=bt({},t.offsets.popper,k(t.instance.popper,t.offsets.reference,t.placement)),t=L(t.instance.modifiers,t,"flip"))}),t}function et(t){var e=t.offsets,n=e.popper,r=e.reference,i=t.placement.split("-")[0],o=Math.floor,s=-1!==["top","bottom"].indexOf(i),a=s?"right":"bottom",c=s?"left":"top",u=s?"width":"height";return n[a]o(r[a])&&(t.offsets.popper[c]=o(r[a])),t}function nt(t,e,n,r){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],s=i[2];if(!o)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=r}return _(a)[e]/100*o}return"vh"===s||"vw"===s?("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o:o}function rt(t,e,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),s=t.split(/(\+|\-)/).map(function(t){return t.trim()}),a=s.indexOf(x(s,function(t){return-1!==t.search(/,|\s/)}));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var c=/\s*,\s*|\s+/,u=-1!==a?[s.slice(0,a).concat([s[a].split(c)[0]]),[s[a].split(c)[1]].concat(s.slice(a+1))]:[s];return u=u.map(function(t,r){var i=(1===r?!o:o)?"height":"width",s=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)},[]).map(function(t){return nt(t,i,e,n)})}),u.forEach(function(t,e){t.forEach(function(n,r){V(n)&&(i[e]+=n*("-"===t[r-1]?-1:1))})}),i}function it(t,e){var n=e.offset,r=t.placement,i=t.offsets,o=i.popper,s=i.reference,a=r.split("-")[0],c=void 0;return c=V(+n)?[+n,0]:rt(n,o,s,a),"left"===a?(o.top+=c[0],o.left-=c[1]):"right"===a?(o.top+=c[0],o.left+=c[1]):"top"===a?(o.left+=c[0],o.top-=c[1]):"bottom"===a&&(o.left+=c[0],o.top+=c[1]),t.popper=o,t}function ot(t,e){var n=e.boundariesElement||u(t.instance.popper);t.instance.reference===n&&(n=u(n));var r=q("transform"),i=t.instance.popper.style,o=i.top,s=i.left,a=i[r];i.top="",i.left="",i[r]="";var c=C(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);i.top=o,i.left=s,i[r]=a,e.boundaries=c;var l=e.priority,f=t.offsets.popper,h={primary:function(t){var n=f[t];return f[t]c[t]&&!e.escapeWithReference&&(r=Math.min(f[n],c[t]-("right"===t?f.width:f.height))),yt({},n,r)}};return l.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";f=bt({},f,h[e](t))}),t.offsets.popper=f,t}function st(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var i=t.offsets,o=i.reference,s=i.popper,a=-1!==["bottom","top"].indexOf(n),c=a?"left":"top",u=a?"width":"height",l={start:yt({},c,o[c]),end:yt({},c,o[c]+o[u]-s[u])};t.offsets.popper=bt({},s,l[r])}return t}function at(t){if(!Y(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=x(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottomn.right||e.top>n.bottom||e.right=0){ft=1;break}var dt=ut&&window.Promise,pt=dt?n:r,vt=ut&&!(!window.MSInputMethodContext||!document.documentMode),gt=ut&&/MSIE 10/.test(navigator.userAgent),mt=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},_t=function(){function t(t,e){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:{};mt(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=pt(this.update.bind(this)),this.options=bt({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(bt({},t.Defaults.modifiers,o.modifiers)).forEach(function(e){r.options.modifiers[e]=bt({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return bt({name:t},r.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&i(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)}),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return _t(t,[{key:"update",value:function(){return j.call(this)}},{key:"destroy",value:function(){return P.call(this)}},{key:"enableEventListeners",value:function(){return H.call(this)}},{key:"disableEventListeners",value:function(){return B.call(this)}}]),t}();Ot.Utils=("undefined"!=typeof window?window:t).PopperUtils,Ot.placements=Et,Ot.Defaults=St,e.default=Ot}.call(e,n(4))},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r;!function(i,o,s,a){"use strict";function c(t,e,n){return setTimeout(d(t,n),e)}function u(t,e,n){return!!Array.isArray(t)&&(l(t,n[e],n),!0)}function l(t,e,n){var r;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==a)for(r=0;r\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=i.console&&(i.console.warn||i.console.log);return o&&o.call(i.console,r,n),t.apply(this,arguments)}}function h(t,e,n){var r,i=e.prototype;r=t.prototype=Object.create(i),r.constructor=t,r._super=i,n&&pt(r,n)}function d(t,e){return function(){return t.apply(e,arguments)}}function p(t,e){return typeof t==mt?t.apply(e?e[0]||a:a,e):t}function v(t,e){return t===a?e:t}function g(t,e,n){l(b(e),function(e){t.addEventListener(e,n,!1)})}function m(t,e,n){l(b(e),function(e){t.removeEventListener(e,n,!1)})}function _(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function y(t,e){return t.indexOf(e)>-1}function b(t){return t.trim().split(/\s+/g)}function E(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var r=0;rn[e]}):r.sort()),r}function C(t,e){for(var n,r,i=e[0].toUpperCase()+e.slice(1),o=0;o1&&!n.firstMultiple?n.firstMultiple=L(e):1===i&&(n.firstMultiple=!1);var o=n.firstInput,s=n.firstMultiple,a=s?s.center:o.center,c=e.center=j(r);e.timeStamp=bt(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=F(a,c),e.distance=P(a,c),x(n,e),e.offsetDirection=q(e.deltaX,e.deltaY);var u=R(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=u.x,e.overallVelocityY=u.y,e.overallVelocity=yt(u.x)>yt(u.y)?u.x:u.y,e.scale=s?U(s.pointers,r):1,e.rotation=s?M(s.pointers,r):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,N(n,e);var l=t.element;_(e.srcEvent.target,l)&&(l=e.srcEvent.target),e.target=l}function x(t,e){var n=e.center,r=t.offsetDelta||{},i=t.prevDelta||{},o=t.prevInput||{};e.eventType!==Dt&&o.eventType!==xt||(i=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},r=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=i.x+(n.x-r.x),e.deltaY=i.y+(n.y-r.y)}function N(t,e){var n,r,i,o,s=t.lastInterval||e,c=e.timeStamp-s.timeStamp;if(e.eventType!=Nt&&(c>It||s.velocity===a)){var u=e.deltaX-s.deltaX,l=e.deltaY-s.deltaY,f=R(c,u,l);r=f.x,i=f.y,n=yt(f.x)>yt(f.y)?f.x:f.y,o=q(u,l),t.lastInterval=e}else n=s.velocity,r=s.velocityX,i=s.velocityY,o=s.direction;e.velocity=n,e.velocityX=r,e.velocityY=i,e.direction=o}function L(t){for(var e=[],n=0;n=yt(e)?t<0?jt:Rt:e<0?qt:Pt}function P(t,e,n){n||(n=Ht);var r=e[n[0]]-t[n[0]],i=e[n[1]]-t[n[1]];return Math.sqrt(r*r+i*i)}function F(t,e,n){n||(n=Ht);var r=e[n[0]]-t[n[0]],i=e[n[1]]-t[n[1]];return 180*Math.atan2(i,r)/Math.PI}function M(t,e){return F(e[1],e[0],Wt)+F(t[1],t[0],Wt)}function U(t,e){return P(e[0],e[1],Wt)/P(t[0],t[1],Wt)}function H(){this.evEl=Vt,this.evWin=Gt,this.pressed=!1,A.apply(this,arguments)}function W(){this.evEl=Xt,this.evWin=zt,A.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function B(){this.evTarget=Qt,this.evWin=Jt,this.started=!1,A.apply(this,arguments)}function V(t,e){var n=w(t.touches),r=w(t.changedTouches);return e&(xt|Nt)&&(n=T(n.concat(r),"identifier",!0)),[n,r]}function G(){this.evTarget=te,this.targetIds={},A.apply(this,arguments)}function K(t,e){var n=w(t.touches),r=this.targetIds;if(e&(Dt|kt)&&1===n.length)return r[n[0].identifier]=!0,[n,n];var i,o,s=w(t.changedTouches),a=[],c=this.target;if(o=n.filter(function(t){return _(t.target,c)}),e===Dt)for(i=0;i-1&&r.splice(t,1)};setTimeout(i,ee)}}function Y(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,r=0;r-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){function e(e){n.manager.emit(e,t)}var n=this,r=this.state;r=pe&&e(n.options.event+tt(r))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;te.threshold&&i&e.direction},attrTest:function(t){return rt.prototype.attrTest.call(this,t)&&(this.state&he||!(this.state&he)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=et(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),h(ot,rt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[ae]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&he)},emit:function(t){if(1!==t.scale){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}}),h(st,Z,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[oe]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,r=t.distancee.time;if(this._input=t,!r||!n||t.eventType&(xt|Nt)&&!i)this.reset();else if(t.eventType&Dt)this.reset(),this._timer=c(function(){this.state=ve,this.tryEmit()},e.time,this);else if(t.eventType&xt)return ve;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===ve&&(t&&t.eventType&xt?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=bt(),this.manager.emit(this.options.event,this._input)))}}),h(at,rt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[ae]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&he)}}),h(ct,rt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Ft|Mt,pointers:1},getTouchAction:function(){return it.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(Ft|Mt)?e=t.overallVelocity:n&Ft?e=t.overallVelocityX:n&Mt&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&yt(e)>this.options.velocity&&t.eventType&xt},emit:function(t){var e=et(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),h(ut,Z,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[se]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,r=t.distance');a.append('
  • ');for(var c=1;c');r.prepend(a)}r.data("arrows")&&(r.prepend('Previous'),r.prepend('Next')),r.carousel(),r.hammer().bind("swipeleft",function(e){t(e.target).carousel("next")}),r.hammer().bind("swiperight",function(e){t(e.target).carousel("prev")}),r.hammer().bind("panleft",function(e){t(e.target).carousel("next")}),r.hammer().bind("panright",function(e){t(e.target).carousel("prev")}),r.hammer().bind("tap",function(e){t(e.target).carousel("next")})}})}},{key:"dispose",value:function(){this.each(function(e,n){t(n).carousel("dispose")})}}]),e}();t(window).on(d.a.AJAX+" "+d.a.LOADED,function(){e.init()})}(f.a),function(){function t(t,e){for(var n=0;n-1?u.splice(e,1):i.data("unload-blocked")||(console.log("Unloading: "+t(this).attr("href")),t(this).remove())}),t('script[type="text/javascript"]').each(function(){var e=l.indexOf(t(this).attr("src"));e>-1?l.splice(e,1):i.data("unload-blocked")||(console.log("Unloading: "+t(this).attr("src")),t(this).remove())}),this.preload(u).then(function(){var r=t("head");u.forEach(function(t){r.append('')}),c.preload(l,"script").then(function(){if(l.forEach(function(t){i.append('