").html(t).text().replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\x2B/g," "),$.each(t.split("&"),(function(t,e){a=e.indexOf("="),i.push([e.substr(0,a),e.substr(a+1,e.length)])})),this},this.decodeYouTubeAddress=function(a,t){if(this.decode(a,t),$.isFunction(t))switch(this.getParam("v")){case null:t([STATE_ERROR,"Not a YouTube video"]);break;default:t([STATE_MESSAGE,this.getParam("v")])}return this},this.getParam=function(a){for(var e=0;e(e=$(this).offset().top-parseInt(a.pToolTip.css("height"))-20)&&(e=$(this).offset().top+parseInt($(this).css("height"))+10),a.pToolTip.moveAbsolute($(this).offset().left,e).toggle(100),$(this).css({opacity:1}))}),(function(t){t.stopImmediatePropagation(),null!==a.pToolTip&&a.pToolTip.hide()})),null!==a.pTimer&&a.pTimer.reset(),this.getCapitalized_All=function(a){return $(this).val().replace(/\w\S*/g,(function(a){return a.charAt(0).toUpperCase()+a.substr(1).toLowerCase()}))},this.getCapitalized_First=function(){return $(this).val().charAt(0).toUpperCase()+$(this).val().slice(1)},this},jQuery.fn.gsmTdString=function(a){a=$.extend({fieldKind:!0,bReadOnly:!1,bDisabled:!1,iMinChars:10,iMaxChars:100,pToolTip:null,iWidth:-1,tabIndex:-1,defaultValue:"",hint:"",bSpellChecker:!1,pTimer:null,iWidth_ToolTip:Math.max(235,$(this).width()),plarform:null},a),$(this).html("");var t=$("input",$(this));return $.fn.extend(t,t.gsmTdBaseObject({pToolTip:a.pToolTip,value:a.defaultValue,iWidth_ToolTip:a.iWidth_ToolTip,strLabel:a.defaultValue})),t.blur((function(i){i.stopImmediatePropagation(),t.html(t.val().trim()),null!==a.pTimer&&a.pTimer.reset()})).on("change",(function(t){t.stopImmediatePropagation(),null!==a.pTimer&&a.pTimer.reset()})),t.isMandatory=function(){return a.fieldKind=!0},t.makeMandatory=function(i){return a.fieldKind=0===arguments.length||!0===i,t.removeClass().addClass(!0===a.fieldKind?"txtMandatory":"txtOptional"),t},t.makeReadOnly=function(a){switch(0===arguments.length||a){case!0:t.attr("readonly","readonly");break;default:t.removeAttr("readonly")}return t},t.checkGenericErrors=function(){if(t.removeClass("border-danger"),void 0!==t.attr("disabled"))return t;var i="";switch(!0===a.fieldKind){case!0:t.val().lengthYou MUST enter at least "+a.iMinChars+" characters ");break;default:0!==t.val().length&&t.val().lengthYou either: 1. Do not supply any information 2. IF you do, the minimum number of characters is "+a.iMinChars)}return i.length&&t.addClass("border-danger").setErrorMsg(i),t},t.enable=function(a){switch(0===arguments.length||a){case!1:t.attr("disabled","disabled");break;default:t.removeAttr("disabled")}return t},t.isEnabled=function(){return void 0===t.attr("disabled")},t.setDefault=function(){return t.removeClass("border-danger"),t.val(a.defaultValue).enable(!a.bDisabled).setDefault_Parent().makeReadOnly(a.bReadOnly),t.css({width:-1===a.iWidth?t.parent().width():a.iWidth,opacity:1}).attr({spellcheck:a.bSpellChecker,tabindex:a.tabIndex,maxLength:a.iMaxChars,placeholder:a.hint}).addClass(!0===a.fieldKind?"txtMandatory":"txtOptional"),t},t.setHint=function(a){return t.attr({placeholder:a}),t},t.clear=function(){return t.val(""),t.clearParent(),t},t.update=function(a,t){return this.updateParent(a,void 0===t?"":t),this.val(a),this},t.setDefault(),t},jQuery.fn.gsmTdEmail=function(a){return $.fn.extend(this,this.gsmTdString(a)),this.checkSpecificErrors=function(){switch(new RegExp(/^([a-zA-Z0-9_\.\-\+])+@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/).test(this.val())){case!0:$(this).removeClass("border-danger"),this.setErrorMsg("");break;default:$(this).addClass("border-danger"),this.setErrorMsg("Not a proper email format")}},this},$.fn.gsmTdTextArea=function(a){a=$.extend({fieldKind:!0,iMinChars:3,iMaxChars:10,bDisabled:!1,bReadOnly:!1,strDefault:"",pToolTip:null,hint:"",bSpellChecker:!1,pTimer:null,iWidth_ToolTip:$(this).width()},a),$(this).html("");var t=$("textarea",$(this)).css({"font-family":"inherit"});$.fn.extend(t,t.gsmTdBaseObject({pToolTip:a.pToolTip,value:a.strDefault,iWidth_ToolTip:a.iWidth_ToolTip,strLabel:a.defaultValue}));var i=this;return t.getMinChars=function(){return a.iMinChars},t.addClass(!0===a.fieldKind?"mandatory box-round":"optional box-round").attr({placeholder:a.hint,spellcheck:a.bSpellChecker,rows:2,cols:2,maxlength:a.iMaxChars}).css({opacity:1}).blur((function(i){i.stopImmediatePropagation(),t.html(t.val().trim()),null!==a.pTimer&&a.pTimer.reset()})).on("change",(function(t){t.stopImmediatePropagation(),null!==a.pTimer&&a.pTimer.reset()})).removeClass().addClass("box-round "+(!0===a.fieldKind?"mandatory":"optional")),t.enable=function(a){switch(0===arguments.length||a){case!0:t.removeAttr("disabled");break;default:t.attr({disabled:"disabled"})}return t},t.setSelection_ByText=function(a){return $(i).val(a),t},t.isError=function(){return t.hasClass("border-danger")},t.checkGenericErrors=function(){if(t.removeClass("border-danger"),void 0!==t.attr("disabled"))return t;var i="";return $(".inner-editor",t).removeClass("border-danger"),void 0!==t.attr("disabled")||void 0!==t.attr("readonly")?this:(!0===a.fieldKind&&t.val().lengthYou MUST enter at least "+a.iMinChars+" characters "),!1===a.fieldKind&&0You either: 1. Do not supply any information 2. or IF you do, the minimum number of characters is "+a.iMinChars),i.length&&($(".inner-editor",t).addClass("border-danger"),t.addClass("border-danger").setErrorMsg(i)),t)},t.appendText=function(a){return t.val(t.val()+a),t},t.setText=function(a){return this.val(a),this},t.getText=function(){return t.val()},t.update=function(a,t){return this.val(a),this.updateParent(a,t),this},t.clear=function(){return t.val("").removeClass("border-danger"),this.clearParent(),a.bReadOnly?this:(this.enable(!a.bDisabled),t)},t.setDefault=function(){return t.val(a.strDefault),t.makeReadOnly(a.bReadOnly),this.setDefault_Parent(),t},t.makeReadOnly=function(a){switch(0===arguments.length||a){case!0:t.attr("readonly",!0);break;default:t.removeAttr("readonly")}return t},$(".inner-editor",t).addClass(!0===a.fieldKind?"mandatory":"optional"),t.clear().setDefault(),t},$.fn.uaAboutUs=function(){this.on(EV_RESPONSE,(function(a){switch(a.stopImmediatePropagation(),$(this).hasClass("d-none")&&($(this).css({opacity:0}),$.each([i,e],(function(){$(this).trigger(EV_CLEAR)}))),a.uaData.data.idPage){case null:t=1,$(this).trigger($.Event(EV_NOTIFY,{uaData:{info:"ev.setByMenu"}}));break;default:t=0,i.trigger($.Event(EV_RESPONSE,{uaData:{data:{idPost:a.uaData.data.idPage.idPost}}})),e.trigger(EV_RESPONSE)}})).on(EV_START_LOAD,(function(a){a.stopImmediatePropagation(),t=0,$.each([i,e],(function(){$(this).trigger(EV_START_LOAD)}))})).on(EV_TOGGLE,(function(a){switch(a.stopImmediatePropagation(),t=0,i.attr("idPost")){case void 0:0!==parseInt($(this).css("opacity"))&&$(this).fadeTo(1e3,0,(function(){$(this).addClass("d-none")}));break;default:switch($(this).hasClass("d-none")){case!0:$(this).removeClass("d-none").fadeTo(1e3,1);break;default:$(this).fadeTo(1e3,0,(function(){$(this).addClass("d-none"),i.trigger(EV_CLEAR)}))}}})).on(EV_NOTIFY,(function(a){a.stopImmediatePropagation(),2>++t||(t=0,$(this).trigger($.Event(EV_EXTERN,{uaData:a.uaData})))}));const a=this;let t=0;$.fn.uaText=function(){this.on(EV_CLEAR,(function(a){a.stopImmediatePropagation(),$(this).removeAttr("idPost").html("")})).on(EV_RESPONSE,(function(a){a.stopImmediatePropagation(),$(this).attr({idPost:a.uaData.data.idPost}),$(this).trigger($.Event(EV_NOTIFY,{uaData:{info:"ev.setByMenu"}}))})).on(EV_START_LOAD,(function(t){switch(t.stopImmediatePropagation(),$(this).attr("idPost")){case null:case void 0:$(this).trigger($.Event(EV_NOTIFY,{uaData:{info:EV_START_LOAD}}));break;default:(new $.uaBlogger).getPost({id:$(this).attr("idPost")},(function(t){switch(a.html().length){case 0:a.html(t.data),a.trigger($.Event(EV_NOTIFY,{uaData:{info:EV_START_LOAD}}));break;default:a.fadeTo(1e3,0,(function(){a.html(t.data).fadeTo(1e3,1)}))}}))}})).on(EV_NOTIFY,(function(a){a.stopImmediatePropagation(),$(this).trigger($.Event(EV_EXTERN,{uaData:a.uaData}))}));const a=this;return this},$.fn.uaAwards=function(){this.attr({idFolder:"0B3uQkKds1Z3Xd0JyeUhZOXVaQkE/0-6Yb2NGx5MH452IIxtTXc2w"}).on(EV_CLEAR,(function(a){a.stopImmediatePropagation()})).on(EV_RESPONSE,(function(t){t.stopImmediatePropagation(),a=7,$(this).trigger($.Event(EV_NOTIFY,{uaData:{info:"ev.setByMenu"}}))})).on(EV_START_LOAD,(function(i){switch(i.stopImmediatePropagation(),a=0,$("img:first",this).attr("src")){case void 0:(new $.uaDrive).getThums({idFolder:$(this).attr("idFolder")},(function(a){a.data.reverse(),$.each($("img",t),(function(t,i){$(this).trigger($.Event(EV_START_LOAD,{uaData:{data:a.data[t]}}))}))}));break;default:a=7,$(this).trigger(EV_NOTIFY)}})).on(EV_NOTIFY,(function(t){t.stopImmediatePropagation(),8>++a||$(this).trigger($.Event(EV_EXTERN,{uaData:t.uaData}))})),$.fn.uaImg_Award=function(){return this.on(EV_CLEAR,(function(a){a.stopImmediatePropagation(),$(this).removeAttr("src")})).on(EV_START_LOAD,(function(a){a.stopImmediatePropagation(),$(this).attr({src:a.uaData.data}),$(this).trigger(EV_EXTERN)})),this},$.each($("img",this),(function(){$(this).uaImg_Award().on(EV_EXTERN,(function(a){a.stopImmediatePropagation(),t.trigger($.Event(EV_NOTIFY,{uaData:{info:EV_START_LOAD}}))}))}));let a=0;const t=this;return this};const i=$("#idText",this).uaText().on(EV_EXTERN,(function(t){t.stopImmediatePropagation(),a.trigger($.Event(EV_NOTIFY,{uaData:t.uaData}))})),e=$("#idAwards",this).uaAwards().on(EV_EXTERN,(function(t){t.stopImmediatePropagation(),a.trigger($.Event(EV_NOTIFY,{uaData:t.uaData}))}));return this},$.fn.uaAgg_Imgs=function(){this.on(EV_RESPONSE,(function(o){switch(o.stopImmediatePropagation(),a=0,o.uaData.info){case"ev.setThumbs":a=0,i=n.hasClass("d-none")?n:d,i.trigger($.Event("ev.setByMenu",{uaData:{data:{idThumb:t.getNext()}}})),i=i===d?n:d,i.trigger($.Event("ev.setByMenu",{uaData:{data:{idThumb:null}}}));break;case"ev.setByMenu":switch($.each([d,n],(function(){$(this).trigger($.Event(EV_INIT,{uaData:{data:{bLocalized:null}}}))})),o.uaData.data.idDrive){case null:r.stop(),$.each([d,n],(function(){$(this).trigger($.Event("ev.setByMenu",{uaData:{data:{idThumb:null}}}))}));break;default:a=0,s.getThums({idFolder:o.uaData.data.idDrive,bScale:!0},(function(a){t.clear().setThumbs({thumbs:a.data}),o.uaData.data.bGallery&&t.reverse(!0),e.trigger($.Event(EV_RESPONSE,{uaData:{info:"ev.setThumbs"}}))}))}break;case"ev.setByGallery":a=0,t.reverse(o.uaData.data.bGallery),e.trigger($.Event(EV_RESPONSE,{uaData:{info:"ev.setThumbs"}}))}})).on(EV_START_LOAD,(function(a){a.stopImmediatePropagation(),$.each([d,n],(function(){$(this).trigger(EV_START_LOAD)}))})).on(EV_TOGGLE,(function(a){a.stopImmediatePropagation(),$.each([d,n],(function(){$(this).trigger(EV_TOGGLE)}))})).on(EV_NOTIFY,(function(t){if(t.stopImmediatePropagation(),!(2>++a))switch(a=0,void 0!==d.attr("bLocalized")){case!0:switch(t.uaData.info){case"ev.setByMenu":$.each([d,n],(function(){$(this).trigger(EV_START_LOAD)}));break;case EV_START_LOAD:r.start();break;case"ev.EOC":switch(r.stop(),!d.attr("src")&&!n.attr("src")){case!0:break;default:e.trigger($.Event(EV_RESPONSE,{uaData:{info:"ev.setThumbs"}}))}break;case EV_TOGGLE:r.stop(),$.each([d,n],(function(){$(this).trigger(EV_TOGGLE)}))}break;default:switch(t.uaData.info){case"ev.EOC":switch(!d.attr("src")&&!n.attr("src")){case!0:break;default:$.each([d,n],(function(){$(this).trigger($.Event(EV_INIT,{uaData:{data:{bLocalized:"1"}}}))})),e.trigger($.Event(EV_RESPONSE,{uaData:{info:"ev.setThumbs"}}))}break;case EV_TOGGLE:r.stop(),$.each([d,n],(function(){$(this).trigger(EV_TOGGLE)}));break;default:$(this).trigger($.Event(EV_EXTERN,{uaData:t.uaData}))}}}));let a=0,t={data:{thumbs:[],iCtr:-1,iMAX:0},getNext:function(){return this.data.iCtr=this.data.iCtr+1>=this.data.iMAX?0:++this.data.iCtr,this.data.thumbs[this.data.iCtr]},setThumbs:function(a){return this.data.thumbs=a.thumbs,this},reverse:function(a){return this.data.thumbs=this.data.thumbs.reverse(),this.data.iMAX=a?this.data.thumbs.length:4,this.data.iCtr=-1,this},clear:function(){return this.data.thumbs=[],this.data.iCtr=-1,this.data.iMAX=4,this}};$.fn.uaImg_Floater=function(){return this.on(EV_INIT,(function(a){switch(a.stopImmediatePropagation(),a.uaData.data.bLocalized){case null:$(this).removeAttr("bLocalized");break;default:$(this).attr({bLocalized:"1"})}})).on("ev.setByMenu",(function(a){switch(a.stopImmediatePropagation(),a.uaData.data.idThumb){case null:$(this).removeAttr("idThumb");break;default:$(this).attr({idThumb:a.uaData.data.idThumb})}$(this).trigger($.Event(EV_NOTIFY,{uaData:{info:"ev.setByMenu",data:{bLocalized:void 0!==$(this).attr("bLocalized")}}}))})).on("load",(function(a){a.stopImmediatePropagation(),$(this).trigger($.Event(EV_NOTIFY,{uaData:{info:EV_START_LOAD,data:{bLocalized:void 0!==$(this).attr("bLocalized")}}}))})).on(EV_START_LOAD,(function(a){switch(a.stopImmediatePropagation(),$(this).attr("idThumb")){case void 0:$(this).trigger($.Event(EV_NOTIFY,{uaData:{info:EV_START_LOAD,data:{bLocalized:void 0!==$(this).attr("bLocalized")}}}));break;default:$(this).attr({src:$(this).attr("idThumb")})}})).on(EV_CLEAR,(function(a){a.stopImmediatePropagation(),$(this).removeAttr("src").removeAttr("idThumb")})).on(EV_TOGGLE,(function(a){switch(a.stopImmediatePropagation(),$(this).attr("idThumb")){case void 0:case null:switch($(this).attr("src")){case void 0:$(this).addClass("d-none").trigger($.Event(EV_NOTIFY,{uaData:{info:"ev.EOC",data:{bLocalized:void 0!==$(this).attr("bLocalized")}}}));break;default:$(this).fadeTo(1500,0,(function(){$(this).addClass("d-none").removeAttr("src").trigger($.Event(EV_NOTIFY,{uaData:{info:"ev.EOC",data:{bLocalized:void 0!==$(this).attr("bLocalized")}}}))}))}break;default:$(this).removeClass("d-none").fadeTo(1500,1,(function(){$(this).removeAttr("idThumb").trigger($.Event(EV_NOTIFY,{uaData:{info:"ev.EOC",data:{bLocalized:void 0!==$(this).attr("bLocalized")}}}))}))}})).on(EV_NOTIFY,(function(a){a.stopImmediatePropagation(),$(this).trigger($.Event(EV_EXTERN,{uaData:a.uaData}))})),this};let i=null;const e=this,n=$("img:first",this).uaImg_Floater().on(EV_EXTERN,(function(a){a.stopImmediatePropagation(),e.trigger($.Event(EV_NOTIFY,{uaData:a.uaData}))})),d=$("img:last",this).uaImg_Floater().on(EV_EXTERN,(function(a){a.stopImmediatePropagation(),e.trigger($.Event(EV_NOTIFY,{uaData:a.uaData}))})),s=new $.uaDrive,r=new $.gsmDtTimer({iTimeOut:1.5},(function(){e.trigger($.Event(EV_NOTIFY,{uaData:{info:EV_TOGGLE}}))}));return this},$.fn.uaAgg_Page_Img=function(){const a=this;let t=0;this.on(EV_INIT,(function(t){t.stopImmediatePropagation(),i=$("#idPage",this).uaPage().on(EV_EXTERN,(function(t){t.stopImmediatePropagation(),a.trigger($.Event(EV_NOTIFY,{uaData:t.uaData}))})),e=$("#idVideo",this).uaVideo().on(EV_EXTERN,(function(t){t.stopImmediatePropagation(),a.trigger($.Event(EV_NOTIFY,{uaData:t.uaData}))})),n=$("#idImgs",this).uaAgg_Imgs().on(EV_EXTERN,(function(t){t.stopImmediatePropagation(),a.trigger($.Event(EV_NOTIFY,{uaData:t.uaData}))}))})).on(EV_RESPONSE,(function(a){switch(a.stopImmediatePropagation(),t=0,d=null,a.uaData.info){case"ev.setByMenu":null!==a.uaData.data.data.idVideo&&(d=e),null!==a.uaData.data.data.idPage&&(d=i),null!==a.uaData.data.data.drive&&(d=n),n.trigger($.Event(EV_RESPONSE,{uaData:{info:"ev.setByMenu",data:{idDrive:a.uaData.data.data.drive,bGallery:a.uaData.data.bGallery}}})),e.trigger($.Event(EV_RESPONSE,{uaData:{info:"ev.setByMenu",data:{idVideo:a.uaData.data.data.idVideo}}})),i.trigger($.Event(EV_RESPONSE,{uaData:{info:"ev.setByMenu",data:{idPage:a.uaData.data.data.idPage}}})),a.uaData.data.data.idVideo||e.addClass("d-none");break;case"ev.setByGallery":n.trigger($.Event(EV_RESPONSE,{uaData:{info:"ev.setByGallery",data:a.uaData.data}}))}})).on(EV_NOTIFY,(function(a){switch(a.stopImmediatePropagation(),a.uaData.info){case"ev.setByMenu":if(3>++t)break;t=0,d.trigger(EV_START_LOAD);break;case EV_START_LOAD:$.each([n,e,i],(function(){this.trigger(EV_TOGGLE)}))}}));let i,e,n,d=null;return this},$.uaAnalytics=function(){return this.send=function(a){console.log("Analytics: page="+a),gtag("event",a,{send_to:"G-39HPWEM5K8"})},this},$.uaBlogger=function(){return this.getPost=function(a,t){$.getJSON("https://www.googleapis.com/blogger/v3/blogs/469397442068228171/posts/"+a.id+"?key="+API_KEY+"&callback=?",(function(a){t({bError:void 0!==a.error,data:a.content})}))},this},$.fn.uaContactUs=function(){this.on(EV_RESPONSE,(function(a){switch(a.stopImmediatePropagation(),$(this).hasClass("d-none")&&($(this).css({opacity:0}),e.trigger(EV_CLEAR)),a.uaData.data.idPage){case null:i=1,$(this).trigger(EV_NOTIFY,{uaData:{info:"ev.setByMenu"}});break;default:i=0,e.trigger($.Event(EV_RESPONSE,{uaData:{data:{idLang:$("html").attr("lang").toUpperCase()}}})),n.trigger($.Event(EV_RESPONSE,{uaData:{data:{idPost:a.uaData.data.idPage.idPost}}}))}})).on(EV_START_LOAD,(function(a){a.stopImmediatePropagation(),i=0,$.each([e,n],(function(){$(this).trigger(EV_START_LOAD)}))})).on(EV_TOGGLE,(function(a){switch(a.stopImmediatePropagation(),i=0,n.attr("idPost")){case void 0:0!==parseInt($(this).css("opacity"))&&$(this).fadeTo(1e3,0,(function(){$(this).addClass("d-none")}));break;default:switch($(this).hasClass("d-none")){case!0:$(this).removeClass("d-none").fadeTo(1e3,1);break;default:$(this).fadeTo(1e3,0,(function(){$(this).addClass("d-none"),$.each([e,n],(function(){this.trigger(EV_CLEAR)}))}))}}})).on(EV_NOTIFY,(function(a){a.stopImmediatePropagation(),2>++i||$(this).trigger($.Event(EV_EXTERN,{uaData:a.uaData}))})),$.fn.uaForm=function(){this.on(EV_RESPONSE,(function(a){a.stopImmediatePropagation(),$(this).attr({idLang:a.uaData.data.idLang}),t.removeClass("text-danger").html(""),$(this).trigger($.Event(EV_NOTIFY,{uaData:{info:"ev.setByMenu"}}))})).on(EV_START_LOAD,(function(t){switch(t.stopImmediatePropagation(),s.clear(),$(this).attr("idLang")){case null:case void 0:$(this).trigger($.Event(EV_NOTIFY,{uaData:{info:EV_START_LOAD}}));break;default:t=a.getData({idLang:$(this).attr("idLang")}),i.attr({placeholder:t.name}),e.attr({placeholder:t.email}),n.attr({placeholder:t.subject}),d.attr({placeholder:t.msg}),o.html(t.send),$(this).trigger($.Event(EV_NOTIFY,{uaData:{info:EV_START_LOAD}}))}})).on(EV_CLEAR,(function(a){a.stopImmediatePropagation(),$(this).removeAttr("idLang")})).on(EV_NOTIFY,(function(a){a.stopImmediatePropagation(),$(this).trigger($.Event(EV_EXTERN,{uaData:a.uaData}))}));const a={data:[{idLang:"EN",data:{name:"Your Name",subject:"Subject",email:"Your Email",msg:"Your Message",send:"Send",response:{sucess:"Thank you for your interest We also sent you an email for your records We will respond shortly",failure:"Email delivery unsuccessful. Please attempt again later or feel free to reach us through alternative contact methods like WhatsApp.",fiedError:"Correct field(s) in red to continue"}}},{idLang:"FR",data:{name:"Votre Nom",subject:"Sujet",email:"Email",msg:"Votre Message",send:"Envoyer",response:{sucess:"Merci de votre intérêt Nous vous avons également envoyé un e-mail pour vos dossiers Nous vous répondrons sous peu",failure:"Échec de l'envoi du courrier électronique. Veuillez réessayer plus tard ou n'hésitez pas à nous contacter via d'autres méthodes de contact comme WhatsApp.",fiedError:"Corrigez entrée(s) en rouge pour continuer"}}},{idLang:"EL",data:{name:"Το όνομά σας",subject:"Θέμα",email:"Email",msg:"Το μήνυμά σας",send:"Στείλετε",response:{sucess:"Σας ευχαριστούμε για το ενδιαφέρον σας Σας στείλαμε επίσης ένα email για τα αρχεία σας Θα απαντήσουμε σύντομα",failure:"Η παράδοση email δεν ήταν επιτυχής. Προσπαθήστε ξανά αργότερα ή μη διστάσετε να επικοινωνήσετε μαζί μας μέσω εναλλακτικών μεθόδων επικοινωνίας όπως το WhatsApp.",fiedError:"Διορθώστε τα πεδία με κόκκινο χρώμα για να συνεχίσετε"}}},{idLang:"IT",data:{name:"Il Vostro Nome",subject:"Oggetto",email:"Email",msg:"Messaggio",send:"Inviare",response:{sucess:"Grazie per il tuo interesse Ti abbiamo anche inviato un'email per tuo riferimento Risponderemo a breve",failure:"Consegna dell'e-mail non riuscita. Riprova più tardi o non esitare a contattarci tramite metodi di contatto alternativi come WhatsApp.",fiedError:"Correggere gli input in rosso per continuare"}}}],getData:function(a){let t=null;return $.each(this.data,(function(){return this.idLang!==a.idLang||(t=this.data,!1)})),t},getMsg_Usr:function(){let a=null;return $.each(this.data,(function(){return this.idLang!==r.attr("idLang")||(a=this.data.response,!1)})),a}},i=$("#idName",this).gsmTdString({iMinChars:7,iMaxChars:30,pToolTip:null,tabIndex:1}).addClass("form-control"),e=$("#idEmail",this).gsmTdEmail({pToolTip:null,iMinChars:7,iMaxChars:30,tabIndex:2}).addClass("form-control"),n=$("#idSubject",this).gsmTdString({iWidth:"100%",pToolTip:null,iMinChars:5,iMaxChars:20,tabIndex:3}).addClass("form-control"),d=$("#idMsgArea",this).gsmTdTextArea({iMinChars:10,iMaxChars:250,pToolTip:null,tabIndex:4}).addClass("w-100 uaTxtArea form-control"),s=new $.gsmDtForm({pItems:[i,e,n,d]}),r=this,o=$("#idBtnSend",this).on("click",(function(r){if(r.stopImmediatePropagation(),!$(this).hasClass("uaDanger"))switch(t.removeClass("text-danger").html(""),s.checkForErrors(),!s.isError()){case!0:(new $.gsmSendBrevo).send({fromName:i.val(),fromMail:e.val(),subject:n.val(),msg:d.val()},(function(i){switch(i.bError){case!0:t.addClass("text-danger").html(a.getMsg_Usr({idLang:$("html").attr("lang").toUpperCase()}).failure);break;default:t.addClass("text-success").html(a.getMsg_Usr({idLang:$("html").attr("lang").toUpperCase()}).sucess)}}));break;default:t.addClass("text-danger").html(a.getMsg_Usr().fiedError)}}));return this},$.fn.uaLocation=function(){this.on(EV_RESPONSE,(function(a){a.stopImmediatePropagation(),$(this).attr({idPost:a.uaData.data.idPost}),$(this).trigger($.Event(EV_NOTIFY,{uaData:{info:"ev.setByMenu"}}))})).on(EV_START_LOAD,(function(t){switch(t.stopImmediatePropagation(),$(this).attr("idPost")){case void 0:case null:$(this).trigger($.Event(EV_NOTIFY,{uaData:{info:EV_START_LOAD}}));break;default:(new $.uaBlogger).getPost({id:$(this).attr("idPost")},(function(t){switch(a.html().length){case 0:a.html(t.data),a.trigger($.Event(EV_NOTIFY,{uaData:{info:EV_START_LOAD}}));break;default:a.fadeTo(1e3,0,(function(){a.html(t.data).fadeTo(1e3,1)}))}}))}})).on(EV_CLEAR,(function(a){a.stopImmediatePropagation(),$(this).removeAttr("idPost").html("")})).on(EV_NOTIFY,(function(a){a.stopImmediatePropagation(),$(this).trigger($.Event(EV_EXTERN,{uaData:a.uaData}))}));const a=this;return this};const a=this,t=$("#idTdUsrMsg",this);let i=0;const e=$("#idTdForm",this).uaForm().on(EV_EXTERN,(function(t){t.stopImmediatePropagation(),a.trigger($.Event(EV_NOTIFY,{uaData:t.uaData}))})),n=$("#idLocation",a).uaLocation().on(EV_EXTERN,(function(t){t.stopImmediatePropagation(),a.trigger($.Event(EV_NOTIFY,{uaData:t.uaData}))}));return this},$.uaDrive=function(){return this.getThums=function(a,t){var i=[];switch(a.idFolder.split("/").length){case 1:gapi.client.request({method:"GET",path:"https://www.googleapis.com/drive/v3/files",params:{q:"'"+a.idFolder+"' in parents and trashed=false",orderBy:"name",fields:"files(thumbnailLink)"}}).then((function(t){$.each(t.result.files,(function(t){if(8<=t)return!1;i.push(a.bScale?this.thumbnailLink.split("=s")[0]+"=s"+Math.max(screen.width,screen.height):this.thumbnailLink)}))})).then((function(a){switch(a){case void 0:t({bError:!1,data:i});break;default:t({bError:!0})}}));break;default:gapi.client.request({method:"GET",path:"https://www.googleapis.com/drive/v3/files",params:{q:"'"+a.idFolder.split("/")[0]+"' in parents and trashed=false",orderBy:"name",fields:"files(thumbnailLink)"},headers:{"X-Goog-Drive-Resource-Keys":a.idFolder}}).then((function(t){$.each(t.result.files,(function(t){if(8<=t)return!1;i.push(a.bScale?this.thumbnailLink.split("=s")[0]+"=s"+Math.max(screen.width,screen.height):this.thumbnailLink)}))})).then((function(a){switch(a){case void 0:t({bError:!1,data:i});break;default:t({bError:!0})}}))}},this},$.fn.uaPage=function(){this.on(EV_RESPONSE,(function(n){switch(n.stopImmediatePropagation(),n.uaData.data.idPage){case null:i=null,e=1,$(this).trigger($.Event(EV_NOTIFY,{uaData:{info:"ev.setByMenu"}}));break;default:e=0,n.uaData.data.idPage&&(i="aboutUs"===n.uaData.data.idPage.page.split(".html")[0].split("pages/")[1]?a:t,(i===a?t:a).trigger($.Event(EV_RESPONSE,{uaData:{data:{idPage:null}}})),i.trigger($.Event(EV_RESPONSE,{uaData:n.uaData})))}})).on(EV_START_LOAD,(function(a){a.stopImmediatePropagation(),e=1,i.trigger(EV_START_LOAD)})).on(EV_TOGGLE,(function(n){n.stopImmediatePropagation(),i=null,e=0,$.each([a,t],(function(){this.trigger(EV_TOGGLE)}))})).on(EV_NOTIFY,(function(a){a.stopImmediatePropagation(),2>++e||$(this).trigger($.Event(EV_EXTERN,{uaData:a.uaData}))}));let a=$("#idAboutUs",this).uaAboutUs().on(EV_EXTERN,(function(a){a.stopImmediatePropagation(),n.trigger($.Event(EV_NOTIFY,{uaData:a.uaData}))})),t=$("#idContactUs",this).uaContactUs().on(EV_EXTERN,(function(a){a.stopImmediatePropagation(),n.trigger($.Event(EV_NOTIFY,{uaData:a.uaData}))})),i=null,e=0;const n=this;return this},$.uaSEO=function(){return this.getData=function(a,t){$.getJSON(a.strFile,(function(a){t({bError:!0,data:a})}))},this},$.fn.uaVideo=function(){this.on(EV_RESPONSE,(function(t){switch(t.stopImmediatePropagation(),$(this).hasClass("d-none")&&($(this).css({opacity:0}),a.trigger(EV_CLEAR)),t.uaData.data.idVideo){case null:a.trigger(EV_CLEAR);break;default:$(this).attr({idVideo:t.uaData.data.idVideo})}$(this).trigger($.Event(EV_NOTIFY,{uaData:{info:"ev.setByMenu"}}))})).on(EV_START_LOAD,(function(t){switch(t.stopImmediatePropagation(),$(this).hasClass("d-none")){case!0:a.trigger($.Event(EV_START_LOAD,{uaData:{data:"https://www.youtube.com/embed/"+$(this).attr("idVideo")+"?controls=0"}}));break;default:$(this).fadeTo(1e3,0,(function(){$(this).addClass("d-none"),a.trigger($.Event(EV_START_LOAD,{uaData:{data:"https://www.youtube.com/embed/"+$(this).attr("idVideo")+"?controls=0"}}))}))}})).on(EV_TOGGLE,(function(t){switch(t.stopImmediatePropagation(),$(this).attr("idVideo")){case null:switch($("iframe",this).attr("src")){case void 0:break;default:$(this).fadeTo(1e3,0,(function(){a.trigger(EV_CLEAR),$(this).addClass("d-none")}))}break;default:switch($(this).hasClass("d-none")){case!0:$(this).removeClass("d-none").fadeTo(1e3,1);break;default:switch(parseInt($(this).css("opacity"))){case 0:a.trigger(EV_CLEAR),$(this).addClass("d-none");break;default:$(this).fadeTo(500,0,(function(){a.trigger(EV_CLEAR),$(this).addClass("d-none")}))}}}})).on(EV_CLEAR,(function(t){t.stopImmediatePropagation(),a.trigger(EV_CLEAR)})).on(EV_NOTIFY,(function(a){a.stopImmediatePropagation(),$(this).trigger($.Event(EV_EXTERN,{uaData:a.uaData}))})),$.fn.uaFrame=function(){return this.on(EV_CLEAR,(function(a){a.stopImmediatePropagation(),$(this).removeAttr("src")})).on(EV_START_LOAD,(function(a){a.stopImmediatePropagation(),$(this).attr({src:a.uaData.data})})).on("load",(function(a){a.stopImmediatePropagation(),$(this).trigger($.Event(EV_NOTIFY,{uaData:{info:EV_START_LOAD}}))})).on(EV_NOTIFY,(function(a){a.stopImmediatePropagation(),$(this).trigger($.Event(EV_EXTERN,{uaData:a.uaData}))})),this};const a=$("iframe",this).uaFrame().on(EV_EXTERN,(function(a){a.stopImmediatePropagation(),t.trigger($.Event(EV_NOTIFY,{uaData:a.uaData}))})),t=this;return this},$.model=function(){const a={data:[{id:"idM1",data:{idVideo:null,drive:"0B3uQkKds1Z3XaVVTWVMyV09BWk0/0-IaL77o5DqjbwSIOZpmMYFg",idPage:null}},{id:"idM2",data:{idVideo:"4HIBkDVI3Ko",drive:null,idPage:null}},{id:"idM3",data:{idVideo:null,drive:"0B3uQkKds1Z3XVTBaWEdhcGtRWWc/0-dcpxrFbuiY_3lkV7tFBLyw",idPage:null}},{id:"idM4",data:{idVideo:null,drive:"0B3uQkKds1Z3XZ3lNR1pEUGlTRzA/0-k65T1aT8P9QzLZ2ofryEvA",idPage:null}},{id:"idM5",data:{idVideo:null,drive:"0B3uQkKds1Z3XYnhHNGlOcnhmYnM/0-ksp5wAeD_wsJ5Zm3r9hSRA",idPage:null}},{id:"idM6",data:{idVideo:null,drive:"0B3uQkKds1Z3XMm4tUTVLNDgxeW8/0-jFAZ1VzqMTy94fYJ82D9Fw",idPage:null}},{id:"idM7",data:{idVideo:null,drive:"1K3EiPgk1G7IIjegPU5nfuKARXhAv3LNe"}},{id:"idM8",data:{idVideo:null,drive:"1zWvbdRomUi9fDHW2j9ymJLkxF8cdUd94",idPage:null}},{id:"idM9",data:{idVideo:null,drive:"0B3uQkKds1Z3Xc1FacUpiRWhwWTQ/0-R67T5px4qdeV-zrbetJk3g",idPage:null}},{id:"idM10",data:{idVideo:null,drive:"0B3uQkKds1Z3XbjVSV3lEeWdTNnc/0-YFkkydc0AJxhjzERdQ4CDQ",idPage:null}},{id:"idM11",data:{idVideo:null,drive:"0B3uQkKds1Z3XT3hfMlE1ZkdHNjg/0-_4edBrDJMfOyW8vT9VXj3A",idPage:null}},{id:"idM12",data:{idVideo:null,drive:"0B3uQkKds1Z3XNkVobG54X3NNSXc/0-4A5UtpqhYcPQnTCD_iJMxw",idPage:null}},{id:"idM13",data:{idVideo:null,drive:"0B3uQkKds1Z3XWVN4VHFEU1FHdVU/0-XuutSU6IJXZpyOdYu1Biow",idPage:null}},{id:"idM14",data:{idVideo:null,drive:"1nJLQyet7sDsummElWAXA3sQkfsUIgrO7",idPage:null}},{id:"idM15",data:{idVideo:null,drive:"0B3uQkKds1Z3XeHo5dDQxV3l0bnM/0-7wx71pMtDDBYdEQSdNehZQ",idPage:null}},{id:"idM16",data:{idVideo:null,drive:"0B3uQkKds1Z3XcVhVUW16bWdvSmM/0-FO9h41J8ZIMqgXJ9k5PLpw",idPage:null}},{id:"idM17",data:{idVideo:null,drive:"0B3uQkKds1Z3XN1g3emJDbUFjdDA/0-II3JZGHmmTCz4eXT9_eCAg",idPage:null}},{id:"idM19",data:{idVideo:null,drive:"0B3uQkKds1Z3XczlaaTE0SXBzYmc/0-IcD8bGHlxddAduEXn58kTQ",idPage:null}},{id:"idM24",data:{idVideo:null,drive:null,idPage:"aboutUs"}},{id:"idM25",data:{idVideo:null,drive:null,idPage:"contactUs"}}],getData:function(a){let t=null;return $.each(this.data,(function(){return this.id!==a.idMenu||(t=this.data,!1)})),{id:a.idMenu,data:t}},getData_Accommodations:function(){let a=[];return $.each(this.data,(function(t){return 2>t||!(13=n?"idM29":"idM"+n,data:t.getData(e)},accommodations:{idDefault:3<=n&&14>=n?"idM"+n:null,data:a.getData_Accommodations()},footer:i.getData(e),idLang:e.idLang.toUpperCase(),idMenu:e.idMenu,bGallery:e.bGallery}},this.getData_ById=function(a){a.idLang=a.idLang.toUpperCase();let t=parseInt(a.idMenu.split("M")[1]);t=100 Quota exceeded Please try later"}}));break;default:a.trigger(EV_CLEAR).trigger($.Event(EV_RESPONSE,{uaData:{data:t.uaData.data}}))}void 0!==t.uaData.data&&($(this).trigger(EV_TOGGLE),a.show(void 0!==t.uaData.data,(function(){})));break;default:a.show(!1,(function(){switch(t.uaData.bError){case!0:a.trigger(EV_CLEAR).trigger($.Event(EV_RESPONSE,{uaData:{data:" Quota exceeded Please try later"}}));break;default:a.trigger(EV_CLEAR).trigger($.Event(EV_RESPONSE,{uaData:{data:t.uaData.data}}))}a.show(!0,(function(){}))}))}})).on(EV_CLEAR,(function(t){t.stopImmediatePropagation(),a.trigger(EV_CLEAR)})).on(EV_TOGGLE,(function(a){a.stopImmediatePropagation(),$(this).animate({height:"toggle"},1e3)})),this.show=function(a,t){switch(a){case!0:"none"===$(this).css("display")&&$(this).animate({height:"toggle"},1e3,t);break;default:"none"!==$(this).css("display")&&$(this).animate({height:"toggle"},1e3,t)}},this};const a=$("#idBoxInfo",this).uaRoller(),t=this,i=$("#idM50",this).on(EV_CLEAR,(function(a){a.stopImmediatePropagation(),$(this).removeClass("text-primary")})).on(EV_INIT,(function(a){a.stopImmediatePropagation(),a.uaData.data.bGallery&&$(this).addClass("text-primary")})).on(EV_RESPONSE,(function(a){switch(a.stopImmediatePropagation(),a.uaData.info){case"ev.setByMenu":switch($(this).removeClass("text-primary uaDisabled uaSelectable"),$(this).html(a.uaData.data.label),a.uaData.data.data.id.bEnabled){case!0:$(this).addClass(a.uaData.data.data.id.bSelected?"text-primary uaSelectable":"");break;default:$(this).addClass("uaDisabled")}break;case"ev.setByLang":switch($(this).html().length){case 0:$(this).html(a.uaData.data.label);break;default:$(this).fadeTo(500,0,(function(){$(this).html(a.uaData.data.label).fadeTo(500,1)}))}}})).on("click",(function(a){switch(a.stopImmediatePropagation(),$(this).hasClass("text-primary")){case!0:$(this).removeClass("text-primary");break;default:$(this).addClass("text-primary")}t.trigger($.Event(EV_NOTIFY,{uaData:{info:"ev.setByGallery",data:{bGallery:$(this).hasClass("text-primary")}}}))})),e=$("#idM51",this).on(EV_CLEAR,(function(a){a.stopImmediatePropagation(),$(this).removeClass("text-primary")})).on(EV_START_LOAD,(function(a){a.stopImmediatePropagation(),$(this).hasClass("text-primary")&&!$(this).hasClass("uaDisabled")&&t.trigger($.Event(EV_NOTIFY,{uaData:{info:EV_GET_POST,data:$.parseJSON($(this).attr("idAction"))}}))})).on(EV_RESPONSE,(function(a){switch(a.stopImmediatePropagation(),a.uaData.info){case"ev.setByMenu":switch($(this).removeClass("text-primary uaDisabled uaSelectable"),$(this).html(a.uaData.data.label).attr({idAction:JSON.stringify(a.uaData.data.data.id)}),a.uaData.data.selector.bEnabled){case!0:$(this).addClass(a.uaData.data.selector.bSelected?"text-primary uaSelectable":"");break;default:$(this).addClass("uaDisabled")}break;case"ev.setByLang":switch($(this).attr({idAction:JSON.stringify(a.uaData.data.data.id)}),$(this).html().length){case 0:$(this).html(a.uaData.data.label);break;default:$(this).fadeTo(500,0,(function(){$(this).html(a.uaData.data.label).fadeTo(500,1)}))}}})).on("click",(function(i){if(i.stopImmediatePropagation(),!$(this).hasClass("uaDisabled"))switch(t.trigger($.Event(EV_NOTIFY,{uaData:{info:EV_CLEAR}})),$(this).addClass("text-primary"),a.css("display")){case"none":$(this).trigger($.Event(EV_NOTIFY,{uaData:{info:EV_GET_POST,data:$.parseJSON($(this).attr("idAction"))}}));break;default:a.trigger(EV_CLEAR).trigger(EV_TOGGLE)}})),n=$("#idM52",this).on(EV_CLEAR,(function(a){a.stopImmediatePropagation(),$(this).removeClass("text-primary")})).on(EV_START_LOAD,(function(a){a.stopImmediatePropagation(),$(this).hasClass("text-primary")&&!$(this).hasClass("uaDisabled")&&t.trigger($.Event(EV_NOTIFY,{uaData:{info:EV_GET_POST,data:$.parseJSON($(this).attr("idAction"))}}))})).on(EV_RESPONSE,(function(a){switch(a.stopImmediatePropagation(),a.uaData.info){case"ev.setByMenu":$(this).removeClass("text-primary uaDisabled uaSelectable"),$(this).html(a.uaData.data.label).attr({idAction:JSON.stringify(a.uaData.data.data.id)}),$(this).addClass(a.uaData.data.selector.bSelected?"text-primary uaSelectable":"");break;case"ev.setByLang":switch($(this).attr({idAction:JSON.stringify(a.uaData.data.data.id)}),$(this).html().length){case 0:$(this).html(a.uaData.data.label);break;default:$(this).fadeTo(500,0,(function(){$(this).html(a.uaData.data.label).fadeTo(500,1)}))}}})).on("click",(function(i){if(i.stopImmediatePropagation(),!$(this).hasClass("uaDisabled"))switch(t.trigger($.Event(EV_NOTIFY,{uaData:{info:EV_CLEAR}})),$(this).addClass("text-primary"),a.css("display")){case"none":$(this).trigger($.Event(EV_NOTIFY,{uaData:{info:EV_GET_POST,data:$.parseJSON($(this).attr("idAction"))}}));break;default:a.trigger(EV_CLEAR).trigger(EV_TOGGLE)}}));return this.withGallery=function(){return i.hasClass("text-primary")},this},$.fn.uaAccommodations=function(){let a=window.matchMedia("(max-width: 769px)").matches;this.on("ev.setSelection",(function(a){a.stopImmediatePropagation(),$(".text-primary",this).length||$("#idM3",this).addClass("text-primary")})).on(EV_RESPONSE,(function(a){switch(a.stopImmediatePropagation(),a.uaData.info){case EV_INIT:switch($(this).trigger($.Event(EV_NOTIFY,{uaData:{info:EV_CLEAR}})),$.each(a.uaData.data.data,(function(){$("#"+this.id,t).trigger($.Event(EV_RESPONSE,{uaData:{info:EV_INIT,data:{id:this.data}}}))})),a.uaData.data.idDefault){case null:case void 0:$("#idM14",t).addClass("text-primary");break;default:$("#"+a.uaData.data.idDefault,t).addClass("text-primary")}}})).on(EV_TOGGLE,(function(a){switch(a.stopImmediatePropagation(),$(this).hasClass("d-none")){case!0:$(this).trigger($.Event(EV_SHOW,{uaData:{data:{bShow:!0}}})),$(".text-primary",this).trigger(EV_CLICKED);break;default:$(this).trigger($.Event(EV_SHOW,{uaData:{data:{bShow:!1}}}))}})).on(EV_CLEAR,(function(a){a.stopImmediatePropagation(),$.each($("div[id^='idM']",this),(function(){$(this).trigger(EV_CLEAR)}))})).on(EV_SHOW,(function(t){switch(t.stopImmediatePropagation(),t.uaData.data.bShow){case!0:$(this).hasClass("d-none")&&$(this).removeClass("d-none").animate({height:"100%",opacity:a?1:.2},1e3);break;default:$(this).hasClass("d-none")||$(this).animate({height:0,opacity:0},1e3,(function(){$(this).addClass("d-none")}))}})).hover((function(t){t.stopImmediatePropagation(),a||$(this).fadeTo(250,1)}),(function(t){t.stopImmediatePropagation(),a||$(this).fadeTo(250,.2)})).on(EV_NOTIFY,(function(a){switch(a.stopImmediatePropagation(),a.uaData.info){case EV_CLEAR:$.each($("div[id^='idM']",this),(function(){$(this).removeClass("text-primary")}));break;default:$(this).trigger($.Event(EV_EXTERN,{uaData:a.uaData}))}})),$.each($("div[id^='idM']",this),(function(){$(this).uaItem_Base().on(EV_EXTERN,(function(a){a.stopImmediatePropagation(),t.trigger($.Event(EV_NOTIFY,{uaData:{info:EV_CLEAR}})),$(this).addClass("text-primary"),t.trigger($.Event(EV_NOTIFY,{uaData:a.uaData}))}))})),this.getSelected_Menu=function(){return $(".text-primary",this).attr("id")};const t=this;return this},$.fn.uaInfo=function(){this.on(EV_CLEAR,(function(a){a.stopImmediatePropagation(),$(this).html("")})).on(EV_RESPONSE,(function(i){switch(i.stopImmediatePropagation(),i.uaData.info){case EV_SEO:a.show(!1,(function(){switch(i.uaData.data){case void 0:case null:t.trigger(EV_CLEAR);break;default:a.trigger(EV_CLEAR).html(i.uaData.data).show(!0)}}))}})),this.show=function(a,t){switch(a){case!0:$(this).animate({width:"100%",opacity:1},1e3,t);break;case!1:"0"!==$(this).css("opacity")?$(this).animate({width:0,opacity:0},1e3,t):void 0!==t&&t()}};const a=this;return this},$.fn.uaFooter=function(){this.on(EV_RESPONSE,(function(a){switch(a.stopImmediatePropagation(),a.uaData.info){case EV_INIT:$.each(a.uaData.data,(function(){$("#"+this.id,i).trigger($.Event(EV_RESPONSE,{uaData:{info:EV_INIT,data:{label:this.data.label,id:this.data.data.id}}}))}));break;case"ev.setByLang":$.each(a.uaData.data,(function(){$("#"+this.id,i).trigger($.Event(EV_RESPONSE,{uaData:{info:"ev.setByLang",data:this.data}}))}))}})).on(EV_NOTIFY,(function(a){switch(a.stopImmediatePropagation(),a.uaData.info){case EV_DIRECT_RESERVATIONS:case EV_BOOK_ONLINE:$(this).trigger($.Event(EV_EXTERN,{uaData:a.uaData}))}})),$.fn.uaContainer=function(){this.on(EV_RESPONSE,(function(i){switch(i.stopImmediatePropagation(),i.uaData.info){case EV_INIT:t.trigger($.Event(EV_SHOW,{uaData:{data:{bShow:!1}}})),a.trigger($.Event(EV_RESPONSE,{uaData:{info:EV_INIT,data:i.uaData.data}}));break;case"ev.setByLang":a.trigger($.Event(EV_RESPONSE,{uaData:{info:"ev.setByLang",data:i.uaData.data}}))}})).on(EV_SHOW,(function(a){a.stopImmediatePropagation(),t.trigger($.Event(EV_SHOW,{uaData:{data:a.uaData.data}}))})).on(EV_NOTIFY,(function(a){a.stopImmediatePropagation(),$(this).trigger(EV_EXTERN)}));const a=$("h2",this).uaItem_Base().off("click").on("click",(function(a){a.stopImmediatePropagation(),t.trigger($.Event(EV_SHOW,{uaData:{data:{bShow:t.hasClass("invisible")}}})),i.trigger(EV_NOTIFY)})),t=$("div:first",this).on(EV_SHOW,(function(a){switch(a.stopImmediatePropagation(),a.uaData.data.bShow){case!0:$(this).hasClass("invisible")&&$(this).removeClass("invisible").fadeTo(500,1);break;default:$(this).hasClass("invisible")||$(this).fadeTo(500,0,(function(){$(this).addClass("invisible")}))}})),i=this;return this},$("#idM40",this).uaItem_Base().off("click").on("click",(function(a){a.stopImmediatePropagation(),i.trigger($.Event(EV_NOTIFY,{uaData:{info:EV_DIRECT_RESERVATIONS}}))})),$("#idM41",this).uaItem_Base().off("click").on("click",(function(a){a.stopImmediatePropagation(),i.trigger($.Event(EV_NOTIFY,{uaData:{info:EV_BOOK_ONLINE}}))}));const a=$("#idM42",this).uaContainer().on(EV_EXTERN,(function(a){a.stopImmediatePropagation(),t.trigger($.Event(EV_SHOW,{uaData:{data:{bShow:!1}}}))})),t=$("#idM43",this).uaContainer().on(EV_EXTERN,(function(t){t.stopImmediatePropagation(),a.trigger($.Event(EV_SHOW,{uaData:{data:{bShow:!1}}}))}));$("#idM44",this).off("click").on(EV_RESPONSE,(function(a){switch(a.stopImmediatePropagation(),a.uaData.info){case EV_INIT:case"ev.setByLang":$(this).html(a.uaData.data.label)}}));const i=this;return this},$.fn.uaSEO=function(){return this.on(EV_RESPONSE,(function(a){switch(a.stopImmediatePropagation(),a.uaData.info){case"ev.setByMenu":case"ev.setByLang":$(this).attr({idAction:a.uaData.data}).trigger(EV_START_LOAD);break;case EV_SEO:$("title").html(a.uaData.data.info.page.title),$('meta[name="description"]').attr({content:a.uaData.data.info.page.desc}),$('link[rel="canonical"]').attr("href",a.uaData.data.json.url),a.uaData.data.json.description=a.uaData.data.info.page.desc,a.uaData.data.json.name=a.uaData.data.info.page.title,$("#idSnippet").html(JSON.stringify(a.uaData.data.json)),o.send($("html").attr("lang")+": "+a.uaData.data.info.page.title.split(": ")[1])}})).on(EV_START_LOAD,(function(a){a.stopImmediatePropagation(),$(this).trigger($.Event(EV_EXTERN,{uaData:{info:EV_SEO,data:$(this).attr("idAction")}}))})),this};const a=this,t=$("#idInfo",this).uaInfo(),i=$("#idTdLang",this).uaLangs().on(EV_EXTERN,(function(t){switch(t.stopImmediatePropagation(),t.uaData.data.id){case"idHamburger":e.trigger(EV_TOGGLE);break;default:a.trigger($.Event(EV_NOTIFY,{uaData:t.uaData}))}})),e=$("#idMenu",this).uaMenu().on(EV_EXTERN,(function(t){switch(t.stopImmediatePropagation(),t.uaData.info){case EV_TOGGLE:d.trigger("ev.setSelection").trigger(EV_TOGGLE);break;case EV_SEE_BLOG:a.trigger($.Event(EV_NOTIFY,{uaData:{info:EV_SEE_BLOG,data:t.uaData}}));break;case"ev.setByMenu":d.trigger($.Event(EV_SHOW,{uaData:{data:{bShow:!1}}})),a.trigger($.Event(EV_NOTIFY,{uaData:t.uaData}));break;default:d.trigger($.Event(EV_SHOW,{uaData:{data:{bShow:!1}}})),a.trigger($.Event(EV_NOTIFY,{uaData:{info:"ev.setByMenu",data:t.uaData}}))}})),n=$("#idDetails",this).uaDetails().on(EV_EXTERN,(function(t){t.stopImmediatePropagation(),a.trigger($.Event(EV_NOTIFY,{uaData:{info:t.uaData.info,data:t.uaData.data}}))})),d=$("#idAccom",this).uaAccommodations().on(EV_EXTERN,(function(t){t.stopImmediatePropagation(),a.trigger($.Event(EV_NOTIFY,{uaData:t.uaData}))})),s=$("#idFooter").uaFooter().on(EV_EXTERN,(function(t){switch(t.stopImmediatePropagation(),t.uaData.info){case EV_BOOK_ONLINE:a.trigger($.Event(EV_NOTIFY,{uaData:{info:t.uaData.info,data:"https://paliomylos.reserve-online.net/?lang="+$("html").attr("lang")}}));break;case EV_DIRECT_RESERVATIONS:a.trigger($.Event(EV_NOTIFY,{uaData:t.uaData}))}})),r=$("#idSEO",this).uaSEO().on(EV_EXTERN,(function(t){t.stopImmediatePropagation(),a.trigger($.Event(EV_NOTIFY,{uaData:{info:EV_SEO,data:t.uaData}}))})),o=new $.uaAnalytics,u=$("#idPgImg").uaAgg_Page_Img();return $("#idLogo",this).on("load",(function(a){a.stopImmediatePropagation(),$(this).fadeTo("slow",1,(function(){$(".container-fluid").fadeTo(1e3,1)}))})).attr({src:"https://drive.google.com/thumbnail?id=1ohQAdIxjpdXhc2WSlxxbUHy-STM1Awqu"}),this},$.fn.index=function(){this.on(EV_INIT,(function(t){t.stopImmediatePropagation(),a.trigger($.Event(EV_INIT,{uaData:t.uaData}))}));const a=$("#idViewer",this).viewer().on(EV_EXTERN,(function(a){a.stopImmediatePropagation(),t.trigger($.Event(EV_GET,{uaData:a.uaData}))})),t=$("#idController",this).controller().on(EV_EXTERN,(function(t){switch(t.stopImmediatePropagation(),t.uaData.info){case EV_INIT:a.trigger($.Event(EV_RESPONSE,{uaData:{info:EV_INIT,data:i.getInitial(t.uaData.data)}}));break;case"ev.setByLang":a.trigger($.Event(EV_RESPONSE,{uaData:{info:"ev.setByLang",data:i.getData_ForLang(t.uaData.data)}}));break;case"ev.setByMenu":let e=i.getData_ById(t.uaData.data);e.menu=t.uaData.data,a.trigger($.Event(EV_RESPONSE,{uaData:{info:"ev.setByMenu",data:e}}));break;case EV_SEO:i.getSEO({strFile:t.uaData.data.data},(function(t){a.trigger($.Event(EV_RESPONSE,{uaData:{info:EV_SEO,data:t.data}}))}));break;case EV_GET_POST:i.getPost({id:t.uaData.data},(function(t){a.trigger($.Event(EV_RESPONSE,{uaData:{info:EV_GET_POST,data:t.data}}))}));break;case"ev.setByGallery":i.getSEO({strFile:"ld/"+t.uaData.data.idLang.toLowerCase()+"/"+(t.uaData.data.bGallery?"g":"")+t.uaData.data.idMenu+".json"},(function(t){a.trigger($.Event(EV_RESPONSE,{uaData:{info:"ev.setByGallery",data:t.data}}))}));break;case EV_BOOK_ONLINE:window.open("https://paliomylos.reserve-online.net/?lang="+$("html").attr("lang"))}})),i=new $.model;return this},$(document).ready((function(){gapi.load("client",(function(){gapi.client.init({apiKey:API_KEY,scope:["https://www.googleapis.com/auth/drive.readonly"],discoveryDocs:["https://www.googleapis.com/discovery/v1/apis/drive/v3/rest"]}).then((function(a){switch($.gsmDtBrowser().isError()){case!0:$("body").html(""),$("body div").load("wrongBrowser.html.gz",(function(a,t,i){$("body").fadeTo(1e3,1)}));break;case!1:var t=(new $.gsmDtHtml).decode();a=t.getParam("id"),t=t.getParam("lang");let i=!1;switch($.inArray(t,["el","en","fr","it"])){case-1:t="EN";break;default:t=t.toUpperCase()}switch(a){case null:a=1;break;default:switch(a=parseInt(a)){case NaN:case 18:case 29:a=1;break;default:switch(i=100<=parseInt(a),1>a||125