var MierucaHM=function(){"use strict";var e,t={local_url:window.location.href,referrer_url:document.referrer,sWs:("https:"===document.location.protocol?"wss":"ws")+"://ntjp.mieru-ca.com/hm?sId="+window.__fid[0][0],HM:{},site_id:window.__fid[0][0],temp_scroll_pos:0,idl:null,iwc:0,ire:0,time_out:!1,chkPrevEvent:null,temp_x_pos:0,temp_y_pos:0,read_check:"",href:"",text:"",ipa:0,device:(e=navigator.userAgent||navigator.vendor||window.opera,/(tablet|ipad|playbook|silk)|(android(?!.*mobi))/i.test(e)?"t":/Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)/.test(e)?"m":"d")},i=0,o=0,n=0,r=0,d=0,l=null,a=MierucaHM.prototype={initWindowElement:function(){var e=document.body||{scrollTop:0,scrollHeight:0,offsetHeight:0,scrollLeft:0,offsetWidth:0,clientWidth:0},t=document.documentElement||{scrollTop:0,clientHeight:0,scrollHeight:0,clientWidth:0,scrollWidth:0,offsetWidth:0,offsetHeight:0};d=Math.floor(t.scrollTop||e.scrollTop||window.pageYOffset),i=Math.max(e.scrollHeight,e.offsetHeight,t.clientHeight,t.scrollHeight,t.offsetHeight),o=Math.max(e.scrollLeft,e.offsetWidth,t.clientWidth,t.scrollWidth,t.offsetWidth),r=Math.floor(window.innerWidth||t.clientWidth||e.clientWidth),n=Math.floor(window.innerHeight+d>i?i:window.innerHeight)},sendPageView:function(){if("WebSocket"in window)l=new WebSocket(t.sWs+(t.ire?"&retry=1":""));else{if(!("MozWebSocket"in window))return;l=new MozWebSocket(t.sWs+(t.ire?"&retry=1":""))}t.iwc=0,a.initWindowElement(),l.onopen=function(){var e={type:"p"};e.sId=t.site_id,e.url=t.local_url,e.refUrl=t.referrer_url,e.d=t.device,e.sP=n,e.dH=i,e.wW=r,e.wH=n,e.ipa="ipa",e.ua=navigator.userAgent||navigator.vendor||window.opera,l.sendMessage(JSON.stringify(e))},l.onclose=function(e){t.iwc=1},l.onerror=function(e){0===t.ire&&(t.ire=1,setTimeout((()=>{a.sendPageView()}),500))},l.sendMessage=function(e){""!==e&&0===t.iwc&&l.readyState===l.OPEN&&l.send(e)},l.onmessage=function(e){"IS_ALLOW_LOAD_POPUP"!==e.data?e.data.startsWith("refId-")?window.__hmrid=e.data.split("-")[1]:e.data.startsWith("urlId-")&&(window.__hmuid=e.data.split("-")[1]):a.popupHandle()};for(var e=document.querySelectorAll("label,a,input,button,textarea,img,iframe,video"),o=0;o お問い合わせ ご予約・お問い合わせはこちら お電話でのお問い合わせはこちらBLOG未分類
CONTACT