(function(){function dria(a){var d=0;return function(){return d<a.length?{done:!1,value:a[d++]}:{done:!0}}}function drib(a){var d="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return d?d.call(a):{next:dria(a)}}
function dric(){function a(){return window.scrollY||b.scrollTop}function d(c,f,q){function w(k,m,r){D(Math.max(0,c.j(k)-q),m,r)}function D(k,m,r){z();if(0===m||m&&0>m||l(c.body))c.v(k),r&&r();else{var u=c.s(),t=Math.max(0,k)-u,v=(new Date).getTime();m=m||Math.min(Math.abs(t),f);(function B(){x=setTimeout(function(){var y=Math.min(1,((new Date).getTime()-v)/m),F=Math.max(0,Math.floor(u+t*(.5>y?2*y*y:y*(4-2*y)-1)));c.v(F);1>y&&c.A()+F<c.body.scrollHeight?B():(setTimeout(z,99),r&&r())},9)})()}}function z(){clearTimeout(x);x=0}f=f||999;q||0===q||(q=9);var x;return{setup:function(k,m){if(0===k||k)f=k;if(0===m||m)q=m;return{ra:f,M:q}},to:w,toY:D,intoView:function(k,m,r){var u=k.getBoundingClientRect().height,t=c.j(k)+u,v=c.A(),C=c.s(),B=C+v;Math.max(0,c.j(k)-q)<C||u+q>v?w(k,m,r):t+q>B?D(t-v+q,m,r):r&&r()},center:function(k,m,r,u){D(Math.max(0,c.j(k)-c.A()/2+(r||k.getBoundingClientRect().height/2)),m,u)},stop:z,moving:function(){return!!x},getY:c.s,getTopOf:c.j}}function l(c){return c&&"getComputedStyle"in window&&"smooth"===window.getComputedStyle(c)["scroll-behavior"]}if("undefined"===typeof window||!("document"in window))return{};var b=document.documentElement,e=d({body:document.scrollingElement||document.body,v:function(c){window.scrollTo(0,c)},s:a,A:function(){return window.innerHeight||b.clientHeight},j:function(c){return c.getBoundingClientRect().top+a()-b.offsetTop}});e.qa=function(c,f,q){return d({body:c,v:function(w){c.scrollTop=w},s:function(){return c.scrollTop},A:function(){return Math.min(c.clientHeight,window.innerHeight||b.clientHeight)},j:function(w){return w.offsetTop}},f,q)};if("addEventListener"in window&&!window.na&&!l(document.body)){var h="history"in window&&"pushState"in history,n=h&&"scrollRestoration"in history;n&&(history.scrollRestoration="auto");window.addEventListener("load",function(){n&&(setTimeout(function(){history.scrollRestoration="manual"},9),window.addEventListener("popstate",function(c){c.state&&"zenscrollY"in c.state&&e.v(c.state.la)},!1));window.location.hash&&setTimeout(function(){var c=e.ja().M;if(c){var f=document.getElementById(window.location.href.split("#")[1]);f&&(c=Math.max(0,e.j(f)-c),f=e.s()-c,0<=f&&9>f&&window.scrollTo(0,c))}},9)},!1);var p=/(^|\s)noZensmooth(\s|$)/;window.addEventListener("click",function(c){for(var f=c.target;f&&"A"!==f.tagName;)f=f.parentNode;if(!(!f||1!==c.which||c.shiftKey||c.metaKey||c.ctrlKey||c.altKey)){if(n){var q=history.state&&"object"===typeof history.state?history.state:{};q.la=e.s();try{history.replaceState(q,"")}catch(D){}}var w=f.getAttribute("href")||"";if(0===w.indexOf("#")&&!p.test(f.className)){f=0;q=document.getElementById(w.substring(1));if("#"!==w){if(!q)return;f=e.j(q)}c.preventDefault();c=function(){window.location=w};if(q=e.ja().M)f=Math.max(0,f-q),h&&(c=function(){history.pushState({},"",w)});e.v(f,null,c)}}},!1)}return e}(function(){function a(p){this.c=h({},{O:null,ta:null,oa:null,L:null,S:!1,da:!1,aa:[],Y:"Close",l:["overlay","button","escape"]},p);this.ea()}function d(){this.b&&(this.b.style.width=this.f.clientWidth+"px",this.b.style.left=this.f.offsetLeft+"px")}function l(){this.a=document.createElement("div");this.a.classList.add("tingle-modal");0!==this.c.l.length&&-1!==this.c.l.indexOf("overlay")||this.a.classList.add("tingle-modal--noOverlayClose");this.a.style.display="none";this.c.aa.forEach(function(p){"string"===typeof p&&this.a.classList.add(p)},this);-1!==this.c.l.indexOf("button")&&(this.u=document.createElement("button"),this.u.type="button",this.u.classList.add("tingle-modal__close"),this.H=document.createElement("span"),this.H.classList.add("tingle-modal__closeIcon"),this.H.innerHTML='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg"><path d="M.3 9.7c.2.2.4.3.7.3.3 0 .5-.1.7-.3L5 6.4l3.3 3.3c.2.2.5.3.7.3.2 0 .5-.1.7-.3.4-.4.4-1 0-1.4L6.4 5l3.3-3.3c.4-.4.4-1 0-1.4-.4-.4-1-.4-1.4 0L5 3.6 1.7.3C1.3-.1.7-.1.3.3c-.4.4-.4 1 0 1.4L3.6 5 .3 8.3c-.4.4-.4 1 0 1.4z" fill="#000" fill-rule="nonzero"/></svg>',this.I=document.createElement("span"),this.I.classList.add("tingle-modal__closeLabel"),this.I.innerHTML=this.c.Y,this.u.appendChild(this.H),this.u.appendChild(this.I));this.f=document.createElement("div");this.f.classList.add("tingle-modal-box");this.N=document.createElement("div");this.N.classList.add("tingle-modal-box__title");this.f.appendChild(this.N);this.D=document.createElement("div");this.D.classList.add("tingle-modal-box__content");this.f.appendChild(this.D);-1!==this.c.l.indexOf("button")&&this.a.appendChild(this.u);this.a.appendChild(this.f)}function b(p){-1!==this.c.l.indexOf("escape")&&27===p.which&&this.ha()&&this.close()}function e(p){var c;if(c=-1!==this.c.l.indexOf("overlay")){for(c=p.target;(c=c.parentElement)&&!c.classList.contains("tingle-modal"););c=!c}c&&p.clientX<this.a.clientWidth&&this.close()}function h(){for(var p=1;p<arguments.length;p++)for(var c in arguments[p])arguments[p].hasOwnProperty(c)&&(arguments[0][c]=arguments[p][c]);return arguments[0]}var n=!1;a.prototype.ea=function(){this.a||(l.call(this),this.w={W:this.close.bind(this),X:e.bind(this),resize:this.V.bind(this),ia:b.bind(this)},-1!==this.c.l.indexOf("button")&&this.u.addEventListener("click",this.w.W),this.a.addEventListener("mousedown",this.w.X),window.addEventListener("resize",this.w.resize),document.addEventListener("keydown",this.w.ia),document.body.insertBefore(this.a,document.body.firstChild),this.c.da&&this.U())};a.prototype.K=function(p){n=p};a.prototype.T=function(){return n};a.prototype.ha=function(){return!!this.a.classList.contains("tingle-modal--visible")};a.prototype.close=function(){if(!this.T()){this.K(!0);if("function"!==typeof this.c.L||this.c.L.call(this))document.body.classList.remove("tingle-enabled"),window.scrollTo({top:this.ma,behavior:"instant"}),document.body.style.top=null,this.a.classList.remove("tingle-modal--visible"),this.a.style.display="none","function"===typeof this.c.O&&this.c.O.call(this);this.K(!1)}};a.prototype.U=function(){this.b=document.createElement("div");this.b.classList.add("tingle-modal-box__footer");this.f.appendChild(this.b)};a.prototype.P=function(p){this.C()||(p=!1);p?this.f.contains(this.b)&&(this.f.removeChild(this.b),this.a.appendChild(this.b),this.b.classList.add("tingle-modal-box__footer--sticky"),d.call(this),this.D.style["padding-bottom"]=this.b.clientHeight+20+"px"):this.b&&!this.f.contains(this.b)&&(this.a.removeChild(this.b),this.f.appendChild(this.b),this.b.style.width="auto",this.b.style.left="",this.D.style["padding-bottom"]="",this.b.classList.remove("tingle-modal-box__footer--sticky"))};a.prototype.resize=function(){console.warn("Resize is deprecated and will be removed in version 1.0")};a.prototype.C=function(){return this.f.clientHeight>=window.innerHeight};a.prototype.V=function(){this.a.classList.contains("tingle-modal--visible")&&(this.C()?this.a.classList.add("tingle-modal--overflow"):this.a.classList.remove("tingle-modal--overflow"),!this.C()&&this.c.S?this.P(!1):this.C()&&this.c.S&&(d.call(this),this.P(!0)))};return{a:a}})();String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};function dri(a,d){document.getElementById(a).innerHTML=d}
function drid(a){function d(g){g.preventDefault();if(!n.disabled){var A=g;g.touches&&(A=g.touches[0]);c=this===k?k.offsetLeft:m.offsetLeft;p=A.pageX-c;E=this;document.addEventListener("mousemove",l);document.addEventListener("mouseup",b);document.addEventListener("touchmove",l);document.addEventListener("touchend",b)}}function l(g){if(!n.disabled){var A=g;g.touches&&(A=g.touches[0]);c=A.pageX-p;g=m?m.offsetLeft:u.offsetWidth;E===k?(c>g?c=g:0>c&&(c=0),E.style.left=c+"px"):E===m&&(c<k.offsetLeft+k.offsetWidth-10?c=k.offsetLeft+k.offsetWidth-10:c>F&&(c=F),E.style.left=c+"px");r.style.marginLeft=k.offsetLeft-k.offsetWidth/2+"px";r.style.width=g-k.offsetLeft+"px";h();if(a.onchange&&q)a.onchange(f.getAttribute("se-min-value"),f.getAttribute("se-max-value"),f.dataset.id)}}function b(){document.removeEventListener("mousemove",l);document.removeEventListener("mouseup",b);document.removeEventListener("touchmove",l);document.removeEventListener("touchend",b);n.disabled||(E=null,h(),n.ca&&q&&n.ca(f.getAttribute("se-min-value"),f.getAttribute("se-max-value")))}function e(){z.style.opacity="1";setTimeout(function(){z.style.opacity="0"},3E3)}function h(){var g=k.offsetLeft/H*(v-t)+t;var A=0*(v-t)+t;if(0!==y){var G=Math.floor(g/y);g=y*G;G=Math.floor(A/y);A=y*G}g>=v&&(D||e(),D=!0);g<=t&&(w||e(),w=!0);n.R(g);f.setAttribute("se-min-value",g);f.setAttribute("se-max-value",A)}var n=this,p=0,c=0,f=a.G,q=!1,w=!1,D=!1,z=document.createElement("div");z.classList.add("slider-input-tooltip");z.innerHTML="ניתן להזין את הערך ידנית";setTimeout(function(){x.parentNode.appendChild(z);z.style.left=x.parentNode.offsetWidth/2-z.offsetWidth/2+"px"},1);if(a.h)var x=a.h;else a.g&&(x=a.g);x.appendChild(z);var k=f.querySelector(".zb-slider-touch-left"),m=f.querySelector(".zb-slider-touch-right"),r=f.querySelector(".zb-non-active-slider-bar"),u=f.querySelector(".zb-slider-bar"),t=parseFloat(f.getAttribute("se-min")),v=parseFloat(f.getAttribute("se-max"));n.wa=function(g){t=g};n.ua=function(g){v=g};n.enable=function(g){n.disabled=!g;g?(a.G.classList.remove("disabled"),x&&(x.classList.remove("disabled"),a.h?a.h.setAttribute("contenteditable",!0):a.g&&a.g.setAttribute("readonly",!1))):(a.G.classList.add("disabled"),x&&(x.classList.add("disabled"),a.h?a.h.setAttribute("contenteditable","false"):a.g&&a.g.setAttribute("readonly",!0)))};var C=t;f.hasAttribute("se-min-value")&&(C=parseFloat(f.getAttribute("se-min-value")));var B=v;f.hasAttribute("se-max-value")&&(B=parseFloat(f.getAttribute("se-max-value")));C<t&&(C=t);B>v&&(B=v);C>B&&(C=B);var y=0;f.getAttribute("se-step")&&(y=Math.abs(parseFloat(f.getAttribute("se-step"))));n.G=f;n.reset=function(){k.style.left="0px";m&&(m.style.left=u.offsetWidth-k.offsetWidth+"px");r.style.marginLeft="0px";r.style.width=u.offsetWidth-k.offsetWidth+"px";c=p=0;l({pageX:0})};n.F=function(g,A){(void 0===A||A)&&n.R(g);g>v&&(g=v);g<t&&(g=t);k.style.left=Math.ceil((g-t)/(v-t)*(u.offsetWidth-(k.offsetWidth+0)))+"px";r.style.marginLeft=k.offsetLeft+"px";r.style.width=m?m.offsetLeft-k.offsetLeft+"px":u.offsetWidth-k.offsetLeft+"px";f.setAttribute("se-min-value",g)};n.va=function(g){m&&(m.style.left=Math.ceil((g-t)/(v-t)*(u.offsetWidth-(k.offsetWidth+0)))+"px",r.style.marginLeft=k.offsetLeft+"px",r.style.width=m.offsetLeft-k.offsetLeft+"px",f.setAttribute("se-max-value",g))};n.R=function(g){.01>Math.abs(Math.floor(100*g)-100*g)&&(g=Math.floor(1E3*g)/1E3);a.g?a.g.value=g:a.h.innerHTML=g};n.reset();var F=u.offsetWidth-(m?m.offsetWidth:0),E=null,H=u.offsetWidth;n.F(C);k.addEventListener("mousedown",d);k.addEventListener("touchstart",d);m&&(m.addEventListener("mousedown",d),m.addEventListener("touchstart",d));a.h?a.h.addEventListener("keyup",function(g){n.F(parseInt(g.target.innerHTML,10),!1);a.onchange(f.getAttribute("se-min-value"),f.getAttribute("se-max-value"),f.dataset.id)}):a.g&&a.g.addEventListener("change",function(g){n.F(parseInt(g.target.value,10),!1);a.onchange(f.getAttribute("se-min-value"),f.getAttribute("se-max-value"),f.dataset.id)});k.style.left=k.offsetLeft-10+"px";setTimeout(function(){H=u.offsetWidth;n.F(f.getAttribute("se-min-value"))},100);q=!0}var drie=void 0;function drif(a,d,l){var b=new XMLHttpRequest;b.addEventListener("load",function(e){4===e.target.readyState&&l(e.target.responseText,0,e.target.responseXML)});d=drig(d);""!==d&&(d="?"+d);b.open("GET",a+d);b.send("")}function drig(a){var d=[],l;for(l in a)d.push(l+"="+a[l]);return d.join("&")}
function drih(a){var d=document.createElement("div");d.style.width=a.width;d.className="slider-container";var l=document.createElement("div");d.appendChild(l);l.className="zb-slider";a.step&&l.setAttribute("se-step",a.step);l.setAttribute("se-min",a.min);l.setAttribute("se-max",a.max);a.i&&l.setAttribute("se-min-value",a.i);a.ba&&l.setAttribute("se-min-max",a.ba);var b=document.createElement("div");b.className="zb-slider-touch-left";l.appendChild(b);b.appendChild(document.createElement("span"));b=document.createElement("div");b.className="zb-slider-bar";l.appendChild(b);var e=document.createElement("span");e.className="zb-non-active-slider-bar";b.appendChild(e);a.parent&&(a.parent.appendChild(d),new drid({G:l,g:a.g,h:a.h,onchange:a.onchange}));return{pa:d,ka:l}}function drii(a){drij({J:{step:1,min:a.min||140,max:a.max||210,i:a.i||160,width:"100%"},B:'ס"מ',o:a.o||"גובה",name:a.name||"height_input",m:a.name||"height_input",parent:a.parent})}
function drik(a){drij({J:{step:1,min:a.min||40,max:a.max||180,i:a.i||60,width:"100%"},B:'ק"ג',o:a.o||"משקל",name:a.name||"weight_input",m:a.name||"weight_input",parent:a.parent})}function dril(a){var d=document.createElement("div");d.className="animated-calculator-button";d.innerHTML=a.caption||"";a.onclick&&(d.onclick=a.onclick);return d}var drim=0;function drij(a){var d=document.createElement("div");d.className="text-slider-container";a.Z&&(d.id=a.Z);a.parent.appendChild(d);var l=document.createElement("div");d.appendChild(l);l.className="slider-and-label-container";var b=document.createElement("label");b.className=a.xa||"slider-label";b.innerHTML=a.o||"";l.appendChild(b);void 0===a.m&&(a.m="___running_text_id_"+drim++);a.type?(b=document.createElement("input"),b.className="slider-text-field",b.type=a.type||"text",a.sa&&(b.pattern="\\d*")):(b=document.createElement("div"),b.setAttribute("contenteditable",!0),b.setAttribute("inputmode","decimal"),b.onfocus=function(n){window.getSelection().selectAllChildren(n.target)},b.className="slider-text-div");a.fa&&(b.onchange=a.fa);a.ga&&(b.onkeyup=a.ga);b.id=a.m;b.name=a.name;var e=a.J;if(a.type){e.g=b;var h="slider-text-field-container"}else e.h=b,h="slider-text-div-container";e.parent=l;drih(e).ka.dataset.id=a.m;l=document.createElement("div");l.className=h;d.appendChild(l);l.appendChild(b);a.B&&(d=document.createElement("label"),d.className="slider-text-field-label",d.innerHTML=a.B||"",d.setAttribute("for",a.m),l.appendChild(d))}function drin(a){var d=document.getElementById(a);d||(d=document.getElementsByName(a)[0]);a=d.value;void 0===a&&(a=d.innerHTML);d=parseInt(a,10);return d}
function drio(){var a=a||["animated-calendar-container","animated-popup-button-set-container","text-slider-container","animated-select-container","quick-nav-container"];a=drib(a);for(var d=a.next();!d.done;d=a.next())Array.prototype.map.call(document.getElementsByClassName(d.value),function(l){l.classList.add("popup_with_separator")})}(function(){function a(){drif("calculators/pregnancy_weight_calculator/get_target_weight.php",{weight:drin("body_weight"),height:drin("body_height")/100},d)}function d(b){var e=drin("body_weight");b=JSON.parse(b);dri("combined_total_min",b[0]);dri("combined_total_max",b[1]);dri("mother_womb",b[2]+' ק"ג');dri("mother_chest",b[3]+' ק"ג');dri("mother_blood",b[4]+' ק"ג');dri("mother_liquid",b[5]+' ק"ג');dri("mother_fat",b[6]+' ק"ג');dri("mother_total",b[7]+' ק"ג');dri("baby_feauts",b[8]+' ק"ג');dri("baby_placenta",b[9]+' ק"ג');dri("baby_amniotic_fluid",b[10]+' ק"ג');dri("baby_total",b[11]+' ק"ג');document.getElementById("result").style.visibility="visible";document.getElementById("comment").style.visibility="visible";mobileBrowser&&(document.getElementById("weight_graph").style.width=document.getElementsByClassName("calculator_result_wrapper")[0].offsetWidth+"px");var h=drin("current_week");9<h&&drif("calculators/pregnancy_weight_calculator/generate_amcharts_weight_graph_json.php",{input:b[0]+","+e+","+b[1]+","+h+","+drin("current_body_weight")},l)}function l(b){if(mobileBrowser){var e=document.getElementById("calculator_center_ad");drie||(drie=dric());drie.to(e)}am4core.useTheme(am4themes_animated);e=am4core.create("weight_graph",am4charts.XYChart);e.rtl=!0;var h=e.titles.create();h.text=mobileBrowser?"המשקל שלך בהשוואה\nלטווח המומלץ בהריון":"המשקל שלך בהשוואה לטווח המומלץ בהריון";h.fontSize=25;h.marginBottom=30;h.fill=am4core.color("#FFFFFF");b=JSON.parse(b);b[drin("current_week")-10].current_weight=drin("current_body_weight");e.data=b;e.dateFormatter.dateFormat="SSS";b=e.xAxes.push(new am4charts.DateAxis);b.renderer.grid.template.location=0;b.renderer.minGridDistance=60;b.dateFormats.setKey("millisecond","SSS");b.renderer.labels.template.fill=am4core.color("#FFFFFF");b.title.text="שבוע ההריון";b.title.fill="#ffffff";h=e.yAxes.push(new am4charts.ValueAxis);h.renderer.labels.template.fill=am4core.color("#FFFFFF");h.tooltip.disabled=!0;h.title.text="משקל";h.title.fill="#ffffff";h=e.series.push(new am4charts.LineSeries);h.dataFields.dateX="week";h.dataFields.openValueY="min_weight";h.dataFields.valueY="max_weight";h.tooltipText='שבוע {dateX}: בין {openValueY.value} ק"ג ל-{valueY.value} ק"ג';h.sequencedInterpolation=!0;h.stroke=am4core.color("#1b7cb3");h.strokeWidth=2;h.name="משקל מינימלי לשבוע ההריון";h.stroke=e.colors.getIndex(0);h.fill=am4core.color("#dddddd");h.fillOpacity=0;h=e.series.push(new am4charts.LineSeries);h.dataFields.dateX="week";h.dataFields.valueY="min_weight";h.sequencedInterpolation=!0;h.strokeWidth=2;h.tooltip.getFillFromObject=!1;h.tooltip.getStrokeFromObject=!0;h.tooltip.label.fill=am4core.color("#000");h.name="משקל מקסימלי לשבוע ההריון";h.stroke=e.colors.getIndex(7);h.fill=h.stroke;e.cursor=new am4charts.XYCursor;e.cursor.xAxis=b;e=e.series.push(new am4charts.LineSeries);e.dataFields.dateX="week";e.dataFields.valueY="current_weight";e.sequencedInterpolation=!0;e.strokeWidth=2;e.tooltip.getFillFromObject=!1;e.tooltip.getStrokeFromObject=!0;e.tooltip.label.fill=am4core.color("#000");e.name="משקל נוכחי";e=e.bullets.push(new am4charts.LabelBullet);e.label.text="\u25c7";e.label.fontSize=30;e.label.fill=am4core.color("#FFFFFF");e.fillOpacity=1;e.strokeWidth=2}(function(){var b=document.getElementById("selection_panel");drik({min:40,max:160,i:60,parent:b,name:"body_weight",o:"משקל גופך לפני ההריון:"});drik({min:40,max:160,i:65,parent:b,name:"current_body_weight",o:"משקל גופך הנוכחי:"});drii({min:140,max:200,i:160,parent:b,name:"body_height"});drij({J:{step:1,min:1,max:42,i:20,width:"100%"},B:"",o:"שבוע נוכחי",name:"current_week",m:"current_week",parent:b});b=dril({caption:"חישוב משקל"});b.onclick=a;document.getElementById("calculator_buttons").appendChild(b);b=dril({caption:"חישוב נוסף"});b.onclick=function(){var e=document.getElementsByClassName("calculator_wrapper")[0];drie||(drie=dric());drie.to(e)};document.getElementById("result_buttons").appendChild(b);drio()})()})()})();(function(){function menu_(b){var d=0;return function(){return d<b.length?{done:!1,value:b[d++]}:{done:!0}}}(function(){function b(a){this.c=g({},{w:null,R:null,P:null,u:null,B:!1,K:!1,J:[],I:"Close",g:["overlay","button","escape"]},a);this.L()}function d(){this.b&&(this.b.style.width=this.f.clientWidth+"px",this.b.style.left=this.f.offsetLeft+"px")}function e(){this.a=document.createElement("div");this.a.classList.add("tingle-modal");0!==this.c.g.length&&-1!==this.c.g.indexOf("overlay")||this.a.classList.add("tingle-modal--noOverlayClose");this.a.style.display="none";this.c.J.forEach(function(a){"string"===typeof a&&this.a.classList.add(a)},this);-1!==this.c.g.indexOf("button")&&(this.h=document.createElement("button"),this.h.type="button",this.h.classList.add("tingle-modal__close"),this.m=document.createElement("span"),this.m.classList.add("tingle-modal__closeIcon"),this.m.innerHTML='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg"><path d="M.3 9.7c.2.2.4.3.7.3.3 0 .5-.1.7-.3L5 6.4l3.3 3.3c.2.2.5.3.7.3.2 0 .5-.1.7-.3.4-.4.4-1 0-1.4L6.4 5l3.3-3.3c.4-.4.4-1 0-1.4-.4-.4-1-.4-1.4 0L5 3.6 1.7.3C1.3-.1.7-.1.3.3c-.4.4-.4 1 0 1.4L3.6 5 .3 8.3c-.4.4-.4 1 0 1.4z" fill="#000" fill-rule="nonzero"/></svg>',this.o=document.createElement("span"),this.o.classList.add("tingle-modal__closeLabel"),this.o.innerHTML=this.c.I,this.h.appendChild(this.m),this.h.appendChild(this.o));this.f=document.createElement("div");this.f.classList.add("tingle-modal-box");this.v=document.createElement("div");this.v.classList.add("tingle-modal-box__title");this.f.appendChild(this.v);this.l=document.createElement("div");this.l.classList.add("tingle-modal-box__content");this.f.appendChild(this.l);-1!==this.c.g.indexOf("button")&&this.a.appendChild(this.h);this.a.appendChild(this.f)}function f(a){-1!==this.c.g.indexOf("escape")&&27===a.which&&this.M()&&this.close()}function m(a){var c;if(c=-1!==this.c.g.indexOf("overlay")){for(c=a.target;(c=c.parentElement)&&!c.classList.contains("tingle-modal"););c=!c}c&&a.clientX<this.a.clientWidth&&this.close()}function g(){for(var a=1;a<arguments.length;a++)for(var c in arguments[a])arguments[a].hasOwnProperty(c)&&(arguments[0][c]=arguments[a][c]);return arguments[0]}var h=!1;b.prototype.L=function(){this.a||(e.call(this),this.i={G:this.close.bind(this),H:m.bind(this),resize:this.F.bind(this),N:f.bind(this)},-1!==this.c.g.indexOf("button")&&this.h.addEventListener("click",this.i.G),this.a.addEventListener("mousedown",this.i.H),window.addEventListener("resize",this.i.resize),document.addEventListener("keydown",this.i.N),document.body.insertBefore(this.a,document.body.firstChild),this.c.K&&this.D())};b.prototype.s=function(a){h=a};b.prototype.C=function(){return h};b.prototype.M=function(){return!!this.a.classList.contains("tingle-modal--visible")};b.prototype.close=function(){if(!this.C()){this.s(!0);if("function"!==typeof this.c.u||this.c.u.call(this))document.body.classList.remove("tingle-enabled"),window.scrollTo({top:this.O,behavior:"instant"}),document.body.style.top=null,this.a.classList.remove("tingle-modal--visible"),this.a.style.display="none","function"===typeof this.c.w&&this.c.w.call(this);this.s(!1)}};b.prototype.D=function(){this.b=document.createElement("div");this.b.classList.add("tingle-modal-box__footer");this.f.appendChild(this.b)};b.prototype.A=function(a){this.j()||(a=!1);a?this.f.contains(this.b)&&(this.f.removeChild(this.b),this.a.appendChild(this.b),this.b.classList.add("tingle-modal-box__footer--sticky"),d.call(this),this.l.style["padding-bottom"]=this.b.clientHeight+20+"px"):this.b&&!this.f.contains(this.b)&&(this.a.removeChild(this.b),this.f.appendChild(this.b),this.b.style.width="auto",this.b.style.left="",this.l.style["padding-bottom"]="",this.b.classList.remove("tingle-modal-box__footer--sticky"))};b.prototype.resize=function(){console.warn("Resize is deprecated and will be removed in version 1.0")};b.prototype.j=function(){return this.f.clientHeight>=window.innerHeight};b.prototype.F=function(){this.a.classList.contains("tingle-modal--visible")&&(this.j()?this.a.classList.add("tingle-modal--overflow"):this.a.classList.remove("tingle-modal--overflow"),!this.j()&&this.c.B?this.A(!1):this.j()&&this.c.B&&(d.call(this),this.A(!0)))};return{a:b}})();String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};function menu_a(b){var d=new XMLHttpRequest;d.addEventListener("load",function(f){4===f.target.readyState&&b(f.target.responseText,0,f.target.responseXML)});var e=menu_b();""!==e&&(e="?"+e);d.open("GET","panel_content/print_menu_contents.php"+e);d.send("")}function menu_b(){var b={},d=[],e;for(e in b)d.push(e+"="+b[e]);return d.join("&")}
function menu_c(){"images/square_articles/food-bag_200_200-125.png images/square_articles/lettuce_with_measure_200_200-125.jpg images/square_articles/pregnant_apple_200_200-125.jpg images/square_articles/drinks_200_200-125.jpg images/calculators/house_dollar_swing_125_125.jpg images/calculators/tax_receipt_125_125.jpg images/calculators/coins3_125_125.jpg images/square_articles/calculator_10_200_200-125.jpg images/square_articles/dog_200_200-125.jpg images/square_articles/woman_weight_200_200-125.jpg images/square_articles/fruit_basket_2_200_200-125.jpg images/square_articles/housing_200_200-125.jpg images/square_articles/woman_belly_measure_200_200-125.jpg images/square_articles/pregnant_mirror_200_200-125.jpg images/square_articles/man_suit_watch_200_200-125.jpg images/square_articles/strawberris_200_200-125.jpg images/square_articles/wallet_200_200-125.jpg images/square_articles/dollar_house_200_200-125.jpg images/square_articles/kojak_200_200-125.jpg images/square_articles/graph_up_200_200-125.jpg images/square_articles/freud_200_200-125.jpg images/square_articles/pregnant_cyan_1_200_200-125.jpg images/square_articles/yellow_pepper_200_200-125.jpg images/square_articles/yin_yang_200_200-125.jpg images/square_articles/yellow_car_200_200-125.jpg images/square_articles/hitech_gym_200_200-125.jpg images/square_articles/fruit_basket_200_200-125.jpg images/square_articles/books_200_200-125.jpg images/categories/affiliates_200_200-125.jpg images/categories/gear_200_200-125.jpg images/authors/ami_and_reut2.jpg".split(" ").map(function(b,d){document.querySelector(".lazy_loaded_image_"+d).src=b})}(function(){function b(f){function m(){h();a=setTimeout(function(){k.classList.remove("visible");c=setTimeout(function(){k.classList.remove("top-visible");c=-1},200);a=-1},1E3)}function g(){n||(menu_c(),n=!0);Array.prototype.map.call(document.querySelectorAll("div.mbmenu.boxMenu"),function(l){l!==k&&(l.classList.remove("top-visible"),l.classList.remove("visible"))});h();k.classList.add("top-visible");k.classList.add("visible")}function h(){var l=[a,c];var p="undefined"!=typeof Symbol&&Symbol.iterator&&l[Symbol.iterator];l=p?p.call(l):{next:menu_(l)};for(p=l.next();!p.done;p=l.next())clearTimeout(p.value)}var a=-1,c=-1,k=document.getElementById(f.id.substr(0,f.id.indexOf("-header"))),n=!1;f.onmouseenter=g;f.onmouseleave=m;k.onmouseenter=g;k.onmouseleave=m}var d=document.getElementsByClassName("desktop-menu-item"),e;menu_a(function(f){f=(new DOMParser).parseFromString(f,"text/xml");var m=[];Array.prototype.map.call(f.childNodes[0].childNodes,function(g){return m.push(g)});m.map(function(g){var h=document.createElement("div"),a=g.getAttribute("id");h.className=g.getAttribute("class");h.id=a;if(g.innerHTML)h.innerHTML=g.innerHTML;else{e||(e=new XMLSerializer);var c=e;for(var k="",n=0;n<g.childNodes.length;n++)k+=c.serializeToString(g.childNodes[n]);h.innerHTML=k}document.getElementById(a+"-header").appendChild(h)});Array.prototype.map.call(d,b)})})({})})()