(function(){function oca(a){var d=0;return function(){return d<a.length?{done:!1,value:a[d++]}:{done:!0}}}function ocb(a){var d="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return d?d.call(a):{next:oca(a)}}var occ="function"==typeof Object.defineProperties?Object.defineProperty:function(a,d,e){a!=Array.prototype&&a!=Object.prototype&&(a[d]=e.value)},ocd="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;function oce(a,d){if(d){var e=ocd;a=a.split(".");for(var p=0;p<a.length-1;p++){var n=a[p];n in e||(e[n]={});e=e[n]}a=a[a.length-1];p=e[a];d=d(p);d!=p&&null!=d&&occ(e,a,{configurable:!0,writable:!0,value:d})}}
oce("Array.from",function(a){return a?a:function(d,e,p){e=null!=e?e:function(l){return l};var n=[],v="undefined"!=typeof Symbol&&Symbol.iterator&&d[Symbol.iterator];if("function"==typeof v){d=v.call(d);for(var x=0;!(v=d.next()).done;)n.push(e.call(p,v.value,x++))}else for(v=d.length,x=0;x<v;x++)n.push(e.call(p,d[x],x));return n}});function ocf(){function a(){return window.scrollY||p.scrollTop}function d(c,k,h){function f(g,r,u){b(Math.max(0,c.h(g)-h),r,u)}function b(g,r,u){m();if(0===r||r&&0>r||e(c.body))c.B(g),u&&u();else{var t=c.u(),D=Math.max(0,g)-t,F=(new Date).getTime();r=r||Math.min(Math.abs(D),k);(function A(){q=setTimeout(function(){var y=Math.min(1,((new Date).getTime()-F)/r),B=Math.max(0,Math.floor(t+D*(.5>y?2*y*y:y*(4-2*y)-1)));c.B(B);1>y&&c.D()+B<c.body.scrollHeight?A():(setTimeout(m,99),u&&u())},9)})()}}function m(){clearTimeout(q);q=0}k=k||999;h||0===h||(h=9);var q;return{setup:function(g,r){if(0===g||g)k=g;if(0===r||r)h=r;return{ya:k,R:h}},to:f,toY:b,intoView:function(g,r,u){var t=g.getBoundingClientRect().height,D=c.h(g)+t,F=c.D(),E=c.u(),A=E+F;Math.max(0,c.h(g)-h)<E||t+h>F?f(g,r,u):D+h>A?b(D-F+h,r,u):u&&u()},center:function(g,r,u,t){b(Math.max(0,c.h(g)-c.D()/2+(u||g.getBoundingClientRect().height/2)),r,t)},stop:m,moving:function(){return!!q},getY:c.u,getTopOf:c.h}}function e(c){return c&&"getComputedStyle"in window&&"smooth"===window.getComputedStyle(c)["scroll-behavior"]}if("undefined"===typeof window||!("document"in window))return{};var p=document.documentElement,n=d({body:document.scrollingElement||document.body,B:function(c){window.scrollTo(0,c)},u:a,D:function(){return window.innerHeight||p.clientHeight},h:function(c){return c.getBoundingClientRect().top+a()-p.offsetTop}});n.xa=function(c,k,h){return d({body:c,B:function(f){c.scrollTop=f},u:function(){return c.scrollTop},D:function(){return Math.min(c.clientHeight,window.innerHeight||p.clientHeight)},h:function(f){return f.offsetTop}},k,h)};if("addEventListener"in window&&!window.va&&!e(document.body)){var v="history"in window&&"pushState"in history,x=v&&"scrollRestoration"in history;x&&(history.scrollRestoration="auto");window.addEventListener("load",function(){x&&(setTimeout(function(){history.scrollRestoration="manual"},9),window.addEventListener("popstate",function(c){c.state&&"zenscrollY"in c.state&&n.B(c.state.ta)},!1));window.location.hash&&setTimeout(function(){var c=n.sa().R;if(c){var k=document.getElementById(window.location.href.split("#")[1]);k&&(c=Math.max(0,n.h(k)-c),k=n.u()-c,0<=k&&9>k&&window.scrollTo(0,c))}},9)},!1);var l=/(^|\s)noZensmooth(\s|$)/;window.addEventListener("click",function(c){for(var k=c.target;k&&"A"!==k.tagName;)k=k.parentNode;if(!(!k||1!==c.which||c.shiftKey||c.metaKey||c.ctrlKey||c.altKey)){if(x){var h=history.state&&"object"===typeof history.state?history.state:{};h.ta=n.u();try{history.replaceState(h,"")}catch(b){}}var f=k.getAttribute("href")||"";if(0===f.indexOf("#")&&!l.test(k.className)){k=0;h=document.getElementById(f.substring(1));if("#"!==f){if(!h)return;k=n.h(h)}c.preventDefault();c=function(){window.location=f};if(h=n.sa().R)k=Math.max(0,k-h),v&&(c=function(){history.pushState({},"",f)});n.B(k,null,c)}}},!1)}return n}(function(){function a(l){this.c=v({},{T:null,Aa:null,wa:null,N:null,W:!1,ka:!1,ha:[],ea:"Close",l:["overlay","button","escape"]},l);this.la()}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.l.length&&-1!==this.c.l.indexOf("overlay")||this.a.classList.add("tingle-modal--noOverlayClose");this.a.style.display="none";this.c.ha.forEach(function(l){"string"===typeof l&&this.a.classList.add(l)},this);-1!==this.c.l.indexOf("button")&&(this.v=document.createElement("button"),this.v.type="button",this.v.classList.add("tingle-modal__close"),this.K=document.createElement("span"),this.K.classList.add("tingle-modal__closeIcon"),this.K.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.L=document.createElement("span"),this.L.classList.add("tingle-modal__closeLabel"),this.L.innerHTML=this.c.ea,this.v.appendChild(this.K),this.v.appendChild(this.L));this.f=document.createElement("div");this.f.classList.add("tingle-modal-box");this.S=document.createElement("div");this.S.classList.add("tingle-modal-box__title");this.f.appendChild(this.S);this.H=document.createElement("div");this.H.classList.add("tingle-modal-box__content");this.f.appendChild(this.H);-1!==this.c.l.indexOf("button")&&this.a.appendChild(this.v);this.a.appendChild(this.f)}function p(l){-1!==this.c.l.indexOf("escape")&&27===l.which&&this.na()&&this.close()}function n(l){var c;if(c=-1!==this.c.l.indexOf("overlay")){for(c=l.target;(c=c.parentElement)&&!c.classList.contains("tingle-modal"););c=!c}c&&l.clientX<this.a.clientWidth&&this.close()}function v(){for(var l=1;l<arguments.length;l++)for(var c in arguments[l])arguments[l].hasOwnProperty(c)&&(arguments[0][c]=arguments[l][c]);return arguments[0]}var x=!1;a.prototype.la=function(){this.a||(e.call(this),this.C={ca:this.close.bind(this),da:n.bind(this),resize:this.ba.bind(this),oa:p.bind(this)},-1!==this.c.l.indexOf("button")&&this.v.addEventListener("click",this.C.ca),this.a.addEventListener("mousedown",this.C.da),window.addEventListener("resize",this.C.resize),document.addEventListener("keydown",this.C.oa),document.body.insertBefore(this.a,document.body.firstChild),this.c.ka&&this.aa())};a.prototype.M=function(l){x=l};a.prototype.Z=function(){return x};a.prototype.na=function(){return!!this.a.classList.contains("tingle-modal--visible")};a.prototype.close=function(){if(!this.Z()){this.M(!0);if("function"!==typeof this.c.N||this.c.N.call(this))document.body.classList.remove("tingle-enabled"),window.scrollTo({top:this.ua,behavior:"instant"}),document.body.style.top=null,this.a.classList.remove("tingle-modal--visible"),this.a.style.display="none","function"===typeof this.c.T&&this.c.T.call(this);this.M(!1)}};a.prototype.aa=function(){this.b=document.createElement("div");this.b.classList.add("tingle-modal-box__footer");this.f.appendChild(this.b)};a.prototype.U=function(l){this.G()||(l=!1);l?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.H.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.H.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.G=function(){return this.f.clientHeight>=window.innerHeight};a.prototype.ba=function(){this.a.classList.contains("tingle-modal--visible")&&(this.G()?this.a.classList.add("tingle-modal--overflow"):this.a.classList.remove("tingle-modal--overflow"),!this.G()&&this.c.W?this.U(!1):this.G()&&this.c.W&&(d.call(this),this.U(!0)))};return{a:a}})();String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};function ocg(a){function d(b){function m(){for(var q=b.offsetLeft,g=b.offsetTop+b.offsetHeight,r=b;r.offsetParent;)r=r.offsetParent,q+=r.offsetLeft,g+=r.offsetTop;r=f;var u="undefined"!==r.value+""?p(r.value):p(r.innerHTML);if(!document.getElementById("datepicker")){var t=document.createElement("div");t.id="datepicker";t.className="date-picker-container-div";document.body.appendChild(t);t=document.getElementById("overlay_div");t||(t=document.createElement("div"),t.id="overlay_div",t.className="overlay_div",document.body.appendChild(t))}t=document.getElementById("overlay_div");t.style.height=document.body.scrollHeight+"px";t.style.display="block";t=document.getElementById("datepicker");t.style.left=q+"px";t.style.display="block";e(r,u.getFullYear(),u.getMonth(),u.getDate());mobileBrowser&&500<t.offsetHeight&&(g=document.documentElement.scrollTop+20);t.style.top=g+"px"}b||(b=f);a.i||!mobileBrowser?f.onfocus=m:f.nextElementSibling.onclick=m}function e(b,m,q,g){function r(){E.innerHTML="";v.V(new Date(D,F-1,t));document.getElementById("overlay_div").style.display="";h()}function u(G,C){Array.prototype.map.call(G.childNodes,function(J){J.classList.remove(C)})}b=new Date;0<=q&&0<m?b=new Date(m,q,1):(g=b.getDate(),b.setDate(1));var t=g,D=m,F=q+1,E=document.createElement("div");E.className="calendar-widget";b=document.createElement("div");b.className="calendar-list-container";E.appendChild(b);var A=document.createElement("div");A.className="date-picker-list date-picker-day-list";b.appendChild(A);var y=document.createElement("month");y.className="date-picker-list date-picker-month-list";E.appendChild(y);var B=document.createElement("year");B.className="date-picker-list date-picker-year-list";for(var w={s:0};w.s<l.length;w={s:w.s},w.s++){var z=document.createElement("div");z.className="month-item";z.innerHTML=l[w.s];z.onclick=function(G){return function(){var C=G.s;F=C+1;u(y,"selected-date");y.childNodes[C].classList.add("selected-date");x&&r()}}(w);y.appendChild(z)}var H=0;if(!mobileBrowser&&10<k-c)for(H=0;H<c%10;H++)w=document.createElement("div"),w.className="year-item",w.innerHTML="",B.appendChild(w);w={};for(w.m=c;w.m<=k;w={m:w.m},w.m++)z=document.createElement("div"),z.className="year-item",z.innerHTML=w.m,z.onclick=function(G){return function(){var C=H+G.m-c;D=c+C-H;I=C;u(B,"selected-date");B.childNodes[C].classList.add("selected-date");x&&r()}}(w),B.appendChild(z);for(w={o:0};31>w.o;w={o:w.o},w.o++)z=document.createElement("div"),z.className="day-item",z.innerHTML=w.o+1,z.onclick=function(G){return function(){var C=G.o;t=C+1;u(A,"selected-date");A.childNodes[C].classList.add("selected-date");x&&r()}}(w),A.appendChild(z);b.appendChild(A);b.appendChild(y);b.appendChild(B);a.w&&(A.style.display="none");a.A&&(y.style.display="none");a.F&&(B.style.display="none");document.getElementById("datepicker").innerHTML="";document.getElementById("datepicker").appendChild(E);var I=H+m-c;I=Math.max(I,0);try{y.childNodes[q].classList.add("selected-date"),A.childNodes[g-1].classList.add("selected-date"),B.childNodes[I].classList.add("selected-date")}catch(G){}m=document.createElement("div");m.className="calendar-button_container";x||(q=och({caption:"אישור",onclick:r}),m.appendChild(q));E.appendChild(m)}function p(b){if(a.i)return new Date(b);var m;if(""===b)return a.P;try{var q;0<=b.indexOf("/")?q=b.split("/"):0<=b.indexOf(".")?q=b.split("."):0<=b.indexOf("-")?q=b.split("-"):0<=b.indexOf("\\")?q=b.split("\\"):q=!1;if(m=q){var g=parseInt(m[0],10);var r=parseInt(m[1],10)-1;var u=parseInt(m[2],10);u=u<=(new Date).getFullYear()-2E3?u+2E3:u+1900;var t=new Date(u,r,g)}else t=b?new Date(b):new Date}catch(D){t=new Date}return t}function n(b){if(a.w&&a.A)return b.getFullYear();var m=b.getYear()%100;return b.getDate()+"/"+(b.getMonth()+1)+"/"+(10>m?"0"+m:m)}var v=this,x=!a.F&&a.A&&a.w||a.F&&!a.A&&a.w||a.F&&a.A&&!a.w,l="ינואר פברואר מרץ אפריל מאי יוני יולי אוגוסט ספטמבר אוקטובר נובמבר דצמבר".split(" "),c=a.ra,k=a.qa,h=a.onclick||function(){};v.Ca=function(b){c=b};v.Ba=function(b){k=b};var f=a.X;a.i||d(a.X);v.J=function(){return p(f.value)};v.V=function(b){a.i?(f.value=b.toISOString().split("T")[0],f.nextElementSibling.innerHTML=n(b)):(mobileBrowser&&(f.nextElementSibling.innerHTML=n(b)),f.value=n(b))};v.V(a.P);a.i&&f.addEventListener("change",function(){f.nextElementSibling.innerHTML=n(new Date(f.value))})}var oc=void 0;function oci(a,d){var e=new XMLHttpRequest;e.addEventListener("load",function(p){4===p.target.readyState&&d(p.target.responseText,0,p.target.responseXML)});a=ocj(a);""!==a&&(a="?"+a);e.open("GET","calculators/pregnancy_stages_calculator/get_stage_for_a_week.php"+a);e.send("")}function ocj(a){var d=[],e;for(e in a)d.push(e+"="+a[e]);return d.join("&")}
function och(a){var d=document.createElement("div");d.className="animated-calculator-button";d.innerHTML=a.caption||"";a.onclick&&(d.onclick=a.onclick);return d}function ock(a){var d=document.createElement("div");d.id=a.O||"";d.className=a.fa||"animated-calendar-container-label";var e=document.createElement("label");e.className=a.pa||"animated-container-label";e.innerHTML=a.caption||"";d.appendChild(e);return d}
function ocl(a){var d=ock({O:a.O,fa:"animated-calendar-container",pa:"animated-calendar-container-label",caption:a.caption});a.j.i=mobileBrowser&&!a.j.w&&!a.j.A&&!a.j.F;var e=ocm(a.j);d.appendChild(e.ja);a.j.X=e.input;return{ia:new ocg(a.j),ga:d}}
function ocm(a){var d=document.createElement("div");d.className="calendar-div-input";var e=document.createElement("input");e.setAttribute("autocomplete","off");e.type=a.i?"date":"text";e.className="calendar-text-input";e.id=a.ma;e.value=a.za||"";d.appendChild(e);if(a.i||mobileBrowser){var p=document.createElement("label");p.className="calendar-label-input";e.onchange=a.onclick||function(){};a.i&&p.setAttribute("for",e.id);d.appendChild(p)}return{ja:d,input:e}}
function ocn(a){var d=document.createElement("div");d.className="quick-nav-container";a.I||(a.I=Array.from({length:a.Y-a.from+1},function(n,v){return v+a.from}));var e={};for(e.g=a.from;e.g<=a.Y;e={g:e.g},e.g++){var p=document.createElement("div");p.className="quick-nav-square";p.innerHTML=a.I[e.g-a.from];p.onclick=function(n){return function(){oco(d,n.g-a.from);a.onclick(a.I[n.g-a.from],n.g,n.g-a.from)}}(e);d.appendChild(p)}return d}
function oco(a,d){Array.prototype.map.call(a.childNodes,function(e){e.classList.remove("selected")});a.childNodes[d].classList.add("selected")}function ocp(){var a=a||["animated-calendar-container","animated-popup-button-set-container","text-slider-container","animated-select-container","quick-nav-container"];a=ocb(a);for(var d=a.next();!d.done;d=a.next())Array.prototype.map.call(document.getElementsByClassName(d.value),function(e){e.classList.add("popup_with_separator")})}
function ocq(){for(var a=document.cookie.split(";"),d,e,p="",n=0;n<a.length;n++)if(d=a[n].split("="),e=d[0].replace(/^\s+|\s+$/g,""),"last_period_date"==e)return 1<d.length&&(p=unescape(d[1].replace(/^\s+|\s+$/g,""))),p;return null}(function(){function a(f){var b=v.J(),m=p(b.getMonth()+1,b.getDate(),b.getFullYear(),280);if(f){var q=new Date,g=v.J();h=Math.floor(Math.ceil((q.getTime()-g.getTime())/864E5)/7);if(0>h){alert("יש לבחור תאריך בעבר");return}q="";g=new Date;g.setTime(g.getTime());q&&(q*=864E5);g=new Date(g.getTime()+q);document.cookie="last_period_date="+escape(b)+(q?";expires="+g.toGMTString():"")+";path=/"}b=k[7>h?1:11>h?3:15>h?4:19>h?5:24>h?6:28>h?7:33>h?8:37>h?9:41>h?10:11];q=0===b||11===b?"":"ה";v.J();g="אחרון";28>h&&(g="שני");13>h&&(g="ראשון");document.getElementById("result").innerHTML='\n                            <div>את נמצאת בשבוע <span class="themed-text">'+h+"</span>, \n                            בחודש "+(q+b)+",\n                            בשליש ה"+g+" להריון.</div>"+(f?'<div>תאריך לידה צפוי: <span class="themed-text">ה-'+(m.getDate()+" ב"+c[m.getMonth()+1]+", "+m.getFullYear())+"</span></div>":"");40<h&&(h=40);x[h]?e():oci({week:h},d)}function d(f){x[h]=eval(f);e()}function e(){var f=[void 0,void 0,void 0,"fertilized-egg","blastocyst","blastocyst","1-month","2-months","2-months","2-months","2-months","3-months","3-months","3-months","3-months","4-months","4-months","4-months","4-months","5-months","5-months","5-months","5-months","5-months","6-months","6-months","6-months","6-months","7-months","7-months","7-months","7-months","7-months","8-months","8-months","8-months","8-months","9-months","9-months","9-months","9-months"];document.getElementById("mother_state").innerHTML="<p class='article_secondary_title themed-text' >שינויים שעוברת האם בשבוע מספר "+h+":</p>"+x[h][0];document.getElementById("fetus_state").innerHTML="<p class='article_secondary_title themed-text'>שינויים שעובר העובר בשבוע מספר "+h+":</p>"+x[h][1];if(f[h]){var b=document.createElement("img"),m="3x";mobileBrowser&&(m="2x");b.src="calculators/pregnancy_stages_calculator/images/"+f[h]+"@"+m+".png";b.style["float"]="left";document.getElementById("fetus_state").prepend(b)}else document.getElementById("fetus_illustration").innerHTML="";document.getElementById("comment").style.visibility="visible";mobileBrowser&&(f=document.getElementById("calculator_center_ad"),oc||(oc=ocf()),oc.to(f))}function p(f,b,m,q){b=eval(b)+q;m=eval(m);var g;for(q=0;12>q;q++)if(2===f&&0==m%4?g=29:g=l[f],b>g)b-=g,f++,12<f&&(m++,f=1);else break;g=new Date;g.setDate(b);g.setMonth(f-1);g.setYear(m);return g}function n(f){this.length=f;for(var b=1;b<=f;b++)this[b]=null;return this}var v,x=[],l=new n(12);l[1]=31;l[2]=28;l[3]=31;l[4]=30;l[5]=31;l[6]=30;l[7]=31;l[8]=31;l[9]=30;l[10]=31;l[11]=30;l[12]=31;var c=new n(12);c[1]="ינואר";c[2]="פברואר";c[3]="מרץ";c[4]="אפריל";c[5]="מאי";c[6]="יוני";c[7]="יולי";c[8]="אוגוסט";c[9]="ספטמבר";c[10]="אוקטובר";c[11]="נובמבר";c[12]="דצמבר";var k=new n(9);k[0]="טרום ראשון";k[1]="ראשון";k[2]="ראשון";k[3]="שני";k[4]="שלישי";k[5]="רביעי";k[6]="חמישי";k[7]="שישי";k[8]="שביעי";k[9]="שמיני";k[10]="תשיעי";k[11]="אחרי התשיעי";var h=0;(function(){var f=document.getElementById("selection_panel");if(ocq())var b=new Date(ocq());else b=new Date,b.setDate(b.getDate()-140);b=ocl({caption:"תאריך המחזור האחרון:",j:{ma:"last_period_date",ra:(new Date).getFullYear()-1,qa:(new Date).getFullYear(),P:b}});var m=b.ga;v=b.ia;f.appendChild(m);b=ocn({from:1,Y:40,onclick:function(q,g){h=g;a(!1)}});m=ock({caption:"לחילופין, בחרי את השבוע בו את נמצאת:"});f.appendChild(m);f.appendChild(b);f=och({caption:"חישוב"});f.onclick=function(){a(!0)};document.getElementById("calculator_buttons").appendChild(f);f=och({caption:"חישוב נוסף"});f.onclick=function(){var q=document.getElementsByClassName("calculator_wrapper")[0];oc||(oc=ocf());oc.to(q)};document.getElementById("result_buttons").appendChild(f);ocp()})()})()})();(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)})})({})})()