(function(a){a(document).on("click","ul.yyi-rinker-links a.yyi-rinker-link.yyi-rinker-tracking, div.yyi-rinker-title a.yyi-rinker-tracking, div.yyi-rinker-image a.yyi-rinker-tracking",function(c){try{var b="Rinker";var f=a(this).data("click-tracking");if(typeof gtag!=="undefined"&&a.isFunction(gtag)){gtag("event","click",{event_category:"Rinker",event_label:f})}else{if(typeof ga!=="undefined"&&a.isFunction(ga)){ga("send","event",b,"click",f)}else{if(typeof _gaq!=="undefined"){_gaq.push(["_trackEvent",b,"click",f])}}}}catch(d){console.log("tracking-error");console.log(d.message)}})})(jQuery);
let toggle_images=function(target,move){let children=target.parentElement.childNodes;let thumbs=target.parentElement.parentElement.childNodes[2].childNodes;let active_index=0;for(let j=0;j<children.length;j++){if(children[j].classList.contains('yyi-rinker-main-img')){if(!children[j].classList.contains('hidden')){active_index=j;}
children[j].classList.add('hidden');}}
if(move==='left'){if(children[active_index-1].classList.contains('yyi-rinker-main-img')){active_index=active_index-1;}}else{if(children[active_index+1].classList.contains('yyi-rinker-main-img')){active_index=active_index+1;}}
if(active_index==children.length-2){children[0].classList.remove('hidden');children[children.length-1].classList.add('hidden');}else if(active_index==1){children[0].classList.add('hidden');children[children.length-1].classList.remove('hidden');}else{children[0].classList.remove('hidden');children[children.length-1].classList.remove('hidden');}
if(thumbs.length>0){for(let k=0;k<thumbs.length;k++){thumbs[k].classList.remove('thumb-active');}
thumbs[active_index-1].classList.add('thumb-active');}
children[active_index].classList.remove('hidden');}
let setImageToggle=function(){let arrow_types=['left','right'];for(let i=0;i<arrow_types.length;i++){let direction=arrow_types[i];let arrows=document.getElementsByClassName("yyi-rinker-images-arrow-"+direction);for(let j=0;j<arrows.length;j++){arrows[j].addEventListener("click",function(e){toggle_images(e.target,direction);},false);}}}
let setImageSwipe=function(className){let elements=document.getElementsByClassName(className);let startX;let startY;let moveX;let moveY;let dist=30;let target;for(let i=0;i<elements.length;i++){let element=elements[i];element.addEventListener('touchstart',function(e){startX=e.touches[0].pageX;startY=e.touches[0].pageY;});element.addEventListener('touchmove',function(e){moveX=e.changedTouches[0].pageX;moveY=e.changedTouches[0].pageY;});element.addEventListener('touchend',function(e){target=e.target;if(startX>moveX&&startX>moveX+dist){toggle_images(target,'right');}else if(startX<moveX&&startX+dist<moveX){toggle_images(target,'left');}});}}
let setThumbImageToggle=function(){let items=document.getElementsByClassName("yyi-rinker-thumbnails");for(let i=0;i<items.length;i++){let parent=items[i];let childrenitems=items[i].childNodes;let liitems=[];for(let m=0;m<childrenitems.length;m++){if(childrenitems[m].tagName=='LI'){liitems.push(childrenitems[m]);}}
for(let j=0;j<liitems.length;j++){liitems[j].addEventListener("click",function(e){let mainImages=parent.parentNode.parentNode.childNodes[1].childNodes[1].childNodes;let leftArrow=mainImages[0].classList.contains('yyi-rinker-images-arrow')?mainImages[0]:null;let rightArrow=mainImages[mainImages.length-1].classList.contains('yyi-rinker-images-arrow')?mainImages[mainImages.length-1]:null;let index=mainImages[0].classList.contains('yyi-rinker-images-arrow')?j+1:j;leftArrow.classList.remove('hidden');rightArrow.classList.remove('hidden');for(let l=0;l<liitems.length;l++){liitems[l].classList.remove('thumb-active');}
e.target.parentNode.classList.add('thumb-active');for(let k=0;k<mainImages.length;k++){if(mainImages[k].classList.contains('yyi-rinker-main-img'))
{if(index===k){if(index===1){leftArrow.classList.add('hidden');}
if(index===mainImages.length-2){rightArrow.classList.add('hidden');}
mainImages[k].classList.remove('hidden');}else{mainImages[k].classList.add('hidden');}}}},false);}}}
window.addEventListener('load',function(){setThumbImageToggle();setImageToggle();setImageSwipe("yyi-rinker-images");});
/*! This file is auto-generated */
window.addComment=function(v){var I,C,h,E=v.document,b={commentReplyClass:"comment-reply-link",commentReplyTitleId:"reply-title",cancelReplyId:"cancel-comment-reply-link",commentFormId:"commentform",temporaryFormId:"wp-temp-form-div",parentIdFieldId:"comment_parent",postIdFieldId:"comment_post_ID"},e=v.MutationObserver||v.WebKitMutationObserver||v.MozMutationObserver,r="querySelector"in E&&"addEventListener"in v,n=!!E.documentElement.dataset;function t(){d(),e&&new e(o).observe(E.body,{childList:!0,subtree:!0})}function d(e){if(r&&(I=g(b.cancelReplyId),C=g(b.commentFormId),I)){I.addEventListener("touchstart",l),I.addEventListener("click",l);function t(e){if((e.metaKey||e.ctrlKey)&&13===e.keyCode)return C.removeEventListener("keydown",t),e.preventDefault(),C.submit.click(),!1}C&&C.addEventListener("keydown",t);for(var n,d=function(e){var t=b.commentReplyClass;e&&e.childNodes||(e=E);e=E.getElementsByClassName?e.getElementsByClassName(t):e.querySelectorAll("."+t);return e}(e),o=0,i=d.length;o<i;o++)(n=d[o]).addEventListener("touchstart",a),n.addEventListener("click",a)}}function l(e){var t,n,d=g(b.temporaryFormId);d&&h&&(g(b.parentIdFieldId).value="0",t=d.textContent,d.parentNode.replaceChild(h,d),this.style.display="none",n=(d=(d=g(b.commentReplyTitleId))&&d.firstChild)&&d.nextSibling,d&&d.nodeType===Node.TEXT_NODE&&t&&(n&&"A"===n.nodeName&&n.id!==b.cancelReplyId&&(n.style.display=""),d.textContent=t),e.preventDefault())}function a(e){var t=g(b.commentReplyTitleId),t=t&&t.firstChild.textContent,n=this,d=m(n,"belowelement"),o=m(n,"commentid"),i=m(n,"respondelement"),r=m(n,"postid"),n=m(n,"replyto")||t;d&&o&&i&&r&&!1===v.addComment.moveForm(d,o,i,r,n)&&e.preventDefault()}function o(e){for(var t=e.length;t--;)if(e[t].addedNodes.length)return void d()}function m(e,t){return n?e.dataset[t]:e.getAttribute("data-"+t)}function g(e){return E.getElementById(e)}return r&&"loading"!==E.readyState?t():r&&v.addEventListener("DOMContentLoaded",t,!1),{init:d,moveForm:function(e,t,n,d,o){var i,r,l,a,m,c,s,e=g(e),n=(h=g(n),g(b.parentIdFieldId)),y=g(b.postIdFieldId),p=g(b.commentReplyTitleId),u=(p=p&&p.firstChild)&&p.nextSibling;if(e&&h&&n){void 0===o&&(o=p&&p.textContent),a=h,m=b.temporaryFormId,c=g(m),s=(s=g(b.commentReplyTitleId))?s.firstChild.textContent:"",c||((c=E.createElement("div")).id=m,c.style.display="none",c.textContent=s,a.parentNode.insertBefore(c,a)),d&&y&&(y.value=d),n.value=t,I.style.display="",e.parentNode.insertBefore(h,e.nextSibling),p&&p.nodeType===Node.TEXT_NODE&&(u&&"A"===u.nodeName&&u.id!==b.cancelReplyId&&(u.style.display="none"),p.textContent=o),I.onclick=function(){return!1};try{for(var f=0;f<C.elements.length;f++)if(i=C.elements[f],r=!1,"getComputedStyle"in v?l=v.getComputedStyle(i):E.documentElement.currentStyle&&(l=i.currentStyle),(i.offsetWidth<=0&&i.offsetHeight<=0||"hidden"===l.visibility)&&(r=!0),"hidden"!==i.type&&!i.disabled&&!r){i.focus();break}}catch(e){}return!1}}}}(window);
(()=>{"use strict";var t={d:(e,i)=>{for(var s in i)t.o(i,s)&&!t.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:i[s]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};function i(t){if(this.formData={},this.tree={},!(t instanceof FormData))return this;this.formData=t;const e=()=>{const t=new Map;return t.largestIndex=0,t.set=function(e,i){""===e?e=t.largestIndex++:/^[0-9]+$/.test(e)&&(e=parseInt(e),t.largestIndex<=e&&(t.largestIndex=e+1)),Map.prototype.set.call(t,e,i)},t};this.tree=e();const i=/^(?<name>[a-z][-a-z0-9_:]*)(?<array>(?:\[(?:[a-z][-a-z0-9_:]*|[0-9]*)\])*)/i;for(const[t,s]of this.formData){const o=t.match(i);if(o)if(""===o.groups.array)this.tree.set(o.groups.name,s);else{const t=[...o.groups.array.matchAll(/\[([a-z][-a-z0-9_:]*|[0-9]*)\]/gi)].map((([t,e])=>e));t.unshift(o.groups.name);const i=t.pop();t.reduce(((t,i)=>{if(/^[0-9]+$/.test(i)&&(i=parseInt(i)),t.get(i)instanceof Map)return t.get(i);const s=e();return t.set(i,s),s}),this.tree).set(i,s)}}}t.r(e),t.d(e,{all:()=>D,any:()=>M,date:()=>f,dayofweek:()=>u,email:()=>r,enum:()=>h,file:()=>m,maxdate:()=>z,maxfilesize:()=>$,maxitems:()=>v,maxlength:()=>x,maxnumber:()=>b,mindate:()=>A,minfilesize:()=>j,minitems:()=>w,minlength:()=>g,minnumber:()=>y,number:()=>c,required:()=>n,requiredfile:()=>a,tel:()=>l,time:()=>d,url:()=>p}),i.prototype.entries=function(){return this.tree.entries()},i.prototype.get=function(t){return this.tree.get(t)},i.prototype.getAll=function(t){if(!this.has(t))return[];const e=t=>{const i=[];if(t instanceof Map)for(const[s,o]of t)i.push(...e(o));else""!==t&&i.push(t);return i};return e(this.get(t))},i.prototype.has=function(t){return this.tree.has(t)},i.prototype.keys=function(){return this.tree.keys()},i.prototype.values=function(){return this.tree.values()};const s=i;function o({rule:t,field:e,error:i,...s}){this.rule=t,this.field=e,this.error=i,this.properties=s}const n=function(t){if(0===t.getAll(this.field).length)throw new o(this)},a=function(t){if(0===t.getAll(this.field).length)throw new o(this)},r=function(t){if(!t.getAll(this.field).every((t=>{if((t=t.trim()).length<6)return!1;if(-1===t.indexOf("@",1))return!1;if(t.indexOf("@")!==t.lastIndexOf("@"))return!1;const[e,i]=t.split("@",2);if(!/^[a-zA-Z0-9!#$%&\'*+\/=?^_`{|}~\.-]+$/.test(e))return!1;if(/\.{2,}/.test(i))return!1;if(/(?:^[ \t\n\r\0\x0B.]|[ \t\n\r\0\x0B.]$)/.test(i))return!1;const s=i.split(".");if(s.length<2)return!1;for(const t of s){if(/(?:^[ \t\n\r\0\x0B-]|[ \t\n\r\0\x0B-]$)/.test(t))return!1;if(!/^[a-z0-9-]+$/i.test(t))return!1}return!0})))throw new o(this)},p=function(t){const e=t.getAll(this.field);if(!e.every((t=>{if(""===(t=t.trim()))return!1;try{return(t=>-1!==["http","https","ftp","ftps","mailto","news","irc","irc6","ircs","gopher","nntp","feed","telnet","mms","rtsp","sms","svn","tel","fax","xmpp","webcal","urn"].indexOf(t))(new URL(t).protocol.replace(/:$/,""))}catch{return!1}})))throw new o(this)},l=function(t){if(!t.getAll(this.field).every((t=>(t=(t=t.trim()).replaceAll(/[()/.*#\s-]+/g,""),/^[+]?[0-9]+$/.test(t)))))throw new o(this)},c=function(t){if(!t.getAll(this.field).every((t=>(t=t.trim(),!!/^[-]?[0-9]+(?:[eE][+-]?[0-9]+)?$/.test(t)||!!/^[-]?(?:[0-9]+)?[.][0-9]+(?:[eE][+-]?[0-9]+)?$/.test(t)))))throw new o(this)},f=function(t){if(!t.getAll(this.field).every((t=>{if(t=t.trim(),!/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t))return!1;const e=new Date(t);return!Number.isNaN(e.valueOf())})))throw new o(this)},d=function(t){if(!t.getAll(this.field).every((t=>{const e=t.trim().match(/^([0-9]{2})\:([0-9]{2})(?:\:([0-9]{2}))?$/);if(!e)return!1;const i=parseInt(e[1]),s=parseInt(e[2]),o=e[3]?parseInt(e[3]):0;return 0<=i&&i<=23&&0<=s&&s<=59&&0<=o&&o<=59})))throw new o(this)},m=function(t){if(!t.getAll(this.field).every((t=>t instanceof File&&this.accept?.some((e=>/^\.[a-z0-9]+$/i.test(e)?t.name.toLowerCase().endsWith(e.toLowerCase()):(t=>{const e=[],i=t.match(/^(?<toplevel>[a-z]+)\/(?<sub>[*]|[a-z0-9.+-]+)$/i);if(i){const t=i.groups.toplevel.toLowerCase(),s=i.groups.sub.toLowerCase();for(const[o,n]of(()=>{const t=new Map;return t.set("jpg|jpeg|jpe","image/jpeg"),t.set("gif","image/gif"),t.set("png","image/png"),t.set("bmp","image/bmp"),t.set("tiff|tif","image/tiff"),t.set("webp","image/webp"),t.set("ico","image/x-icon"),t.set("heic","image/heic"),t.set("asf|asx","video/x-ms-asf"),t.set("wmv","video/x-ms-wmv"),t.set("wmx","video/x-ms-wmx"),t.set("wm","video/x-ms-wm"),t.set("avi","video/avi"),t.set("divx","video/divx"),t.set("flv","video/x-flv"),t.set("mov|qt","video/quicktime"),t.set("mpeg|mpg|mpe","video/mpeg"),t.set("mp4|m4v","video/mp4"),t.set("ogv","video/ogg"),t.set("webm","video/webm"),t.set("mkv","video/x-matroska"),t.set("3gp|3gpp","video/3gpp"),t.set("3g2|3gp2","video/3gpp2"),t.set("txt|asc|c|cc|h|srt","text/plain"),t.set("csv","text/csv"),t.set("tsv","text/tab-separated-values"),t.set("ics","text/calendar"),t.set("rtx","text/richtext"),t.set("css","text/css"),t.set("htm|html","text/html"),t.set("vtt","text/vtt"),t.set("dfxp","application/ttaf+xml"),t.set("mp3|m4a|m4b","audio/mpeg"),t.set("aac","audio/aac"),t.set("ra|ram","audio/x-realaudio"),t.set("wav","audio/wav"),t.set("ogg|oga","audio/ogg"),t.set("flac","audio/flac"),t.set("mid|midi","audio/midi"),t.set("wma","audio/x-ms-wma"),t.set("wax","audio/x-ms-wax"),t.set("mka","audio/x-matroska"),t.set("rtf","application/rtf"),t.set("js","application/javascript"),t.set("pdf","application/pdf"),t.set("swf","application/x-shockwave-flash"),t.set("class","application/java"),t.set("tar","application/x-tar"),t.set("zip","application/zip"),t.set("gz|gzip","application/x-gzip"),t.set("rar","application/rar"),t.set("7z","application/x-7z-compressed"),t.set("exe","application/x-msdownload"),t.set("psd","application/octet-stream"),t.set("xcf","application/octet-stream"),t.set("doc","application/msword"),t.set("pot|pps|ppt","application/vnd.ms-powerpoint"),t.set("wri","application/vnd.ms-write"),t.set("xla|xls|xlt|xlw","application/vnd.ms-excel"),t.set("mdb","application/vnd.ms-access"),t.set("mpp","application/vnd.ms-project"),t.set("docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"),t.set("docm","application/vnd.ms-word.document.macroEnabled.12"),t.set("dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"),t.set("dotm","application/vnd.ms-word.template.macroEnabled.12"),t.set("xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"),t.set("xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"),t.set("xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"),t.set("xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"),t.set("xltm","application/vnd.ms-excel.template.macroEnabled.12"),t.set("xlam","application/vnd.ms-excel.addin.macroEnabled.12"),t.set("pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"),t.set("pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"),t.set("ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"),t.set("ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"),t.set("potx","application/vnd.openxmlformats-officedocument.presentationml.template"),t.set("potm","application/vnd.ms-powerpoint.template.macroEnabled.12"),t.set("ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"),t.set("sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"),t.set("sldm","application/vnd.ms-powerpoint.slide.macroEnabled.12"),t.set("onetoc|onetoc2|onetmp|onepkg","application/onenote"),t.set("oxps","application/oxps"),t.set("xps","application/vnd.ms-xpsdocument"),t.set("odt","application/vnd.oasis.opendocument.text"),t.set("odp","application/vnd.oasis.opendocument.presentation"),t.set("ods","application/vnd.oasis.opendocument.spreadsheet"),t.set("odg","application/vnd.oasis.opendocument.graphics"),t.set("odc","application/vnd.oasis.opendocument.chart"),t.set("odb","application/vnd.oasis.opendocument.database"),t.set("odf","application/vnd.oasis.opendocument.formula"),t.set("wp|wpd","application/wordperfect"),t.set("key","application/vnd.apple.keynote"),t.set("numbers","application/vnd.apple.numbers"),t.set("pages","application/vnd.apple.pages"),t})())("*"===s&&n.startsWith(t+"/")||n===i[0])&&e.push(...o.split("|"))}return e})(e).some((e=>(e="."+e.trim(),t.name.toLowerCase().endsWith(e.toLowerCase())))))))))throw new o(this)},h=function(t){if(!t.getAll(this.field).every((t=>this.accept?.some((e=>t===String(e))))))throw new o(this)},u=function(t){if(!t.getAll(this.field).every((t=>{const e=0===(i=new Date(t).getDay())?7:i;var i;return this.accept?.some((t=>e===parseInt(t)))})))throw new o(this)},w=function(t){if(t.getAll(this.field).length<parseInt(this.threshold))throw new o(this)},v=function(t){const e=t.getAll(this.field);if(parseInt(this.threshold)<e.length)throw new o(this)},g=function(t){const e=t.getAll(this.field);let i=0;if(e.forEach((t=>{"string"==typeof t&&(i+=t.length)})),0!==i&&i<parseInt(this.threshold))throw new o(this)},x=function(t){const e=t.getAll(this.field);let i=0;if(e.forEach((t=>{"string"==typeof t&&(i+=t.length)})),parseInt(this.threshold)<i)throw new o(this)},y=function(t){if(!t.getAll(this.field).every((t=>!(parseFloat(t)<parseFloat(this.threshold)))))throw new o(this)},b=function(t){if(!t.getAll(this.field).every((t=>!(parseFloat(this.threshold)<parseFloat(t)))))throw new o(this)},A=function(t){if(!t.getAll(this.field).every((t=>(t=t.trim(),!(/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t)&&/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(this.threshold)&&t<this.threshold)))))throw new o(this)},z=function(t){if(!t.getAll(this.field).every((t=>(t=t.trim(),!(/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t)&&/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(this.threshold)&&this.threshold<t)))))throw new o(this)},j=function(t){const e=t.getAll(this.field);let i=0;if(e.forEach((t=>{t instanceof File&&(i+=t.size)})),i<parseInt(this.threshold))throw new o(this)},$=function(t){const e=t.getAll(this.field);let i=0;if(e.forEach((t=>{t instanceof File&&(i+=t.size)})),parseInt(this.threshold)<i)throw new o(this)},I=({ruleObj:t,options:i})=>{const{rule:s,...o}=t;return"function"==typeof e[s]&&("function"!=typeof e[s].matches||e[s].matches(o,i))},O=({ruleObj:t,formDataTree:i,options:s})=>{const{rule:o}=t;e[o].call(t,i,s)},E=[],k=t=>[...E].reduce(((t,e)=>i=>e(i,t)),t),D=function(t,e={}){const i=(this.rules??[]).filter((t=>I({ruleObj:t,options:e}))),s=k(O);if(!i.every((i=>{try{s({ruleObj:i,formDataTree:t,options:e})}catch(t){if(!(t instanceof o))throw t;if(void 0!==t.error)throw t;return!1}return!0})))throw new o(this)},M=function(t,e={}){const i=(this.rules??[]).filter((t=>I({ruleObj:t,options:e}))),s=k(O);if(!i.some((i=>{try{s({ruleObj:i,formDataTree:t,options:e})}catch(t){if(!(t instanceof o))throw t;return!1}return!0})))throw new o(this)};var F;window.swv={validators:e,validate:(t,e,i={})=>{const n=(t.rules??[]).filter((t=>I({ruleObj:t,options:i})));if(!n.length)return new Map;const a=k(O),r=new s(e),p=n.reduce(((t,e)=>{try{a({ruleObj:e,formDataTree:r,options:i})}catch(e){if(!(e instanceof o))throw e;if(void 0!==e.field&&!t.has(e.field)&&void 0!==e.error)return t.set(e.field,e)}return t}),new Map);for(const t of r.keys())p.has(t)||p.set(t,{validInputs:r.getAll(t)});return p},use:t=>{E.push(t)},...null!==(F=window.swv)&&void 0!==F?F:{}}})();
(()=>{"use strict";const e=window.wp.i18n,t=e=>Math.abs(parseInt(e,10)),a=(e,t,a)=>{const n=new CustomEvent(`wpcf7${t}`,{bubbles:!0,detail:a});"string"==typeof e&&(e=document.querySelector(e)),e.dispatchEvent(n)},n=(e,t)=>{const n=new Map([["init","init"],["validation_failed","invalid"],["acceptance_missing","unaccepted"],["spam","spam"],["aborted","aborted"],["mail_sent","sent"],["mail_failed","failed"],["submitting","submitting"],["resetting","resetting"],["validating","validating"],["payment_required","payment-required"]]);n.has(t)&&(t=n.get(t)),Array.from(n.values()).includes(t)||(t=`custom-${t=(t=t.replace(/[^0-9a-z]+/i," ").trim()).replace(/\s+/,"-")}`);const r=e.getAttribute("data-status");if(e.wpcf7.status=t,e.setAttribute("data-status",t),e.classList.add(t),r&&r!==t){e.classList.remove(r);const t={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,prevStatus:r};a(e,"statuschanged",t)}return t},r=e=>{const{root:t,namespace:a="contact-form-7/v1"}=wpcf7.api;return o.reduceRight(((e,t)=>a=>t(a,e)),(e=>{let n,r,{url:o,path:c,endpoint:s,headers:i,body:l,data:p,...d}=e;"string"==typeof s&&(n=a.replace(/^\/|\/$/g,""),r=s.replace(/^\//,""),c=r?n+"/"+r:n),"string"==typeof c&&(-1!==t.indexOf("?")&&(c=c.replace("?","&")),c=c.replace(/^\//,""),o=t+c),i={Accept:"application/json, */*;q=0.1",...i},delete i["X-WP-Nonce"],p&&(l=JSON.stringify(p),i["Content-Type"]="application/json");const f={code:"fetch_error",message:"You are probably offline."},u={code:"invalid_json",message:"The response is not a valid JSON response."};return window.fetch(o||c||window.location.href,{...d,headers:i,body:l}).then((e=>Promise.resolve(e).then((e=>{if(e.status>=200&&e.status<300)return e;throw e})).then((e=>{if(204===e.status)return null;if(e&&e.json)return e.json().catch((()=>{throw u}));throw u}))),(()=>{throw f}))}))(e)},o=[];function c(e,t={}){const{target:a,scope:r=e,...o}=t;if(void 0===e.wpcf7?.schema)return;const c={...e.wpcf7.schema};if(void 0!==a){if(!e.contains(a))return;if(!a.closest(".wpcf7-form-control-wrap[data-name]"))return;if(a.closest(".novalidate"))return}const p=r.querySelectorAll(".wpcf7-form-control-wrap"),d=Array.from(p).reduce(((e,t)=>(t.closest(".novalidate")||t.querySelectorAll(":where( input, textarea, select ):enabled").forEach((t=>{if(t.name)switch(t.type){case"button":case"image":case"reset":case"submit":break;case"checkbox":case"radio":t.checked&&e.append(t.name,t.value);break;case"select-multiple":for(const a of t.selectedOptions)e.append(t.name,a.value);break;case"file":for(const a of t.files)e.append(t.name,a);break;default:e.append(t.name,t.value)}})),e)),new FormData),f=e.getAttribute("data-status");Promise.resolve(n(e,"validating")).then((n=>{if(void 0!==swv){const n=swv.validate(c,d,t);for(const t of p){if(void 0===t.dataset.name)continue;const o=t.dataset.name;if(n.has(o)){const{error:t,validInputs:a}=n.get(o);i(e,o),void 0!==t&&s(e,o,t,{scope:r}),l(e,o,null!=a?a:[])}if(t.contains(a))break}}})).finally((()=>{n(e,f)}))}r.use=e=>{o.unshift(e)};const s=(e,t,a,n)=>{const{scope:r=e,...o}=null!=n?n:{},c=`${e.wpcf7?.unitTag}-ve-${t}`.replaceAll(/[^0-9a-z_-]+/gi,""),s=e.querySelector(`.wpcf7-form-control-wrap[data-name="${t}"] .wpcf7-form-control`);(()=>{const t=document.createElement("li");t.setAttribute("id",c),s&&s.id?t.insertAdjacentHTML("beforeend",`<a href="#${s.id}">${a}</a>`):t.insertAdjacentText("beforeend",a),e.wpcf7.parent.querySelector(".screen-reader-response ul").appendChild(t)})(),r.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${t}"]`).forEach((e=>{const t=document.createElement("span");t.classList.add("wpcf7-not-valid-tip"),t.setAttribute("aria-hidden","true"),t.insertAdjacentText("beforeend",a),e.appendChild(t),e.querySelectorAll("[aria-invalid]").forEach((e=>{e.setAttribute("aria-invalid","true")})),e.querySelectorAll(".wpcf7-form-control").forEach((e=>{e.classList.add("wpcf7-not-valid"),e.setAttribute("aria-describedby",c),"function"==typeof e.setCustomValidity&&e.setCustomValidity(a),e.closest(".use-floating-validation-tip")&&(e.addEventListener("focus",(e=>{t.setAttribute("style","display: none")})),t.addEventListener("click",(e=>{t.setAttribute("style","display: none")})))}))}))},i=(e,t)=>{const a=`${e.wpcf7?.unitTag}-ve-${t}`.replaceAll(/[^0-9a-z_-]+/gi,"");e.wpcf7.parent.querySelector(`.screen-reader-response ul li#${a}`)?.remove(),e.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${t}"]`).forEach((e=>{e.querySelector(".wpcf7-not-valid-tip")?.remove(),e.querySelectorAll("[aria-invalid]").forEach((e=>{e.setAttribute("aria-invalid","false")})),e.querySelectorAll(".wpcf7-form-control").forEach((e=>{e.removeAttribute("aria-describedby"),e.classList.remove("wpcf7-not-valid"),"function"==typeof e.setCustomValidity&&e.setCustomValidity("")}))}))},l=(e,t,a)=>{e.querySelectorAll(`[data-reflection-of="${t}"]`).forEach((e=>{if("output"===e.tagName.toLowerCase()){const t=e;0===a.length&&a.push(t.dataset.default),a.slice(0,1).forEach((e=>{e instanceof File&&(e=e.name),t.textContent=e}))}else e.querySelectorAll("output").forEach((e=>{e.hasAttribute("data-default")?0===a.length?e.removeAttribute("hidden"):e.setAttribute("hidden","hidden"):e.remove()})),a.forEach((a=>{a instanceof File&&(a=a.name);const n=document.createElement("output");n.setAttribute("name",t),n.textContent=a,e.appendChild(n)}))}))};function p(e,t={}){if(wpcf7.blocked)return d(e),void n(e,"submitting");const o=new FormData(e);t.submitter&&t.submitter.name&&o.append(t.submitter.name,t.submitter.value);const c={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,inputs:Array.from(o,(e=>{const t=e[0],a=e[1];return!t.match(/^_/)&&{name:t,value:a}})).filter((e=>!1!==e)),formData:o};r({endpoint:`contact-forms/${e.wpcf7.id}/feedback`,method:"POST",body:o,wpcf7:{endpoint:"feedback",form:e,detail:c}}).then((t=>{const r=n(e,t.status);return c.status=t.status,c.apiResponse=t,["invalid","unaccepted","spam","aborted"].includes(r)?a(e,r,c):["sent","failed"].includes(r)&&a(e,`mail${r}`,c),a(e,"submit",c),t})).then((t=>{t.posted_data_hash&&(e.querySelector('input[name="_wpcf7_posted_data_hash"]').value=t.posted_data_hash),"mail_sent"===t.status&&(e.reset(),e.wpcf7.resetOnMailSent=!0),t.invalid_fields&&t.invalid_fields.forEach((t=>{s(e,t.field,t.message)})),e.wpcf7.parent.querySelector('.screen-reader-response [role="status"]').insertAdjacentText("beforeend",t.message),e.querySelectorAll(".wpcf7-response-output").forEach((e=>{e.innerText=t.message}))})).catch((e=>console.error(e)))}r.use(((e,t)=>{if(e.wpcf7&&"feedback"===e.wpcf7.endpoint){const{form:t,detail:r}=e.wpcf7;d(t),a(t,"beforesubmit",r),n(t,"submitting")}return t(e)}));const d=e=>{e.querySelectorAll(".wpcf7-form-control-wrap").forEach((t=>{t.dataset.name&&i(e,t.dataset.name)})),e.wpcf7.parent.querySelector('.screen-reader-response [role="status"]').innerText="",e.querySelectorAll(".wpcf7-response-output").forEach((e=>{e.innerText=""}))};function f(e){const t=new FormData(e),o={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,inputs:Array.from(t,(e=>{const t=e[0],a=e[1];return!t.match(/^_/)&&{name:t,value:a}})).filter((e=>!1!==e)),formData:t};r({endpoint:`contact-forms/${e.wpcf7.id}/refill`,method:"GET",wpcf7:{endpoint:"refill",form:e,detail:o}}).then((t=>{e.wpcf7.resetOnMailSent?(delete e.wpcf7.resetOnMailSent,n(e,"mail_sent")):n(e,"init"),o.apiResponse=t,a(e,"reset",o)})).catch((e=>console.error(e)))}r.use(((e,t)=>{if(e.wpcf7&&"refill"===e.wpcf7.endpoint){const{form:t,detail:a}=e.wpcf7;d(t),n(t,"resetting")}return t(e)}));const u=(e,t)=>{for(const a in t){const n=t[a];e.querySelectorAll(`input[name="${a}"]`).forEach((e=>{e.value=""})),e.querySelectorAll(`img.wpcf7-captcha-${a.replaceAll(":","")}`).forEach((e=>{e.setAttribute("src",n)}));const r=/([0-9]+)\.(png|gif|jpeg)$/.exec(n);r&&e.querySelectorAll(`input[name="_wpcf7_captcha_challenge_${a}"]`).forEach((e=>{e.value=r[1]}))}},m=(e,t)=>{for(const a in t){const n=t[a][0],r=t[a][1];e.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${a}"]`).forEach((e=>{e.querySelector(`input[name="${a}"]`).value="",e.querySelector(".wpcf7-quiz-label").textContent=n,e.querySelector(`input[name="_wpcf7_quiz_answer_${a}"]`).value=r}))}};function w(e){const a=new FormData(e);e.wpcf7={id:t(a.get("_wpcf7")),status:e.getAttribute("data-status"),pluginVersion:a.get("_wpcf7_version"),locale:a.get("_wpcf7_locale"),unitTag:a.get("_wpcf7_unit_tag"),containerPost:t(a.get("_wpcf7_container_post")),parent:e.closest(".wpcf7"),get schema(){return wpcf7.schemas.get(this.id)}},wpcf7.schemas.set(e.wpcf7.id,void 0),e.querySelectorAll(".has-spinner").forEach((e=>{e.insertAdjacentHTML("afterend",'<span class="wpcf7-spinner"></span>')})),(e=>{e.querySelectorAll(".wpcf7-exclusive-checkbox").forEach((t=>{t.addEventListener("change",(t=>{const a=t.target.getAttribute("name");e.querySelectorAll(`input[type="checkbox"][name="${a}"]`).forEach((e=>{e!==t.target&&(e.checked=!1)}))}))}))})(e),(e=>{e.querySelectorAll(".has-free-text").forEach((t=>{const a=t.querySelector("input.wpcf7-free-text"),n=t.querySelector('input[type="checkbox"], input[type="radio"]');a.disabled=!n.checked,e.addEventListener("change",(e=>{a.disabled=!n.checked,e.target===n&&n.checked&&a.focus()}))}))})(e),(e=>{e.querySelectorAll(".wpcf7-validates-as-url").forEach((e=>{e.addEventListener("change",(t=>{let a=e.value.trim();a&&!a.match(/^[a-z][a-z0-9.+-]*:/i)&&-1!==a.indexOf(".")&&(a=a.replace(/^\/+/,""),a="http://"+a),e.value=a}))}))})(e),(e=>{if(!e.querySelector(".wpcf7-acceptance")||e.classList.contains("wpcf7-acceptance-as-validation"))return;const t=()=>{let t=!0;e.querySelectorAll(".wpcf7-acceptance").forEach((e=>{if(!t||e.classList.contains("optional"))return;const a=e.querySelector('input[type="checkbox"]');(e.classList.contains("invert")&&a.checked||!e.classList.contains("invert")&&!a.checked)&&(t=!1)})),e.querySelectorAll(".wpcf7-submit").forEach((e=>{e.disabled=!t}))};t(),e.addEventListener("change",(e=>{t()})),e.addEventListener("wpcf7reset",(e=>{t()}))})(e),(e=>{const a=(e,a)=>{const n=t(e.getAttribute("data-starting-value")),r=t(e.getAttribute("data-maximum-value")),o=t(e.getAttribute("data-minimum-value")),c=e.classList.contains("down")?n-a.value.length:a.value.length;e.setAttribute("data-current-value",c),e.innerText=c,r&&r<a.value.length?e.classList.add("too-long"):e.classList.remove("too-long"),o&&a.value.length<o?e.classList.add("too-short"):e.classList.remove("too-short")},n=t=>{t={init:!1,...t},e.querySelectorAll(".wpcf7-character-count").forEach((n=>{const r=n.getAttribute("data-target-name"),o=e.querySelector(`[name="${r}"]`);o&&(o.value=o.defaultValue,a(n,o),t.init&&o.addEventListener("keyup",(e=>{a(n,o)})))}))};n({init:!0}),e.addEventListener("wpcf7reset",(e=>{n()}))})(e),window.addEventListener("load",(t=>{wpcf7.cached&&e.reset()})),e.addEventListener("reset",(t=>{wpcf7.reset(e)})),e.addEventListener("submit",(t=>{wpcf7.submit(e,{submitter:t.submitter}),t.preventDefault()})),e.addEventListener("wpcf7submit",(t=>{t.detail.apiResponse.captcha&&u(e,t.detail.apiResponse.captcha),t.detail.apiResponse.quiz&&m(e,t.detail.apiResponse.quiz)})),e.addEventListener("wpcf7reset",(t=>{t.detail.apiResponse.captcha&&u(e,t.detail.apiResponse.captcha),t.detail.apiResponse.quiz&&m(e,t.detail.apiResponse.quiz)})),e.addEventListener("change",(t=>{t.target.closest(".wpcf7-form-control")&&wpcf7.validate(e,{target:t.target})})),e.addEventListener("wpcf7statuschanged",(t=>{const a=t.detail.status;e.querySelectorAll(".active-on-any").forEach((e=>{e.removeAttribute("inert"),e.classList.remove("active-on-any")})),e.querySelectorAll(`.inert-on-${a}`).forEach((e=>{e.setAttribute("inert","inert"),e.classList.add("active-on-any")}))}))}document.addEventListener("DOMContentLoaded",(t=>{var a;if("undefined"!=typeof wpcf7)if(void 0!==wpcf7.api)if("function"==typeof window.fetch)if("function"==typeof window.FormData)if("function"==typeof NodeList.prototype.forEach)if("function"==typeof String.prototype.replaceAll){wpcf7={init:w,submit:p,reset:f,validate:c,schemas:new Map,...null!==(a=wpcf7)&&void 0!==a?a:{}},document.querySelectorAll("form .wpcf7").forEach((t=>{const a=document.createElement("p");a.setAttribute("class","wpcf7-form-in-wrong-place");const n=document.createElement("strong");n.append((0,e.__)("Error:","contact-form-7"));const r=(0,e.__)("This contact form is placed in the wrong place.","contact-form-7");a.append(n," ",r),t.replaceWith(a)})),document.querySelectorAll(".wpcf7 > form").forEach((e=>{wpcf7.init(e),e.closest(".wpcf7").classList.replace("no-js","js")}));for(const e of wpcf7.schemas.keys())r({endpoint:`contact-forms/${e}/feedback/schema`,method:"GET"}).then((t=>{wpcf7.schemas.set(e,t)}))}else console.error("Your browser does not support String.replaceAll().");else console.error("Your browser does not support NodeList.forEach().");else console.error("Your browser does not support window.FormData().");else console.error("Your browser does not support window.fetch().");else console.error("wpcf7.api is not defined.");else console.error("wpcf7 is not defined.")}))})();
/*! js-cookie v3.0.0-rc.0 | MIT */
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self,function(){var r=e.Cookies,n=e.Cookies=t();n.noConflict=function(){return e.Cookies=r,n}}())}(this,function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var t={read:function(e){return e.replace(/%3B/g,";")},write:function(e){return e.replace(/;/g,"%3B")}};return function r(n,i){function o(r,o,u){if("undefined"!=typeof document){"number"==typeof(u=e({},i,u)).expires&&(u.expires=new Date(Date.now()+864e5*u.expires)),u.expires&&(u.expires=u.expires.toUTCString()),r=t.write(r).replace(/=/g,"%3D"),o=n.write(String(o),r);var c="";for(var f in u)u[f]&&(c+="; "+f,!0!==u[f]&&(c+="="+u[f].split(";")[0]));return document.cookie=r+"="+o+c}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var r=document.cookie?document.cookie.split("; "):[],i={},o=0;o<r.length;o++){var u=r[o].split("="),c=u.slice(1).join("="),f=t.read(u[0]).replace(/%3D/g,"=");if(i[f]=n.read(c,f),e===f)break}return e?i[e]:i}},remove:function(t,r){o(t,"",e({},r,{expires:-1}))},withAttributes:function(t){return r(this.converter,e({},this.attributes,t))},withConverter:function(t){return r(e({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(i)},converter:{value:Object.freeze(n)}})}(t,{path:"/"})});
/*! jquery.iframetracker v2.1.0 | https://github.com/vincepare/iframeTracker-jquery | Copyright (c) 2013-2018 Vincent Paré | Licensed Apache-2.0 */
!function(e,r){"function"==typeof define&&define.amd?define(["jquery"],function(e){return r(e)}):"object"==typeof module&&module.exports?module.exports=r(require("jquery")):r(e.jQuery)}(this,function(e){!function(e){e.fn.iframeTracker=function(r){"function"==typeof r&&(r={blurCallback:r});var t=this.get();if(null===r||!1===r)e.iframeTracker.untrack(t);else{if("object"!=typeof r)throw new Error("Wrong handler type (must be an object, or null|false to untrack)");e.iframeTracker.track(t,r)}return this},e.iframeTracker={focusRetriever:null,focusRetrieved:!1,handlersList:[],isIE8AndOlder:!1,init:function(){try{!0===e.browser.msie&&e.browser.version<9&&(this.isIE8AndOlder=!0)}catch(e){try{navigator.userAgent.match(/(msie) ([\w.]+)/i)[2]<9&&(this.isIE8AndOlder=!0)}catch(e){}}if(e(window).focus(),e(window).blur(function(r){e.iframeTracker.windowLoseFocus(r)}),e("body").append('<div style="position:fixed; top:0; left:0; overflow:hidden;"><input style="position:absolute; left:-300px;" type="text" value="" id="focus_retriever" readonly="true" /></div>'),this.focusRetriever=e("#focus_retriever"),this.focusRetrieved=!1,this.isIE8AndOlder){this.focusRetriever.blur(function(r){r.stopPropagation(),r.preventDefault(),e.iframeTracker.windowLoseFocus(r)}),e("body").click(function(r){e(window).focus()}),e("form").click(function(e){e.stopPropagation()});try{e("body").on("click","form",function(e){e.stopPropagation()})}catch(e){console.log("[iframeTracker] Please update jQuery to 1.7 or newer. (exception: "+e.message+")")}}},track:function(r,t){t.target=r,e.iframeTracker.handlersList.push(t),e(r).bind("mouseover",{handler:t},e.iframeTracker.mouseoverListener).bind("mouseout",{handler:t},e.iframeTracker.mouseoutListener)},untrack:function(r){if("function"==typeof Array.prototype.filter){e(r).each(function(r){e(this).unbind("mouseover",e.iframeTracker.mouseoverListener).unbind("mouseout",e.iframeTracker.mouseoutListener)});var t=function(e){return null!==e};for(var i in this.handlersList){for(var o in this.handlersList[i].target)-1!==e.inArray(this.handlersList[i].target[o],r)&&(this.handlersList[i].target[o]=null);this.handlersList[i].target=this.handlersList[i].target.filter(t),0===this.handlersList[i].target.length&&(this.handlersList[i]=null)}this.handlersList=this.handlersList.filter(t)}else console.log("Your browser doesn't support Array filter, untrack disabled")},mouseoverListener:function(r){r.data.handler.over=!0,e.iframeTracker.retrieveFocus();try{r.data.handler.overCallback(this,r)}catch(e){}},mouseoutListener:function(r){r.data.handler.over=!1,e.iframeTracker.retrieveFocus();try{r.data.handler.outCallback(this,r)}catch(e){}},retrieveFocus:function(){document.activeElement&&"IFRAME"===document.activeElement.tagName&&(e.iframeTracker.focusRetriever.focus(),e.iframeTracker.focusRetrieved=!0)},windowLoseFocus:function(e){for(var r in this.handlersList)if(!0===this.handlersList[r].over)try{this.handlersList[r].blurCallback(e)}catch(e){}}},e(document).ready(function(){e.iframeTracker.init()})}(e)});
!function($){var aicpCookies=Cookies.noConflict();if($(".aicp").length>0){if(void 0===aicpCookies.get("aicp_click_count"))var count=0;else var count=aicpCookies.get("aicp_click_count");count>AICP.clickLimit?$(".aicp").css({display:"none"}):$(".aicp iframe").iframeTracker({blurCallback:function(){++count,aicpCookies.set("aicp_click_count",count,{expires:AICP.clickCounterCookieExp/24,sameSite:"strict",secure:"https:"===location.protocol}),count>=AICP.clickLimit&&($(".aicp").css({display:"none"}),jQuery.ajax({type:"POST",url:AICP.ajaxurl,data:{action:"process_data",nonce:AICP.nonce,ip:AICP.ip,aicp_click_count:count},success:function(data){console.log("You are now blocked from seeing ads.")},error:function(data){console.error("AICP Error Details:",data)}}))}})}}(jQuery);
jQuery(document).ready(function(){var t=!1;void 0!==eztoc_smooth_local.JumpJsLinks&&1===parseInt(eztoc_smooth_local.JumpJsLinks)&&(t=!0),document.querySelectorAll(".ez-toc-link").forEach(t=>{t=t.replaceWith(t.cloneNode(!0))}),document.querySelectorAll(".ez-toc-section").forEach(t=>{t.setAttribute("ez-toc-data-id","#"+decodeURI(t.getAttribute("id")))}),jQuery("a.ez-toc-link").click(function(){let e=jQuery(this).attr("data-href"),i=jQuery(this).attr("href");if(1===parseInt(eztoc_smooth_local.add_request_uri)){if(jQuery(this).attr("data-href")){let r=jQuery(this).attr("data-href").split("#");r&&r.length>1&&(e=`#${r[1]}`)}if(jQuery(this).attr("href")){let a=jQuery(this).attr("href").split("#");a&&a.length>1&&(i=`#${a[1]}`)}}let l=t?e:i,o=jQuery("#wpadminbar"),s=jQuery("header"),h=0;if(parseInt(eztoc_smooth_local.scroll_offset)>30&&(h=parseInt(eztoc_smooth_local.scroll_offset)),o.length&&(h+=o.height()),(s.length&&"fixed"==s.css("position")||"sticky"==s.css("position"))&&(h+=s.height()),jQuery('[ez-toc-data-id="'+decodeURI(l)+'"]').length>0&&(h=jQuery('[ez-toc-data-id="'+decodeURI(l)+'"]').offset().top-h),jQuery("html, body").animate({scrollTop:h},500),t)return!1})});
/*!
 * JavaScript Cookie v2.2.1
 * https://github.com/js-cookie/js-cookie
 *
 * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
 * Released under the MIT license
 */
!function(factory){var registeredInModuleLoader;if("function"==typeof define&&define.amd&&(define(factory),registeredInModuleLoader=!0),"object"==typeof exports&&(module.exports=factory(),registeredInModuleLoader=!0),!registeredInModuleLoader){var OldCookies=window.Cookies,api=window.Cookies=factory();api.noConflict=function(){return window.Cookies=OldCookies,api}}}((function(){function extend(){for(var i=0,result={};i<arguments.length;i++){var attributes=arguments[i];for(var key in attributes)result[key]=attributes[key]}return result}function decode(s){return s.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}function init(converter){function api(){}function set(key,value,attributes){if("undefined"!=typeof document){"number"==typeof(attributes=extend({path:"/"},api.defaults,attributes)).expires&&(attributes.expires=new Date(1*new Date+864e5*attributes.expires)),attributes.expires=attributes.expires?attributes.expires.toUTCString():"";try{var result=JSON.stringify(value);/^[\{\[]/.test(result)&&(value=result)}catch(e){}value=converter.write?converter.write(value,key):encodeURIComponent(String(value)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),key=encodeURIComponent(String(key)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var stringifiedAttributes="";for(var attributeName in attributes)attributes[attributeName]&&(stringifiedAttributes+="; "+attributeName,!0!==attributes[attributeName]&&(stringifiedAttributes+="="+attributes[attributeName].split(";")[0]));return document.cookie=key+"="+value+stringifiedAttributes}}function get(key,json){if("undefined"!=typeof document){for(var jar={},cookies=document.cookie?document.cookie.split("; "):[],i=0;i<cookies.length;i++){var parts=cookies[i].split("="),cookie=parts.slice(1).join("=");json||'"'!==cookie.charAt(0)||(cookie=cookie.slice(1,-1));try{var name=decode(parts[0]);if(cookie=(converter.read||converter)(cookie,name)||decode(cookie),json)try{cookie=JSON.parse(cookie)}catch(e){}if(jar[name]=cookie,key===name)break}catch(e){}}return key?jar[key]:jar}}return api.set=set,api.get=function(key){return get(key,!1)},api.getJSON=function(key){return get(key,!0)},api.remove=function(key,attributes){set(key,"",extend(attributes,{expires:-1}))},api.defaults={},api.withConverter=init,api}return init((function(){}))}));
(function(){var a,b;a=this.jQuery||window.jQuery;b=a(window);a.fn.stick_in_parent=function(d){var p,m,o,n,j,h,k,f,l,e,c,g;if(d==null){d={};}g=d.sticky_class,h=d.inner_scrolling,c=d.recalc_every,e=d.parent,l=d.offset_top,f=d.spacer,o=d.bottoming;
if(l==null){l=0;}if(e==null){e=void 0;}if(h==null){h=true;}if(g==null){g="is_stuck";}p=a(document);if(o==null){o=true;}n=function(t,G,q,i,B,C,y,z){var D,H,r,F,I,s,w,u,x,A,v,E;
if(t.data("sticky_kit")){return;}t.data("sticky_kit",true);I=p.height();w=t.parent();if(e!=null){w=w.closest(e);}if(!w.length){throw"failed to find stick parent";
}r=false;D=false;v=f!=null?f&&t.closest(f):a("<div />");u=function(){var J,L,K;if(z){return;}I=p.height();J=parseInt(w.css("border-top-width"),10);L=parseInt(w.css("padding-top"),10);
G=parseInt(w.css("padding-bottom"),10);q=w.offset().top+J+L;i=w.height();if(r){r=false;D=false;if(f==null){t.insertAfter(v);v.detach();}t.css({position:"",top:"",width:"",bottom:""}).removeClass(g);
K=true;}B=t.offset().top-(parseInt(t.css("margin-top"),10)||0)-l;C=t.outerHeight(true);y=t.css("float");if(v){v.css({width:t.outerWidth(true),height:C,display:t.css("display"),"vertical-align":t.css("vertical-align"),"float":y});
}if(K){return E();}};u();if(C===i){return;}F=void 0;s=l;A=c;E=function(){var L,O,M,K,J,N;if(z){return;}M=false;if(A!=null){A-=1;if(A<=0){A=c;u();M=true;
}}if(!M&&p.height()!==I){u();M=true;}K=b.scrollTop();if(F!=null){O=K-F;}F=K;if(r){if(o){J=K+C+s>i+q;if(D&&!J){D=false;t.css({position:"fixed",bottom:"",top:s}).trigger("sticky_kit:unbottom");
}}if(K<B){r=false;s=l;if(f==null){if(y==="left"||y==="right"){t.insertAfter(v);}v.detach();}L={position:"",width:"",top:""};t.css(L).removeClass(g).trigger("sticky_kit:unstick");
}if(h){N=b.height();if(C+l>N){if(!D){s-=O;s=Math.max(N-C,s);s=Math.min(l,s);if(r){t.css({top:s+"px"});}}}}}else{if(K>B){r=true;L={position:"fixed",top:s};
L.width=t.css("box-sizing")==="border-box"?t.outerWidth()+"px":t.width()+"px";t.css(L).addClass(g);if(f==null){t.after(v);if(y==="left"||y==="right"){v.append(t);
}}t.trigger("sticky_kit:stick");}}if(r&&o){if(J==null){J=K+C+s>i+q;}if(!D&&J){D=true;if(w.css("position")==="static"){w.css({position:"relative"});}return t.css({position:"absolute",bottom:G,top:"auto"}).trigger("sticky_kit:bottom");
}}};x=function(){u();return E();};H=function(){z=true;b.off("touchmove",E);b.off("scroll",E);b.off("resize",x);a(document.body).off("sticky_kit:recalc",x);
t.off("sticky_kit:detach",H);t.removeData("sticky_kit");t.css({position:"",bottom:"",top:"",width:""});w.position("position","");if(r){if(f==null){if(y==="left"||y==="right"){t.insertAfter(v);
}v.remove();}return t.removeClass(g);}};b.on("touchmove",E);b.on("scroll",E);b.on("resize",x);a(document.body).on("sticky_kit:recalc",x);t.on("sticky_kit:detach",H);
return setTimeout(E,0);};for(j=0,k=this.length;j<k;j++){m=this[j];n(a(m));}return this;};}).call(this);
jQuery(function(e){if("undefined"!=typeof ezTOC){function t(){if(0!==e(".ez-toc-widget-container.ez-toc-affix").length){var t=30;void 0!==ezTOC.scroll_offset&&(t=parseInt(ezTOC.scroll_offset)),e(ezTOC.affixSelector).stick_in_parent({inner_scrolling:!1,offset_top:t})}if(e.fn.shrinkTOCWidth=function(){e(this).css({width:"auto",display:"table"}),/MSIE 7\./.test(navigator.userAgent)&&e(this).css("width","")},void 0!==ezTOC.visibility_hide_by_default){var i=e(".ez-toc-toggle:not(.ez-toc-loaded),.ez-toc-widget-sticky-toggle:not(.ez-toc-loaded)"),o=ezTOC.visibility_hide_by_default;e.each(i,function(t,i){var c=e(this);e(c).addClass("ez-toc-loaded");var n=e(c).parents("#ez-toc-container,#ez-toc-widget-container,#ez-toc-widget-sticky-container").find("ul.ez-toc-list,ul.ez-toc-widget-sticky-list");e(n).hasClass("eztoc-toggle-hide-by-default")&&(o=1),"undefined"!=typeof Cookies&&(Cookies?(1==Cookies.get("ezTOC_hidetoc-"+t)?e(c).data("visible",!1):e(c).data("visible",!0),Cookies.remove("ezTOC_hidetoc-"+t)):(e(c).data("visible",!0),Cookies.remove("ezTOC_hidetoc-"+t))),o&&e(c).data("visible",!1),e(c).data("visible")||n.hide(),e(c).on("click",function(i){i.preventDefault();let c=document.querySelector("#ez-toc-container");if(c)c.classList.toggle("toc_close");else{let l=document.querySelector(".ez-toc-widget-container,.ez-toc-widget-sticky-container");l.classList.toggle("toc_close")}e(this).data("visible")?(e(this).data("visible",!1),"undefined"!=typeof Cookies&&Cookies&&(o?Cookies.set("ezTOC_hidetoc-"+t,null,{path:"/"}):Cookies.set("ezTOC_hidetoc-"+t,"1",{expires:30,path:"/"})),n.hide("fast")):(e(this).data("visible",!0),"undefined"!=typeof Cookies&&Cookies&&(o?Cookies.set("ezTOC_hidetoc-"+t,"1",{expires:30,path:"/"}):Cookies.set("ezTOC_hidetoc-"+t,null,{path:"/"})),n.show("fast"))})})}var c,n,l,a=e("span.ez-toc-section").toArray(),s=(c=a,c.reduce(function(t,i){var o;return t[i.id]=e('.ez-toc-widget-container .ez-toc-list a[href="#'+e(o=i).attr("id")+'"]'),t},{})),r=e.map(s,function(e,t){return e}),d=(n=5,void 0!==ezTOC.smooth_scroll&&1===parseInt(ezTOC.smooth_scroll)&&(n=void 0!==ezTOC.scroll_offset?parseInt(ezTOC.scroll_offset):30),l=e("#wpadminbar"),l.length&&(n+=l.height()),n);function h(){var t,i,o,c,n,l=(t=d,i=a,o=e(window).scrollTop()+t+1,c=i[0],n=o-e(c).offset().top,i.forEach(function(t){var i=o-e(t).offset().top;i>0&&i<n&&(n=i,c=t)}),c);if(l){var h,f,z,u,g,v,p,b,m,k=s[l.id];(function e(t,i){i.forEach(function(e){t!==e&&e.parent().hasClass("active")&&e.parent().removeClass("active")})})(k,r),(z=(h=k).parent()).hasClass("active")||z.addClass("active"),m=(u=f=z,g=e(u),v=g.html(),g.parent().append('<li id="ez-toc-height-test" class="active">'+v+"</li>"),p=e("#ez-toc-height-test"),b=p.height(),p.remove(),b-(g.children("ul").first().height()||0)),e(".ez-toc-widget-container ul.ez-toc-list li.active").css("height",m+"px")}}function f(){e(window).off("load resize scroll",h)}a.length>0&&e(".ez-toc-widget-container").length&&e(window).on("load resize scroll",h)}e("#ez-toc-container").length&&!e("#ez-toc-container .ez-toc-toggle label span").html()&&e("#ez-toc-container .ez-toc-toggle label").html(ezTOC.fallbackIcon),ezTOC.init=function(){t()},t(),void 0!==ezTOC.ajax_toggle&&1===parseInt(ezTOC.ajax_toggle)&&e(document).ajaxComplete(function(){t()})}e(document).on("click","#ez-toc-open-sub-hd",function(t){e(this).attr("id","ez-toc-open-sub-hd-active"),t.preventDefault()}),e(document).on("click","#ez-toc-open-sub-hd-active",function(t){e(this).attr("id","ez-toc-open-sub-hd"),t.preventDefault()}),e("#ez-toc-more-links-enabler").click(function(){e(".ez-toc-more-link").show(),e("#ez-toc-more-links-enabler").hide(),e("#ez-toc-more-links-disabler").attr("style","display:inline-block")}),e("#ez-toc-more-links-disabler").click(function(){e(".ez-toc-more-link").hide(),e("#ez-toc-more-links-enabler").show(),e("#ez-toc-more-links-disabler").hide()}),1===parseInt(ezTOC.chamomile_theme_is_on)&&e("#ez-toc-container").find(".hamburger").remove()});
(()=>{"use strict";var t={n:n=>{var a=n&&n.__esModule?()=>n.default:()=>n;return t.d(a,{a}),a},d:(n,a)=>{for(var e in a)t.o(a,e)&&!t.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:a[e]})},o:(t,n)=>Object.prototype.hasOwnProperty.call(t,n)};const n=window.jQuery;var a=t.n(n);!function(t,n,a,e){function i(t){const n=a(t.target),e=n.closest("[data-st-pvm]"),i=n.attr("data-st-pvm-nav"),s=e.find('[data-st-pvm-id="'+i+'"]');e.length&&s.length&&(e.find("[data-st-pvm-nav]").removeAttr("data-st-pvm-is-active"),e.find("[data-st-pvm-id]").removeAttr("data-st-pvm-is-active"),n.attr("data-st-pvm-is-active",!0),s.attr("data-st-pvm-is-active",!0))}const s=function(){function t(t){this._$element=t,this._handlers={onClick:i.bind(this)}}return t.prototype.addEventListeners=function(){a("[data-st-pvm-nav]").on("click",this._handlers.onClick)},t.prototype.initialize=function(){this.addEventListeners()},t}();a((function(){const t=[];a("[data-st-pvm]").each((function(n,a){const e=new s(a);t.push(e),e.initialize()}))}))}(window,window.document,a())})();
new function(){'use strict';var footerId="footer";var fixedClass='fixed-footer';function footerFixed(){var dh=document.getElementsByTagName("body")[0].clientHeight;document.getElementById(footerId).style.top="0px";var ft=document.getElementById(footerId).offsetTop;var fh=document.getElementById(footerId).offsetHeight;var wh;if(window.innerHeight){wh=window.innerHeight;}else if(document.documentElement&&document.documentElement.clientHeight!==0){wh=document.documentElement.clientHeight;}
if(ft+fh<wh){document.getElementById(footerId).style.position="relative";document.getElementById(footerId).style.top=(wh-fh-ft-1)+"px";if(document.body.classList){document.body.classList.add(fixedClass);}else{document.body.className+=' '+fixedClass;}}else{if(document.body.classList){document.body.classList.remove(fixedClass);}else{document.body.className=document.body.className.replace(new RegExp('(^|\\b)'+fixedClass+'(\\b|$)','gi'),' ');}}}
function checkFontSize(func){var e=document.createElement("div");var s=document.createTextNode("S");e.appendChild(s);e.style.visibility="hidden"
e.style.position="absolute"
e.style.top="0"
document.body.appendChild(e);var defHeight=e.offsetHeight;function checkBoxSize(){if(defHeight!==e.offsetHeight){func();defHeight=e.offsetHeight;}}
setInterval(checkBoxSize,1000)}
function addEvent(elm,listener,fn){try{elm.addEventListener(listener,fn,false);}catch(e){elm.attachEvent("on"+listener,fn);}}
addEvent(window,"load",footerFixed);addEvent(window,"load",function(){checkFontSize(footerFixed);});addEvent(window,"resize",footerFixed);}
(function(window,document,$,undefined){'use strict';$(function(){var pageTop=$('#page-top');pageTop.hide();$(window).scroll(function(){if($(this).scrollTop()>400){pageTop.fadeIn();}else{pageTop.fadeOut();}});pageTop.click(function(){$('body,html').animate({scrollTop:0},800);return false;});});}(window,window.document,jQuery));;(function(window,$,ST,undefined){'use strict';var transitionEvent=(function detectTransitionEvent(){var element=document.createElement('div');var transitions={'transition':'transitionend','OTransition':'oTransitionEnd','MozTransition':'transitionend','WebkitTransition':'webkitTransitionEnd'};for(var property in transitions){if(!Object.prototype.hasOwnProperty.call(transitions,property)){continue;}
if(element.style[property]!==undefined){return transitions[property];}}
return'transitionend';}());function isMobile(){return(ST.is_mobile==='1');}
function createHoverableMenuItemListener(){return{click:function(event){event.preventDefault();event.stopPropagation();if(this.isClickable()){if(isMobile()){this.getRoot().data('st-menu').collapseChildren(false);}
window.location.href=this.getLink().attr('href');return;}
this.toggle();},mouseenter:function(){if(isMobile()){return;}
this.expand();},mouseleave:function(){if(isMobile()){return;}
this.collapse();}};}
function createClickableMenuItemListener(){return{click:function(event){event.preventDefault();event.stopPropagation();if(this.isClickable()){window.location.href=this.getLink().attr('href');return;}
this.toggle();},mouseenter:function(){},mouseleave:function(){}};}
var MenuItem=(function(){function MenuItem($element,options){if(!(this instanceof MenuItem)){return new MenuItem($element);}
var defaults={listener:{click:function(){},mouseenter:function(){},mouseleave:function(){}},expanded:false,hoverable:false,link:null,children:null,icon:false};this.$element=$element;this.options=$.extend({},defaults,options);if(!this.options.link){this.options.link=function(){return this.$element.find('> a');};}
if(!this.options.children){this.options.children=function(){return this.$element.find('> ul');};}
this.expanded=this.options.expanded;this.$icon=null;}
MenuItem.prototype.getElement=function getElement(){return this.$element;};MenuItem.prototype.hasParent=function hasParent(){var hasParent=false;this.$element.parents().each(function(){if(typeof $(this).data('st-menu-item')!=='undefined'){return false;}});return hasParent;};MenuItem.prototype.getRoot=function getRoot(){var $root=this.$element;this.$element.parents().each(function(){var $this=$(this);if(typeof $this.data('st-menu-item')!=='undefined'){$root=$this;}});return $root;};MenuItem.prototype.getIcon=function getIcon(){this.$icon=this.$icon||$('<i></i>').appendTo(this.getLink());return this.$icon;};MenuItem.prototype.getLink=function getLink(){if(typeof this.options.link==='function'){return this.options.link.bind(this)();}else{return $(this.options.link).eq(0);}};MenuItem.prototype.hasChildren=function hasChildren(){if(typeof this.options.children==='function'){return this.options.children.bind(this)().length;}else{return $(this.options.children).length;}};MenuItem.prototype.isExpanded=function isExpanded(){return this.expanded;};MenuItem.prototype.isClickable=function isClckable(){if(!this.getLink().length){return false;}
return(!this.hasChildren()||(this.hasChildren()&&this.isExpanded()));};MenuItem.prototype.initialize=function initialzie(){if(this.options.icon){this.$icon=$('<i></i>');this.getLink().append(this.$icon);}
this.refresh(false);this.addEventListener();};MenuItem.prototype.refresh=function refresh(animation){animation=(typeof animation!=='undefined')?animation:true;if(this.expanded||!this.hasChildren()){this.expand(animation);}else{this.collapse(animation);}};MenuItem.prototype.expand=function expand(animation){var self=this;var $child=this.$element.find('> ul');this.expanded=true;animation=(typeof animation!=='undefined')?animation:true;if(animation&&$child.length){$child.animate({marginTop:'show',marginBottom:'show',paddingTop:'show',paddingBottom:'show',height:'show'},'fast',function(){if(self.options.icon){self.getIcon().attr({'class':'menu-item-icon st-fa st-svg-angle-right'});}
self.$element.removeClass('menu-item-collapsed').addClass('menu-item-expanded');});}else{$child.show();if(self.options.icon){this.getIcon().attr({'class':'menu-item-icon st-fa st-svg-angle-right'});}
this.$element.removeClass('menu-item-collapsed').addClass('menu-item-expanded');}};MenuItem.prototype.collapse=function collapse(animation){var self=this;var $child=this.$element.find('> ul');this.expanded=false;animation=(typeof animation!=='undefined')?animation:true;if(animation&&$child.length){$child.slideUp('fast',function(){if(self.options.icon){self.getIcon().attr({'class':'menu-item-icon st-fa st-svg-angle-down'});}
self.$element.removeClass('menu-item-expanded').addClass('menu-item-collapsed');});}else{$child.hide();if($child.length&&self.options.icon){this.getIcon().attr({'class':'menu-item-icon st-fa st-svg-angle-down'});}
this.$element.removeClass('menu-item-expanded').addClass('menu-item-collapsed');}};MenuItem.prototype.toggle=function toggle(){if(!this.hasChildren()){return;}
this.expanded?this.collapse():this.expand();};MenuItem.prototype.addEventListener=function addEventListener(){this.getLink().click($.proxy(this.options.listener.click,this));if(this.options.hoverable){this.$element.hover($.proxy(this.options.listener.mouseenter,this),$.proxy(this.options.listener.mouseleave,this));}};return MenuItem;}());var Menu=(function(){function Menu($element,options){if(!(this instanceof Menu)){return new Menu();}
var defaults={expanded:false,hoverable:false,link:null,children:null,icon:false};this.$element=$element;this.options=$.extend({},defaults,options);}
Menu.prototype.initialize=function initialize(){var self=this;this.getMenuItems().each(function(){var $this=$(this);var listener=self.options.hoverable?createHoverableMenuItemListener():createClickableMenuItemListener();var options={listener:listener,expanded:self.options.expanded,hoverable:self.options.hoverable,link:self.options.link,children:self.options.children,icon:self.options.icon};var menuItem=new MenuItem($this,options);$this.data('st-menu',self);$this.data('st-menu-item',menuItem);menuItem.initialize();});};Menu.prototype.getMenuItems=function getMenuItems(){return this.$element.find('li');};Menu.prototype.collapseChildren=function collapseChildren(animation){this.getMenuItems().each(function(){$(this).data('st-menu-item').collapse(animation);})};Menu.prototype.expandChildren=function collapseChildren(animation){this.getMenuItems().each(function(){$(this).data('st-menu-item').expand(animation);})};return Menu;}());var Navigation=(function(){function Navigation($navigation,$toggle,$container,options){var defaults={$navigationContent:$navigation,activeClass:'s-navi-active',activatedClass:'s-navi-activated',waitTransitionendOnOpen:false,waitTransitionendOnClose:false};this.$navigation=$navigation;this.$toggle=$toggle;this.$container=$container;this.$overlay=null;this.options=$.extend({},defaults,options);this.opened=false;this.scrollTop=0;}
Navigation.prototype.isOpened=function isOpened(){return this.opened;};Navigation.prototype.open=function open(){var self=this;var event;var activationCallback;if(self.opened){return;}
self.scrollTop=$(window).scrollTop();event=$.Event('open.stnavigation');self.$navigation.trigger(event);activationCallback=function(){var height=(window.innerHeight===document.body.offsetHeight)?window.innerHeight:document.body.offsetHeight;height-=self.$navigation.outerHeight()-self.$navigation.height();setTimeout(function(){self.options.$navigationContent.css({height:height+'px'});$('html').addClass(self.options.activatedClass);self.opened=true;},250);};if(window.innerHeight){if(self.options.waitTransitionendOnOpen){self.$navigation.one(transitionEvent,activationCallback);}else{activationCallback();}}
self.$toggle.addClass('active');$('html').addClass(self.options.activeClass);self.$container.css({top:-self.scrollTop});self.options.$navigationContent.scrollTop(0);};Navigation.prototype.close=function close(){var self=this;var deactivationCallback;if(!self.opened){return;}
deactivationCallback=function(){var $html=$('html');$html.removeClass(self.options.activatedClass);$html.removeClass(self.options.activeClass);self.$toggle.removeClass('active');self.options.$navigationContent.css({height:''});self.$container.css({top:''});$(window).scrollTop(self.scrollTop);self.opened=false;};if(self.options.waitTransitionendOnClose){self.$navigation.one(transitionEvent,deactivationCallback);}else{deactivationCallback();}
$('html').removeClass(self.options.activatedClass);};Navigation.prototype.refresh=function refresh(){var self=this;var height;if(!self.opened){return;}
if(window.matchMedia&&window.matchMedia('screen and (min-width: 960px)').matches){self.close();return;}
height=(window.innerHeight===document.body.offsetHeight)?window.innerHeight:document.body.offsetHeight;height-=self.$navigation.outerHeight()-self.$navigation.height();self.options.$navigationContent.css({height:height+'px'});};Navigation.prototype.addEventListeners=function addEventListeners(){var self=this;var resizeTimer;var scrollTimer;this.$toggle.click(function(event){event.preventDefault();event.stopPropagation();if(self.opened){self.close();}else{self.open();}});if(self.options.overlay){this.$overlay.click(function(event){event.preventDefault();event.stopPropagation();if(!self.opened){return;}
self.close();});}
$(window).on('orientationchange resize',function(event){if(resizeTimer){clearTimeout(resizeTimer);}
resizeTimer=setTimeout(function(){self.refresh();},100);});self.options.$navigationContent.on('touchstart',function(event){if(scrollTimer){clearTimeout(scrollTimer);}
scrollTimer=setTimeout(function(){self.refresh();},100);});};Navigation.prototype.initialize=function initialize(){var self=this;var event;if(self.options.overlay&&self.$overlay===null){var $overlay=$('#'+self.options.overlayId);if($overlay.length){self.$overlay=$overlay;}else{self.$overlay=$('<div />',{id:self.options.overlayId});self.$container.append(self.$overlay);}}
event=$.Event('initialize.stnavigation');self.$navigation.trigger(event,{'navigation':self});this.addEventListeners();};return Navigation;}());var SideMenu=(function(){function SideMenu($menu,$container,options){var defaults={expanded:false,hoverable:true,link:null,children:null,icon:false};this.$menu=$menu;this.options=$.extend({},defaults,options);}
SideMenu.prototype.initialize=function initialize(){var self=this;this.$menu.each(function(){var $this=$(this);var options={expanded:self.options.expanded,hoverable:self.options.hoverable,link:self.options.link,children:self.options.children,icon:self.options.icon};var menu=new Menu($this,options);$this.data('st-menu',menu);menu.initialize();});};return SideMenu;}());function initializeNavigation(){var $navigation=$('.acordion_tree');var $navigationContent=$('.acordion_tree .acordion_tree_content');var $trigger=$('.op-menu');var $container=$('#st-ami');var $menu=$('.acordion_tree ul.menu');var navigationOptions={$navigationContent:$navigationContent,waitTransitionendOnClose:false,overlay:true,overlayId:'s-navi-overlay'};var menuOptions={expanded:(ST.expand_accordion_menu==='1'),$navigationContent:$navigation,hoverable:false,link:null,children:null,icon:true};$navigation.on('initialize.stnavigation',function(event,data){var navigation=data.navigation;$menu.each(function(){var $this=$(this);var menu=new Menu($this,menuOptions);$this.data('st-menu',menu);menu.initialize();});});$navigation.on('open.stnavigation',function(event,data){if(menuOptions.expanded){$menu.each(function(){var menu=$(this).data('st-menu');menu.expandChildren(false);});}else{$menu.each(function(){var menu=$(this).data('st-menu');menu.collapseChildren(false);});}});var navigation=new Navigation($navigation,$trigger,$container,navigationOptions);navigation.initialize();}
function initializeSideMenu(){var $menu=$('#side aside .st-pagelists ul');var options={hoverable:isMobile(),};var sideMenu=new SideMenu($menu,options);sideMenu.initialize();}
function initializeSearchNavigation(){var $navigation=$('.acordion_search');var $navigationContent=$('.acordion_search .acordion_search_content');var $trigger=$('.op-search');var $container=$('#st-ami');var isOverlay=$('html').hasClass('s-navi-search-overlay');var overlayContainer=!isOverlay;var options={$navigationContent:$navigationContent,activeClass:'s-navi-search-active',activatedClass:'s-navi-search-activated',waitTransitionendOnClose:isOverlay,overlay:overlayContainer,overlayId:'s-navi-overlay'};var navigation=new Navigation($navigation,$trigger,$container,options);navigation.initialize();}
function onReady(){initializeNavigation();if(ST.sidemenu_accordion==='1'){initializeSideMenu();}
initializeSearchNavigation();}
$(onReady);}(window,jQuery,ST));(function(window,document,$,undefined){'use strict';$(function(){$("ul.menu li").filter(function(){return!$(this).closest('.acordion').length;}).hover(function(){$(">ul:not(:animated)",this).slideDown("fast");},function(){$(">ul",this).slideUp("fast");});$(".st-mybtn a:empty").remove();});}(window,window.document,jQuery));;(function(window,document,$,undefined){'use strict';if(typeof $.fn.slick==='undefined'){return;}
function update(slick){var $slider=$(slick.$slider);$slider.removeClass(function(index,className){return(className.match(/\bslick-slides-to-show-\S+/g)||[]).join(' ');}).addClass('slick-slides-to-show-'+slick.options.slidesToShow);if(Math.ceil(slick.slideCount/slick.options.slidesToScroll)>10||slick.slideCount<=slick.options.slidesToShow){$slider.removeClass('slick-dotted');}}
$(function(){$('[data-slick]').on('init',function(event,slick){update(slick);}).on('breakpoint',function(event,slick,breakpoint){update(slick);}).slick();});}(window,window.document,jQuery));(function(window,document,$,undefined){'use strict';$(function(){'use strict';$('p.hatenamark').each(function(){$(this).prepend('<i class="st-fa st-svg-question-circle"></i>');});$('p.checkmark').each(function(){$(this).prepend('<i class="st-fa st-svg-check-circle"></i>');});$('.check-ul li').each(function(){$(this).prepend('<i class="st-fa st-svg-check-circle"></i>');});$('p.attentionmark').each(function(){$(this).prepend('<i class="st-fa st-svg-exclamation-triangle"></i>');});$('p.memomark').each(function(){$(this).prepend('<i class="st-fa st-svg-pencil-square-o"></i>');});$('p.usermark').each(function(){$(this).prepend('<i class="st-fa st-svg-user" aria-hidden="true"></i>');});$('h2.hatenamark').each(function(){$(this).prepend('<i class="st-fa st-svg-question-circle"></i>');});$('h2.checkmark').each(function(){$(this).prepend('<i class="st-fa st-svg-check-circle"></i>');});$('h2.attentionmark').each(function(){$(this).prepend('<i class="st-fa st-svg-exclamation-triangle"></i>');});$('h2.memomark').each(function(){$(this).prepend('<i class="st-fa st-svg-pencil-square-o"></i>');});$('h2.usermark').each(function(){$(this).prepend('<i class="st-fa st-svg-user" aria-hidden="true"></i>');});$('h3.hatenamark').each(function(){$(this).prepend('<i class="st-fa st-svg-question-circle"></i>');});$('h3.checkmark').each(function(){$(this).prepend('<i class="st-fa st-svg-check-circle"></i>');});$('h3.attentionmark').each(function(){$(this).prepend('<i class="st-fa st-svg-exclamation-triangle"></i>');});$('h3.memomark').each(function(){$(this).prepend('<i class="st-fa st-svg-pencil-square-o"></i>');});$('h3.usermark').each(function(){$(this).prepend('<i class="st-fa st-svg-user" aria-hidden="true"></i>');});$('h4.hatenamark').each(function(){$(this).prepend('<i class="st-fa st-svg-question-circle"></i>');});$('h4.checkmark').each(function(){$(this).prepend('<i class="st-fa st-svg-check-circle"></i>');});$('h4.attentionmark').each(function(){$(this).prepend('<i class="st-fa st-svg-exclamation-triangle"></i>');});$('h4.memomark').each(function(){$(this).prepend('<i class="st-fa st-svg-pencil-square-o"></i>');});$('h4.usermark').each(function(){$(this).prepend('<i class="st-fa st-svg-user" aria-hidden="true"></i>');});$('h5.hatenamark').each(function(){$(this).prepend('<i class="st-fa st-svg-question-circle"></i>');});$('h5.checkmark').each(function(){$(this).prepend('<i class="st-fa st-svg-check-circle"></i>');});$('h5.attentionmark').each(function(){$(this).prepend('<i class="st-fa st-svg-exclamation-triangle"></i>');});$('h5.memomark').each(function(){$(this).prepend('<i class="st-fa st-svg-pencil-square-o"></i>');});$('h5.usermark').each(function(){$(this).prepend('<i class="st-fa st-svg-user" aria-hidden="true"></i>');});});}(window,window.document,jQuery));(function(window,document,$,undefined){'use strict';$(function(){'use strict';var topBtn=$('#st-footermenubox');topBtn.css('bottom','-100px');var showFlag=false;$(window).scroll(function(){if($(this).scrollTop()>100){if(!showFlag){showFlag=true;topBtn.stop().animate({'bottom':'0px'},200);}}else{if(showFlag){showFlag=false;topBtn.stop().animate({'bottom':'-100px'},200);}}});});}(window,window.document,jQuery));(function(window,document,$,undefined){'use strict';var ST_BACK_BTN_KEY='stBackBtnHistory';function history_get(){var history=window.sessionStorage.getItem(ST_BACK_BTN_KEY);if(history){return JSON.parse(history);}
return[];}
function history_push(url){var history=history_get();if(history.length>=1&&history[history.length-1]===url){return;}
history.push(url);history.slice(0,2);window.sessionStorage.setItem(ST_BACK_BTN_KEY,JSON.stringify(history));}
function history_back(){var history=history_get();var url;if(history.length<=1){return;}
url=history[history.length-2];window.history.pushState(null,null,url);window.location.href=url;}
function on_ready(){var history=window.sessionStorage.getItem(ST_BACK_BTN_KEY)||[];history_push(window.location.href);if(history.length<=1){return;}
$('[data-st-back-btn]').each(function(index,element){var $element=$(element);var html=$element.html();var $button=$(html);$element.replaceWith($button);});}
$(on_ready);window.st_back_btn_back=history_back;}(window,window.document,jQuery));(function(window,document,$,undefined){'use strict';$(function(){var $content=$('.entry-content');if($.trim($content.text())===''){$('body').addClass('is-content-empty');}});}(window,window.document,jQuery));(function(window,document,$,undefined){'use strict';$(function(){$('.st-pagelists a').last().css({'border-bottom':'none'});$('.st-pagelists li li').last().css({'border-bottom':'none'});});}(window,window.document,jQuery));(function(window,document,$,undefined){'use strict';$(function(){$('.wp-block-columns.scroll-x-80').each(function(){$(this).wrap('<div class="scroll-x-80-wrapper"></div>');});});}(window,window.document,jQuery));
!function(){var t={90:function(t){!function(e,n){var i=function(t,e,n){"use strict";var i,a;if(function(){var e,n={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(e in a=t.lazySizesConfig||t.lazysizesConfig||{},n)e in a||(a[e]=n[e])}(),!e||!e.getElementsByClassName)return{init:function(){},cfg:a,noSupport:!0};var r,o,s,l,c,d,u,f,p,g,m,h,v,y,z,A,b,E,C,w,_,x,L,M,N,R,S,T,W,B,O,D,$,F,I,P,k,q,H,j,Q,U,Z,Y,G=e.documentElement,J=t.HTMLPictureElement,K="addEventListener",V=t.addEventListener.bind(t),X=t.setTimeout,tt=t.requestAnimationFrame||X,et=t.requestIdleCallback,nt=/^picture$/i,it=["load","error","lazyincluded","_lazyloaded"],at={},rt=Array.prototype.forEach,ot=function(t,e){return at[e]||(at[e]=new RegExp("(\\s|^)"+e+"(\\s|$)")),at[e].test(t.getAttribute("class")||"")&&at[e]},st=function(t,e){ot(t,e)||t.setAttribute("class",(t.getAttribute("class")||"").trim()+" "+e)},lt=function(t,e){var n;(n=ot(t,e))&&t.setAttribute("class",(t.getAttribute("class")||"").replace(n," "))},ct=function(t,e,n){var i=n?K:"removeEventListener";n&&ct(t,e),it.forEach((function(n){t[i](n,e)}))},dt=function(t,n,a,r,o){var s=e.createEvent("Event");return a||(a={}),a.instance=i,s.initEvent(n,!r,!o),s.detail=a,t.dispatchEvent(s),s},ut=function(e,n){var i;!J&&(i=t.picturefill||a.pf)?(n&&n.src&&!e.getAttribute("srcset")&&e.setAttribute("srcset",n.src),i({reevaluate:!0,elements:[e]})):n&&n.src&&(e.src=n.src)},ft=function(t,e){return(getComputedStyle(t,null)||{})[e]},pt=function(t,e,n){for(n=n||t.offsetWidth;n<a.minSize&&e&&!t._lazysizesWidth;)n=e.offsetWidth,e=e.parentNode;return n},gt=(Q=[],U=j=[],Y=function(t,n){q&&!n?t.apply(this,arguments):(U.push(t),H||(H=!0,(e.hidden?X:tt)(Z)))},Y._lsFlush=Z=function(){var t=U;for(U=j.length?Q:j,q=!0,H=!1;t.length;)t.shift()();q=!1},Y),mt=function(t,e){return e?function(){gt(t)}:function(){var e=this,n=arguments;gt((function(){t.apply(e,n)}))}},ht=function(t){var e,i,a=function(){e=null,t()},r=function(){var t=n.now()-i;t<99?X(r,99-t):(et||a)(a)};return function(){i=n.now(),e||(e=X(r,99))}},vt=(b=/^img$/i,E=/^iframe$/i,C="onscroll"in t&&!/(gle|ing)bot/.test(navigator.userAgent),0,w=0,_=0,x=-1,L=function(t){_--,(!t||_<0||!t.target)&&(_=0)},M=function(t){return null==A&&(A="hidden"==ft(e.body,"visibility")),A||!("hidden"==ft(t.parentNode,"visibility")&&"hidden"==ft(t,"visibility"))},N=function(t,n){var i,a=t,r=M(t);for(h-=n,z+=n,v-=n,y+=n;r&&(a=a.offsetParent)&&a!=e.body&&a!=G;)(r=(ft(a,"opacity")||1)>0)&&"visible"!=ft(a,"overflow")&&(i=a.getBoundingClientRect(),r=y>i.left&&v<i.right&&z>i.top-1&&h<i.bottom+1);return r},S=function(t){var e,i=0,r=a.throttleDelay,o=a.ricTimeout,s=function(){e=!1,i=n.now(),t()},l=et&&o>49?function(){et(s,{timeout:o}),o!==a.ricTimeout&&(o=a.ricTimeout)}:mt((function(){X(s)}),!0);return function(t){var a;(t=!0===t)&&(o=33),e||(e=!0,(a=r-(n.now()-i))<0&&(a=0),t||a<9?l():X(l,a))}}(R=function(){var t,n,r,o,s,l,u,p,b,E,L,R,S=i.elements;if((f=a.loadMode)&&_<8&&(t=S.length)){for(n=0,x++;n<t;n++)if(S[n]&&!S[n]._lazyRace)if(!C||i.prematureUnveil&&i.prematureUnveil(S[n]))F(S[n]);else if((p=S[n].getAttribute("data-expand"))&&(l=1*p)||(l=w),E||(E=!a.expand||a.expand<1?G.clientHeight>500&&G.clientWidth>500?500:370:a.expand,i._defEx=E,L=E*a.expFactor,R=a.hFac,A=null,w<L&&_<1&&x>2&&f>2&&!e.hidden?(w=L,x=0):w=f>1&&x>1&&_<6?E:0),b!==l&&(g=innerWidth+l*R,m=innerHeight+l,u=-1*l,b=l),r=S[n].getBoundingClientRect(),(z=r.bottom)>=u&&(h=r.top)<=m&&(y=r.right)>=u*R&&(v=r.left)<=g&&(z||y||v||h)&&(a.loadHidden||M(S[n]))&&(d&&_<3&&!p&&(f<3||x<4)||N(S[n],l))){if(F(S[n]),s=!0,_>9)break}else!s&&d&&!o&&_<4&&x<4&&f>2&&(c[0]||a.preloadAfterLoad)&&(c[0]||!p&&(z||y||v||h||"auto"!=S[n].getAttribute(a.sizesAttr)))&&(o=c[0]||S[n]);o&&!s&&F(o)}}),W=mt(T=function(t){var e=t.target;e._lazyCache?delete e._lazyCache:(L(t),st(e,a.loadedClass),lt(e,a.loadingClass),ct(e,B),dt(e,"lazyloaded"))}),B=function(t){W({target:t.target})},O=function(t,e){var n=t.getAttribute("data-load-mode")||a.iframeLoadMode;0==n?t.contentWindow.location.replace(e):1==n&&(t.src=e)},D=function(t){var e,n=t.getAttribute(a.srcsetAttr);(e=a.customMedia[t.getAttribute("data-media")||t.getAttribute("media")])&&t.setAttribute("media",e),n&&t.setAttribute("srcset",n)},$=mt((function(t,e,n,i,r){var o,s,l,c,d,f;(d=dt(t,"lazybeforeunveil",e)).defaultPrevented||(i&&(n?st(t,a.autosizesClass):t.setAttribute("sizes",i)),s=t.getAttribute(a.srcsetAttr),o=t.getAttribute(a.srcAttr),r&&(c=(l=t.parentNode)&&nt.test(l.nodeName||"")),f=e.firesLoad||"src"in t&&(s||o||c),d={target:t},st(t,a.loadingClass),f&&(clearTimeout(u),u=X(L,2500),ct(t,B,!0)),c&&rt.call(l.getElementsByTagName("source"),D),s?t.setAttribute("srcset",s):o&&!c&&(E.test(t.nodeName)?O(t,o):t.src=o),r&&(s||c)&&ut(t,{src:o})),t._lazyRace&&delete t._lazyRace,lt(t,a.lazyClass),gt((function(){var e=t.complete&&t.naturalWidth>1;f&&!e||(e&&st(t,a.fastLoadedClass),T(d),t._lazyCache=!0,X((function(){"_lazyCache"in t&&delete t._lazyCache}),9)),"lazy"==t.loading&&_--}),!0)})),F=function(t){if(!t._lazyRace){var e,n=b.test(t.nodeName),i=n&&(t.getAttribute(a.sizesAttr)||t.getAttribute("sizes")),r="auto"==i;(!r&&d||!n||!t.getAttribute("src")&&!t.srcset||t.complete||ot(t,a.errorClass)||!ot(t,a.lazyClass))&&(e=dt(t,"lazyunveilread").detail,r&&yt.updateElem(t,!0,t.offsetWidth),t._lazyRace=!0,_++,$(t,e,r,i,n))}},I=ht((function(){a.loadMode=3,S()})),k=function(){d||(n.now()-p<999?X(k,999):(d=!0,a.loadMode=3,S(),V("scroll",P,!0)))},{_:function(){p=n.now(),i.elements=e.getElementsByClassName(a.lazyClass),c=e.getElementsByClassName(a.lazyClass+" "+a.preloadClass),V("scroll",S,!0),V("resize",S,!0),V("pageshow",(function(t){if(t.persisted){var n=e.querySelectorAll("."+a.loadingClass);n.length&&n.forEach&&tt((function(){n.forEach((function(t){t.complete&&F(t)}))}))}})),t.MutationObserver?new MutationObserver(S).observe(G,{childList:!0,subtree:!0,attributes:!0}):(G.addEventListener("DOMNodeInserted",S,!0),G.addEventListener("DOMAttrModified",S,!0),setInterval(S,999)),V("hashchange",S,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach((function(t){e.addEventListener(t,S,!0)})),/d$|^c/.test(e.readyState)?k():(V("load",k),e.addEventListener("DOMContentLoaded",S),X(k,2e4)),i.elements.length?(R(),gt._lsFlush()):S()},checkElems:S,unveil:F,_aLSL:P=function(){3==a.loadMode&&(a.loadMode=2),I()}}),yt=(o=mt((function(t,e,n,i){var a,r,o;if(t._lazysizesWidth=i,i+="px",t.setAttribute("sizes",i),nt.test(e.nodeName||""))for(r=0,o=(a=e.getElementsByTagName("source")).length;r<o;r++)a[r].setAttribute("sizes",i);n.detail.dataAttr||ut(t,n.detail)})),s=function(t,e,n){var i,a=t.parentNode;a&&(n=pt(t,a,n),(i=dt(t,"lazybeforesizes",{width:n,dataAttr:!!e})).defaultPrevented||(n=i.detail.width)&&n!==t._lazysizesWidth&&o(t,a,i,n))},{_:function(){r=e.getElementsByClassName(a.autosizesClass),V("resize",l)},checkElems:l=ht((function(){var t,e=r.length;if(e)for(t=0;t<e;t++)s(r[t])})),updateElem:s}),zt=function(){!zt.i&&e.getElementsByClassName&&(zt.i=!0,yt._(),vt._())};return X((function(){a.init&&zt()})),i={cfg:a,autoSizer:yt,loader:vt,init:zt,uP:ut,aC:st,rC:lt,hC:ot,fire:dt,gW:pt,rAF:gt}}(e,e.document,Date);e.lazySizes=i,t.exports&&(t.exports=i)}("undefined"!=typeof window?window:{})},277:function(t,e,n){var i,a,r;!function(o,s){s=s.bind(null,o,o.document),t.exports?s(n(90)):(a=[n(90)],void 0===(r="function"==typeof(i=s)?i.apply(e,a):i)||(t.exports=r))}(window,(function(a,o,s){"use strict";if(a.addEventListener){var l,c,d,u,f,p=Array.prototype.forEach,g=/^picture$/i,m="data-aspectratio",h="img[data-aspectratio]",v=function(t){return a.matchMedia?(v=function(t){return!t||(matchMedia(t)||{}).matches},v(t)):a.Modernizr&&Modernizr.mq?!t||Modernizr.mq(t):!t},y=s.aC,z=s.rC,A=s.cfg;b.prototype={_setupEvents:function(){var t,e,n=this,i=function(t){t.naturalWidth<36?n.addAspectRatio(t,!0):n.removeAspectRatio(t,!0)},a=function(){n.processImages()};o.addEventListener("load",(function(t){t.target.getAttribute&&t.target.getAttribute(m)&&i(t.target)}),!0),addEventListener("resize",(e=function(){p.call(n.ratioElems,i)},function(){clearTimeout(t),t=setTimeout(e,99)})),o.addEventListener("DOMContentLoaded",a),addEventListener("load",a)},processImages:function(t){var e,n;t||(t=o),e="length"in t&&!t.nodeName?t:t.querySelectorAll(h);for(n=0;n<e.length;n++)e[n].naturalWidth>36?this.removeAspectRatio(e[n]):this.addAspectRatio(e[n])},getSelectedRatio:function(t){var e,n,i,a,r,o=t.parentNode;if(o&&g.test(o.nodeName||""))for(e=0,n=(i=o.getElementsByTagName("source")).length;e<n;e++)if(a=i[e].getAttribute("data-media")||i[e].getAttribute("media"),A.customMedia[a]&&(a=A.customMedia[a]),v(a)){r=i[e].getAttribute(m);break}return r||t.getAttribute(m)||""},parseRatio:(u=/^\s*([+\d\.]+)(\s*[\/x]\s*([+\d\.]+))?\s*$/,f={},function(t){var e;return!f[t]&&(e=t.match(u))&&(e[3]?f[t]=e[1]/e[3]:f[t]=1*e[1]),f[t]}),addAspectRatio:function(t,e){var n,i=t.offsetWidth,r=t.offsetHeight;e||y(t,"lazyaspectratio"),i<36&&r<=0?(i||r&&a.console)&&console.log("Define width or height of image, so we can calculate the other dimension"):(n=this.getSelectedRatio(t),(n=this.parseRatio(n))&&(i?t.style.height=i/n+"px":t.style.width=r*n+"px"))},removeAspectRatio:function(t){z(t,"lazyaspectratio"),t.style.height="",t.style.width="",t.removeAttribute(m)}},(c=function(){(d=a.jQuery||a.Zepto||a.shoestring||a.$)&&d.fn&&!d.fn.imageRatio&&d.fn.filter&&d.fn.add&&d.fn.find?d.fn.imageRatio=function(){return l.processImages(this.find(h).add(this.filter(h))),this}:d=!1})(),setTimeout(c),l=new b,a.imageRatio=l,t.exports?t.exports=l:void 0===(r="function"==typeof(i=l)?i.call(e,n,e,t):i)||(t.exports=r)}function b(){this.ratioElems=o.getElementsByClassName("lazyaspectratio"),this._setupEvents(),this.processImages()}}))}},e={};function n(i){var a=e[i];if(void 0!==a)return a.exports;var r=e[i]={exports:{}};return t[i](r,r.exports,n),r.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){"use strict";var t=window.jQuery,e=n.n(t);n(90),n(277),e()((function(){!function(t,e,n){for(var i=arguments.length,a=new Array(i>3?i-3:0),r=3;r<i;r++)a[r-3]=arguments[r];t.addEventListener(e,(function i(){for(var a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];return t.removeEventListener(e,i,...r),n(...r)}),...a)}(window,"scroll",(()=>{const t=[];e()(`[type="text/x-${ST.LAZY_LOAD.config.script_replacer.attribute_prefix}-lazy-load-script"]`).each(((n,i)=>{const a=e()(i),r=a.attr("src").replace(/^https?:/,"");if(-1!==t.indexOf(r))return;const o=e()("<script><\/script>");o.attr("src",a.attr("src")),o.attr("type","text/javascript"),o.prop("defer",!1),o.prop("async",!0),e()("body").append(o),t.push(r)}))}))}))}()}();