kcc-gem-theme-original 1.0.9 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/hash/theme_hash.yml +1 -1
- data/_layouts/compress.html +10 -0
- data/_layouts/default.html +3 -0
- data/assets/js/dist/{453.3f3d9a503afe4cadf934.bundle.js → 453.bb4965d34d48f243cb21.bundle.js} +1 -1
- data/assets/js/dist/{635.3f3d9a503afe4cadf934.bundle.js → 635.bb4965d34d48f243cb21.bundle.js} +1 -1
- data/assets/js/dist/{695.3f3d9a503afe4cadf934.bundle.js → 695.bb4965d34d48f243cb21.bundle.js} +1 -1
- data/assets/js/dist/965.bb4965d34d48f243cb21.bundle.js +1 -0
- data/assets/js/dist/bootstrap.bb4965d34d48f243cb21.css +1 -0
- data/assets/js/dist/theme.bb4965d34d48f243cb21.bundle.js +2 -0
- data/assets/js/dist/theme.bb4965d34d48f243cb21.css +1 -0
- data/assets/js/nav/moveSearchIcon.js +85 -70
- data/assets/scss/0-tools/_gsc-overrides.scss +1 -80
- data/assets/scss/0-tools/_print.scss +27 -0
- data/assets/scss/0-tools/_vars.scss +2 -0
- data/assets/scss/2-modules/_nav-global.scss +0 -7
- data/assets/scss/bootstrap.scss +1 -2
- data/assets/scss/kcc-theme.scss +1 -0
- metadata +27 -25
- data/assets/js/dist/965.3f3d9a503afe4cadf934.bundle.js +0 -1
- data/assets/js/dist/bootstrap.3f3d9a503afe4cadf934.css +0 -1
- data/assets/js/dist/theme.3f3d9a503afe4cadf934.bundle.js +0 -2
- data/assets/js/dist/theme.3f3d9a503afe4cadf934.css +0 -1
- /data/assets/js/dist/{102.3f3d9a503afe4cadf934.bundle.js → 102.bb4965d34d48f243cb21.bundle.js} +0 -0
- /data/assets/js/dist/{143.3f3d9a503afe4cadf934.bundle.js → 143.bb4965d34d48f243cb21.bundle.js} +0 -0
- /data/assets/js/dist/{183.3f3d9a503afe4cadf934.bundle.js → 183.bb4965d34d48f243cb21.bundle.js} +0 -0
- /data/assets/js/dist/{3.3f3d9a503afe4cadf934.bundle.js → 3.bb4965d34d48f243cb21.bundle.js} +0 -0
- /data/assets/js/dist/{303.3f3d9a503afe4cadf934.bundle.js → 303.bb4965d34d48f243cb21.bundle.js} +0 -0
- /data/assets/js/dist/{354.3f3d9a503afe4cadf934.bundle.js → 354.bb4965d34d48f243cb21.bundle.js} +0 -0
- /data/assets/js/dist/{384.3f3d9a503afe4cadf934.bundle.js → 384.bb4965d34d48f243cb21.bundle.js} +0 -0
- /data/assets/js/dist/{384.3f3d9a503afe4cadf934.css → 384.bb4965d34d48f243cb21.css} +0 -0
- /data/assets/js/dist/{453.3f3d9a503afe4cadf934.bundle.js.LICENSE.txt → 453.bb4965d34d48f243cb21.bundle.js.LICENSE.txt} +0 -0
- /data/assets/js/dist/{604.3f3d9a503afe4cadf934.bundle.js → 604.bb4965d34d48f243cb21.bundle.js} +0 -0
- /data/assets/js/dist/{635.3f3d9a503afe4cadf934.bundle.js.LICENSE.txt → 635.bb4965d34d48f243cb21.bundle.js.LICENSE.txt} +0 -0
- /data/assets/js/dist/{695.3f3d9a503afe4cadf934.bundle.js.LICENSE.txt → 695.bb4965d34d48f243cb21.bundle.js.LICENSE.txt} +0 -0
- /data/assets/js/dist/{723.3f3d9a503afe4cadf934.bundle.js → 723.bb4965d34d48f243cb21.bundle.js} +0 -0
- /data/assets/js/dist/{977.3f3d9a503afe4cadf934.bundle.js → 977.bb4965d34d48f243cb21.bundle.js} +0 -0
- /data/assets/js/dist/{bootstrap.3f3d9a503afe4cadf934.bundle.js → bootstrap.bb4965d34d48f243cb21.bundle.js} +0 -0
- /data/assets/js/dist/{theme.3f3d9a503afe4cadf934.bundle.js.LICENSE.txt → theme.bb4965d34d48f243cb21.bundle.js.LICENSE.txt} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51fa63479ce880dbdf8be5176d11d996ee2663f551621976171974e1c7e00c8f
|
4
|
+
data.tar.gz: 6f049597850030bd51d6a72d48f469781b6447f216ea4ad8e52a0888dd375534
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c9ddd3588d4a153ffffd3fd7942c3ddb1451aac0b2db209aa16cd9c4dd5742a26a1c860a5bfe70194dd9853e761288522ab21cdac46dc55940ad1fdbc144690
|
7
|
+
data.tar.gz: 204bf2ea7021388a82971c1f384851670eeb2c4c3fff86ce91a05149e8d98f1eec577a88fd44e9bf2b77737ae90f1cbbd5133ab2624e18276fed0882e67c809d
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
bb4965d34d48f243cb21
|
@@ -0,0 +1,10 @@
|
|
1
|
+
---
|
2
|
+
# Jekyll layout that compresses HTML
|
3
|
+
# v3.2.0
|
4
|
+
# http://jch.penibelst.de/
|
5
|
+
# © 2014–2015 Anatol Broder
|
6
|
+
# MIT License
|
7
|
+
---
|
8
|
+
|
9
|
+
{% capture _LINE_FEED %}
|
10
|
+
{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment or site.compress_html.ignore.envs == "all" or page.compress_html == false %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
|
data/_layouts/default.html
CHANGED
data/assets/js/dist/{453.3f3d9a503afe4cadf934.bundle.js → 453.bb4965d34d48f243cb21.bundle.js}
RENAMED
@@ -1,2 +1,2 @@
|
|
1
|
-
/*! For license information please see 453.
|
1
|
+
/*! For license information please see 453.bb4965d34d48f243cb21.bundle.js.LICENSE.txt */
|
2
2
|
(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[453],{170:function(e,t,n){"use strict";n.r(t),n.d(t,{afterMain:function(){return O},afterRead:function(){return b},afterWrite:function(){return E},applyStyles:function(){return C},arrow:function(){return J},auto:function(){return s},basePlacements:function(){return f},beforeMain:function(){return w},beforeRead:function(){return v},beforeWrite:function(){return _},bottom:function(){return o},clippingParents:function(){return p},computeStyles:function(){return ne},createPopper:function(){return Te},createPopperBase:function(){return ke},createPopperLite:function(){return Ce},detectOverflow:function(){return ve},end:function(){return u},eventListeners:function(){return oe},flip:function(){return ye},hide:function(){return xe},left:function(){return a},main:function(){return x},modifierPhases:function(){return P},offset:function(){return Oe},placements:function(){return g},popper:function(){return d},popperGenerator:function(){return Le},popperOffsets:function(){return _e},preventOverflow:function(){return je},read:function(){return y},reference:function(){return h},right:function(){return i},start:function(){return c},top:function(){return r},variationPlacements:function(){return m},viewport:function(){return l},write:function(){return j}});var r="top",o="bottom",i="right",a="left",s="auto",f=[r,o,i,a],c="start",u="end",p="clippingParents",l="viewport",d="popper",h="reference",m=f.reduce((function(e,t){return e.concat([t+"-"+c,t+"-"+u])}),[]),g=[].concat(f,[s]).reduce((function(e,t){return e.concat([t,t+"-"+c,t+"-"+u])}),[]),v="beforeRead",y="read",b="afterRead",w="beforeMain",x="main",O="afterMain",_="beforeWrite",j="write",E="afterWrite",P=[v,y,b,w,x,O,_,j,E];function D(e){return e?(e.nodeName||"").toLowerCase():null}function A(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function L(e){return e instanceof A(e).Element||e instanceof Element}function k(e){return e instanceof A(e).HTMLElement||e instanceof HTMLElement}function T(e){return"undefined"!=typeof ShadowRoot&&(e instanceof A(e).ShadowRoot||e instanceof ShadowRoot)}var C={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];k(o)&&D(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});k(r)&&D(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function M(e){return e.split("-")[0]}var R=Math.max,H=Math.min,S=Math.round;function W(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function B(){return!/^((?!chrome|android).)*safari/i.test(W())}function N(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&k(e)&&(o=e.offsetWidth>0&&S(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&S(r.height)/e.offsetHeight||1);var a=(L(e)?A(e):window).visualViewport,s=!B()&&n,f=(r.left+(s&&a?a.offsetLeft:0))/o,c=(r.top+(s&&a?a.offsetTop:0))/i,u=r.width/o,p=r.height/i;return{width:u,height:p,top:c,right:f+u,bottom:c+p,left:f,x:f,y:c}}function $(e){var t=N(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function I(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&T(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function V(e){return A(e).getComputedStyle(e)}function q(e){return["table","td","th"].indexOf(D(e))>=0}function U(e){return((L(e)?e.ownerDocument:e.document)||window.document).documentElement}function z(e){return"html"===D(e)?e:e.assignedSlot||e.parentNode||(T(e)?e.host:null)||U(e)}function F(e){return k(e)&&"fixed"!==V(e).position?e.offsetParent:null}function K(e){for(var t=A(e),n=F(e);n&&q(n)&&"static"===V(n).position;)n=F(n);return n&&("html"===D(n)||"body"===D(n)&&"static"===V(n).position)?t:n||function(e){var t=/firefox/i.test(W());if(/Trident/i.test(W())&&k(e)&&"fixed"===V(e).position)return null;var n=z(e);for(T(n)&&(n=n.host);k(n)&&["html","body"].indexOf(D(n))<0;){var r=V(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function Q(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function X(e,t,n){return R(e,H(t,n))}function Y(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function G(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var J={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,s=e.name,c=e.options,u=n.elements.arrow,p=n.modifiersData.popperOffsets,l=M(n.placement),d=Q(l),h=[a,i].indexOf(l)>=0?"height":"width";if(u&&p){var m=function(e,t){return Y("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:G(e,f))}(c.padding,n),g=$(u),v="y"===d?r:a,y="y"===d?o:i,b=n.rects.reference[h]+n.rects.reference[d]-p[d]-n.rects.popper[h],w=p[d]-n.rects.reference[d],x=K(u),O=x?"y"===d?x.clientHeight||0:x.clientWidth||0:0,_=b/2-w/2,j=m[v],E=O-g[h]-m[y],P=O/2-g[h]/2+_,D=X(j,P,E),A=d;n.modifiersData[s]=((t={})[A]=D,t.centerOffset=D-P,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&I(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Z(e){return e.split("-")[1]}var ee={top:"auto",right:"auto",bottom:"auto",left:"auto"};function te(e){var t,n=e.popper,s=e.popperRect,f=e.placement,c=e.variation,p=e.offsets,l=e.position,d=e.gpuAcceleration,h=e.adaptive,m=e.roundOffsets,g=e.isFixed,v=p.x,y=void 0===v?0:v,b=p.y,w=void 0===b?0:b,x="function"==typeof m?m({x:y,y:w}):{x:y,y:w};y=x.x,w=x.y;var O=p.hasOwnProperty("x"),_=p.hasOwnProperty("y"),j=a,E=r,P=window;if(h){var D=K(n),L="clientHeight",k="clientWidth";D===A(n)&&"static"!==V(D=U(n)).position&&"absolute"===l&&(L="scrollHeight",k="scrollWidth"),(f===r||(f===a||f===i)&&c===u)&&(E=o,w-=(g&&D===P&&P.visualViewport?P.visualViewport.height:D[L])-s.height,w*=d?1:-1),f!==a&&(f!==r&&f!==o||c!==u)||(j=i,y-=(g&&D===P&&P.visualViewport?P.visualViewport.width:D[k])-s.width,y*=d?1:-1)}var T,C=Object.assign({position:l},h&&ee),M=!0===m?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:S(n*o)/o||0,y:S(r*o)/o||0}}({x:y,y:w},A(n)):{x:y,y:w};return y=M.x,w=M.y,d?Object.assign({},C,((T={})[E]=_?"0":"",T[j]=O?"0":"",T.transform=(P.devicePixelRatio||1)<=1?"translate("+y+"px, "+w+"px)":"translate3d("+y+"px, "+w+"px, 0)",T)):Object.assign({},C,((t={})[E]=_?w+"px":"",t[j]=O?y+"px":"",t.transform="",t))}var ne={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,f=void 0===s||s,c={placement:M(t.placement),variation:Z(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,te(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:f})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,te(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},re={passive:!0},oe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,f=A(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,re)})),s&&f.addEventListener("resize",n.update,re),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,re)})),s&&f.removeEventListener("resize",n.update,re)}},data:{}},ie={left:"right",right:"left",bottom:"top",top:"bottom"};function ae(e){return e.replace(/left|right|bottom|top/g,(function(e){return ie[e]}))}var se={start:"end",end:"start"};function fe(e){return e.replace(/start|end/g,(function(e){return se[e]}))}function ce(e){var t=A(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ue(e){return N(U(e)).left+ce(e).scrollLeft}function pe(e){var t=V(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function le(e){return["html","body","#document"].indexOf(D(e))>=0?e.ownerDocument.body:k(e)&&pe(e)?e:le(z(e))}function de(e,t){var n;void 0===t&&(t=[]);var r=le(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=A(r),a=o?[i].concat(i.visualViewport||[],pe(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(de(z(a)))}function he(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function me(e,t,n){return t===l?he(function(e,t){var n=A(e),r=U(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,f=0;if(o){i=o.width,a=o.height;var c=B();(c||!c&&"fixed"===t)&&(s=o.offsetLeft,f=o.offsetTop)}return{width:i,height:a,x:s+ue(e),y:f}}(e,n)):L(t)?function(e,t){var n=N(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):he(function(e){var t,n=U(e),r=ce(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=R(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=R(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+ue(e),f=-r.scrollTop;return"rtl"===V(o||n).direction&&(s+=R(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:f}}(U(e)))}function ge(e){var t,n=e.reference,s=e.element,f=e.placement,p=f?M(f):null,l=f?Z(f):null,d=n.x+n.width/2-s.width/2,h=n.y+n.height/2-s.height/2;switch(p){case r:t={x:d,y:n.y-s.height};break;case o:t={x:d,y:n.y+n.height};break;case i:t={x:n.x+n.width,y:h};break;case a:t={x:n.x-s.width,y:h};break;default:t={x:n.x,y:n.y}}var m=p?Q(p):null;if(null!=m){var g="y"===m?"height":"width";switch(l){case c:t[m]=t[m]-(n[g]/2-s[g]/2);break;case u:t[m]=t[m]+(n[g]/2-s[g]/2)}}return t}function ve(e,t){void 0===t&&(t={});var n=t,a=n.placement,s=void 0===a?e.placement:a,c=n.strategy,u=void 0===c?e.strategy:c,m=n.boundary,g=void 0===m?p:m,v=n.rootBoundary,y=void 0===v?l:v,b=n.elementContext,w=void 0===b?d:b,x=n.altBoundary,O=void 0!==x&&x,_=n.padding,j=void 0===_?0:_,E=Y("number"!=typeof j?j:G(j,f)),P=w===d?h:d,A=e.rects.popper,T=e.elements[O?P:w],C=function(e,t,n,r){var o="clippingParents"===t?function(e){var t=de(z(e)),n=["absolute","fixed"].indexOf(V(e).position)>=0&&k(e)?K(e):e;return L(n)?t.filter((function(e){return L(e)&&I(e,n)&&"body"!==D(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce((function(t,n){var o=me(e,n,r);return t.top=R(o.top,t.top),t.right=H(o.right,t.right),t.bottom=H(o.bottom,t.bottom),t.left=R(o.left,t.left),t}),me(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(L(T)?T:T.contextElement||U(e.elements.popper),g,y,u),M=N(e.elements.reference),S=ge({reference:M,element:A,strategy:"absolute",placement:s}),W=he(Object.assign({},A,S)),B=w===d?W:M,$={top:C.top-B.top+E.top,bottom:B.bottom-C.bottom+E.bottom,left:C.left-B.left+E.left,right:B.right-C.right+E.right},q=e.modifiersData.offset;if(w===d&&q){var F=q[s];Object.keys($).forEach((function(e){var t=[i,o].indexOf(e)>=0?1:-1,n=[r,o].indexOf(e)>=0?"y":"x";$[e]+=F[n]*t}))}return $}var ye={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,u=e.name;if(!t.modifiersData[u]._skip){for(var p=n.mainAxis,l=void 0===p||p,d=n.altAxis,h=void 0===d||d,v=n.fallbackPlacements,y=n.padding,b=n.boundary,w=n.rootBoundary,x=n.altBoundary,O=n.flipVariations,_=void 0===O||O,j=n.allowedAutoPlacements,E=t.options.placement,P=M(E),D=v||(P!==E&&_?function(e){if(M(e)===s)return[];var t=ae(e);return[fe(e),t,fe(t)]}(E):[ae(E)]),A=[E].concat(D).reduce((function(e,n){return e.concat(M(n)===s?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?g:c,p=Z(r),l=p?s?m:m.filter((function(e){return Z(e)===p})):f,d=l.filter((function(e){return u.indexOf(e)>=0}));0===d.length&&(d=l);var h=d.reduce((function(t,n){return t[n]=ve(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[M(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}(t,{placement:n,boundary:b,rootBoundary:w,padding:y,flipVariations:_,allowedAutoPlacements:j}):n)}),[]),L=t.rects.reference,k=t.rects.popper,T=new Map,C=!0,R=A[0],H=0;H<A.length;H++){var S=A[H],W=M(S),B=Z(S)===c,N=[r,o].indexOf(W)>=0,$=N?"width":"height",I=ve(t,{placement:S,boundary:b,rootBoundary:w,altBoundary:x,padding:y}),V=N?B?i:a:B?o:r;L[$]>k[$]&&(V=ae(V));var q=ae(V),U=[];if(l&&U.push(I[W]<=0),h&&U.push(I[V]<=0,I[q]<=0),U.every((function(e){return e}))){R=S,C=!1;break}T.set(S,U)}if(C)for(var z=function(e){var t=A.find((function(t){var n=T.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return R=t,"break"},F=_?3:1;F>0&&"break"!==z(F);F--);t.placement!==R&&(t.modifiersData[u]._skip=!0,t.placement=R,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function be(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function we(e){return[r,i,o,a].some((function(t){return e[t]>=0}))}var xe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=ve(t,{elementContext:"reference"}),s=ve(t,{altBoundary:!0}),f=be(a,r),c=be(s,o,i),u=we(f),p=we(c);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":p})}},Oe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,o=e.name,s=n.offset,f=void 0===s?[0,0]:s,c=g.reduce((function(e,n){return e[n]=function(e,t,n){var o=M(e),s=[a,r].indexOf(o)>=0?-1:1,f="function"==typeof n?n(Object.assign({},t,{placement:e})):n,c=f[0],u=f[1];return c=c||0,u=(u||0)*s,[a,i].indexOf(o)>=0?{x:u,y:c}:{x:c,y:u}}(n,t.rects,f),e}),{}),u=c[t.placement],p=u.x,l=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=p,t.modifiersData.popperOffsets.y+=l),t.modifiersData[o]=c}},_e={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ge({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},je={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,s=e.name,f=n.mainAxis,u=void 0===f||f,p=n.altAxis,l=void 0!==p&&p,d=n.boundary,h=n.rootBoundary,m=n.altBoundary,g=n.padding,v=n.tether,y=void 0===v||v,b=n.tetherOffset,w=void 0===b?0:b,x=ve(t,{boundary:d,rootBoundary:h,padding:g,altBoundary:m}),O=M(t.placement),_=Z(t.placement),j=!_,E=Q(O),P="x"===E?"y":"x",D=t.modifiersData.popperOffsets,A=t.rects.reference,L=t.rects.popper,k="function"==typeof w?w(Object.assign({},t.rects,{placement:t.placement})):w,T="number"==typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,S={x:0,y:0};if(D){if(u){var W,B="y"===E?r:a,N="y"===E?o:i,I="y"===E?"height":"width",V=D[E],q=V+x[B],U=V-x[N],z=y?-L[I]/2:0,F=_===c?A[I]:L[I],Y=_===c?-L[I]:-A[I],G=t.elements.arrow,J=y&&G?$(G):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[B],ne=ee[N],re=X(0,A[I],J[I]),oe=j?A[I]/2-z-re-te-T.mainAxis:F-re-te-T.mainAxis,ie=j?-A[I]/2+z+re+ne+T.mainAxis:Y+re+ne+T.mainAxis,ae=t.elements.arrow&&K(t.elements.arrow),se=ae?"y"===E?ae.clientTop||0:ae.clientLeft||0:0,fe=null!=(W=null==C?void 0:C[E])?W:0,ce=V+ie-fe,ue=X(y?H(q,V+oe-fe-se):q,V,y?R(U,ce):U);D[E]=ue,S[E]=ue-V}if(l){var pe,le="x"===E?r:a,de="x"===E?o:i,he=D[P],me="y"===P?"height":"width",ge=he+x[le],ye=he-x[de],be=-1!==[r,a].indexOf(O),we=null!=(pe=null==C?void 0:C[P])?pe:0,xe=be?ge:he-A[me]-L[me]-we+T.altAxis,Oe=be?he+A[me]+L[me]-we-T.altAxis:ye,_e=y&&be?function(e,t,n){var r=X(e,t,n);return r>n?n:r}(xe,he,Oe):X(y?xe:ge,he,y?Oe:ye);D[P]=_e,S[P]=_e-he}t.modifiersData[s]=S}},requiresIfExists:["offset"]};function Ee(e,t,n){void 0===n&&(n=!1);var r,o,i=k(t),a=k(t)&&function(e){var t=e.getBoundingClientRect(),n=S(t.width)/e.offsetWidth||1,r=S(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=U(t),f=N(e,a,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!n)&&(("body"!==D(t)||pe(s))&&(c=(r=t)!==A(r)&&k(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:ce(r)),k(t)?((u=N(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=ue(s))),{x:f.left+c.scrollLeft-u.x,y:f.top+c.scrollTop-u.y,width:f.width,height:f.height}}function Pe(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var De={placement:"bottom",modifiers:[],strategy:"absolute"};function Ae(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Le(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?De:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},De,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},f=[],c=!1,u={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;p(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:L(e)?de(e):e.contextElement?de(e.contextElement):[],popper:de(t)};var a,c,l=function(e){var t=Pe(e);return P.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((a=[].concat(r,s.options.modifiers),c=a.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return s.orderedModifiers=l.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:u,options:r});f.push(i||function(){})}})),u.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(Ae(t,n)){s.rects={reference:Ee(t,K(n),"fixed"===s.options.strategy),popper:$(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],i=o.fn,a=o.options,f=void 0===a?{}:a,p=o.name;"function"==typeof i&&(s=i({state:s,options:f,name:p,instance:u})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){p(),c=!0}};if(!Ae(e,t))return u;function p(){f.forEach((function(e){return e()})),f=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var ke=Le(),Te=Le({defaultModifiers:[oe,_e,ne,C,Oe,ye,je,J,xe]}),Ce=Le({defaultModifiers:[oe,_e,ne,C]})},453:function(e,t,n){e.exports=function(e,t,n,r,o,i){"use strict";function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const n in e)if("default"!==n){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}return t.default=e,Object.freeze(t)}const s=a(e),f="dropdown",c=".bs.dropdown",u=".data-api",p="ArrowUp",l="ArrowDown",d=`hide${c}`,h=`hidden${c}`,m=`show${c}`,g=`shown${c}`,v=`click${c}${u}`,y=`keydown${c}${u}`,b=`keyup${c}${u}`,w="show",x='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',O=`${x}.${w}`,_=".dropdown-menu",j=i.isRTL()?"top-end":"top-start",E=i.isRTL()?"top-start":"top-end",P=i.isRTL()?"bottom-end":"bottom-start",D=i.isRTL()?"bottom-start":"bottom-end",A=i.isRTL()?"left-start":"right-start",L=i.isRTL()?"right-start":"left-start",k={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},T={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class C extends t{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=o.next(this._element,_)[0]||o.prev(this._element,_)[0]||o.findOne(_,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return k}static get DefaultType(){return T}static get NAME(){return f}toggle(){return this._isShown()?this.hide():this.show()}show(){if(i.isDisabled(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!n.trigger(this._element,m,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const e of[].concat(...document.body.children))n.on(e,"mouseover",i.noop);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(w),this._element.classList.add(w),n.trigger(this._element,g,e)}}hide(){if(i.isDisabled(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!n.trigger(this._element,d,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))n.off(e,"mouseover",i.noop);this._popper&&this._popper.destroy(),this._menu.classList.remove(w),this._element.classList.remove(w),this._element.setAttribute("aria-expanded","false"),r.removeDataAttribute(this._menu,"popper"),n.trigger(this._element,h,e)}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!i.isElement(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${f.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(void 0===s)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:i.isElement(this._config.reference)?e=i.getElement(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=s.createPopper(e,this._menu,t)}_isShown(){return this._menu.classList.contains(w)}_getPlacement(){const e=this._parent;if(e.classList.contains("dropend"))return A;if(e.classList.contains("dropstart"))return L;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?E:j:t?D:P}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(r.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...i.execute(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const n=o.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((e=>i.isVisible(e)));n.length&&i.getNextActiveElement(n,t,e===l,!n.includes(t)).focus()}static jQueryInterface(e){return this.each((function(){const t=C.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const t=o.find(O);for(const n of t){const t=C.getInstance(n);if(!t||!1===t._config.autoClose)continue;const r=e.composedPath(),o=r.includes(t._menu);if(r.includes(t._element)||"inside"===t._config.autoClose&&!o||"outside"===t._config.autoClose&&o)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const i={relatedTarget:t._element};"click"===e.type&&(i.clickEvent=e),t._completeHide(i)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),n="Escape"===e.key,r=[p,l].includes(e.key);if(!r&&!n)return;if(t&&!n)return;e.preventDefault();const i=this.matches(x)?this:o.prev(this,x)[0]||o.next(this,x)[0]||o.findOne(x,e.delegateTarget.parentNode),a=C.getOrCreateInstance(i);if(r)return e.stopPropagation(),a.show(),void a._selectMenuItem(e);a._isShown()&&(e.stopPropagation(),a.hide(),i.focus())}}return n.on(document,y,x,C.dataApiKeydownHandler),n.on(document,y,_,C.dataApiKeydownHandler),n.on(document,v,C.clearMenus),n.on(document,b,C.clearMenus),n.on(document,v,x,(function(e){e.preventDefault(),C.getOrCreateInstance(this).toggle()})),i.defineJQueryPlugin(C),C}(n(170),n(11),n(956),n(333),n(411),n(35))}}]);
|
data/assets/js/dist/{635.3f3d9a503afe4cadf934.bundle.js → 635.bb4965d34d48f243cb21.bundle.js}
RENAMED
@@ -1,2 +1,2 @@
|
|
1
|
-
/*! For license information please see 635.
|
1
|
+
/*! For license information please see 635.bb4965d34d48f243cb21.bundle.js.LICENSE.txt */
|
2
2
|
(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[635],{635:function(t,e,i){t.exports=function(t,e,i,s,n,o,a,l){"use strict";const r=".bs.modal",h=`hide${r}`,c=`hidePrevented${r}`,d=`hidden${r}`,_=`show${r}`,u=`shown${r}`,m=`resize${r}`,g=`click.dismiss${r}`,f=`mousedown.dismiss${r}`,p=`keydown.dismiss${r}`,b=`click${r}.data-api`,A="modal-open",w="show",y="modal-static",k={backdrop:!0,focus:!0,keyboard:!0},v={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class E extends t{constructor(t,e){super(t,e),this._dialog=i.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new l,this._addEventListeners()}static get Default(){return k}static get DefaultType(){return v}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||e.trigger(this._element,_,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(A),this._adjustDialog(),this._backdrop.show((()=>this._showElement(t))))}hide(){this._isShown&&!this._isTransitioning&&(e.trigger(this._element,h).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(w),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){e.off(window,r),e.off(this._dialog,r),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new s({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new o({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const s=i.findOne(".modal-body",this._dialog);s&&(s.scrollTop=0),a.reflow(this._element),this._element.classList.add(w);this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,e.trigger(this._element,u,{relatedTarget:t})}),this._dialog,this._isAnimated())}_addEventListeners(){e.on(this._element,p,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),e.on(window,m,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),e.on(this._element,f,(t=>{e.one(this._element,g,(e=>{this._element===t.target&&this._element===e.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(A),this._resetAdjustments(),this._scrollBar.reset(),e.trigger(this._element,d)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(e.trigger(this._element,c).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,i=this._element.style.overflowY;"hidden"===i||this._element.classList.contains(y)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(y),this._queueCallback((()=>{this._element.classList.remove(y),this._queueCallback((()=>{this._element.style.overflowY=i}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),i=e>0;if(i&&!t){const t=a.isRTL()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!i&&t){const t=a.isRTL()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const i=E.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t](e)}}))}}return e.on(document,b,'[data-bs-toggle="modal"]',(function(t){const s=i.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),e.one(s,_,(t=>{t.defaultPrevented||e.one(s,d,(()=>{a.isVisible(this)&&this.focus()}))}));const n=i.findOne(".modal.show");n&&E.getInstance(n).hide(),E.getOrCreateInstance(s).toggle(this)})),n.enableDismissTrigger(E),a.defineJQueryPlugin(E),E}(i(11),i(956),i(411),i(877),i(248),i(936),i(35),i(673))},877:function(t,e,i){t.exports=function(t,e,i){"use strict";const s="backdrop",n="show",o=`mousedown.bs.${s}`,a={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},l={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};return class extends e{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return a}static get DefaultType(){return l}static get NAME(){return s}show(t){if(!this._config.isVisible)return void i.execute(t);this._append();const e=this._getElement();this._config.isAnimated&&i.reflow(e),e.classList.add(n),this._emulateAnimation((()=>{i.execute(t)}))}hide(t){this._config.isVisible?(this._getElement().classList.remove(n),this._emulateAnimation((()=>{this.dispose(),i.execute(t)}))):i.execute(t)}dispose(){this._isAppended&&(t.off(this._element,o),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=i.getElement(t.rootElement),t}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),t.on(e,o,(()=>{i.execute(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(t){i.executeAfterTransition(t,this._getElement(),this._config.isAnimated)}}}(i(956),i(105),i(35))},248:function(t,e,i){!function(t,e,i,s){"use strict";t.enableDismissTrigger=(t,n="hide")=>{const o=`click.dismiss${t.EVENT_KEY}`,a=t.NAME;e.on(document,o,`[data-bs-dismiss="${a}"]`,(function(e){if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),s.isDisabled(this))return;const o=i.getElementFromSelector(this)||this.closest(`.${a}`);t.getOrCreateInstance(o)[n]()}))},Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}(e,i(956),i(411),i(35))},936:function(t,e,i){t.exports=function(t,e,i){"use strict";const s=".bs.focustrap",n=`focusin${s}`,o=`keydown.tab${s}`,a="backward",l={autofocus:!0,trapElement:null},r={autofocus:"boolean",trapElement:"element"};return class extends i{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return l}static get DefaultType(){return r}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),t.off(document,s),t.on(document,n,(t=>this._handleFocusin(t))),t.on(document,o,(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,t.off(document,s))}_handleFocusin(t){const{trapElement:i}=this._config;if(t.target===document||t.target===i||i.contains(t.target))return;const s=e.focusableChildren(i);0===s.length?i.focus():this._lastTabNavDirection===a?s[s.length-1].focus():s[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?a:"forward")}}}(i(956),i(411),i(105))},673:function(t,e,i){t.exports=function(t,e,i){"use strict";const s=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",n=".sticky-top",o="padding-right",a="margin-right";return class{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,o,(e=>e+t)),this._setElementAttributes(s,o,(e=>e+t)),this._setElementAttributes(n,a,(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,o),this._resetElementAttributes(s,o),this._resetElementAttributes(n,a)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const s=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+s)return;this._saveInitialAttribute(t,e);const n=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${i(Number.parseFloat(n))}px`)}))}_saveInitialAttribute(e,i){const s=e.style.getPropertyValue(i);s&&t.setDataAttribute(e,i,s)}_resetElementAttributes(e,i){this._applyManipulationCallback(e,(e=>{const s=t.getDataAttribute(e,i);null!==s?(t.removeDataAttribute(e,i),e.style.setProperty(i,s)):e.style.removeProperty(i)}))}_applyManipulationCallback(t,s){if(i.isElement(t))s(t);else for(const i of e.find(t,this._element))s(i)}}}(i(333),i(411),i(35))}}]);
|
data/assets/js/dist/{695.3f3d9a503afe4cadf934.bundle.js → 695.bb4965d34d48f243cb21.bundle.js}
RENAMED
@@ -1,2 +1,2 @@
|
|
1
|
-
/*! For license information please see 695.
|
1
|
+
/*! For license information please see 695.bb4965d34d48f243cb21.bundle.js.LICENSE.txt */
|
2
2
|
(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[695],{695:function(t,e,s){"use strict";s.r(e);var i=s(13),n=s.n(i);const r=/.*[\?&]id=([^&]+).*$/,o=/\/$/g,a="userPrefersReducedMotion",l={behavior:"smooth",block:"center"},c={block:"center"};function u(t){return"true"==window.localStorage.getItem(a)?t.scrollIntoView(c):t.scrollIntoView(l),t.focus()}function d(t,e){-1!==t.search(r)&&function(t,e){let s=t.replace(r,"$1");u(document.querySelector(e).querySelector(`#${s}`))}(t,e)}function h(t){u(document.querySelector(t))}function g(t){window.location.hash&&function(t,e){if(document.querySelector(`.nav-tabs a[href="${t}"]`)){const e=document.querySelector(`.nav-tabs a[href="${t}"]`),s=new(n())(e);e.addEventListener("shown.bs.tab",(e=>{window.location.search?d(window.location.search,t):h(`${t}-label`)})),s.show()}else if(document.querySelector(`${t}.collapse`)){const s=document.querySelector(t),i=new e(s,{toggle:!1});s.addEventListener("shown.bs.collapse",(e=>{window.location.search?d(window.location.search,t):h(`button[data-bs-target="${t}"]`)})),i.show()}}(window.location.hash.replace(o,""),t)}e.default=function(t){g(t),window.addEventListener("hashchange",(e=>{g(t)}),!1),s.e(977).then(s.bind(s,977)).then((t=>{let{default:e}=t;e()}))}},13:function(t,e,s){t.exports=function(t,e,s,i){"use strict";const n=".bs.tab",r=`hide${n}`,o=`hidden${n}`,a=`show${n}`,l=`shown${n}`,c=`click${n}`,u=`keydown${n}`,d=`load${n}`,h="ArrowLeft",g="ArrowRight",b="ArrowUp",f="ArrowDown",_="Home",w="End",m="active",A="fade",p="show",v=".dropdown-toggle",I=`:not(${v})`,$='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',E=`.nav-link${I}, .list-group-item${I}, [role="tab"]${I}, ${$}`,k=`.${m}[data-bs-toggle="tab"], .${m}[data-bs-toggle="pill"], .${m}[data-bs-toggle="list"]`;class y extends t{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),e.on(this._element,u,(t=>this._keydown(t))))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const s=this._getActiveElem(),i=s?e.trigger(s,r,{relatedTarget:t}):null;e.trigger(t,a,{relatedTarget:s}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(s,t),this._activate(t,s))}_activate(t,i){if(!t)return;t.classList.add(m),this._activate(s.getElementFromSelector(t));this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),e.trigger(t,l,{relatedTarget:i})):t.classList.add(p)}),t,t.classList.contains(A))}_deactivate(t,i){if(!t)return;t.classList.remove(m),t.blur(),this._deactivate(s.getElementFromSelector(t));this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),e.trigger(t,o,{relatedTarget:i})):t.classList.remove(p)}),t,t.classList.contains(A))}_keydown(t){if(![h,g,b,f,_,w].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=this._getChildren().filter((t=>!i.isDisabled(t)));let s;if([_,w].includes(t.key))s=e[t.key===_?0:e.length-1];else{const n=[g,f].includes(t.key);s=i.getNextActiveElement(e,t.target,n,!0)}s&&(s.focus({preventScroll:!0}),y.getOrCreateInstance(s).show())}_getChildren(){return s.find(E,this._parent)}_getActiveElem(){return this._getChildren().find((t=>this._elemIsActive(t)))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e)this._setInitialAttributesOnChild(t)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),s=this._getOuterElement(t);t.setAttribute("aria-selected",e),s!==t&&this._setAttributeIfNotExists(s,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=s.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){const i=this._getOuterElement(t);if(!i.classList.contains("dropdown"))return;const n=(t,n)=>{const r=s.findOne(t,i);r&&r.classList.toggle(n,e)};n(v,m),n(".dropdown-menu",p),i.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,s){t.hasAttribute(e)||t.setAttribute(e,s)}_elemIsActive(t){return t.classList.contains(m)}_getInnerElement(t){return t.matches(E)?t:s.findOne(E,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each((function(){const e=y.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}return e.on(document,c,$,(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),i.isDisabled(this)||y.getOrCreateInstance(this).show()})),e.on(window,d,(()=>{for(const t of s.find(k))y.getOrCreateInstance(t)})),i.defineJQueryPlugin(y),y}(s(11),s(956),s(411),s(35))}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[965],{965:function(e,t,n){function s(e){e.parentNode.classList.add("active"),e.insertAdjacentHTML("beforeend",' <span class="visually-hidden">(current)</span>')}function c(e){const t=window.location.pathname,n="#contact"===window.location.hash,c="/"===window.location.pathname;[...e].forEach((e=>{const o=e.querySelector("a"),a=o.getAttribute("href").replace(/^\/?\.\.\/(\.\.\/)?(\.\.\/)?/g,"/"),r="home"===o.textContent.toLowerCase(),l=-1!==t.indexOf(a);c||n?r&&s(o):l&&!r&&s(o)}))}n.r(t),n.d(t,{default:function(){return h}});var o=function(){const e=document.querySelectorAll(".js-nav-item");document.getElementById("subNavNav")&&c(document.querySelectorAll(".js-sub-nav-item")),c(e)};const a=document.getElementById("mainNav"),r=document.getElementById("globalNav");var l=function(){if(!document.getElementById("searchIcon"))return;const e=document.getElementById("searchIcon");document.addEventListener("click",(function(t){if(!t.target.closest("#searchIcon"))return;t.preventDefault();const n=document.getElementById("searchImg"),s=document.getElementById("searchCollapse");var c,o;-1!=n.style.backgroundImage.indexOf("assets/img/search.svg")?(o=e,(c=n).style.backgroundImage='url("/assets/img/x.svg")',c.setAttribute("alt","Close icon"),o.setAttribute("aria-label","Close search"),s.setAttribute("aria-hidden","false")):(function(e,t){e.style.backgroundImage='url("/assets/img/search.svg")',e.setAttribute("alt","Search icon"),t.setAttribute("aria-label","Open search")}(n,e),s.setAttribute("aria-hidden","true")),s.classList.toggle("nav-global__search-collapse--visible"),a.classList.toggle("nav-local__search-toggle"),r.classList.toggle("nav-global__search-toggle")}),!1)};function i(e,t){document.querySelector(".gsst_a").id="xIcon",e.disconnect(),t()}function u(){"display: none;"===document.getElementById("xIcon").getAttribute("style")?document.querySelector("button.gsc-search-button-v2").classList.remove("gsc-overrides__clear-x"):document.querySelector("button.gsc-search-button-v2").classList.add("gsc-overrides__clear-x")}var d=function(){document.getElementById("searchCollapse")&&new Promise(((e,t)=>{!function(e){const t=document.createElement("script"),n=document.getElementsByTagName("script")[0];t.type="text/javascript",t.async=!0,t.src="https://cse.google.com/cse.js?cx=006320264078644364913:sy48bet-lr8",t.onload=t=>e(),n.parentNode.insertBefore(t,n)}(e)})).then((()=>new Promise(((e,t)=>{const n=document.getElementById("searchCollapse");new MutationObserver((function(t,n){for(const s of t)"childList"==s.type&&i(n,e)})).observe(n,{attributes:!0,childList:!0,subtree:!0})})))).then((()=>{u();const e=document.getElementById("xIcon");new MutationObserver((function(e,t){for(const t of e)"attributes"==t.type&&u()})).observe(e,{attributes:!0,childList:!0,subtree:!0})}))};function g(e,t){e.classList.contains(t)&&function(e,t){e.classList.remove(t)}(e,t)}function m(){if(window.innerWidth>=992){const e=document.getElementById("searchCollapse"),t=document.getElementById("globalNav"),n=document.getElementById("mainNav"),s=document.getElementById("searchIcon");g(e,"nav-global__search-collapse--visible"),g(t,"nav-global__search-toggle"),g(n,"nav-local__search-toggle"),function(e){"Toggle Close"!==!e.getAttribute("aria-label")&&function(e){const t=e.querySelector("#searchImg");e.setAttribute("aria-label","Toggle Search"),t.setAttribute("alt","Open icon"),t.setAttribute("style",'background-image: url("/assets/img/search.svg")')}(e)}(s)}}var b=function(){window.addEventListener("resize",m)};function h(){o(),l(),d(),b()}}}]);
|