var mi_version = '9.1.1';
var mi_track_user = true;
var mi_no_track_reason = '';
var MonsterInsightsDefaultLocations = {"page_location":"https:\/\/alpforest.com\/east-hotspring\/"};
if ( typeof MonsterInsightsPrivacyGuardFilter === 'function' ) {
var MonsterInsightsLocations = (typeof MonsterInsightsExcludeQuery === 'object') ? MonsterInsightsPrivacyGuardFilter( MonsterInsightsExcludeQuery ) : MonsterInsightsPrivacyGuardFilter( MonsterInsightsDefaultLocations );
} else {
var MonsterInsightsLocations = (typeof MonsterInsightsExcludeQuery === 'object') ? MonsterInsightsExcludeQuery : MonsterInsightsDefaultLocations;
}
var disableStrs = [
'ga-disable-G-4L3RSXYML9',
];
/* Function to detect opted out users */
function __gtagTrackerIsOptedOut() {
for (var index = 0; index < disableStrs.length; index++) {
if (document.cookie.indexOf(disableStrs[index] + '=true') > -1) {
return true;
}
}
return false;
}
/* Disable tracking if the opt-out cookie exists. */
if (__gtagTrackerIsOptedOut()) {
for (var index = 0; index < disableStrs.length; index++) {
window[disableStrs[index]] = true;
}
}
/* Opt-out function */
function __gtagTrackerOptout() {
for (var index = 0; index < disableStrs.length; index++) {
document.cookie = disableStrs[index] + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/';
window[disableStrs[index]] = true;
}
}
if ('undefined' === typeof gaOptout) {
function gaOptout() {
__gtagTrackerOptout();
}
}
window.dataLayer = window.dataLayer || [];
window.MonsterInsightsDualTracker = {
helpers: {},
trackers: {},
};
if (mi_track_user) {
function __gtagDataLayer() {
dataLayer.push(arguments);
}
function __gtagTracker(type, name, parameters) {
if (!parameters) {
parameters = {};
}
if (parameters.send_to) {
__gtagDataLayer.apply(null, arguments);
return;
}
if (type === 'event') {
parameters.send_to = monsterinsights_frontend.v4_id;
var hookName = name;
if (typeof parameters['event_category'] !== 'undefined') {
hookName = parameters['event_category'] + ':' + name;
}
if (typeof MonsterInsightsDualTracker.trackers[hookName] !== 'undefined') {
MonsterInsightsDualTracker.trackers[hookName](parameters);
} else {
__gtagDataLayer('event', name, parameters);
}
} else {
__gtagDataLayer.apply(null, arguments);
}
}
__gtagTracker('js', new Date());
__gtagTracker('set', {
'developer_id.dZGIzZG': true,
});
if ( MonsterInsightsLocations.page_location ) {
__gtagTracker('set', MonsterInsightsLocations);
}
__gtagTracker('config', 'G-4L3RSXYML9', {"forceSSL":"true","link_attribution":"true"} );
window.gtag = __gtagTracker; (function () {
/* https://developers.google.com/analytics/devguides/collection/analyticsjs/ */
/* ga and __gaTracker compatibility shim. */
var noopfn = function () {
return null;
};
var newtracker = function () {
return new Tracker();
};
var Tracker = function () {
return null;
};
var p = Tracker.prototype;
p.get = noopfn;
p.set = noopfn;
p.send = function () {
var args = Array.prototype.slice.call(arguments);
args.unshift('send');
__gaTracker.apply(null, args);
};
var __gaTracker = function () {
var len = arguments.length;
if (len === 0) {
return;
}
var f = arguments[len - 1];
if (typeof f !== 'object' || f === null || typeof f.hitCallback !== 'function') {
if ('send' === arguments[0]) {
var hitConverted, hitObject = false, action;
if ('event' === arguments[1]) {
if ('undefined' !== typeof arguments[3]) {
hitObject = {
'eventAction': arguments[3],
'eventCategory': arguments[2],
'eventLabel': arguments[4],
'value': arguments[5] ? arguments[5] : 1,
}
}
}
if ('pageview' === arguments[1]) {
if ('undefined' !== typeof arguments[2]) {
hitObject = {
'eventAction': 'page_view',
'page_path': arguments[2],
}
}
}
if (typeof arguments[2] === 'object') {
hitObject = arguments[2];
}
if (typeof arguments[5] === 'object') {
Object.assign(hitObject, arguments[5]);
}
if ('undefined' !== typeof arguments[1].hitType) {
hitObject = arguments[1];
if ('pageview' === hitObject.hitType) {
hitObject.eventAction = 'page_view';
}
}
if (hitObject) {
action = 'timing' === arguments[1].hitType ? 'timing_complete' : hitObject.eventAction;
hitConverted = mapArgs(hitObject);
__gtagTracker('event', action, hitConverted);
}
}
return;
}
function mapArgs(args) {
var arg, hit = {};
var gaMap = {
'eventCategory': 'event_category',
'eventAction': 'event_action',
'eventLabel': 'event_label',
'eventValue': 'event_value',
'nonInteraction': 'non_interaction',
'timingCategory': 'event_category',
'timingVar': 'name',
'timingValue': 'value',
'timingLabel': 'event_label',
'page': 'page_path',
'location': 'page_location',
'title': 'page_title',
'referrer' : 'page_referrer',
};
for (arg in args) {
if (!(!args.hasOwnProperty(arg) || !gaMap.hasOwnProperty(arg))) {
hit[gaMap[arg]] = args[arg];
} else {
hit[arg] = args[arg];
}
}
return hit;
}
try {
f.hitCallback();
} catch (ex) {
}
};
__gaTracker.create = newtracker;
__gaTracker.getByName = newtracker;
__gaTracker.getAll = function () {
return [];
};
__gaTracker.remove = noopfn;
__gaTracker.loaded = true;
window['__gaTracker'] = __gaTracker;
})();
} else {
console.log("");
(function () {
function __gtagTracker() {
return null;
}
window['__gtagTracker'] = __gtagTracker;
window['gtag'] = __gtagTracker;
})();
}
window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.0.3\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.0.3\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/alpforest.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=6.6.2"}};
/*! This file is auto-generated */
!function(i,n){var o,s,e;function c(e){try{var t={supportTests:e,timestamp:(new Date).valueOf()};sessionStorage.setItem(o,JSON.stringify(t))}catch(e){}}function p(e,t,n){e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(t,0,0);var t=new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data),r=(e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(n,0,0),new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data));return t.every(function(e,t){return e===r[t]})}function u(e,t,n){switch(t){case"flag":return n(e,"\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f","\ud83c\udff3\ufe0f\u200b\u26a7\ufe0f")?!1:!n(e,"\ud83c\uddfa\ud83c\uddf3","\ud83c\uddfa\u200b\ud83c\uddf3")&&!n(e,"\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f","\ud83c\udff4\u200b\udb40\udc67\u200b\udb40\udc62\u200b\udb40\udc65\u200b\udb40\udc6e\u200b\udb40\udc67\u200b\udb40\udc7f");case"emoji":return!n(e,"\ud83d\udc26\u200d\u2b1b","\ud83d\udc26\u200b\u2b1b")}return!1}function f(e,t,n){var r="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?new OffscreenCanvas(300,150):i.createElement("canvas"),a=r.getContext("2d",{willReadFrequently:!0}),o=(a.textBaseline="top",a.font="600 32px Arial",{});return e.forEach(function(e){o[e]=t(a,e,n)}),o}function t(e){var t=i.createElement("script");t.src=e,t.defer=!0,i.head.appendChild(t)}"undefined"!=typeof Promise&&(o="wpEmojiSettingsSupports",s=["flag","emoji"],n.supports={everything:!0,everythingExceptFlag:!0},e=new Promise(function(e){i.addEventListener("DOMContentLoaded",e,{once:!0})}),new Promise(function(t){var n=function(){try{var e=JSON.parse(sessionStorage.getItem(o));if("object"==typeof e&&"number"==typeof e.timestamp&&(new Date).valueOf()<e.timestamp+604800&&"object"==typeof e.supportTests)return e.supportTests}catch(e){}return null}();if(!n){if("undefined"!=typeof Worker&&"undefined"!=typeof OffscreenCanvas&&"undefined"!=typeof URL&&URL.createObjectURL&&"undefined"!=typeof Blob)try{var e="postMessage("+f.toString()+"("+[JSON.stringify(s),u.toString(),p.toString()].join(",")+"));",r=new Blob([e],{type:"text/javascript"}),a=new Worker(URL.createObjectURL(r),{name:"wpTestEmojiSupports"});return void(a.onmessage=function(e){c(n=e.data),a.terminate(),t(n)})}catch(e){}c(n=f(s,u,p))}t(n)}).then(function(e){for(var t in e)n.supports[t]=e[t],n.supports.everything=n.supports.everything&&n.supports[t],"flag"!==t&&(n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&n.supports[t]);n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&!n.supports.flag,n.DOMReady=!1,n.readyCallback=function(){n.DOMReady=!0}}).then(function(){return e}).then(function(){var e;n.supports.everything||(n.readyCallback(),(e=n.source||{}).concatemoji?t(e.concatemoji):e.wpemoji&&e.twemoji&&(t(e.twemoji),t(e.wpemoji)))}))}((window,document),window._wpemojiSettings);
https://alpforest.com/wp-includes/js/dist/hooks.min.js
https://alpforest.com/wp-content/plugins/google-analytics-for-wordpress/assets/js/frontend-gtag.min.js
var monsterinsights_frontend = {"js_events_tracking":"true","download_extensions":"doc,pdf,ppt,zip,xls,docx,pptx,xlsx","inbound_paths":"[{\"path\":\"\\\/go\\\/\",\"label\":\"affiliate\"},{\"path\":\"\\\/recommend\\\/\",\"label\":\"affiliate\"}]","home_url":"https:\/\/alpforest.com","hash_tracking":"false","v4_id":"G-4L3RSXYML9"};
var breeze_prefetch = {"local_url":"https:\/\/alpforest.com","ignore_remote_prefetch":"1","ignore_list":["\/?wc-api=wc_facebook_get_feed_data&secret=6ce6ec90fb4ecc066affc4bc90a256c9","\/cart\/","\/checkout\/","\/my-account\/","\/wp-admin\/"]};
https://alpforest.com/wp-content/plugins/breeze/assets/js/js-front-end/breeze-prefetch-links.min.js
https://alpforest.com/wp-includes/js/jquery/jquery.min.js
https://alpforest.com/wp-includes/js/jquery/jquery-migrate.min.js
https://alpforest.com/wp-content/plugins/woocommerce/assets/js/jquery-blockui/jquery.blockUI.min.js
var wc_add_to_cart_params = {"ajax_url":"\/wp-admin\/admin-ajax.php","wc_ajax_url":"\/?wc-ajax=%%endpoint%%","i18n_view_cart":"\u67e5\u770b\u8cfc\u7269\u8eca","cart_url":"https:\/\/alpforest.com\/cart\/","is_cart":"","cart_redirect_after_add":"no"};
https://alpforest.com/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart.min.js
https://alpforest.com/wp-content/plugins/woocommerce/assets/js/js-cookie/js.cookie.min.js
var woocommerce_params = {"ajax_url":"\/wp-admin\/admin-ajax.php","wc_ajax_url":"\/?wc-ajax=%%endpoint%%"};
https://alpforest.com/wp-content/plugins/woocommerce/assets/js/frontend/woocommerce.min.js
https://alpforest.com/wp-includes/js/underscore.min.js
var _wpUtilSettings = {"ajax":{"url":"\/wp-admin\/admin-ajax.php"}};
https://alpforest.com/wp-includes/js/wp-util.min.js
var wc_add_to_cart_variation_params = {"wc_ajax_url":"\/?wc-ajax=%%endpoint%%","i18n_no_matching_variations_text":"\u5f88\u62b1\u6b49\uff0c\u6c92\u6709\u5546\u54c1\u7b26\u5408\u60a8\u7684\u9078\u64c7\uff0c\u8acb\u91cd\u65b0\u9078\u64c7\u5176\u4ed6\u7d44\u5408\u3002","i18n_make_a_selection_text":"\u8acb\u5148\u9078\u53d6\u4efb\u4e00\u5546\u54c1\u9805\u9078\u518d\u52a0\u5546\u54c1\u9032\u8cfc\u7269\u8eca","i18n_unavailable_text":"\u62b1\u6b49\uff0c\u6b64\u5546\u54c1\u5df2\u4e0b\u67b6\uff0c\u8acb\u9078\u64c7\u4e0d\u540c\u7684\u7d44\u5408"};
https://alpforest.com/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart-variation.min.js
var penciBlocksArray=[];
var portfolioDataJs = portfolioDataJs || [];var PENCILOCALCACHE = {};
(function () {
"use strict";
PENCILOCALCACHE = {
data: {},
remove: function ( ajaxFilterItem ) {
delete PENCILOCALCACHE.data[ajaxFilterItem];
},
exist: function ( ajaxFilterItem ) {
return PENCILOCALCACHE.data.hasOwnProperty( ajaxFilterItem ) && PENCILOCALCACHE.data[ajaxFilterItem] !== null;
},
get: function ( ajaxFilterItem ) {
return PENCILOCALCACHE.data[ajaxFilterItem];
},
set: function ( ajaxFilterItem, cachedData ) {
PENCILOCALCACHE.remove( ajaxFilterItem );
PENCILOCALCACHE.data[ajaxFilterItem] = cachedData;
}
};
}
)();function penciBlock() {
this.atts_json = '';
this.content = '';
}
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
document,'script','https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '376460588065280', {}, {
"agent": "woocommerce-8.7.0-3.2.10"
});
fbq( 'track', 'PageView', {
"source": "woocommerce",
"version": "8.7.0",
"pluginVersion": "3.2.10"
} );
document.addEventListener( 'DOMContentLoaded', function() {
// Insert placeholder for events injected when a product is added to the cart through AJAX.
document.body.insertAdjacentHTML( 'beforeend', '<div class=\"wc-facebook-pixel-event-placeholder\"></div>' );
}, false );
// 分享到 Facebook、Line 和 Threads
document.querySelectorAll('.share-btn').forEach(button => {
button.addEventListener('click', function() {
const shareUrl = window.location.href; // 取得當前頁面的 URL
const shareText = encodeURIComponent(`AlpForest 戶外生活媒體平台文章分享:${shareUrl}`);
if (this.classList.contains('Facebook')) {
window.open(`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(shareUrl)}`, '_blank');
} else if (this.classList.contains('Line')) {
window.open(`https://social-plugins.line.me/lineit/share?url=${encodeURIComponent(shareUrl)}`, '_blank');
} else if (this.classList.contains('Threads')) {
// 檢查是否在移動設備上
if (/Mobi|Android|iPhone|iPad/i.test(navigator.userAgent)) {
// 使用 Threads 的深層連結
window.location.href = `barcelona://create?text=${shareText}`;
} else {
// 在桌面瀏覽器上,使用 Threads 的網頁分享
window.open(`https://www.threads.net/intent/post?text=${shareText}`, '_blank');
}
}
});
});
// 複製 URL 到剪貼板
document.querySelector('.copy-url').addEventListener('click', function() {
const shareUrl = window.location.href;
navigator.clipboard.writeText(shareUrl).then(() => {
alert('URL 已複製到剪貼板!');
}).catch(err => {
console.error('複製失敗: ', err);
});
});
// 錯誤報告功能
document.querySelector('.report-error').addEventListener('click', function () {
alert('感謝您的反饋,我們會儘快處理!');
// 導航到錯誤報告頁面
window.location.href = 'https://alpforest.com/info-contact/#contact';
});
let lastScrollTop = 0;
const shareArea = document.querySelector('.share-area');
window.addEventListener('scroll', function() {
let scrollTop = window.pageYOffset || document.documentElement.scrollTop;
if (scrollTop > lastScrollTop) {
// 向下滾動
shareArea.classList.add('fade-out');
shareArea.classList.remove('fade-in');
} else {
// 向上滾動
shareArea.classList.add('fade-in');
shareArea.classList.remove('fade-out');
}
lastScrollTop = scrollTop <= 0 ? 0 : scrollTop; // 處理移動端或負值滾動
});
function toggleDetails(rowElement) {
// 獲取當前行的下一個兄弟元素作為細節行
var detailsRow = rowElement.nextElementSibling;
// 切換細節行的顯示狀態
detailsRow.style.display = (detailsRow.style.display === "none" || detailsRow.style.display === "") ? "table-row" : "none";
// 找到該行中的符號按鈕,切換其符號(+ 和 -)
var toggleButton = rowElement.querySelector("span");
if (toggleButton) {
toggleButton.textContent = (detailsRow.style.display === "table-row") ? "-" : "+";
}
}
// 綁定主行的點擊事件
document.querySelectorAll('tbody tr:not(.details)').forEach(row => {
row.addEventListener('click', function() {
toggleDetails(this);
});
});
// 表格排序功能
function sortTable(tableId, columnIndex, type) {
var table, rows, switching, i, x, y, shouldSwitch, dir = "asc", switchcount = 0;
table = document.getElementById(tableId); // 獲取表格元素
switching = true;
// 在排序之前關閉所有細節行
let detailRows = table.querySelectorAll('.details');
detailRows.forEach(row => row.style.display = 'none');
// 開始排序循環
while (switching) {
switching = false;
rows = table.querySelectorAll('tbody tr:not(.details)'); // 選擇所有不是細節行的行
for (i = 0; i < rows.length - 1; i++) {
shouldSwitch = false;
x = rows[i].getElementsByTagName("TD")[columnIndex];
y = rows[i + 1].getElementsByTagName("TD")[columnIndex];
var xContent, yContent;
// 特殊處理 itemprop="identifier" 的情況(適用於編號)
if (x.hasAttribute("itemprop") && x.getAttribute("itemprop") === "identifier") {
xContent = parseInt(x.textContent.trim(), 10);
yContent = parseInt(y.textContent.trim(), 10);
} else if (type === "int") {
// 整數處理
xContent = parseInt(x.dataset.value) || 0;
yContent = parseInt(y.dataset.value) || 0;
} else if (type === "float") {
xContent = parseFloat(x.textContent.trim()) || 0;
yContent = parseFloat(y.textContent.trim()) || 0;
} else if (type === "str") {
// 字串處理
xContent = x.textContent.trim().toLowerCase();
yContent = y.textContent.trim().toLowerCase();
} else if (type === "time") {
// 假設時間格式已存儲為數據屬性中的數字
xContent = parseFloat(x.dataset.value) || 0;
yContent = parseFloat(y.dataset.value) || 0;
}
// 根據排序方向決定是否需要切換行
if (dir === "asc" ? xContent > yContent : xContent < yContent) {
shouldSwitch = true;
break;
}
}
if (shouldSwitch) {
let parent = rows[i].parentNode;
let detailRow = rows[i].nextElementSibling;
let detailRowNext = rows[i + 1].nextElementSibling;
parent.insertBefore(rows[i + 1], rows[i]);
parent.insertBefore(detailRowNext, rows[i]);
switching = true;
switchcount++;
} else if (switchcount === 0 && dir === "asc") {
dir = "desc";
switching = true;
}
}
}
// 水平滾動功能
document.getElementById('scrollContainer').addEventListener('wheel', function(e) {
var container = this;
var scrollLeft = container.scrollLeft;
var maxScrollLeft = container.scrollWidth - container.clientWidth;
if (e.deltaY !== 0) {
// 如果未達到最左或最右邊界,進行水平滾動,並阻止預設行為
if (!(scrollLeft === 0 && e.deltaY < 0) && !(scrollLeft === maxScrollLeft && e.deltaY > 0)) {
container.scrollLeft += e.deltaY;
e.preventDefault();
}
}
});
(function () {
var c = document.body.className;
c = c.replace(/woocommerce-no-js/, 'woocommerce-js');
document.body.className = c;
})();
https://alpforest.com/wp-includes/js/dist/i18n.min.js
wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } );
https://alpforest.com/wp-content/plugins/contact-form-7/includes/swv/js/index.js
var wpcf7 = {"api":{"root":"https:\/\/alpforest.com\/wp-json\/","namespace":"contact-form-7\/v1"},"cached":"1"};
( function( domain, translations ) {
var localeData = translations.locale_data[ domain ] || translations.locale_data.messages;
localeData[""].domain = domain;
wp.i18n.setLocaleData( localeData, domain );
} )( "contact-form-7", {"translation-revision-date":"2024-07-22 09:54:23+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=1; plural=0;","lang":"zh_TW"},"This contact form is placed in the wrong place.":["\u9019\u4efd\u806f\u7d61\u8868\u55ae\u653e\u5728\u932f\u8aa4\u7684\u4f4d\u7f6e\u3002"],"Error:":["\u932f\u8aa4:"]}},"comment":{"reference":"includes\/js\/index.js"}} );
https://alpforest.com/wp-content/plugins/contact-form-7/includes/js/index.js
https://alpforest.com/wp-content/plugins/penci-shortcodes/assets/play.js
https://alpforest.com/wp-content/plugins/turn-rank-math-faq-block-to-accordion/assets/js/RMFA-JS.min.js
https://alpforest.com/wp-content/plugins/woocommerce/assets/js/sourcebuster/sourcebuster.min.js
var wc_order_attribution = {"params":{"lifetime":1.0e-5,"session":30,"ajaxurl":"https:\/\/alpforest.com\/wp-admin\/admin-ajax.php","prefix":"wc_order_attribution_","allowTracking":true},"fields":{"source_type":"current.typ","referrer":"current_add.rf","utm_campaign":"current.cmp","utm_source":"current.src","utm_medium":"current.mdm","utm_content":"current.cnt","utm_id":"current.id","utm_term":"current.trm","session_entry":"current_add.ep","session_start_time":"current_add.fd","session_pages":"session.pgs","session_count":"udata.vst","user_agent":"udata.uag"}};
https://alpforest.com/wp-content/plugins/woocommerce/assets/js/frontend/order-attribution.min.js
https://alpforest.com/wp-content/themes/soledad/js/penci-lazy.js
https://alpforest.com/wp-content/themes/soledad/js/libs-script.min.js
https://alpforest.com/wp-content/themes/soledad/js/smoothscroll.js
var ajax_var_more = {"url":"https:\/\/alpforest.com\/wp-admin\/admin-ajax.php","nonce":"60a197aad7","errorPass":"<p class=\"message message-error\">Password does not match the confirm password<\/p>","login":"Email Address","password":"Password","headerstyle":"showup"};
https://alpforest.com/wp-content/themes/soledad/js/main.js
var ajax_var = {"url":"https:\/\/alpforest.com\/wp-admin\/admin-ajax.php","nonce":"60a197aad7","errorPass":"<p class=\"message message-error\">Password does not match the confirm password<\/p>","login":"Email Address","password":"Password","headerstyle":"showup"};
https://alpforest.com/wp-content/themes/soledad/js/post-like.js
var ajax_var_more = {"url":"https:\/\/alpforest.com\/wp-admin\/admin-ajax.php","nonce":"60a197aad7","errorPass":"<p class=\"message message-error\">Password does not match the confirm password<\/p>","login":"Email Address","password":"Password","headerstyle":"showup"};
https://alpforest.com/wp-content/themes/soledad/js/more-post.js
https://alpforest.com/wp-includes/js/comment-reply.min.js
https://alpforest.com/wp-content/themes/soledad/inc/builder/assets/js/penci-header-builder.js
https://alpforest.com/wp-content/uploads/wpmss/wpmssab.min.js
https://alpforest.com/wp-content/plugins/mousewheel-smooth-scroll/js/SmoothScroll.min.js
https://alpforest.com/wp-content/uploads/wpmss/wpmss.min.js
(function(d){var s=d.createElement("script");s.type="text/javascript";s.src="https://a.omappapi.com/app/js/api.min.js";s.async=true;s.id="omapi-script";d.getElementsByTagName("head")[0].appendChild(s);})(document);
https://alpforest.com/wp-includes/js/jquery/ui/core.min.js
var pum_vars = {"version":"1.20.0","pm_dir_url":"https:\/\/alpforest.com\/wp-content\/plugins\/popup-maker\/","ajaxurl":"https:\/\/alpforest.com\/wp-admin\/admin-ajax.php","restapi":"https:\/\/alpforest.com\/wp-json\/pum\/v1","rest_nonce":null,"default_theme":"9914","debug_mode":"","disable_tracking":"","home_url":"\/","message_position":"top","core_sub_forms_enabled":"1","popups":[],"cookie_domain":"","analytics_route":"analytics","analytics_api":"https:\/\/alpforest.com\/wp-json\/pum\/v1"};
var pum_sub_vars = {"ajaxurl":"https:\/\/alpforest.com\/wp-admin\/admin-ajax.php","message_position":"top"};
var pum_popups = {"pum-9923":{"triggers":[{"type":"auto_open","settings":{"delay":9000,"cookie_name":["pum-9923"]}}],"cookies":[{"event":"on_popup_close","settings":{"name":"pum-9923","key":"","session":null,"path":true,"time":"1 month"}}],"disable_on_mobile":false,"disable_on_tablet":false,"atc_promotion":null,"explain":null,"type_section":null,"theme_id":"9921","size":"custom","responsive_min_width":"400px","responsive_max_width":"100px","custom_width":"370px","custom_height_auto":true,"custom_height":"380px","scrollable_content":false,"animation_type":"slide","animation_speed":"350","animation_origin":"bottom","open_sound":"none","custom_sound":"","location":"right bottom","position_top":"100","position_bottom":"10","position_left":"0","position_right":"10","position_from_trigger":false,"position_fixed":true,"overlay_disabled":true,"stackable":true,"disable_reposition":false,"zindex":"1999999999","close_button_delay":"0","fi_promotion":null,"close_on_form_submission":false,"close_on_form_submission_delay":"0","close_on_overlay_click":true,"close_on_esc_press":false,"close_on_f4_press":false,"disable_form_reopen":false,"disable_accessibility":false,"theme_slug":"content-only","id":9923,"slug":"ig-follow"}};
//alpforest.com/wp-content/uploads/pum/pum-site-scripts.js
https://alpforest.com/wp-includes/js/dist/vendor/wp-polyfill.min.js
var wpcf7_recaptcha = {"sitekey":"6LeRBTspAAAAABankoX3pvu7WQHG-xtHfoWSSMNt","actions":{"homepage":"homepage","contactform":"contactform"}};
https://alpforest.com/wp-content/plugins/contact-form-7/modules/recaptcha/index.js
https://alpforest.com/wp-content/themes/soledad/inc/woocommerce/js/slick.min.js
https://alpforest.com/wp-content/themes/soledad/inc/woocommerce/js/jquery.pjax.js
https://alpforest.com/wp-content/themes/soledad/inc/woocommerce/js/popper.min.js
https://alpforest.com/wp-content/themes/soledad/inc/woocommerce/js/tippy-bundle.umd.min.js
https://alpforest.com/wp-content/themes/soledad/inc/woocommerce/js/jquery.autocomplete.min.js
var penciwoo = {"ajaxUrl":"https:\/\/alpforest.com\/wp-admin\/admin-ajax.php","nonce":"60a197aad7","shoppage":"https:\/\/alpforest.com\/shop\/","checkout_url":"https:\/\/alpforest.com\/checkout\/","checkout_text":"Check out","addtocart":"has been added to your cart","addtocompare":"has been added to compare","removecompare":"has been removed from compare","removewishlist":"has been removed from your wishlist","addwishlist":"has been added to your wishlist","browsewishlist":"Browse Wishlist","browsecompare":"Compare Products","returnshop":"Return to shop","allresults":"All results","relateproduct":"4","upsellproduct":"4","crosssellproduct":"4","catcolumns":"4","cartstyle":"side-right","quickshop":"0","cartnotify":"0","pagination":"pagination","ajaxshop":"1","scrolltotopajax":"1","pagination_ajax_threshold":"400","pagination_ajax_history":"0","pagination_ajax_title":"0","select2button":"1","wishlist_empty_heading":"Wishlist is empty.","wishlist_empty_text":"You don't have any products in the wishlist yet. <br> You will find a lot of interesting products on our \"Shop\" page.","compare_empty_heading":"Compare list is empty.","compare_empty_text":"No products added in the compare list. You must add some products to compare them.<br> You will find a lot of interesting products on our \"Shop\" page.","disable_mobile_autoscroll":"0","toast_notify":"0","toast_notify_position":"bottom-right","toast_notify_text_align":"left","toast_notify_transition":"slide","toast_notify_hide_after":"5000","toast_notify_bg_color":"","toast_notify_text_color":"","toast_notify_shop_url":"https:\/\/alpforest.com\/cart\/","toast_notify_shop_sucess_text":"","toast_notify_shop_text":"View Cart","fullpanelposition":"side-right","search_input_padding":"true","countdown_days":"Day","countdown_hours":"Hours","countdown_mins":"Minutes","countdown_sec":"Seconds","wdgh":"275","wdgmh":"275","cart_hash_key":"wc_cart_hash_06b5cbb407d90344dfec63c6f4411539","fragment_name":"wc_fragments_06b5cbb407d90344dfec63c6f4411539","demo_mods":[]};
https://alpforest.com/wp-content/themes/soledad/inc/woocommerce/js/penci-woocommerce.js
https://alpforest.com/wp-content/themes/soledad/inc/woocommerce/js/jquery-grid-picker.js
https://alpforest.com/wp-content/plugins/luckywp-table-of-contents/front/assets/main.min.js
var omapi_data = {"object_id":2764,"object_key":"post","object_type":"post","term_ids":[20,22,26,128,130,124,134,132,125,127,129,133,109,131],"wp_json":"https:\/\/alpforest.com\/wp-json","wc_active":true,"edd_active":false,"nonce":"78b6ddd03a"};
!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(n="undefined"!=typeof globalThis?globalThis:n||self).LazyLoad=t()}(this,(function(){"use strict";function n(){return n=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i])}return n},n.apply(this,arguments)}var t="undefined"!=typeof window,e=t&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),i=t&&"IntersectionObserver"in window,o=t&&"classList"in document.createElement("p"),a=t&&window.devicePixelRatio>1,r={elements_selector:".lazy",container:e||t?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_poster:"poster",class_applied:"applied",class_loading:"loading",class_loaded:"loaded",class_error:"error",class_entered:"entered",class_exited:"exited",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1},c=function(t){return n({},r,t)},u=function(n,t){var e,i="LazyLoad::Initialized",o=new n(t);try{e=new CustomEvent(i,{detail:{instance:o}})}catch(n){(e=document.createEvent("CustomEvent")).initCustomEvent(i,!1,!1,{instance:o})}window.dispatchEvent(e)},l="src",s="srcset",f="sizes",d="poster",_="llOriginalAttrs",g="loading",v="loaded",b="applied",p="error",h="native",m="data-",E="ll-status",I=function(n,t){return n.getAttribute(m+t)},y=function(n){return I(n,E)},A=function(n,t){return function(n,t,e){var i="data-ll-status";null!==e?n.setAttribute(i,e):n.removeAttribute(i)}(n,0,t)},k=function(n){return A(n,null)},L=function(n){return null===y(n)},w=function(n){return y(n)===h},x=[g,v,b,p],O=function(n,t,e,i){n&&(void 0===i?void 0===e?n(t):n(t,e):n(t,e,i))},N=function(n,t){o?n.classList.add(t):n.className+=(n.className?" ":"")+t},C=function(n,t){o?n.classList.remove(t):n.className=n.className.replace(new RegExp("(^|\\s+)"+t+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")},M=function(n){return n.llTempImage},z=function(n,t){if(t){var e=t._observer;e&&e.unobserve(n)}},R=function(n,t){n&&(n.loadingCount+=t)},T=function(n,t){n&&(n.toLoadCount=t)},G=function(n){for(var t,e=[],i=0;t=n.children[i];i+=1)"SOURCE"===t.tagName&&e.push(t);return e},D=function(n,t){var e=n.parentNode;e&&"PICTURE"===e.tagName&&G(e).forEach(t)},V=function(n,t){G(n).forEach(t)},F=[l],j=[l,d],P=[l,s,f],S=function(n){return!!n[_]},U=function(n){return n[_]},$=function(n){return delete n[_]},q=function(n,t){if(!S(n)){var e={};t.forEach((function(t){e[t]=n.getAttribute(t)})),n[_]=e}},H=function(n,t){if(S(n)){var e=U(n);t.forEach((function(t){!function(n,t,e){e?n.setAttribute(t,e):n.removeAttribute(t)}(n,t,e[t])}))}},B=function(n,t,e){N(n,t.class_loading),A(n,g),e&&(R(e,1),O(t.callback_loading,n,e))},J=function(n,t,e){e&&n.setAttribute(t,e)},K=function(n,t){J(n,f,I(n,t.data_sizes)),J(n,s,I(n,t.data_srcset)),J(n,l,I(n,t.data_src))},Q={IMG:function(n,t){D(n,(function(n){q(n,P),K(n,t)})),q(n,P),K(n,t)},IFRAME:function(n,t){q(n,F),J(n,l,I(n,t.data_src))},VIDEO:function(n,t){V(n,(function(n){q(n,F),J(n,l,I(n,t.data_src))})),q(n,j),J(n,d,I(n,t.data_poster)),J(n,l,I(n,t.data_src)),n.load()}},W=["IMG","IFRAME","VIDEO"],X=function(n,t){!t||function(n){return n.loadingCount>0}(t)||function(n){return n.toLoadCount>0}(t)||O(n.callback_finish,t)},Y=function(n,t,e){n.addEventListener(t,e),n.llEvLisnrs[t]=e},Z=function(n,t,e){n.removeEventListener(t,e)},nn=function(n){return!!n.llEvLisnrs},tn=function(n){if(nn(n)){var t=n.llEvLisnrs;for(var e in t){var i=t[e];Z(n,e,i)}delete n.llEvLisnrs}},en=function(n,t,e){!function(n){delete n.llTempImage}(n),R(e,-1),function(n){n&&(n.toLoadCount-=1)}(e),C(n,t.class_loading),t.unobserve_completed&&z(n,e)},on=function(n,t,e){var i=M(n)||n;nn(i)||function(n,t,e){nn(n)||(n.llEvLisnrs={});var i="VIDEO"===n.tagName?"loadeddata":"load";Y(n,i,t),Y(n,"error",e)}(i,(function(o){!function(n,t,e,i){var o=w(t);en(t,e,i),N(t,e.class_loaded),A(t,v),O(e.callback_loaded,t,i),o||X(e,i)}(0,n,t,e),tn(i)}),(function(o){!function(n,t,e,i){var o=w(t);en(t,e,i),N(t,e.class_error),A(t,p),O(e.callback_error,t,i),o||X(e,i)}(0,n,t,e),tn(i)}))},an=function(n,t,e){!function(n){n.llTempImage=document.createElement("IMG")}(n),on(n,t,e),function(n){S(n)||(n[_]={backgroundImage:n.style.backgroundImage})}(n),function(n,t,e){var i=I(n,t.data_bg),o=I(n,t.data_bg_hidpi),r=a&&o?o:i;r&&(n.style.backgroundImage='url("'.concat(r,'")'),M(n).setAttribute(l,r),B(n,t,e))}(n,t,e),function(n,t,e){var i=I(n,t.data_bg_multi),o=I(n,t.data_bg_multi_hidpi),r=a&&o?o:i;r&&(n.style.backgroundImage=r,function(n,t,e){N(n,t.class_applied),A(n,b),e&&(t.unobserve_completed&&z(n,t),O(t.callback_applied,n,e))}(n,t,e))}(n,t,e)},rn=function(n,t,e){!function(n){return W.indexOf(n.tagName)>-1}(n)?an(n,t,e):function(n,t,e){on(n,t,e),function(n,t,e){var i=Q[n.tagName];i&&(i(n,t),B(n,t,e))}(n,t,e)}(n,t,e)},cn=function(n){n.removeAttribute(l),n.removeAttribute(s),n.removeAttribute(f)},un=function(n){D(n,(function(n){H(n,P)})),H(n,P)},ln={IMG:un,IFRAME:function(n){H(n,F)},VIDEO:function(n){V(n,(function(n){H(n,F)})),H(n,j),n.load()}},sn=function(n,t){(function(n){var t=ln[n.tagName];t?t(n):function(n){if(S(n)){var t=U(n);n.style.backgroundImage=t.backgroundImage}}(n)})(n),function(n,t){L(n)||w(n)||(C(n,t.class_entered),C(n,t.class_exited),C(n,t.class_applied),C(n,t.class_loading),C(n,t.class_loaded),C(n,t.class_error))}(n,t),k(n),$(n)},fn=["IMG","IFRAME","VIDEO"],dn=function(n){return n.use_native&&"loading"in HTMLImageElement.prototype},_n=function(n,t,e){n.forEach((function(n){return function(n){return n.isIntersecting||n.intersectionRatio>0}(n)?function(n,t,e,i){var o=function(n){return x.indexOf(y(n))>=0}(n);A(n,"entered"),N(n,e.class_entered),C(n,e.class_exited),function(n,t,e){t.unobserve_entered&&z(n,e)}(n,e,i),O(e.callback_enter,n,t,i),o||rn(n,e,i)}(n.target,n,t,e):function(n,t,e,i){L(n)||(N(n,e.class_exited),function(n,t,e,i){e.cancel_on_exit&&function(n){return y(n)===g}(n)&&"IMG"===n.tagName&&(tn(n),function(n){D(n,(function(n){cn(n)})),cn(n)}(n),un(n),C(n,e.class_loading),R(i,-1),k(n),O(e.callback_cancel,n,t,i))}(n,t,e,i),O(e.callback_exit,n,t,i))}(n.target,n,t,e)}))},gn=function(n){return Array.prototype.slice.call(n)},vn=function(n){return n.container.querySelectorAll(n.elements_selector)},bn=function(n){return function(n){return y(n)===p}(n)},pn=function(n,t){return function(n){return gn(n).filter(L)}(n||vn(t))},hn=function(n,e){var o=c(n);this._settings=o,this.loadingCount=0,function(n,t){i&&!dn(n)&&(t._observer=new IntersectionObserver((function(e){_n(e,n,t)}),function(n){return{root:n.container===document?null:n.container,rootMargin:n.thresholds||n.threshold+"px"}}(n)))}(o,this),function(n,e){t&&window.addEventListener("online",(function(){!function(n,t){var e;(e=vn(n),gn(e).filter(bn)).forEach((function(t){C(t,n.class_error),k(t)})),t.update()}(n,e)}))}(o,this),this.update(e)};return hn.prototype={update:function(n){var t,o,a=this._settings,r=pn(n,a);T(this,r.length),!e&&i?dn(a)?function(n,t,e){n.forEach((function(n){-1!==fn.indexOf(n.tagName)&&function(n,t,e){n.setAttribute("loading","lazy"),on(n,t,e),function(n,t){var e=Q[n.tagName];e&&e(n,t)}(n,t),A(n,h)}(n,t,e)})),T(e,0)}(r,a,this):(o=r,function(n){n.disconnect()}(t=this._observer),function(n,t){t.forEach((function(t){n.observe(t)}))}(t,o)):this.loadAll(r)},destroy:function(){this._observer&&this._observer.disconnect(),vn(this._settings).forEach((function(n){$(n)})),delete this._observer,delete this._settings,delete this.loadingCount,delete this.toLoadCount},loadAll:function(n){var t=this,e=this._settings;pn(n,e).forEach((function(n){z(n,t),rn(n,e,t)}))},restoreAll:function(){var n=this._settings;vn(n).forEach((function(t){sn(t,n)}))}},hn.load=function(n,t){var e=c(t);rn(n,e)},hn.resetStatus=function(n){k(n)},t&&function(n,t){if(t)if(t.length)for(var e,i=0;e=t[i];i+=1)u(n,e);else u(n,t)}(hn,window.lazyLoadOptions),hn}));
(function () {
var PenciLazy = new LazyLoad({
elements_selector: '.penci-lazy',
data_bg: 'bgset',
class_loading: 'lazyloading',
class_entered: 'lazyloaded',
class_loaded: 'pcloaded',
unobserve_entered: true
});
MutationObserver = window.MutationObserver || window.WebKitMutationObserver;
var observer = new MutationObserver(function(mutations, observer) {
PenciLazy.update();
});
observer.observe(document, {
subtree: true,
attributes: true
});
})();