1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2'use strict';(function($,Drupal){$(document).ready(function(){translate.init();covidPages.init();if(window.location.hostname.includes('.translate.goog'))$('#targetLanguage').css('display','none');});let covidPages=function(){return {init:function(){this.multilingual();},multilingual:function(){let trArray=[11564731,11564741,11564716,11564756,11564736,11564746,11564721,11564711,11564706];let $this=$('#page');if($.inArray($this.data('target'),trArray)!==-1){$this.find('#content').addClass('notranslate');$this.find('#targetLanguage').css('display','none');}}};}();let translate=function(d){return {init:function(){this.writeLanguageList();this.bindDomEvents();},exec:function(){this.writeLanguageList();this.bindDomEvents();},bindDomEvents:function(){let e=this;$("#cob_translate, #langCloseButton").on("click",function(f){f.preventDefault();e.toggleLanguages();$('#overlay-background').addClass('md');});$("#viewDisclaimer, #closeDisclaimer").on("click",function(f){f.preventDefault();e.showDisclaimer();});$("#disclaimerLanguageSelect").on("change",function(f){e.selectDisclaimerLanguage();});$(".translateLink").on("click",function(g){let f=$(this);e.trackEvent(document.location.href,function(){document.location=f.attr("href");});});},writeDisclaimer:function(){let g="";g+='<form id="translateForm" class="translate-form"><label for="disclaimerLanguageSelect">View Disclaimer in: </label><select id="disclaimerLanguageSelect" name="disclaimerLanguageSelect" class="translate-select-disclaimer">';g+='<option value="English">English</option>';g+='<option value="Spanish">Spanish</option>';g+='<option value="Haitian">Haitian Creole</option>';g+='<option value="Portuguese">Portuguese</option>';g+='<option value="French">French</option>';g+='<option value="ChineseS">Chinese - Simplified</option>';g+='<option value="Vietnamese">Vietnamese</option>';g+='<option value="Russian">Russian</option>';g+='<option value="Somali">Somali</option>';g+='<option value="Arabic">Arabic</option></select>';let h='<div id="English" class="translate-disclaimer disclaimer"><h4>About Translations on Boston.gov</h4>';h+="<p>The City of Boston Department of Innovation and Technology (âDoITâ) offers translations of the content on Boston.gov through the Google Translate web translator (translate.google.com). Because Google Translate is an external website, DoIT does not control the quality or accuracy of translated content. This may result in inaccurate translated text, or other errors in images and the general appearance of translated pages.</p>";h+="<p>However, you can report incorrect or substandard translations and contribute better translations using Google Translate.</p>";h+="<ol><li>First, hover over and click on any text containing an error. A pop up box should appear.</li>";h+="<li>Next, click âContribute a better translationâ.</li>";h+="<li>Double click the area of the pop up that reads âClick a word for alternative translations, or double-click to edit directly.â</li>";h+="<li>Make your edits directly to the text in the text box.</li>";h+="<li>Finally, press Contribute to contribute your suggested edits.</li></ol>";h+="<p>More information about contributing to Google Translate can be found <a href='https://support.google.com/translate/answer/2534530?hl=en&ref_topic=7010955'>here.</a></p>";h+="<p>Please note that DoIT does not control the process by which contributed translations are incorporated into the Google web translator.</p>";h+="<p class='translate-d-c'>The City of Boston is committed to improving the quality and breadth of multilingual content on our website.</p></div>";let j='<div id="Spanish" class="translate-disclaimer disclaimer" style="display:none;"><h4>Acerca de las traducciones en Boston.gov</h4>';j+="<p>El Departamento de Innovación y TecnologÃa de la Ciudad de Boston (âDoITâ) ofrece traducciones del contenido en Boston.gov a través del traductor web Google Translate (translate.google.com). Porque Google Translate es un sitio web externo , DoIT no controla la calidad ni la precisión del contenido traducido. Esto puede resultar en texto traducido incorrecto u otros errores en las imágenes y la apariencia general de las páginas traducidas.</p>";j+="<p>Sin embargo, puede informar traducciones incorrectas o de calida
2d inferior y contribuir con mejores traducciones usando Google Translate.</p>";j+="<ol><li>Primero, desplace el mouse y haga clic en cualquier texto que contenga un error. DeberÃa aparecer un cuadro emergente.</li>";j+="<li>A continuación, haga clic en âContribuir a una mejor traducciónâ.</li>";j+="<li>Haga doble clic en el área de la ventana emergente que dic âHaga clic en una palabra para traducciones alternativas, o haga doble clic para editar directamente.â</li>";j+="<li>Realice sus ediciones directamente al texto en el cuadro de texto.</li>";j+="<li>Finalmente, presione Contribuir para contribuir con las ediciones sugeridas.</li></ol>";j+="<p>Puede encontrar más información sobre cómo contribuir al Traductor de Google <a href='https://support.google.com/translate/answer/2534530?hl=en&ref_topic=7010955'> aquÃ.</a></p>";j+="<p>Tenga en cuenta que DoIT no controla el proceso mediante el cual las traducciones contribuidas se incorporan al traductor web de Google.</p>";j+="<p class='translate-d-c'>La Ciudad de Boston se compromete a mejorar la calidad y la amplitud del contenido multilingüe en nuestro sitio web.</p></div> ";let e='<div id="ChineseS" class="translate-disclaimer disclaimer" style="display:none;"><h4>å
³äºBoston.govä¸çç¿»è¯</h4>';e+="<p>波士顿å¸åæ°ææ¯å±ï¼âDoITâï¼éè¿Googleç¿»è¯ç½ç»ç¿»è¯å¨ï¼translate.google.comï¼å¨Boston.gov䏿ä¾å
容çç¿»è¯ã ç±äºGoogle Translateæ¯å¤é¨ç½ç«ï¼å æ¤DoITä¸è½æ§å¶ç¿»è¯å
容çè´¨éæåç¡®æ§ã è¿å¯è½ä¼å¯¼è´ç¿»è¯ææ¬ä¸æ£ç¡®ï¼æå¾åä¸çå
¶ä»é误以åç¿»è¯é¡µé¢çæ´ä½å¤è§ã</p>";e+="<p>使¯ï¼æ¨å¯ä»¥æ¥å䏿£ç¡®æä¸åæ ¼çç¿»è¯ï¼å¹¶ä½¿ç¨Googleç¿»è¯æ¥æä¾æ´å¥½çç¿»è¯ã</p>";e+="<ol><li>é¦å
ï¼å°é¼ æ æ¬åå¹¶åå»ä»»ä½å
å«éè¯¯çææ¬ãåºåºç°ä¸ä¸ªå¼¹åºæ¡ã</li>";e+="<li>ä¸ä¸æ¥ï¼åå»âè´¡ç®æ´å¥½çç¿»è¯âã</li>";e+="<li>åå»å¼¹åºçªå£ä¸çåºåï¼å³âåå»åè¯ä»¥è¿è¡å
¶ä»ç¿»è¯ï¼æåå»ä»¥ç´æ¥ç¼è¾ãâ</li>";e+="<li>ç´æ¥å¯¹ææ¬æ¡ä¸çææ¬è¿è¡ç¼è¾ã</li>";e+="<li>æåï¼æè´¡ç®æ¥è´¡ç®æ¨ç建议ç¼è¾ã</li></ol>";e+="<p>æå
³å¯¹Googleç¿»è¯ååºè´¡ç®çæ´å¤ä¿¡æ¯ï¼å¯å¨æ¤å¤<a href='https://support.google.com/translate/answer/2534530?hl=zh_CN&ref_topic=7010955'>æ¾å°ã</a></p>";e+="<p>请注æï¼DoITä¸è½æ§å¶å°è´¡ç®çç¿»è¯å
容æ´åå°Googleç½ç»ç¿»è¯å¨ä¸çè¿ç¨ã</p>";e+="<p class='translate-d-c'>波士顿å¸è´åäºæé«æä»¬ç½ç«ä¸å¤è¯ç§å
容çè´¨éå广度ã</p></div>";let f='<div id="Haitian" class="translate-disclaimer disclaimer" style="display:none;"><h4>Sou tradiksyon sou Boston.gov</h4>';f+="<p>Depatman Inovasyon ak Teknoloji Vil Boston (âDoITâ) ofri tradiksyon kontni sou Boston.gov nan tradiktè entènèt Google Translate (translate.google.com). Paske Google Translate se yon sit entènèt ekstèn , DoIT pa kontwole bon jan kalite a oswa presizyon nan kontni tradui. Sa a pouvwa rezilta nan kòrèk tèks tradui, oswa lòt erè nan imaj ak aparans la an jeneral nan paj tradui.</p>";f+="<p>Sepandan, ou ka rapòte tradiksyon ki pa kòrèk oswa medyòm epi kontribye pi byen tradiksyon lè l sèvi avèk Google Translate.</p>";f+="<ol><li>Premyèman, monte sou epi klike sou nenpòt ki tèks ki gen yon erè. Yon bwat pòp moute ta dwe parèt.</li>";f+="<li>Apre sa, klike sou âKontribye yon pi bon tradiksyonâ.</li>";f+="<li>Double klike sou zòn nan nan pòp moute a ki li âKlike sou yon mo pou tradiksyon altènatif, oswa doub-klike sou edite dirèkteman.â</li>";f+="<li>Fè edits ou dirèkteman nan tèks la nan bwat tèks la.</li>";f+="<li>Finalman, peze Kontribye pou kontribiye edisyon sijere ou.</li></ol>";f+="<p>Plis enfòmasyon sou kontribiye nan Google Translate ka jwenn <a href='https://support.google.com/translate/answer/2534530?hl=en&ref_topic=7010955'>isit la.</a></p>";f+="<p>Tanpri sonje ke DoIT pa kontwole pwosesis la pa ki kontribye tradiksyon yo enkòpore nan Google tradiktè wèb la.</p>";f+="<p class='translate-d-c'>Vil Boston pran angajman pou amelyore kalite ak lajè kontni pale plizyè lang sou sit entènèt nou an. </p></div>";let m='<div id="Portuguese" class="translate-disclaimer disclaimer" style="display:none;"><h4>Sobre as traduções no Boston.gov</h4>';m+="<p>O Departamento de Inovação e Tecnologia da cidade de Boston (â DoIT â) oferece traduções do conteúdo em Boston.gov por meio do tradutor da web do Google Translate (translate.google.com). Como o Google Translate é um site externo , O DoIT não controla a qualidade ou a precisão do conteúdo traduzido. Isso pode resultar em texto traduzido impreciso ou em outros erros nas imagens e na aparência geral das páginas traduzidas.</p>";m+="<p>No entanto, você pode denunciar traduções incorretas ou abaixo do padrão e contribuir com traduções melhores usando o Google Tradutor.</p>";m+="<ol>";m+="<li>
2Primeiro, passe o mouse e clique em qualquer texto que contenha um erro. Uma caixa pop-up deve aparecer.</li>";m+="<li>Em seguida, clique em âContribua para uma tradução melhorâ.</li>";m+="<li>Clique duas vezes na área do pop-up que diz âClique em uma palavra para obter traduções alternativas ou clique duas vezes para editar diretamente.â</li>";m+="<li>Faça suas edições diretamente no texto na caixa de texto.</li>";m+="<li>Por fim, pressione Contribute para contribuir com as edições sugeridas.</li>";m+="</ol>";m+="<p>Mais informações sobre como contribuir para o Google Tradutor podem ser encontradas <a href='https://support.google.com/translate/answer/2534530?hl=en&ref_topic=7010955'>aqui.</a></p>";m+="<p>Observe que o DoIT não controla o processo pelo qual as traduções contribuÃdas são incorporadas ao tradutor da web do Google.</p>";m+="<p class='translate-d-c'>A cidade de Boston está comprometida em melhorar a qualidade e a abrangência do conteúdo multilÃngue em nosso site.</p></div>";let n='<div id="French" class="translate-disclaimer disclaimer" style="display:none;"><h4>à propos des traductions sur Boston.gov</h4>';n+="<p>Le Département de l'innovation et de la technologie de la ville de Boston (âDoITâ) propose des traductions du contenu de Boston.gov via le traducteur Web Google Translate (translate.google.com). Parce que Google Translate est un site Web externe , DoIT ne contrôle pas la qualité ou l'exactitude du contenu traduit. Cela peut entraîner un texte traduit inexact ou d'autres erreurs dans les images et l'apparence générale des pages traduites.</p>";n+="<p>Cependant, vous pouvez signaler des traductions incorrectes ou de qualité inférieure et contribuer à de meilleures traductions à l'aide de Google Translate.</p>";n+="<ol><li>Tout d'abord, survolez et cliquez sur tout texte contenant une erreur. Une fenêtre contextuelle devrait apparaître.</li>";n+="<li>Ensuite, cliquez sur âContribuer à une meilleure traductionâ.</li>";n+="<li>Double-cliquez sur la zone du pop-up qui se lit âCliquez sur un mot pour des traductions alternatives, ou double-cliquez pour modifier directement.â</li>";n+="<li>Apportez vos modifications directement au texte dans la zone de texte.</li>";n+="<li>Enfin, appuyez sur Contribuer pour apporter vos modifications suggérées.</li></ol>";n+="<p>Vous trouverez plus d'informations sur la contribution à Google Translate <a href='https://support.google.com/translate/answer/2534530?hl=en&ref_topic=7010955'>ici.</a></p>";n+="<p>Veuillez noter que DoIT ne contrôle pas le processus par lequel les traductions apportées sont incorporées dans le traducteur Web Google.</p>";n+="<p class='translate-d-c'>La ville de Boston s'est engagée à améliorer la qualité et l'étendue du contenu multilingue sur notre site Web.</p></div>";let o='<div id="Vietnamese" class="translate-disclaimer disclaimer" style="display:none;"><h4>Vá» bản dá»ch trên Boston.gov</h4>';o+="<p>Sá» Sáng tạo và Công nghá» Thà nh phá» Boston (Tiếng DoIT xông) cung cấp các bản dá»ch ná»i dung trên Boston.gov thông qua trình dá»ch web cá»§a Google Dá»ch (translate.google.com). Bá»i vì Google Dá»ch là má»t trang web bên ngoà i , DoIT không kiá»m soát chất lượng hoặc Äá» chÃnh xác cá»§a ná»i dung dá»ch. Äiá»u nà y có thá» dẫn Äến vÄn bản dá»ch không chÃnh xác hoặc các lá»i khác trong hình ảnh và sá»± xuất hiá»n chung cá»§a các trang ÄÆ°á»£c dá»ch.</p>";o+="<p>Tuy nhiên, bạn có thá» báo cáo bản dá»ch không chÃnh xác hoặc không Äạt tiêu chuẩn và Äóng góp bản dá»ch tá»t hÆ¡n bằng Google Dá»ch.</p>";o+="<ol><li>Äầu tiên, di chuá»t qua và nhấp và o bất kỳ vÄn bản nà o có lá»i. Má»t há»p báºt lên sẽ xuất hiá»n.</li>";o+="<li>Tiếp theo, nhấp và o Äóng góp bản dá»ch tá»t hÆ¡n.</li>";o+="<li>Nhấp Äúp và o khu vá»±c báºt lên Äá» Äá»c Sá» lần nhấp và o má»t từ Äá» dá»ch thay thế hoặc nhấp Äúp Äá» chá»nh sá»a trá»±c tiếp. LIÃN</li>";o+="<li>Thá»±c hiá»n các chá»nh sá»a cá»§a bạn trá»±c tiếp cho vÄn bản trong há»p vÄn bản.</li>";o+="<li>Cuá»i cùng, nhấn Äóng góp Äá» Äóng góp các chá»nh sá»a ÄÆ°á»£c Äá» xuất cá»§a bạn.</li></ol>";o+="<p>Thông tin thêm vá» viá»c Äóng góp cho Google Dá»ch có thá» ÄÆ°á»£c tìm thấy <a href='https://support.google.com/translate/answer/2534530?hl=en&ref_topic=7010955'>tại Äây.</a></p>";o+="<p>Xin lưu ý rằng DoIT không kiá»m soát quá trình dá»ch thuáºt Äóng góp ÄÆ°á»£c tÃch hợp và o trình dá»ch web cá»§a Google.</p>";o+="<p class='translate-d-c'>hà nh phá» Boston cam kết cải thiá»n chất lượng và Äá» rá»ng cá»§a ná»i dung Äa ngôn ngữ trên trang web cá»§a chúng tôi. </p></div>";let p='<div id="Russian" class="translate-disclaimer disclaimer" style="display:none;"><h4>РпеÑеводаÑ
на Boston.gov</h4>';p+="<p>ÐепаÑÑÐ°Ð¼ÐµÐ½Ñ Ð¸Ð½Ð½Ð¾Ð²Ð°Ñий и ÑеÑ
нологий гоÑода ÐоÑÑона (âDoITâ) пÑÐµÐ´Ð»Ð°Ð³Ð°ÐµÑ Ð¿ÐµÑÐµÐ²Ð¾Ð´Ñ ÐºÐ¾Ð½ÑенÑа на Boston.gov ÑеÑез веб-пеÑеводÑиÐ
2º Google Translate (translate.google.com). ÐоÑколÑÐºÑ Google Translate ÑвлÑеÑÑÑ Ð²Ð½ÐµÑним веб-ÑайÑом , DoIT не конÑÑолиÑÑÐµÑ ÐºÐ°ÑеÑÑво или ÑоÑноÑÑÑ Ð¿ÐµÑеведенного конÑенÑа. ÐÑо Ð¼Ð¾Ð¶ÐµÑ Ð¿ÑивеÑÑи к неÑоÑÐ½Ð¾Ð¼Ñ Ð¿ÐµÑÐµÐ²ÐµÐ´ÐµÐ½Ð½Ð¾Ð¼Ñ ÑекÑÑÑ Ð¸Ð»Ð¸ дÑÑгим оÑибкам в изобÑажениÑÑ
и обÑÐµÐ¼Ñ Ð²Ð¸Ð´Ñ Ð¿ÐµÑеведеннÑÑ
ÑÑÑаниÑ.</p>";p+="<p>Ðднако Ð²Ñ Ð¼Ð¾Ð¶ÐµÑе ÑообÑаÑÑ Ð¾ непÑавилÑнÑÑ
или некаÑеÑÑвеннÑÑ
пеÑеводаÑ
и вноÑиÑÑ Ð±Ð¾Ð»ÐµÐµ каÑеÑÑвеннÑе пеÑÐµÐ²Ð¾Ð´Ñ Ñ Ð¿Ð¾Ð¼Ð¾ÑÑÑ Google Translate.</p>";p+="<ol><li>СнаÑала наведиÑе кÑÑÑÐ¾Ñ Ð¼ÑÑи и ÑелкниÑе лÑбой ÑекÑÑ, ÑодеÑжаÑий оÑибкÑ. Ðолжно поÑвиÑÑÑÑ Ð²ÑплÑваÑÑее окно.</li>";p+="<li>Ðалее нажмиÑе âÐнеÑÑи лÑÑÑий пеÑеводâ.</li>";p+="<li>ÐÐ²Ð°Ð¶Ð´Ñ ÑелкниÑе облаÑÑÑ Ð²ÑплÑваÑÑего окна Ñ Ð½Ð°Ð´Ð¿Ð¸ÑÑÑ âЩелкниÑе Ñлово Ð´Ð»Ñ Ð°Ð»ÑÑеÑнаÑивнÑÑ
пеÑеводов или Ð´Ð²Ð°Ð¶Ð´Ñ ÑелкниÑе, ÑÑÐ¾Ð±Ñ Ð¾ÑÑедакÑиÑоваÑÑ Ð½Ð°Ð¿ÑÑмÑÑ.â</li>";p+="<li>ÐнеÑиÑе Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ Ð½ÐµÐ¿Ð¾ÑÑедÑÑвенно в ÑекÑÑ Ð² ÑекÑÑовом поле.</li>";p+="<li>ÐаконеÑ, нажмиÑе Contribute Ð´Ð»Ñ Ð²Ð½ÐµÑÐµÐ½Ð¸Ñ Ð¿ÑедложеннÑÑ
вами изменений.</li></ol>";p+="<p>ÐополниÑелÑнÑÑ Ð¸Ð½ÑоÑмаÑÐ¸Ñ Ð¾ ÑодейÑÑвии пеÑеводÑÐ¸ÐºÑ Google можно найÑи <a href='https://support.google.com/translate/answer/2534530?hl=en&ref_topic=7010955'>здеÑÑ.</a></p>";p+="<p>ÐбÑаÑиÑе внимание, ÑÑо DoIT не конÑÑолиÑÑÐµÑ Ð¿ÑоÑеÑÑ, Ñ Ð¿Ð¾Ð¼Ð¾ÑÑÑ ÐºÐ¾ÑоÑого пеÑеводÑ, вклÑÑеннÑе в пеÑевод, вклÑÑаÑÑÑÑ Ð² веб-пеÑеводÑик Google.</p>";p+="<p class='translate-d-c'>ÐоÑод ÐоÑÑон ÑÑÑемиÑÑÑ ÑлÑÑÑиÑÑ ÐºÐ°ÑеÑÑво и ÑиÑоÑÑ Ð¼Ð½Ð¾Ð³Ð¾ÑзÑÑного конÑенÑа на наÑем веб-ÑайÑе. </p></div>";let q='<div id="Somali" class="translate-disclaimer disclaimer" style="display:none;"><h4>Ku Saabsan Tarjumida bogga Boston.gov</h4>';q+="<p>Magaalada Boston Waaxda Cusbooneysiinta iyo Tiknolojiyadda (âDoITâ) waxay bixisaa tarjumaadda waxa kujira Boston.gov iyada oo loo marinayo turjubaanka websaydhka ee Google Translate (translate.google.com). , DoIT ma xukumaan tayada ama sax ahaanta waxyaabaha la tarjumay. Tani waxay ku dambayn kartaa qoraal aan sax ahayn oo la tarjumay, ama khaladaad kale oo ku saabsan sawirrada iyo muuqaalka guud ee bogagga la turjumay.</p>";q+="<p>Si kastaba ha noqotee, waad soo sheegi kartaa tarjumaad qaldan ama kuwa hooseeya waxaadna gacan ka geysan kartaa tarjumaad wanaagsan adiga oo adeegsanaya Google Translate.</p>";q+="<ol><li>Marka hore, dul mari oo riix qoraal kasta oo qalad ku jiro. Sanduuqa kor u kaca waa inuu muuqdaa.</li>";q+="<li>Marka xigta, dhagsii âKu tabaruc turjumaad wanaagsanâ. </li>";q+="<li>laba jeer guji aagga pop-ka ee akhrinaya âGuji eray u dhiganta tarjumaadaha kale, ama laba-guji si aad toos u tafatirto.â</li>";q+="<li>Si toos ah ugu samee tafatirayaashaada qoraalka sanduuqa qoraalka.</li>";q+="<li>Ugu dambayntii, riix tabaruc si aad ugu biiriso tifatirkaaga la soo jeediyay.</li></ol>";q+="<p>Macluumaad dheeri ah oo ku saabsan ku biirinta Google Translate waxaa laga heli karaa <a href='https://support.google.com/translate/answer/2534530?hl=en&ref_topic=7010955'>halkan.</a></p>";q+="<p>Fadlan la soco in DoIT ma xakameyso howsha tarjumaadaha tabaruca ah lagu daray tarjume webka Google.</p>";q+="<p class='translate-d-c'>agaalada Boston waxa ka go'an inay hagaajiso tayada iyo ballaadhka waxyaabaha ku qoran luqadaha badan luqadaha kala duwan. </p></div>";let r='<div id="Arabic" class="translate-disclaimer disclaimer" style="display:none; direction: rtl;"><h4>Boston.gov ØÙÙ Ø§ÙØªØ±Ø¬Ù
ات عÙÙ</h4>';r+="<p>ØªÙØ¯Ù
دائرة Ø§ÙØ§Ø¨ØªÙار ÙØ§ÙتÙÙÙÙÙØ¬Ùا ÙÙ Ù
دÙÙØ© Ø¨ÙØ³Ø·Ù (âDoITâ) ترجÙ
Ø© ÙÙÙ
ØØªÙ٠عÙÙ Boston.gov Ù
Ù Ø®ÙØ§Ù Ù
ترجÙ
اÙÙÙØ¨ Ø§ÙØ®Ø§Øµ بترجÙ
Ø© Google (translate.google.com). ÙØ¸Ø±Ùا ÙØ£Ù Ø§ÙØªØ±Ø¬Ù
Ø© Ù
Ù Google ÙÙ Ù
ÙÙØ¹ ÙÙØ¨ Ø®Ø§Ø±Ø¬Ù Ø ÙØ¥Ù DoIT ÙØ§ تتØÙÙ
ÙÙ Ø¬ÙØ¯Ø© Ø£Ù Ø¯ÙØ© اÙÙ
ØØªÙ٠اÙÙ
ترجÙ
. ÙØ¯ ÙØ¤Ø¯Ù ÙØ°Ø§ Ø¥ÙÙ ÙØµ Ù
ترجÙ
ØºÙØ± دÙÙÙ Ø Ø£Ù Ø£Ø®Ø·Ø§Ø¡ أخر٠ÙÙ Ø§ÙØµÙر ÙØ§ÙÙ
Ø¸ÙØ± Ø§ÙØ¹Ø§Ù
ÙÙØµÙØØ§Øª اÙÙ
ترجÙ
Ø©.</p>";r+="<p>ÙÙ
ع ذÙÙ Ø ÙÙ
ÙÙÙ Ø§ÙØ¥Ø¨Ùاغ ع٠ترجÙ
ات ØºÙØ± صØÙØØ© أ٠دÙ٠اÙÙ
ستÙ٠اÙÙ
Ø·ÙÙØ¨ ÙØ§ÙÙ
ساÙÙ
Ø© Ù٠ترجÙ
ات Ø£ÙØ¶Ù باستخداÙ
Ø§ÙØªØ±Ø¬Ù
Ø© Ù
Ù Google.</p>";r+="<ol><li>Ø£ÙÙØ§Ù Ø Ù
رر اÙÙ
Ø§ÙØ³ ÙÙÙ Ø£Ù ÙØµ ÙØØªÙ٠عÙ٠خطأ ÙØ§ÙÙØ± عÙÙÙ. ÙØ¬Ø¨ Ø£Ù ÙØ¸Ùر Ù
ربع Ù
ÙØ¨Ø«Ù.</li>";r+="<li>بعد ذÙÙ Ø Ø§ÙÙØ± ÙÙÙ âØ§ÙÙ
ساÙÙ
Ø© بترجÙ
Ø© Ø£ÙØ¶Ùâ.</li>";r+="<li>اÙÙØ± ÙÙØ±Ùا Ù
Ø²Ø¯ÙØ¬Ùا ÙÙÙ Ù
ÙØ·ÙØ© اÙÙØ§Ùذة اÙÙ
ÙØ¨Ø«ÙØ© Ø§ÙØªÙ تÙÙÙ âØ§ÙÙØ± ÙÙÙ ÙÙÙ
Ø© ÙÙØØµÙ٠عÙ٠ترجÙ
ات بدÙÙØ© Ø Ø£Ù Ø§ÙÙØ± ÙÙØ±Ùا Ù
Ø²Ø¯ÙØ¬Ùا ÙÙØªØ¹Ø¯ÙÙ Ù
باشرةâ.</li>";r+="<li>ÙÙ
بإجراء تعدÙÙØ§ØªÙ Ù
باشرة عÙ٠اÙÙØµ اÙÙ
ÙØ¬Ùد ÙÙ Ù
ربع اÙÙØµ.</li>";r+="<li>Ø£Ø®ÙØ±Ùا Ø Ø§Ø¶ØºØ· عÙÙ Ù
ساÙÙ
Ø© ÙÙÙ
ساÙÙ
Ø© بتعدÙÙØ§ØªÙ اÙÙ
ÙØªØ±ØØ©.</li></ol>";r+="<p>ÙÙ
ÙÙ Ø§ÙØ¹Ø«Ùر عÙÙ Ù
Ø²ÙØ¯ Ù
٠اÙÙ
عÙÙÙ
ات ØÙ٠اÙÙ
ساÙÙ
Ø© Ù٠ترجÙ
Ø© Google <a href='https://support.google.com/translate/answer/2534530?hl=en&ref_topic=7010955'>ÙÙØ§.</a></p>";r+="<p>ÙØ±Ø¬Ù Ù
ÙØ§ØØ¸Ø© Ø£Ù DoIT ÙØ§ تتØÙÙ
ÙÙ Ø§ÙØ¹Ù
ÙÙØ© Ø§ÙØªÙ ÙØªÙ
Ù
Ù Ø®ÙØ§ÙÙØ§ دÙ
ج Ø§ÙØªØ±Ø¬Ù
ات اÙÙ
ساÙÙ
Ø© ÙÙ Ù
ترجÙ
اÙÙÙØ¨ Ù
Ù Google.</p>";r+="<p class='translate-d-c'>زÙ
Ù
دÙÙØ© Ø¨ÙØ³Ø·Ù Ø¨ØªØØ³ÙÙ Ø¬ÙØ¯Ø© ÙØ§ØªØ³Ø§Ø¹ اÙÙ
ØØªÙÙ Ù
تعدد اÙÙØºØ§Øª عÙÙ Ù
ÙÙØ¹Ùا. </p></div>";g+=h;g+=j;g+=e;g+=f;g+=m;g+=n;g+=o;g+=p;g+=q;g+=r;g+="</form>";return g;},writeLanguageList:function(){let l=window.location.toString();if(l.slice(-1)=="#"){let k=l.substring(1,(l.length-1));l=k;}let h="//translate.google.com/translate?hl=en&sl=en&tl=";let j="";let i;j+='<div id="languages" class="translate-languages notranslate"><a class="md-cb" href="#" id="langCloseButton"></a>';let g=[["af","Afrikaans"],["sq","shqip"],["am","á ááá"],["ar","Ø§ÙØ¹Ø±Ø¨ÙØ©"],["hy","Õ°Õ¡Õ
2µÕ¥ÖÕ¥Õ¶"],["az","Ø¢Ø°Ø±Ø¨Ø§ÛØ¬Ø§Ù دÛÙ"],["eu","Euskara"],["be","ÐелаÑÑÑÐºÐ°Ñ Ð¼Ð¾Ð²Ð°"],["bn","বাà¦à¦²à¦¾"],["bs","Ø¨ÛØ³Ø§ÙسÙÙ"],["bg","бÑлгаÑÑки"],["ca","català "],["ceb","Binisaya"],["ny","Chicheŵa"],["zh-CN","广ä¸è¯"],["zh-TW","廣æ±è©±"],["co","Corsu"],["hr","Hrvatski"],["cs","ÄeÅ¡tina"],["da","dansk"],["nl","Nederlands"],["eo","Esperanto"],["et","eesti keel"],["tl","Pilipino"],["fi","suomi"],["fr","français"],["fy","Åstfräisk"],["gl","galego"],["ka","á¥áá áá£áá ááá"],["de","Deutsch"],["el","Îλληνικά"],["gu","àªà«àªàª°àª¾àª¤à«"],["ht","Kreyòl ayisyen"],["ha","ÙÙØ±ÙØ´ÙÙ ÙÙÙÙØ³Ù"],["haw","Ê»Ålelo HawaiÊ»i"],["iw","×¢Ö´×רִ×ת"],["hi","हिà¤à¤¦à¥"],["hmn","Lus Hmoob"],["hu","Magyar"],["is","Ãslenska"],["ig","ÃsụÌsá»¥Ì Ãgbò"],["id","bahasa Indonesia"],["ga","Gaeilge"],["it","Italiano"],["ja","æ¥æ¬èª"],["jw","باسا Ø¬Ø§ÙØ§"],["kn","à²à²¨à³à²¨à²¡"],["kk","ÒÐ°Ð·Ð°Ò ÑÑлÑ"],["km","áá¶áá¶ááááá"],["ko","íêµì¸"],["ku","Ú©ÙØ±Ù Ø§ÙØ¬Û"],["ky","ÐÑÑгÑз Ñили"],["lo","ລາວ"],["la","Lingua Latina"],["lv","latvieÅ¡u valoda"],["lt","lietuvių kalba"],["lb","Lëtzebuergesch"],["mk","македонÑки"],["mg","malagasy"],["ms","Ø¨ÙØ§Ø³ Ù ÙØ§ÙÙ"],["ml","മലയാളà´"],["mt","Malti"],["mi","MÄori"],["mr","मराठà¥"],["mn","монгол"],["my","áá¼ááºáá¬á áá¬á¸"],["ne","नà¥à¤ªà¤¾à¤²à¥"],["no","norsk"],["ps","Ù¾ÚØªÙ"],["fa","ÙØ§Ø±Ø³Û"],["pl","Polskie"],["pt","Português"],["pa","ਪੰà¨à¨¾à¨¬à©"],["ro","limba românÄ"],["ru","Ð ÑÑÑкий"],["sm","Gagana faâa SÄmoa"],["gd","Gà idhlig"],["sr","СÑпÑки"],["st","Sotho"],["sn","chiShona"],["sd","سÙÚÙ"],["si","à·à·à¶à·à¶½"],["sk","slovenÄina"],["sl","slovenÅ¡Äina"],["so","Soomaali"],["es","Español"],["su","Basa Sunda"],["sw","Ú©ÙØ³ÙÙÙÙÙÙÙÙ"],["sv","svenska"],["tg","Ñоҷикӣ"],["ta","தமிழà¯"],["te","à°¤à±à°²à±à°à±"],["th","à¹à¸à¸¢"],["'tr'","Türkçe"],["uk","ÑкÑаÑнÑÑка мова"],["ur","اردÙ"],["uz","Ø£ÛØ²Ø¨ÛÙ ïºï»´ï» Û"],["vi","Tiếng Viá»t"],["cy","Cymraeg"],["xh","isiXhosa"],["yi","××××ש"],["yo","Ãdè Yorùbá"],["zu","isiZulu"]];j+='<div style="float:left;"><ul class="translate-dd" style="list-style:none;">';j+=' <li><a href="#" id="viewDisclaimer" class="translate-dd-link">View Disclaimer</a></li>';j+=' <li><a href="'+h+'es&u='+l+'" class="translateLink translate-dd-link">Español</a></li>';j+=' <li><a href="'+h+'ht&u='+l+'" class="translateLink translate-dd-link">Kreyòl ayisyen</a></li>';j+=' <li><a href="'+h+'pt&u='+l+'" class="translateLink translate-dd-link">Português</a></li>';j+=' <li><a href="'+h+'fr&u='+l+'" class="translateLink translate-dd-link">français</a></li>';j+=' <li><a href="'+h+'zh-CN&u='+l+'" class="translateLink translate-dd-link">ç®ä½ä¸æ</a></li>';j+=' <li><a href="'+h+'vi&u='+l+'" class="translateLink translate-dd-link">Tiếng Viá»t</a></li>';j+=' <li><a href="'+h+'ru&u='+l+'" class="translateLink translate-dd-link">Ð ÑÑÑкий</a></li>';j+=' <li><a href="'+h+'so&u='+l+'" class="translateLink translate-dd-link">Soomaali</a></li>';j+=' <li><a href="'+h+'ar&u='+l+'" class="translateLink translate-dd-link ar">Ø§ÙØ¹Ø±Ø¨ÙØ©</a></li>';j+="<hr>";for(i=0;i<30;i++)j+='<li><a href="'+h+g[i][0]+'&u='+l+'" class="translateLink translate-dd-link '+g[i][0]+'">'+g[i][1]+"</a></li>";j+=" </ul></div>";j+='<div style="float:left;"><ul class="translate-dd" style="list-style:none;">';for(i=30;i<66;i++)j+='<li><a href="'+h+g[i][0]+'&u='+l+'" class="translateLink translate-dd-link '+g[i][0]+'">'+g[i][1]+"</a></li>";j+=" </ul></div>";j+='<div style="float:left;"><ul class="translate-dd" style="list-style:none;">';for(i=66;i<g.length;i++)j+='<li><a href="'+h+g[i][0]+'&u='+l+'" class="translateLink translate-dd-link '+g[i][0]+' ">'+g[i][1]+"</a></li>";j+=" </ul></div>";j+="</div>";j+='<div id="translateMessage" class="translate-message" data-nosnippet><a href="#" id="closeDisclaimer" class="md-cb"></a>'+this.writeDisclaimer()+"</div>";let e=$("#overlay");e.html(j);},toggleLanguages:function(){let f=document.getElementById("overlay");f.style.visibility=(f.style.visibility=="visible")?"hidden":"visible";let g=document.getElementById("overlay-background");g.style.visibility=(g.style.visibility=="visible")?"hidden":"visible";let e=document.getElementById("languages");e.style.display=(e.style.display=="block")?"none":"block";},showDisclaimer:function(){let f=document.getElementById("translateMessage");f.style.display=(f.style.display=="block")?"none":"block";let e=document.getElementById("languages");e.style.display=(e.style.display=="block")?"none":"block";},selectDisclaimerLanguage:function(){let j=document.getElementById("disclaimerLanguageSelect");let g=document.getElementById("translateMessage");if(g!=null){let h=g.getElementsByClassName("disclaimer");for(let e=0;e<h.length;e++){let f=h[e];if(f.id==j.options[j.selectedIndex].value)f.style.display="inherit";else f.style.display="none";}}},selectTranslateLanguage:function(e){let g=document.getElementById("translateForm");if(g!=null&&e!=null&&e.value!=""){g.tl.value=e.value;g.submit();}}};}();})(jQuery,Drupal);; 3(function(Drupal){Drupal.AjaxCommands.prototype.gtagEvent=function(ajax,response){gtag('event',response.event_name,response.data);};})(Drupal);; 4(function($,Drupal,debounce){const cache={right:0,left:0,bottom:0,top:0};const cssVarPrefix='--drupal-displace-offset';const documentStyle=document.documentElement.style;const offsetKeys=Object.keys(cache);const offsetProps={};offsetKeys.forEach((edge)=>{offsetProps[edge]={enumerable:true,get(){return cache[edge];},set(value){if(value!==cache[edge])documentStyle.setProperty(`${cssVarPrefix}-${edge}`,`${value}px`);cache[edge]=value;}};});
4const offsets=Object.seal(Object.defineProperties({},offsetProps));function getRawOffset(el,edge){const $el=$(el);const documentElement=document.documentElement;let displacement=0;const horizontal=edge==='left'||edge==='right';let placement=$el.offset()[horizontal?'left':'top'];placement-=window[`scroll${horizontal?'X':'Y'}`]||document.documentElement[`scroll${horizontal?'Left':'Top'}`]||0;switch(edge){case 'top':displacement=placement+$el.outerHeight();break;case 'left':displacement=placement+$el.outerWidth();break;case 'bottom':displacement=documentElement.clientHeight-placement;break;case 'right':displacement=documentElement.clientWidth-placement;break;default:displacement=0;}return displacement;}function calculateOffset(edge){let edgeOffset=0;const displacingElements=document.querySelectorAll(`[data-offset-${edge}]`);const n=displacingElements.length;for(let i=0;i<n;i++){const el=displacingElements[i];if(el.style.display==='none')continue;let displacement=parseInt(el.getAttribute(`data-offset-${edge}`),10);if(isNaN(displacement))displacement=getRawOffset(el,edge);edgeOffset=Math.max(edgeOffset,displacement);}return edgeOffset;}function displace(broadcast=true){const newOffsets={};offsetKeys.forEach((edge)=>{newOffsets[edge]=calculateOffset(edge);});offsetKeys.forEach((edge)=>{offsets[edge]=newOffsets[edge];});if(broadcast)$(document).trigger('drupalViewportOffsetChange',offsets);return offsets;}Drupal.behaviors.drupalDisplace={attach(){if(this.displaceProcessed)return;this.displaceProcessed=true;$(window).on('resize.drupalDisplace',debounce(displace,200));}};Drupal.displace=displace;Object.defineProperty(Drupal.displace,'offsets',{value:offsets,writable:false});Drupal.displace.calculateOffset=calculateOffset;})(jQuery,Drupal,Drupal.debounce);; 5(($,Drupal,{isTabbable})=>{$.extend($.expr[':'],{tabbable(element){Drupal.deprecationError({message:'The :tabbable selector is deprecated in Drupal 9.2.0 and will be removed in Drupal 11.0.0. Use the core/tabbable library instead. See https://www.drupal.org/node/3183730'});return isTabbable(element);}});})(jQuery,Drupal,window.tabbable);; 6(($)=>{let cachedScrollbarWidth=null;const {max,abs}=Math;const regexHorizontal=/left|center|right/;const regexVertical=/top|center|bottom/;const regexOffset=/[+-]\d+(\.[\d]+)?%?/;const regexPosition=/^\w+/;const _position=$.fn.position;function getOffsets(offsets,width,height){return [parseFloat(offsets[0])*(typeof offsets[0]==='string'&&offsets[0].endsWith('%')?width/100:1),parseFloat(offsets[1])*(typeof offsets[1]==='string'&&offsets[1].endsWith('%')?height/100:1)];}function parseCss(element,property){return parseInt(window.getComputedStyle(element)[property],10)||0;}function getDimensions(elem){const raw=elem[0];if(raw.nodeType===9)return {width:elem.width(),height:elem.height(),offset:{top:0,left:0}};if(!!raw&&raw===raw.window)return {width:elem.width(),height:elem.height(),offset:{top:elem.scrollTop(),left:elem.scrollLeft()}};if(raw.preventDefault)return {width:0,height:0,offset:{top:raw.pageY,left:raw.pageX}};return {width:elem.outerWidth(),height:elem.outerHeight(),offset:elem.offset()};}const collisions={fit:{left(position,data){const {within}=data;const withinOffset=within.isWindow?within.scrollLeft:within.offset.left;const outerWidth=within.width;const collisionPosLeft=position.left-data.collisionPosition.marginLeft;const overLeft=withinOffset-collisionPosLeft;const overRight=collisionPosLeft+data.collisionWidth-outerWidth-withinOffset;let newOverRight;if(data.collisionWidth>outerWidth)if(overLeft>0&&overRight<=0){newOverRight=position.left+overLeft+data.collisionWidth-outerWidth-withinOffset;position.left+=overLeft-newOverRight;}else if(overRight>0&&overLeft<=0)position.left=withinOffset;else if(overLeft>overRight)position.left=withinOffset+outerWidth-data.collisionWidth;else position.left=withinOffset;else if(overLeft>0)position.left+=overLeft;else if(overRight>0)position.left-=overRight;else position.left=max(position.left-collisionPosLeft,position.left);},top(position,data){const {within}=data;const withinOffset=within.isWindow?within.scrollTop:within.offset.top;const outerHeight=data.within.height;const collisionPosTop=position.top-data.collisionPosition.marginTop;const overTop=withinOffset-collisionPosTop;const overBottom=collisionPosTop+data.collisionHeight-outerHeight-withinOffset;let newOverBottom;if(data.collisionHeight>outerHeight)if(overTop>0&&overBottom<=0){newOverBottom=position.top+overTop+data.collisionHeight-outerHeight-withinOffset;position.top+=overTop-newOverBottom;}else if(overBottom>0&&overTop<=0)position.top=withinOffset;else if(overTop>overBottom)position.top=withinOffset+outerHeight-data.collisionHeight;else position.top=withinOffset;else if(overTop>0)position.top+=overTop;else if(overBottom>0)position.top-=overBottom;else position.top=max(position.top-collisionPosTop,position.top);}},flip:{left(position,data){const {within}=data;const withinOffset=within.offset.left+within.scrollLeft;const outerWidth=within.width;const offsetLeft=within.isWindow?within.scrollLeft:within.offset.left;const collisionPosLeft=position.left-data.collisionPosition.marginLeft;const overLeft=collisionPosLeft-offsetLeft;const overRight=collisionPosLeft+data.collisionWidth-outerWidth-offsetLeft;const myOffset=data.my[0]==='left'?-data.elemWidth:data.my[0]==='right'?data.elemWidth:0;const atOffset=data.at[0]==='left'?data.targetWidth:data.at[0]==='right'?-data.targetWidth:0;const offset=-2*data.offset[0];let newOverRight;let newOverLeft;if(overLeft<0){newOverRight=position.left+myOffset+atOffset+offset+data.collisionWidth-outerWidth-withinOffset;if(newOverRight<0||newOverRight<abs(overLeft))position.left+=myOffset+atOffset+offset;}else{if(overRight>0){newOverLeft=position.left-data.collisionPosition.marginLeft+myOffset+atOffset+offset-offsetLeft;if(newOverLeft>0||abs(newOverLeft)<overRight)position.left+=myOffset+atOffset+offset;}}},top(position,data){const {within}=data;const withinOffset=within.offset.top+within.scrollTop;const outerHeight=within.height;const offsetTop=within.isWindow?within.scrollTop:within.offset.top;const collisionPosTop=position.top-data.collisionPosition.marginTop;const overTop=collisionPosTop-offsetTop;const overBottom=collisionPosTop+data.collisionHeight-outerHeight-offsetTop;const top=data.my[1]==='top';const myOffset=top?-data.elemHeight:data.my[1]==='bottom'?data.elemHeight:0;const atOffset=data.at[1]==='top'?data.targetHeight:data.at[1]==='bottom'?-data.targetHeight:0;const offset=-2*data.offset[1];let newOverTop;let newOverBottom;if(overTop<0){newOverBottom=position.top+myOffset+atOffset+offset+data.collisionHeight-outerHeight-withinOffset;if(newOverBottom<0||newOverBottom<abs(overTop))position.top+=myOffset+atOffset+offset;}else{if(overBottom>0){newOverTop=position.top-data.collisionPosition.marginTop+myOffset+atOffset+offset-offsetTop;if(newOverTop>0||abs(newOverTop)<overBottom)position.top+=myOffset+atOffset+offset;}}}},flipfit:{left(...args){collisions.flip.left.apply(this,args);collisions.fit.left.apply(this,args);},top(...args){collisions.flip.top.apply(this,args);collisions.fit.top.apply(this,args);}}};$.position={scrollbarWidth(){if(cachedScrollbarWidth!==undefined)return cachedScrollbarWidth;const div=$('<div '+"style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'>"+"<div style='height:100px;width:auto;'></div></div>");const innerDiv=div.children()[0];$('body').append(div);const w1=innerDiv.offsetWidth;div[0].style.overflow='scroll';let w2=innerDiv.offsetWidth;if(w1===w2)w2=div[0].clientWidth;div.remove();cachedScrollbarWidth=w1-w2;return cachedScrollbarWidth;},getScrollInfo(within){const overflowX=within.isWindow||within.isDocument?'':window.getComputedStyle(within.element[0])['overflow-x'];const overflowY=within.isWindow||within.isDocument?'':window.getComputedStyle(within.element[0])['overflow-y'];const hasOverflowX=overflowX==='scroll'||(overflowX==='auto'&&within.width<within.element[0].scrollWidth);const hasOverflowY=overflowY==='scroll'||(overflowY==='auto'&&within.height<within.element[0].scrollHeight);return {width:hasOverflowY?$.position.scrollbarWidth():0,height:hasOverflowX?$.position.scrollbarWidth():0};},getWithinInfo(element){const withinElement=$(element||window);const isWindow=!!withinElement[0]&&withinElement[0]===withinElement[0].window;const isDocument=!!withinElement[0]&&withinElement[0].nodeType===9;const hasOffset=!isWindow&&!isDocument;return {element:withinElement,isWindow,isDocument,offset:hasOffset?$(element).offset():{left:0,top:0},scrollLeft:withinElement.scrollLeft(),scrollTop:withinElement.scrollTop(),width:withinElement.outerWidth(),height:withinElement.outerHeight()};}};$.fn.position=function(options){if(!options||!options.of)return _position.apply(this,arguments);options=$.extend({},options);const within=$.position.getWithinInfo(options.within);const scrollInfo=$.position.getScrollInfo(within);const collision=(options.collision||'flip').split(' ');const offsets={};const target=typeof options.of==='string'?$(document).find(options.of):$(options.of);const dimensions=getDimensions(target);const targetWidth=dimensions.width;const targetHeight=dimensions.height;const targetOffset=dimensions.offset;if(target[0].preventDefault)options.at='left top';const basePosition=$.extend({},targetOffset);$.each(['my','at'],function(){let pos=(options[this]||'').split(' ');
6if(pos.length===1)pos=regexHorizontal.test(pos[0])?pos.concat(['center']):regexVertical.test(pos[0])?['center'].concat(pos):['center','center'];pos[0]=regexHorizontal.test(pos[0])?pos[0]:'center';pos[1]=regexVertical.test(pos[1])?pos[1]:'center';const horizontalOffset=regexOffset.exec(pos[0]);const verticalOffset=regexOffset.exec(pos[1]);offsets[this]=[horizontalOffset?horizontalOffset[0]:0,verticalOffset?verticalOffset[0]:0];options[this]=[regexPosition.exec(pos[0])[0],regexPosition.exec(pos[1])[0]];});if(collision.length===1)collision[1]=collision[0];if(options.at[0]==='right')basePosition.left+=targetWidth;else{if(options.at[0]==='center')basePosition.left+=targetWidth/2;}if(options.at[1]==='bottom')basePosition.top+=targetHeight;else{if(options.at[1]==='center')basePosition.top+=targetHeight/2;}const atOffset=getOffsets(offsets.at,targetWidth,targetHeight);basePosition.left+=atOffset[0];basePosition.top+=atOffset[1];return this.each(function(){let using;const elem=$(this);const elemWidth=elem.outerWidth();const elemHeight=elem.outerHeight();const marginLeft=parseCss(this,'marginLeft');const marginTop=parseCss(this,'marginTop');const collisionWidth=elemWidth+marginLeft+parseCss(this,'marginRight')+scrollInfo.width;const collisionHeight=elemHeight+marginTop+parseCss(this,'marginBottom')+scrollInfo.height;const position=$.extend({},basePosition);const myOffset=getOffsets(offsets.my,elem.outerWidth(),elem.outerHeight());if(options.my[0]==='right')position.left-=elemWidth;else{if(options.my[0]==='center')position.left-=elemWidth/2;}if(options.my[1]==='bottom')position.top-=elemHeight;else{if(options.my[1]==='center')position.top-=elemHeight/2;}position.left+=myOffset[0];position.top+=myOffset[1];const collisionPosition={marginLeft,marginTop};$.each(['left','top'],function(i,dir){if(collisions[collision[i]])collisions[collision[i]][dir](position,{targetWidth,targetHeight,elemWidth,elemHeight,collisionPosition,collisionWidth,collisionHeight,offset:[atOffset[0]+myOffset[0],atOffset[1]+myOffset[1]],my:options.my,at:options.at,within,elem});});if(options.using)using=function(props){const left=targetOffset.left-position.left;const right=left+targetWidth-elemWidth;const top=targetOffset.top-position.top;const bottom=top+targetHeight-elemHeight;const feedback={target:{element:target,left:targetOffset.left,top:targetOffset.top,width:targetWidth,height:targetHeight},element:{element:elem,left:position.left,top:position.top,width:elemWidth,height:elemHeight},horizontal:right<0?'left':left>0?'right':'center',vertical:bottom<0?'top':top>0?'bottom':'middle'};if(targetWidth<elemWidth&&abs(left+right)<targetWidth)feedback.horizontal='center';if(targetHeight<elemHeight&&abs(top+bottom)<targetHeight)feedback.vertical='middle';if(max(abs(left),abs(right))>max(abs(top),abs(bottom)))feedback.important='horizontal';else feedback.important='vertical';options.using.call(this,props,feedback);};elem.offset($.extend(position,{using}));});};if(!$.hasOwnProperty('ui'))$.ui={};$.ui.position=collisions;})(jQuery);; 7(function($,Drupal,once){if(once('drupal-dialog-deprecation-listener','html').length){const eventSpecial={handle($event){const $element=$($event.target);const event=$event.originalEvent;const dialog=event.dialog;const dialogArguments=[$event,dialog,$element,event?.settings];$event.handleObj.handler.apply(this,dialogArguments);}};$.event.special['dialog:beforecreate']=eventSpecial;$.event.special['dialog:aftercreate']=eventSpecial;$.event.special['dialog:beforeclose']=eventSpecial;$.event.special['dialog:afterclose']=eventSpecial;const listenDialogEvent=(event)=>{const windowEvents=$._data(window,'events');const isWindowHasDialogListener=windowEvents[event.type];if(isWindowHasDialogListener)Drupal.deprecationError({message:`jQuery event ${event.type} is deprecated in 10.3.0 and is removed from Drupal:12.0.0. See https://www.drupal.org/node/3422670`});};['dialog:beforecreate','dialog:aftercreate','dialog:beforeclose','dialog:afterclose'].forEach((e)=>window.addEventListener(e,listenDialogEvent));}})(jQuery,Drupal,once);;
8class DrupalDialogEvent extends Event{constructor(type,dialog,settings=null){super(`dialog:${type}`,{bubbles:true});this.dialog=dialog;this.settings=settings;}}(function($,Drupal,drupalSettings,bodyScrollLock){drupalSettings.dialog={autoOpen:true,dialogClass:'',buttonClass:'button',buttonPrimaryClass:'button--primary',close(event){Drupal.dialog(event.target).close();Drupal.detachBehaviors(event.target,null,'unload');}};Drupal.dialog=function(element,options){let undef;const $element=$(element);const domElement=$element.get(0);const dialog={open:false,returnValue:undef};function openDialog(settings){settings=$.extend({},drupalSettings.dialog,options,settings);const event=new DrupalDialogEvent('beforecreate',dialog,settings);domElement.dispatchEvent(event);$element.dialog(event.settings);dialog.open=true;if(event.settings.modal)bodyScrollLock.lock(domElement);domElement.dispatchEvent(new DrupalDialogEvent('aftercreate',dialog,event.settings));}function closeDialog(value){domElement.dispatchEvent(new DrupalDialogEvent('beforeclose',dialog));bodyScrollLock.clearBodyLocks();$element.dialog('close');dialog.returnValue=value;dialog.open=false;domElement.dispatchEvent(new DrupalDialogEvent('afterclose',dialog));}dialog.show=()=>{openDialog({modal:false});};dialog.showModal=()=>{openDialog({modal:true});};dialog.close=closeDialog;return dialog;};})(jQuery,Drupal,drupalSettings,bodyScrollLock);; 9(function($,Drupal,drupalSettings,debounce,displace){drupalSettings.dialog=$.extend({autoResize:true,maxHeight:'95%'},drupalSettings.dialog);function resetPosition(options){const offsets=displace.offsets;const left=offsets.left-offsets.right;const top=offsets.top-offsets.bottom;const leftString=`${(left>0?'+':'-')+Math.abs(Math.round(left/2))}px`;const topString=`${(top>0?'+':'-')+Math.abs(Math.round(top/2))}px`;options.position={my:`center${left!==0?leftString:''} center${top!==0?topString:''}`,of:window};return options;}function resetSize(event){const positionOptions=['width','height','minWidth','minHeight','maxHeight','maxWidth','position'];let adjustedOptions={};let windowHeight=$(window).height();let option;let optionValue;let adjustedValue;for(let n=0;n<positionOptions.length;n++){option=positionOptions[n];optionValue=event.data.settings[option];if(optionValue)if(typeof optionValue==='string'&&optionValue.endsWith('%')&&/height/i.test(option)){windowHeight-=displace.offsets.top+displace.offsets.bottom;adjustedValue=parseInt(0.01*parseInt(optionValue,10)*windowHeight,10);if(option==='height'&&Math.round(event.data.$element.parent().outerHeight())<adjustedValue)adjustedValue='auto';adjustedOptions[option]=adjustedValue;}}if(!event.data.settings.modal)adjustedOptions=resetPosition(adjustedOptions);event.data.$element.dialog('option',adjustedOptions);event.data.$element?.get(0)?.dispatchEvent(new CustomEvent('dialogContentResize',{bubbles:true}));}window.addEventListener('dialog:aftercreate',(e)=>{const autoResize=debounce(resetSize,20);const $element=$(e.target);const {settings}=e;const eventData={settings,$element};if(settings.autoResize===true||settings.autoResize==='true'){const uiDialog=$element.dialog('option',{resizable:false,draggable:false}).dialog('widget');uiDialog[0].style.position='fixed';$(window).on('resize.dialogResize scroll.dialogResize',eventData,autoResize).trigger('resize.dialogResize');$(document).on('drupalViewportOffsetChange.dialogResize',eventData,autoResize);}});window.addEventListener('dialog:beforeclose',()=>{$(window).off('.dialogResize');$(document).off('.dialogResize');});})(jQuery,Drupal,drupalSettings,Drupal.debounce,Drupal.displace);; 10(function($,{tabbable,isTabbable}){$.widget('ui.dialog',$.ui.dialog,{options:{buttonClass:'button',buttonPrimaryClass:'button--primary'},_createButtons(){const opts=this.options;let primaryIndex;let index;const il=opts.buttons.length;for(index=0;index<il;index++)if(opts.buttons[index].primary&&opts.buttons[index].primary===true){primaryIndex=index;delete opts.buttons[index].primary;break;}this._super();const $buttons=this.uiButtonSet.children().addClass(opts.buttonClass);if(typeof primaryIndex!=='undefined')$buttons.eq(index).addClass(opts.buttonPrimaryClass);},_focusTabbable(){let hasFocus=this._focusedElement?this._focusedElement.get(0):null;if(!hasFocus)hasFocus=this.element.find('[autofocus]').get(0);if(!hasFocus){const $elements=[this.element,this.uiDialogButtonPane];for(let i=0;i<$elements.length;i++){const element=$elements[i].get(0);if(element){const elementTabbable=tabbable(element);hasFocus=elementTabbable.length?elementTabbable[0]:null;}if(hasFocus)break;}}if(!hasFocus){const closeBtn=this.uiDialogTitlebarClose.get(0);hasFocus=closeBtn&&isTabbable(closeBtn)?closeBtn:null;}if(!hasFocus)hasFocus=this.uiDialog.get(0);$(hasFocus).eq(0).trigger('focus');}});})(jQuery,window.tabbable);; 11(($)=>{$.widget('ui.dialog',$.ui.dialog,{_allowInteraction(event){if(event.target.classList===undefined)return this._super(event);return event.target.classList.contains('ck')||this._super(event);}});})(jQuery);; 12(function($,Drupal,{focusable}){Drupal.behaviors.dialog={attach(context,settings){const $context=$(context);if(!$('#drupal-modal').length)$('<div id="drupal-modal" class="ui-front"></div>').hide().appendTo('body');const $dialog=$context.closest('.ui-dialog-content');if($dialog.length){if($dialog.dialog('option','drupalAutoButtons'))$dialog.trigger('dialogButtonsChange');setTimeout(function(){if(!$dialog[0].contains(document.activeElement)){$dialog.dialog('instance')._focusedElement=null;$dialog.dialog('instance')._focusTabbable();}},0);}const originalClose=settings.dialog.close;settings.dialog.close=function(event,...args){originalClose.apply(settings.dialog,[event,...args]);const $element=$(event.target);const ajaxContainer=$element.data('uiDialog')?$element.data('uiDialog').opener.closest('[data-drupal-ajax-container]'):[];if(ajaxContainer.length&&(document.activeElement===document.body||$(document.activeElement).not(':visible'))){const focusableChildren=focusable(ajaxContainer[0]);if(focusableChildren.length>0)setTimeout(()=>{focusableChildren[0].focus();}
12,0);}$(event.target).remove();};},prepareDialogButtons($dialog){const buttons=[];const $buttons=$dialog.find('.form-actions input[type=submit], .form-actions a.button, .form-actions a.action-link');$buttons.each(function(){const $originalButton=$(this);this.style.display='none';buttons.push({text:$originalButton.html()||$originalButton.attr('value'),class:$originalButton.attr('class'),'data-once':$originalButton.data('once'),click(e){if($originalButton[0].tagName==='A')$originalButton[0].click();else $originalButton.trigger('mousedown').trigger('mouseup').trigger('click');e.preventDefault();}});});return buttons;}};Drupal.AjaxCommands.prototype.openDialog=function(ajax,response,status){if(!response.selector)return false;let $dialog=$(response.selector);if(!$dialog.length)$dialog=$(`<div id="${response.selector.replace(/^#/,'')}" class="ui-front"></div>`).appendTo('body');if(!ajax.wrapper)ajax.wrapper=$dialog.attr('id');response.command='insert';response.method='html';ajax.commands.insert(ajax,response,status);response.dialogOptions=response.dialogOptions||{};if(typeof response.dialogOptions.drupalAutoButtons==='undefined')response.dialogOptions.drupalAutoButtons=true;else if(response.dialogOptions.drupalAutoButtons==='false')response.dialogOptions.drupalAutoButtons=false;else response.dialogOptions.drupalAutoButtons=!!response.dialogOptions.drupalAutoButtons;if(!response.dialogOptions.buttons&&response.dialogOptions.drupalAutoButtons)response.dialogOptions.buttons=Drupal.behaviors.dialog.prepareDialogButtons($dialog);$dialog.on('dialogButtonsChange',()=>{const buttons=Drupal.behaviors.dialog.prepareDialogButtons($dialog);$dialog.dialog('option','buttons',buttons);});response.dialogOptions=response.dialogOptions||{};const dialog=Drupal.dialog($dialog.get(0),response.dialogOptions);if(response.dialogOptions.modal)dialog.showModal();else dialog.show();$dialog.parent().find('.ui-dialog-buttonset').addClass('form-actions');};Drupal.AjaxCommands.prototype.closeDialog=function(ajax,response,status){const $dialog=$(response.selector);if($dialog.length){Drupal.dialog($dialog.get(0)).close();if(!response.persist)$dialog.remove();}$dialog.off('dialogButtonsChange');};Drupal.AjaxCommands.prototype.setDialogOption=function(ajax,response,status){const $dialog=$(response.selector);if($dialog.length)$dialog.dialog('option',response.optionName,response.optionValue);};window.addEventListener('dialog:aftercreate',(event)=>{const $element=$(event.target);const dialog=event.dialog;$element.on('click.dialog','.dialog-cancel',(e)=>{dialog.close('cancel');e.preventDefault();e.stopPropagation();});});window.addEventListener('dialog:beforeclose',(e)=>{const $element=$(e.target);$element.off('.dialog');});Drupal.AjaxCommands.prototype.openModalDialogWithUrl=function(ajax,response){const dialogOptions=response.dialogOptions||{};const elementSettings={progress:{type:'throbber'},dialogType:'modal',dialog:dialogOptions,url:response.url,httpMethod:'GET'};Drupal.ajax(elementSettings).execute();};})(jQuery,Drupal,window.tabbable);; 13(function($,Drupal,once,tabbable){if($.ui&&$.ui.dialog&&$.ui.dialog.prototype._allowInteraction){var _allowInteraction=$.ui.dialog.prototype._allowInteraction;$.ui.dialog.prototype._allowInteraction=function(event){if($(event.target).closest('.cke_dialog').length)return true;return _allowInteraction.apply(this,arguments);};}Drupal.behaviors.webformDialogEvents={attach:function(){if(once('webform-dialog','html').length)$(window).on({'dialog:aftercreate':function(event,dialog,$element,settings){setTimeout(function(){const tabbableElements=tabbable.tabbable($element.get(0));var hasFocus=$element.find("[autofocus]");if(!hasFocus.length){hasFocus=tabbableElements.filter((element)=>{return (element.tagName.toLowerCase()==="input"&&element.type!=="button");});hasFocus=$(hasFocus);}if(!hasFocus.length)hasFocus=$element.parent().find('.ui-dialog-titlebar-close');hasFocus.eq(0).trigger('focus');});}});}};})(jQuery,Drupal,once,tabbable);; 14(function($,Drupal,drupalSettings,once){Drupal.webform=Drupal.webform||{};Drupal.webform.dialog=Drupal.webform.dialog||{};Drupal.webform.dialog.options=Drupal.webform.dialog.options||{};Drupal.webformOpenDialog=function(url,type){var $div=$('<div><a href="'+url+'" class="webform-dialog '+type+'"></a></div>');Drupal.behaviors.webformDialog.attach($div.get(0));$div.find('a').trigger('click');};Drupal.behaviors.webformDialog={attach(context){$(once('webform-dialog','a.webform-dialog',context)).each(function(){var $a=$(this);var options=$.extend({},Drupal.webform.dialog.options);if($a.attr('class').match(/webform-dialog-([a-z0-9_]+)/)){var dialogOptionsName=RegExp.$1;if(drupalSettings.webform.dialog.options[dialogOptionsName]){options=drupalSettings.webform.dialog.options[dialogOptionsName];delete options.title;}}if($(this).data('dialog-options'))$.extend(options,$(this).data('dialog-options'));var href=$a.attr('href');if(href.indexOf('?source_entity_type=ENTITY_TYPE&source_entity_id=ENTITY_ID')!==-1){if(drupalSettings.webform.dialog.entity_type&&drupalSettings.webform.dialog.entity_id){href=href.replace('ENTITY_TYPE',encodeURIComponent(drupalSettings.webform.dialog.entity_type));href=href.replace('ENTITY_ID',encodeURIComponent(drupalSettings.webform.dialog.entity_id));}else href=href.replace('?source_entity_type=ENTITY_TYPE&source_entity_id=ENTITY_ID','');$a.attr('href',href);}href+=(href.indexOf('?')===-1?'?':'&')+'_webform_dialog=1';var element_settings={};element_settings.progress={type:'fullscreen'};element_settings.url=href;element_settings.event='touchstart click';element_settings.dialogType=$a.data('dialog-type')||'modal';element_settings.dialog=options;element_settings.element=this;element_settings.error=function error(xmlhttp,uri){if(xmlhttp.status===403)window.location.replace(href.split('?')[0]);};Drupal.ajax(element_settings);});}};})(jQuery,Drupal,drupalSettings,once);;
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.