{"id":13758,"date":"2026-10-03T16:04:44","date_gmt":"2026-10-03T13:04:44","guid":{"rendered":"https:\/\/qatarse.org\/new\/training-development-qse\/"},"modified":"2026-11-29T13:30:25","modified_gmt":"2026-11-29T10:30:25","slug":"programs-activities-qse","status":"publish","type":"page","link":"https:\/\/qatarse.org\/en\/programs-activities-qse\/","title":{"rendered":"programs-activities-qse"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"13758\" class=\"elementor elementor-13758\">\n\t\t\t\t<div class=\"elementor-element elementor-element-aee1fe6 e-con-full e-flex wcf-starter-animations-none e-con e-parent\" data-id=\"aee1fe6\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;wcf_enable_cursor_hover_effect_text&quot;:&quot;View&quot;,&quot;wcf-animation&quot;:&quot;none&quot;,&quot;wcf_enable_pin_area&quot;:&quot;no&quot;,&quot;aae_enable_header_sticky_area&quot;:&quot;no&quot;,&quot;wcf_enable_horizontal_scroll&quot;:&quot;no&quot;}\">\n\t\t<div class=\"elementor-element elementor-element-4518c12 e-con-full qse-language-hero e-flex wcf-starter-animations-none e-con e-child\" data-id=\"4518c12\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;wcf_enable_cursor_hover_effect_text&quot;:&quot;View&quot;,&quot;wcf-animation&quot;:&quot;none&quot;,&quot;wcf_enable_pin_area&quot;:&quot;no&quot;,&quot;aae_enable_header_sticky_area&quot;:&quot;no&quot;,&quot;wcf_enable_horizontal_scroll&quot;:&quot;no&quot;}\">\n\t\t<div class=\"elementor-element elementor-element-8ddf948 e-con-full e-flex wcf-starter-animations-none e-con e-child\" data-id=\"8ddf948\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;wcf_enable_cursor_hover_effect_text&quot;:&quot;View&quot;,&quot;wcf-animation&quot;:&quot;none&quot;,&quot;wcf_enable_pin_area&quot;:&quot;no&quot;,&quot;aae_enable_header_sticky_area&quot;:&quot;no&quot;,&quot;wcf_enable_horizontal_scroll&quot;:&quot;no&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-d1a8ff3 wcf-starter-animations-skew-reveal wcf-repeat-no wcf-t-animation-none elementor-widget elementor-widget-heading\" data-id=\"d1a8ff3\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;wcf_starter_animations&quot;:&quot;skew-reveal&quot;,&quot;wcf_anim_duration&quot;:1000,&quot;wcf_anim_delay&quot;:0,&quot;wcf_anim_ease&quot;:&quot;ease&quot;,&quot;wcf_repeat_on_enter&quot;:&quot;no&quot;,&quot;wcf_text_animation&quot;:&quot;none&quot;,&quot;wcf-animation&quot;:&quot;none&quot;}\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-heading-title elementor-size-default\">\u062c\u0645\u0639\u064a\u0629 \u0627\u0644\u0645\u0647\u0646\u062f\u0633\u064a\u0646 \u0627\u0644\u0642\u0637\u0631\u064a\u0629<\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-74bfdc9 elementor-widget__width-initial wcf-starter-animations-skew-reveal elementor-widget-tablet__width-inherit wcf-repeat-no wcf-t-animation-none elementor-widget elementor-widget-heading\" data-id=\"74bfdc9\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;wcf_starter_animations&quot;:&quot;skew-reveal&quot;,&quot;wcf_anim_duration&quot;:2000,&quot;wcf_anim_delay&quot;:0,&quot;wcf_anim_ease&quot;:&quot;ease&quot;,&quot;wcf_repeat_on_enter&quot;:&quot;no&quot;,&quot;wcf_text_animation&quot;:&quot;none&quot;,&quot;wcf-animation&quot;:&quot;none&quot;}\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">\u0627\u0644\u0628\u0631\u0627\u0645\u062c \u0648\u0627\u0644\u0623\u0646\u0634\u0637\u0629\n<\/h1>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-07d5b84 elementor-widget-mobile__width-initial wcf-starter-animations-skew-reveal elementor-widget__width-initial wcf-repeat-no wcf-t-animation-none elementor-widget elementor-widget-text-editor\" data-id=\"07d5b84\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;wcf_starter_animations&quot;:&quot;skew-reveal&quot;,&quot;wcf_anim_duration&quot;:2000,&quot;wcf_anim_delay&quot;:0,&quot;wcf_anim_ease&quot;:&quot;ease&quot;,&quot;wcf_repeat_on_enter&quot;:&quot;no&quot;,&quot;wcf_text_animation&quot;:&quot;none&quot;,&quot;wcf-animation&quot;:&quot;none&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>\u0645\u0633\u0627\u062d\u0629 \u062a\u062c\u0645\u0639 \u0627\u0644\u062e\u0628\u0631\u0627\u062a\u060c \u0648\u062a\u0641\u062a\u062d \u0622\u0641\u0627\u0642\u064b\u0627 \u062c\u062f\u064a\u062f\u0629 \u0644\u0644\u062a\u0648\u0627\u0635\u0644 \u0648\u0627\u0644\u062a\u0639\u0644\u0645.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div data-backword-pin-end-trigger=\"body\" class=\"elementor-element elementor-element-d82770e e-con-full qse-section-nav e-flex wcf-starter-animations-none e-con e-child\" data-id=\"d82770e\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;wcf_enable_cursor_hover_effect_text&quot;:&quot;View&quot;,&quot;wcf_enable_pin_area&quot;:&quot;yes&quot;,&quot;wcf_pin_end_trigger_type&quot;:&quot;custom&quot;,&quot;wcf_pin_end_trigger&quot;:&quot;body&quot;,&quot;wcf_enable_pin_area_mobile&quot;:&quot;no&quot;,&quot;aae_enable_header_sticky_area_mobile&quot;:&quot;no&quot;,&quot;wcf-animation&quot;:&quot;none&quot;,&quot;wcf_pin_status&quot;:&quot;true&quot;,&quot;wcf_pin_area_start&quot;:&quot;top top&quot;,&quot;wcf_pin_area_end&quot;:&quot;bottom bottom&quot;,&quot;wcf_pin_spacing&quot;:&quot;false&quot;,&quot;wcf_pin_markers&quot;:&quot;false&quot;,&quot;aae_enable_header_sticky_area&quot;:&quot;no&quot;,&quot;wcf_enable_horizontal_scroll&quot;:&quot;no&quot;}\">\n\t\t<div class=\"elementor-element elementor-element-7065c17 e-flex e-con-boxed wcf-starter-animations-none e-con e-child\" data-id=\"7065c17\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;wcf_enable_cursor_hover_effect_text&quot;:&quot;View&quot;,&quot;wcf-animation&quot;:&quot;none&quot;,&quot;wcf_enable_pin_area&quot;:&quot;no&quot;,&quot;aae_enable_header_sticky_area&quot;:&quot;no&quot;,&quot;wcf_enable_horizontal_scroll&quot;:&quot;no&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-026a0d0 elementor-widget-mobile__width-initial qse-activities elementor-view-default elementor-position-block-start elementor-mobile-position-block-start elementor-widget elementor-widget-icon-box\" data-id=\"026a0d0\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;wcf-animation&quot;:&quot;none&quot;}\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<a href=\"#activities\" class=\"elementor-icon\" tabindex=\"-1\" aria-label=\"\u0627\u0644\u0641\u0639\u0627\u0644\u064a\u0627\u062a \u0648 \u0627\u0644\u0623\u0646\u0634\u0637\u0629\">\n\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-far-calendar-alt\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z\"><\/path><\/svg>\t\t\t\t<\/a>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<a href=\"#activities\" >\n\t\t\t\t\t\t\t\u0627\u0644\u0641\u0639\u0627\u0644\u064a\u0627\u062a \u0648 \u0627\u0644\u0623\u0646\u0634\u0637\u0629\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-5d9ec22 e-con-full e-flex wcf-starter-animations-none e-con e-child\" data-id=\"5d9ec22\" data-element_type=\"container\" data-e-type=\"container\" id=\"activities\" data-settings=\"{&quot;wcf_enable_cursor_hover_effect_text&quot;:&quot;View&quot;,&quot;wcf-animation&quot;:&quot;none&quot;,&quot;wcf_enable_pin_area&quot;:&quot;no&quot;,&quot;aae_enable_header_sticky_area&quot;:&quot;no&quot;,&quot;wcf_enable_horizontal_scroll&quot;:&quot;no&quot;}\">\n\t\t<div class=\"elementor-element elementor-element-d9f7446 e-con-full e-flex wcf-starter-animations-none e-con e-child\" data-id=\"d9f7446\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;wcf_enable_cursor_hover_effect_text&quot;:&quot;View&quot;,&quot;wcf-animation&quot;:&quot;none&quot;,&quot;wcf_enable_pin_area&quot;:&quot;no&quot;,&quot;aae_enable_header_sticky_area&quot;:&quot;no&quot;,&quot;wcf_enable_horizontal_scroll&quot;:&quot;no&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-4bc5845 elementor-widget__width-inherit wcf-starter-animations-scale-up wcf-repeat-no wcf-t-animation-none elementor-widget elementor-widget-heading\" data-id=\"4bc5845\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;wcf_starter_animations&quot;:&quot;scale-up&quot;,&quot;wcf_anim_duration&quot;:2000,&quot;wcf_anim_delay&quot;:0,&quot;wcf_anim_ease&quot;:&quot;ease&quot;,&quot;wcf_repeat_on_enter&quot;:&quot;no&quot;,&quot;wcf_text_animation&quot;:&quot;none&quot;,&quot;wcf-animation&quot;:&quot;none&quot;}\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-heading-title elementor-size-default\"> \u0646\u0644\u062a\u0642\u064a \u0648 \u0646\u062a\u0628\u0627\u062f\u0644 \u0627\u0644\u0645\u0639\u0631\u0641\u0629<\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e0bdbe3 elementor-widget__width-inherit qse-main-filter-row elementor-widget elementor-widget-ucaddon_ue_buttons_post_filter\" data-id=\"e0bdbe3\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;wcf-animation&quot;:&quot;fade&quot;,&quot;aae_method&quot;:&quot;from&quot;,&quot;aae_trigger&quot;:&quot;on_scroll&quot;,&quot;delay&quot;:0.15,&quot;fade-from&quot;:&quot;bottom&quot;,&quot;data-duration&quot;:1.5,&quot;ease&quot;:&quot;power2.out&quot;,&quot;fade-offset&quot;:50}\" data-widget_type=\"ucaddon_ue_buttons_post_filter.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\n<!-- start Tabs Filter -->\n\t\t<link id='font-awesome-css' href='https:\/\/qatarse.org\/wp-content\/plugins\/unlimited-elements-for-elementor\/assets_libraries\/font-awesome6\/fontawesome-all.min.css' type='text\/css' rel='stylesheet' >\n\t\t<link id='font-awesome-4-shim-css' href='https:\/\/qatarse.org\/wp-content\/plugins\/unlimited-elements-for-elementor\/assets_libraries\/font-awesome6\/fontawesome-v4-shims.min.css' type='text\/css' rel='stylesheet' >\n\n<style>\/* widget: Tabs Filter *\/\n\n#uc_ue_buttons_post_filter_elementor_e0bdbe3{\n  min-height: 1px;\n  position: relative;\n}\n\n\n#uc_ue_buttons_post_filter_elementor_e0bdbe3.uc-filter-initing{\n    opacity:0.8;\n    cursor:default;\n}\n\n#uc_ue_buttons_post_filter_elementor_e0bdbe3 .ue-debug-meta{\n  font-size:10px;\n  border:1px solid red;\n  padding:10px;\n}\n\n#uc_ue_buttons_post_filter_elementor_e0bdbe3 .ue_taxonomy_image img{\n  display:block;\n}\n\n#uc_ue_buttons_post_filter_elementor_e0bdbe3.ue_taxonomy{\n  flex-wrap: wrap;\n}\n\n#uc_ue_buttons_post_filter_elementor_e0bdbe3 .ue_taxonomy_item{\n  display:block;\n  text-decoration: none;\n}\n\n\n#uc_ue_buttons_post_filter_elementor_e0bdbe3 .uc-item-hidden{\n\tdisplay:none !important;\n}\n\n\n#uc_ue_buttons_post_filter_elementor_e0bdbe3.uc-filter-initing a{\n   cursor:default;\n   background-color:lightgray !important;\n}\n\n#uc_ue_buttons_post_filter_elementor_e0bdbe3.uc-filter-initing .ue_taxonomy_item_content{\n\tvisibility:hidden;\n}\n\n\n#uc_ue_buttons_post_filter_elementor_e0bdbe3.uc-filter-hidden,\n#uc_ue_buttons_post_filter_elementor_e0bdbe3.uc-filter-initing.uc-initing-filter-hidden{\n  display:none !important;\n}\n\n\n#uc_ue_buttons_post_filter_elementor_e0bdbe3 .ue_taxonomy_item_content{\n  display:flex;\n  align-items:center;\n}\n\n#uc_ue_buttons_post_filter_elementor_e0bdbe3 .ue_taxonomy_item_icon{\n  flex-grow:0;\n  flex-shrink:0;\n}\n\n#uc_ue_buttons_post_filter_elementor_e0bdbe3 .ue_taxonomy_item_icon_spacer{\n  flex-grow:0;\n  flex-shrink:0;\n}\n\n#uc_ue_buttons_post_filter_elementor_e0bdbe3 .ue_taxonomy_item_num_posts{\n  flex-grow:0;\n  flex-shrink:0;\n}\n\n#uc_ue_buttons_post_filter_elementor_e0bdbe3 .ue_taxonomy_item_title{\n  flex-grow:1;\n}\n\n\n#uc_ue_buttons_post_filter_elementor_e0bdbe3 .ue_taxonomy_item_num_posts_spacer{\n  flex-grow:0;\n  flex-shrink:0;\n}\n\n#uc_ue_buttons_post_filter_elementor_e0bdbe3 .uc-hide-loading-item{\n\tdisplay:none !important;\n}\n\n#uc_ue_buttons_post_filter_elementor_e0bdbe3-toggle{\n  display:none;\n}\n\n#uc_ue_buttons_post_filter_elementor_e0bdbe3-toggle .#uc_ue_buttons_post_filter_elementor_e0bdbe3-toggle{\n  display:none;\n}\n\n#uc_ue_buttons_post_filter_elementor_e0bdbe3-toggle .ue_taxonomy_toggle_icon{\n  display:inline-flex;\n  align-items:center;\n  justify-content:center;\n  line-height:1em;\n  cursor:pointer;\n}\n\n#uc_ue_buttons_post_filter_elementor_e0bdbe3-toggle .ue_taxonomy_toggle_icon svg{\n  height:1em;\n  width:1em;\n}\n\n\n#uc_ue_buttons_post_filter_elementor_e0bdbe3-toggle .ue_taxonomy_toggle_icon_close{\n  display:none;\n}\n\n  #uc_ue_buttons_post_filter_elementor_e0bdbe3 .uc-item-all .ue_taxonomy_item_num_posts_spacer,\n  #uc_ue_buttons_post_filter_elementor_e0bdbe3 .uc-item-all .ue_taxonomy_item_num_posts{\n\t \tdisplay:none !important;\n  }\n\n\n\n\n\n<\/style>\n\n    \n\n  <div class=\"ue_taxonomy_toggle\" id=\"uc_ue_buttons_post_filter_elementor_e0bdbe3-toggle\">\n    <div class=\"ue_taxonomy_toggle_icon\">\n      <div class=\"ue_taxonomy_toggle_icon_open\"><i class='fas fa-bars'><\/i><\/div>\n      <div class=\"ue_taxonomy_toggle_icon_close\"><i class='fas fa-times'><\/i><\/div>\n    <\/div>\n  <\/div>\n\n  <div id=\"uc_ue_buttons_post_filter_elementor_e0bdbe3-container\">\n\n  <div id=\"uc_ue_buttons_post_filter_elementor_e0bdbe3\" class=\"ue_taxonomy  uc-grid-filter uc-filter-initing \"  data-isfilter=\"\" data-filtertype=\"terms_list\"  data-initafter=\"true\" style=\"\" data-filtersource=\"terms\">\n\n    \n    \n          \n\n      <a href=\"javascript:void(0)\" class=\"ue_taxonomy_item  uc-item-all uc-selected  uc-filter-item-hidden \"     >\n\n        \n        <div class=\"ue_taxonomy_item_content\">\n                    <span  class=\"ue_taxonomy_item_title\">\u0627\u0644\u0643\u0644<\/span>                  <\/div>\n\n        \n        \n      <\/a>  \n\n    \n          \n\n      <a href=\"javascript:void(0)\" class=\"ue_taxonomy_item   uc-filter-item-hidden uc-is-parent\"  data-id=\"17\" data-type=\"term\" data-slug=\"conferences\" data-taxonomy=\"activity_type\" data-title=\"\u0627\u0644\u0645\u0624\u062a\u0645\u0631\u0627\u062a\" data-key=\"term|activity_type|conferences\"     >\n\n        \n        <div class=\"ue_taxonomy_item_content\">\n                    <span  class=\"ue_taxonomy_item_title\">\u0627\u0644\u0645\u0624\u062a\u0645\u0631\u0627\u062a<\/span>                  <\/div>\n\n        \n        \n      <\/a>  \n\n    \n          \n\n      <a href=\"javascript:void(0)\" class=\"ue_taxonomy_item   uc-filter-item-hidden uc-is-parent\"  data-id=\"18\" data-type=\"term\" data-slug=\"exhibitions\" data-taxonomy=\"activity_type\" data-title=\"\u0627\u0644\u0645\u0639\u0627\u0631\u0636\" data-key=\"term|activity_type|exhibitions\"     >\n\n        \n        <div class=\"ue_taxonomy_item_content\">\n                    <span  class=\"ue_taxonomy_item_title\">\u0627\u0644\u0645\u0639\u0627\u0631\u0636<\/span>                  <\/div>\n\n        \n        \n      <\/a>  \n\n    \n          \n\n      <a href=\"javascript:void(0)\" class=\"ue_taxonomy_item   uc-filter-item-hidden uc-is-parent\"  data-id=\"19\" data-type=\"term\" data-slug=\"engineering-forums\" data-taxonomy=\"activity_type\" data-title=\"\u0627\u0644\u0645\u0644\u062a\u0642\u064a\u0627\u062a \u0648\u0627\u0644\u0648\u0631\u0634 \u0648\u0627\u0644\u0645\u062d\u0627\u0636\u0631\u0627\u062a \u0627\u0644\u0647\u0646\u062f\u0633\u064a\u0629\" data-key=\"term|activity_type|engineering-forums\"     >\n\n        \n        <div class=\"ue_taxonomy_item_content\">\n                    <span  class=\"ue_taxonomy_item_title\">\u0627\u0644\u0645\u0644\u062a\u0642\u064a\u0627\u062a \u0648\u0627\u0644\u0648\u0631\u0634 \u0648\u0627\u0644\u0645\u062d\u0627\u0636\u0631\u0627\u062a \u0627\u0644\u0647\u0646\u062f\u0633\u064a\u0629<\/span>                  <\/div>\n\n        \n        \n      <\/a>  \n\n    \n          \n\n      <a href=\"javascript:void(0)\" class=\"ue_taxonomy_item   uc-filter-item-hidden uc-is-parent\"  data-id=\"20\" data-type=\"term\" data-slug=\"stem\" data-taxonomy=\"activity_type\" data-title=\"STEM\" data-key=\"term|activity_type|stem\"     >\n\n        \n        <div class=\"ue_taxonomy_item_content\">\n                    <span  class=\"ue_taxonomy_item_title\">STEM<\/span>                  <\/div>\n\n        \n        \n      <\/a>  \n\n      \n  <\/div>\n\n  \n  <\/div>\n\n<!-- end Tabs Filter -->\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d19dd09 elementor-widget__width-inherit qse-child-filter-row elementor-widget elementor-widget-ucaddon_ue_buttons_post_filter\" data-id=\"d19dd09\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;wcf-animation&quot;:&quot;fade&quot;,&quot;aae_method&quot;:&quot;from&quot;,&quot;aae_trigger&quot;:&quot;on_scroll&quot;,&quot;delay&quot;:0.15,&quot;fade-from&quot;:&quot;bottom&quot;,&quot;data-duration&quot;:1.5,&quot;ease&quot;:&quot;power2.out&quot;,&quot;fade-offset&quot;:50}\" data-widget_type=\"ucaddon_ue_buttons_post_filter.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\n<!-- start Tabs Filter -->\n\n<style>\/* widget: Tabs Filter *\/\n\n#uc_ue_buttons_post_filter_elementor_d19dd09{\n  min-height: 1px;\n  position: relative;\n}\n\n\n#uc_ue_buttons_post_filter_elementor_d19dd09.uc-filter-initing{\n    opacity:0.8;\n    cursor:default;\n}\n\n#uc_ue_buttons_post_filter_elementor_d19dd09 .ue-debug-meta{\n  font-size:10px;\n  border:1px solid red;\n  padding:10px;\n}\n\n#uc_ue_buttons_post_filter_elementor_d19dd09 .ue_taxonomy_image img{\n  display:block;\n}\n\n#uc_ue_buttons_post_filter_elementor_d19dd09.ue_taxonomy{\n  flex-wrap: wrap;\n}\n\n#uc_ue_buttons_post_filter_elementor_d19dd09 .ue_taxonomy_item{\n  display:block;\n  text-decoration: none;\n}\n\n\n#uc_ue_buttons_post_filter_elementor_d19dd09 .uc-item-hidden{\n\tdisplay:none !important;\n}\n\n\n#uc_ue_buttons_post_filter_elementor_d19dd09.uc-filter-initing a{\n   cursor:default;\n   background-color:lightgray !important;\n}\n\n#uc_ue_buttons_post_filter_elementor_d19dd09.uc-filter-initing .ue_taxonomy_item_content{\n\tvisibility:hidden;\n}\n\n\n#uc_ue_buttons_post_filter_elementor_d19dd09.uc-filter-hidden,\n#uc_ue_buttons_post_filter_elementor_d19dd09.uc-filter-initing.uc-initing-filter-hidden{\n  display:none !important;\n}\n\n\n#uc_ue_buttons_post_filter_elementor_d19dd09 .ue_taxonomy_item_content{\n  display:flex;\n  align-items:center;\n}\n\n#uc_ue_buttons_post_filter_elementor_d19dd09 .ue_taxonomy_item_icon{\n  flex-grow:0;\n  flex-shrink:0;\n}\n\n#uc_ue_buttons_post_filter_elementor_d19dd09 .ue_taxonomy_item_icon_spacer{\n  flex-grow:0;\n  flex-shrink:0;\n}\n\n#uc_ue_buttons_post_filter_elementor_d19dd09 .ue_taxonomy_item_num_posts{\n  flex-grow:0;\n  flex-shrink:0;\n}\n\n#uc_ue_buttons_post_filter_elementor_d19dd09 .ue_taxonomy_item_title{\n  flex-grow:1;\n}\n\n\n#uc_ue_buttons_post_filter_elementor_d19dd09 .ue_taxonomy_item_num_posts_spacer{\n  flex-grow:0;\n  flex-shrink:0;\n}\n\n#uc_ue_buttons_post_filter_elementor_d19dd09 .uc-hide-loading-item{\n\tdisplay:none !important;\n}\n\n#uc_ue_buttons_post_filter_elementor_d19dd09-toggle{\n  display:none;\n}\n\n#uc_ue_buttons_post_filter_elementor_d19dd09-toggle .#uc_ue_buttons_post_filter_elementor_d19dd09-toggle{\n  display:none;\n}\n\n#uc_ue_buttons_post_filter_elementor_d19dd09-toggle .ue_taxonomy_toggle_icon{\n  display:inline-flex;\n  align-items:center;\n  justify-content:center;\n  line-height:1em;\n  cursor:pointer;\n}\n\n#uc_ue_buttons_post_filter_elementor_d19dd09-toggle .ue_taxonomy_toggle_icon svg{\n  height:1em;\n  width:1em;\n}\n\n\n#uc_ue_buttons_post_filter_elementor_d19dd09-toggle .ue_taxonomy_toggle_icon_close{\n  display:none;\n}\n\n  #uc_ue_buttons_post_filter_elementor_d19dd09 .uc-item-all .ue_taxonomy_item_num_posts_spacer,\n  #uc_ue_buttons_post_filter_elementor_d19dd09 .uc-item-all .ue_taxonomy_item_num_posts{\n\t \tdisplay:none !important;\n  }\n\n\n\n\n\n<\/style>\n\n    \n\n  <div class=\"ue_taxonomy_toggle\" id=\"uc_ue_buttons_post_filter_elementor_d19dd09-toggle\">\n    <div class=\"ue_taxonomy_toggle_icon\">\n      <div class=\"ue_taxonomy_toggle_icon_open\"><i class='fas fa-bars'><\/i><\/div>\n      <div class=\"ue_taxonomy_toggle_icon_close\"><i class='fas fa-times'><\/i><\/div>\n    <\/div>\n  <\/div>\n\n  <div id=\"uc_ue_buttons_post_filter_elementor_d19dd09-container\">\n\n  <div id=\"uc_ue_buttons_post_filter_elementor_d19dd09\" class=\"ue_taxonomy  uc-grid-filter \"  data-isfilter=\"\" data-filtertype=\"terms_list\"  style=\"\" data-filtersource=\"terms\">\n\n    \n    \n          \n\n      <a href=\"javascript:void(0)\" class=\"ue_taxonomy_item   uc-is-parent\"  data-id=\"62\" data-type=\"term\" data-slug=\"%d9%85%d8%a4%d8%aa%d9%85%d8%b1-%d9%82%d8%b7%d8%b1-%d9%84%d9%86%d9%85%d8%b0%d8%ac%d8%a9-%d9%85%d8%b9%d9%84%d9%88%d9%85%d8%a7%d8%aa-%d8%a7%d9%84%d8%a8%d9%86%d8%a7%d8%a1-2026\" data-taxonomy=\"conference_section\" data-title=\"\u0645\u0624\u062a\u0645\u0631 \u0642\u0637\u0631 \u0644\u0646\u0645\u0630\u062c\u0629 \u0645\u0639\u0644\u0648\u0645\u0627\u062a \u0627\u0644\u0628\u0646\u0627\u0621 2026\" data-key=\"term|conference_section|%d9%85%d8%a4%d8%aa%d9%85%d8%b1-%d9%82%d8%b7%d8%b1-%d9%84%d9%86%d9%85%d8%b0%d8%ac%d8%a9-%d9%85%d8%b9%d9%84%d9%88%d9%85%d8%a7%d8%aa-%d8%a7%d9%84%d8%a8%d9%86%d8%a7%d8%a1-2026\"     >\n\n        \n        <div class=\"ue_taxonomy_item_content\">\n                    <span  class=\"ue_taxonomy_item_title\">\u0645\u0624\u062a\u0645\u0631 \u0642\u0637\u0631 \u0644\u0646\u0645\u0630\u062c\u0629 \u0645\u0639\u0644\u0648\u0645\u0627\u062a \u0627\u0644\u0628\u0646\u0627\u0621 2026<\/span>                  <\/div>\n\n        \n        \n      <\/a>  \n\n    \n          \n\n      <a href=\"javascript:void(0)\" class=\"ue_taxonomy_item   uc-is-parent\"  data-id=\"26\" data-type=\"term\" data-slug=\"%d9%85%d8%a4%d8%aa%d9%85%d8%b1-%d9%82%d8%b7%d8%b1-%d8%a7%d9%84%d8%af%d9%88%d9%84%d9%8a-%d9%84%d8%a5%d8%af%d8%a7%d8%b1%d8%a9-%d8%a7%d9%84%d9%85%d8%b1%d8%a7%d9%81%d9%82-2025\" data-taxonomy=\"conference_section\" data-title=\"\u0645\u0624\u062a\u0645\u0631 \u0642\u0637\u0631 \u0627\u0644\u062f\u0648\u0644\u064a \u0644\u0625\u062f\u0627\u0631\u0629 \u0627\u0644\u0645\u0631\u0627\u0641\u0642 2025\" data-key=\"term|conference_section|%d9%85%d8%a4%d8%aa%d9%85%d8%b1-%d9%82%d8%b7%d8%b1-%d8%a7%d9%84%d8%af%d9%88%d9%84%d9%8a-%d9%84%d8%a5%d8%af%d8%a7%d8%b1%d8%a9-%d8%a7%d9%84%d9%85%d8%b1%d8%a7%d9%81%d9%82-2025\"     >\n\n        \n        <div class=\"ue_taxonomy_item_content\">\n                    <span  class=\"ue_taxonomy_item_title\">\u0645\u0624\u062a\u0645\u0631 \u0642\u0637\u0631 \u0627\u0644\u062f\u0648\u0644\u064a \u0644\u0625\u062f\u0627\u0631\u0629 \u0627\u0644\u0645\u0631\u0627\u0641\u0642 2025<\/span>                  <\/div>\n\n        \n        \n      <\/a>  \n\n    \n          \n\n      <a href=\"javascript:void(0)\" class=\"ue_taxonomy_item   uc-is-parent\"  data-id=\"25\" data-type=\"term\" data-slug=\"%d9%85%d8%a4%d8%aa%d9%85%d8%b1-%d9%88%d9%85%d8%b9%d8%b1%d8%b6-%d8%a8%d9%86%d8%a7%d8%a1-%d9%88%d8%b5%d9%8a%d8%a7%d9%86%d8%a9-%d8%a8%d8%b1%d9%83-%d8%a7%d9%84%d8%b3%d8%a8%d8%a7%d8%ad%d8%a9\" data-taxonomy=\"conference_section\" data-title=\"\u0645\u0624\u062a\u0645\u0631 \u0648\u0645\u0639\u0631\u0636 \u0628\u0646\u0627\u0621 \u0648\u0635\u064a\u0627\u0646\u0629 \u0628\u0631\u0643 \u0627\u0644\u0633\u0628\u0627\u062d\u0629\" data-key=\"term|conference_section|%d9%85%d8%a4%d8%aa%d9%85%d8%b1-%d9%88%d9%85%d8%b9%d8%b1%d8%b6-%d8%a8%d9%86%d8%a7%d8%a1-%d9%88%d8%b5%d9%8a%d8%a7%d9%86%d8%a9-%d8%a8%d8%b1%d9%83-%d8%a7%d9%84%d8%b3%d8%a8%d8%a7%d8%ad%d8%a9\"     >\n\n        \n        <div class=\"ue_taxonomy_item_content\">\n                    <span  class=\"ue_taxonomy_item_title\">\u0645\u0624\u062a\u0645\u0631 \u0648\u0645\u0639\u0631\u0636 \u0628\u0646\u0627\u0621 \u0648\u0635\u064a\u0627\u0646\u0629 \u0628\u0631\u0643 \u0627\u0644\u0633\u0628\u0627\u062d\u0629<\/span>                  <\/div>\n\n        \n        \n      <\/a>  \n\n    \n          \n\n      <a href=\"javascript:void(0)\" class=\"ue_taxonomy_item   uc-is-parent\"  data-id=\"24\" data-type=\"term\" data-slug=\"%d9%85%d8%a4%d8%aa%d9%85%d8%b1-%d8%a7%d9%84%d8%aa%d8%ad%d9%83%d9%8a%d9%85\" data-taxonomy=\"conference_section\" data-title=\"\u0645\u0624\u062a\u0645\u0631 \u0627\u0644\u062a\u062d\u0643\u064a\u0645\" data-key=\"term|conference_section|%d9%85%d8%a4%d8%aa%d9%85%d8%b1-%d8%a7%d9%84%d8%aa%d8%ad%d9%83%d9%8a%d9%85\"     >\n\n        \n        <div class=\"ue_taxonomy_item_content\">\n                    <span  class=\"ue_taxonomy_item_title\">\u0645\u0624\u062a\u0645\u0631 \u0627\u0644\u062a\u062d\u0643\u064a\u0645<\/span>                  <\/div>\n\n        \n        \n      <\/a>  \n\n    \n          \n\n      <a href=\"javascript:void(0)\" class=\"ue_taxonomy_item   uc-is-parent\"  data-id=\"23\" data-type=\"term\" data-slug=\"%d8%a7%d9%84%d9%85%d9%84%d8%aa%d9%82%d9%89-%d8%a7%d9%84%d9%87%d9%86%d8%af%d8%b3%d9%8a-%d8%a7%d9%84%d8%ae%d9%84%d9%8a%d8%ac%d9%8a\" data-taxonomy=\"conference_section\" data-title=\"\u0627\u0644\u0645\u0644\u062a\u0642\u0649 \u0627\u0644\u0647\u0646\u062f\u0633\u064a \u0627\u0644\u062e\u0644\u064a\u062c\u064a\" data-key=\"term|conference_section|%d8%a7%d9%84%d9%85%d9%84%d8%aa%d9%82%d9%89-%d8%a7%d9%84%d9%87%d9%86%d8%af%d8%b3%d9%8a-%d8%a7%d9%84%d8%ae%d9%84%d9%8a%d8%ac%d9%8a\"     >\n\n        \n        <div class=\"ue_taxonomy_item_content\">\n                    <span  class=\"ue_taxonomy_item_title\">\u0627\u0644\u0645\u0644\u062a\u0642\u0649 \u0627\u0644\u0647\u0646\u062f\u0633\u064a \u0627\u0644\u062e\u0644\u064a\u062c\u064a<\/span>                  <\/div>\n\n        \n        \n      <\/a>  \n\n    \n          \n\n      <a href=\"javascript:void(0)\" class=\"ue_taxonomy_item   uc-is-parent\"  data-id=\"22\" data-type=\"term\" data-slug=\"%d9%85%d8%a4%d8%aa%d9%85%d8%b1-%d9%88%d9%85%d8%b9%d8%b1%d8%b6-%d8%a7%d9%84%d9%87%d9%86%d8%af%d8%b3%d8%a9-%d8%a7%d9%84%d8%b1%d9%8a%d8%a7%d8%b6%d9%8a%d8%a9\" data-taxonomy=\"conference_section\" data-title=\"\u0645\u0624\u062a\u0645\u0631 \u0648\u0645\u0639\u0631\u0636 \u0627\u0644\u0647\u0646\u062f\u0633\u0629 \u0627\u0644\u0631\u064a\u0627\u0636\u064a\u0629\" data-key=\"term|conference_section|%d9%85%d8%a4%d8%aa%d9%85%d8%b1-%d9%88%d9%85%d8%b9%d8%b1%d8%b6-%d8%a7%d9%84%d9%87%d9%86%d8%af%d8%b3%d8%a9-%d8%a7%d9%84%d8%b1%d9%8a%d8%a7%d8%b6%d9%8a%d8%a9\"     >\n\n        \n        <div class=\"ue_taxonomy_item_content\">\n                    <span  class=\"ue_taxonomy_item_title\">\u0645\u0624\u062a\u0645\u0631 \u0648\u0645\u0639\u0631\u0636 \u0627\u0644\u0647\u0646\u062f\u0633\u0629 \u0627\u0644\u0631\u064a\u0627\u0636\u064a\u0629<\/span>                  <\/div>\n\n        \n        \n      <\/a>  \n\n    \n          \n\n      <a href=\"javascript:void(0)\" class=\"ue_taxonomy_item   uc-is-parent\"  data-id=\"21\" data-type=\"term\" data-slug=\"%d9%85%d8%a4%d8%aa%d9%85%d8%b1-%d9%88%d9%85%d8%b9%d8%b1%d8%b6-%d9%87%d9%86%d8%af%d8%b3%d8%a9-%d8%a7%d9%84%d9%85%d9%88%d8%a7%d8%b5%d9%84%d8%a7%d8%aa\" data-taxonomy=\"conference_section\" data-title=\"\u0645\u0624\u062a\u0645\u0631 \u0648\u0645\u0639\u0631\u0636 \u0647\u0646\u062f\u0633\u0629 \u0627\u0644\u0645\u0648\u0627\u0635\u0644\u0627\u062a\" data-key=\"term|conference_section|%d9%85%d8%a4%d8%aa%d9%85%d8%b1-%d9%88%d9%85%d8%b9%d8%b1%d8%b6-%d9%87%d9%86%d8%af%d8%b3%d8%a9-%d8%a7%d9%84%d9%85%d9%88%d8%a7%d8%b5%d9%84%d8%a7%d8%aa\"     >\n\n        \n        <div class=\"ue_taxonomy_item_content\">\n                    <span  class=\"ue_taxonomy_item_title\">\u0645\u0624\u062a\u0645\u0631 \u0648\u0645\u0639\u0631\u0636 \u0647\u0646\u062f\u0633\u0629 \u0627\u0644\u0645\u0648\u0627\u0635\u0644\u0627\u062a<\/span>                  <\/div>\n\n        \n        \n      <\/a>  \n\n      \n  <\/div>\n\n  \n  <\/div>\n\n<!-- end Tabs Filter -->\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1b0d0ab qse-activity-posts elementor-widget elementor-widget-ucaddon_post_blocks_qse\" data-id=\"1b0d0ab\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;wcf-animation&quot;:&quot;fade&quot;,&quot;aae_method&quot;:&quot;from&quot;,&quot;aae_trigger&quot;:&quot;on_scroll&quot;,&quot;delay&quot;:0.15,&quot;fade-from&quot;:&quot;bottom&quot;,&quot;data-duration&quot;:1.5,&quot;ease&quot;:&quot;power2.out&quot;,&quot;fade-offset&quot;:50}\" data-widget_type=\"ucaddon_post_blocks_qse.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\n<!-- start Post Blocks - QSE -->\n\n<style>\/* widget: Post Blocks - QSE *\/\n\n\n\n#uc_post_blocks_qse_elementor_1b0d0ab {\n    display:grid;\n}\n#uc_post_blocks_qse_elementor_1b0d0ab .ue_post_blocks_box\n{\n  overflow:hidden;\n}\n\n#uc_post_blocks_qse_elementor_1b0d0ab .ue_post_blocks_image\n{\n  overflow:hidden;\n}\n#uc_post_blocks_qse_elementor_1b0d0ab .ue_post_blocks_image img\n{\n  width:100%;\n  display:block;\n}\n#uc_post_blocks_qse_elementor_1b0d0ab .ue_post_blocks_link a\n{\n  display:inline-block;\n  text-decoration:none;\n  text-align:center;\n}\n\n\n#uc_post_blocks_qse_elementor_1b0d0ab .ue-grid-item-meta-data\n{\n  display:inlin-flex;\n  flex-wrap: wrap;\n}\n\n.ue-grid-item-meta-data\n{\n  font-size:12px;\n}\n\n#uc_post_blocks_qse_elementor_1b0d0ab .ue-grid-item-meta-data-icon\n{\n  line-height:1em;\n}\n\n#uc_post_blocks_qse_elementor_1b0d0ab .ue-grid-item-meta-data-icon svg\n{\n  width:1em;\n  height:1em;\n}\n\n#uc_post_blocks_qse_elementor_1b0d0ab .ue_post_blocks_box{\n  display: flex;\n  flex-direction: column;\n}\n#uc_post_blocks_qse_elementor_1b0d0ab .ue_post_blocks_content{\n display: flex; flex-grow: 1;\n flex-direction: column;\n}\n#uc_post_blocks_qse_elementor_1b0d0ab .ue_post_blocks_link{ margin-top: auto;\n}\n\n.ue-grid-item-category a\n{\n  display:inline-block;\n  font-size:10px;\n  text-transform:uppercase;\n}\n\n\n\n\n<\/style>\n\n<div id=\"uc_post_blocks_qse_elementor_1b0d0ab\" class=\"ue_post_blocks uc-items-wrapper uc-filterable-grid \"  data-ajax='true'  data-filterbehave='ajax'  querydata='{&quot;count_posts&quot;:12,&quot;total_posts&quot;:12,&quot;page&quot;:1,&quot;num_pages&quot;:1,&quot;orderby&quot;:&quot;date&quot;,&quot;orderdir&quot;:&quot;desc&quot;}'>\n    <div\n    class=\"ue_post_blocks_box qse-clean-activity-card\"\n    data-activity-url=\"https:\/\/qatarse.org\/en\/qse-activity\/%d9%85%d8%a4%d8%aa%d9%85%d8%b1-%d9%82%d8%b7%d8%b1-%d9%84%d9%86%d9%85%d8%b0%d8%ac%d8%a9-%d9%85%d8%b9%d9%84%d9%88%d9%85%d8%a7%d8%aa-%d8%a7%d9%84%d8%a8%d9%86%d8%a7%d8%a1-2026\/\"\n>\n\n    \n        <div class=\"ue_post_blocks_image\">\n\n            <a class=\"qse-clean-activity-media-link\">\n\n                <img fetchpriority=\"high\" decoding=\"async\"\n                    src=\"https:\/\/qatarse.org\/wp-content\/uploads\/2026\/10\/063A2464-Edit.jpg-768x512.jpeg\"\n                     src=\"https:\/\/qatarse.org\/wp-content\/uploads\/2026\/10\/063A2464-Edit.jpg-768x512.jpeg\" alt=\"\u0645\u0624\u062a\u0645\u0631 \u0642\u0637\u0631 \u0644\u0646\u0645\u0630\u062c\u0629 \u0645\u0639\u0644\u0648\u0645\u0627\u062a \u0627\u0644\u0628\u0646\u0627\u0621 2026\" width=\"768\" height=\"512\"\n                >\n\n            <\/a>\n\n        <\/div>\n\n    \n\n    <div class=\"ue_post_blocks_content\">\n\n        \n            <div class=\"ue_post_blocks_title\">\n\n                <a>\n                    \u0645\u0624\u062a\u0645\u0631 \u0642\u0637\u0631 \u0644\u0646\u0645\u0630\u062c\u0629 \u0645\u0639\u0644\u0648\u0645\u0627\u062a \u0627\u0644\u0628\u0646\u0627\u0621  2026\n                <\/a>\n\n            <\/div>\n\n        \n    <\/div>\n\n<\/div>\n<div\n    class=\"ue_post_blocks_box qse-clean-activity-card\"\n    data-activity-url=\"https:\/\/qatarse.org\/en\/qse-activity\/%d8%a7%d9%84%d9%85%d8%b9%d8%b1%d8%b6-%d8%a7%d9%84%d8%ab%d9%82%d8%a7%d9%81%d9%8a-%d9%88%d8%a7%d9%84%d9%81%d9%86%d9%8a-%d9%85%d8%a7-%d8%a8%d8%b9%d8%af-%d9%82%d8%b7%d8%b1%d8%a9-%d8%a7%d9%84%d9%86%d9%81\/\"\n>\n\n    \n        <div class=\"ue_post_blocks_image\">\n\n            <a class=\"qse-clean-activity-media-link\">\n\n                <img decoding=\"async\"\n                    src=\"https:\/\/qatarse.org\/wp-content\/uploads\/ac_assets\/uc_article_grid_style_six\/\/no-image.png\"\n                    \n                >\n\n            <\/a>\n\n        <\/div>\n\n    \n\n    <div class=\"ue_post_blocks_content\">\n\n        \n            <div class=\"ue_post_blocks_title\">\n\n                <a>\n                    \u0627\u0644\u0645\u0639\u0631\u0636 \u0627\u0644\u062b\u0642\u0627\u0641\u064a \u0648\u0627\u0644\u0641\u0646\u064a: \u0645\u0627 \u0628\u0639\u062f \u0642\u0637\u0631\u0629 \u0627\u0644\u0646\u0641\u0637 2025\n                <\/a>\n\n            <\/div>\n\n        \n    <\/div>\n\n<\/div>\n<div\n    class=\"ue_post_blocks_box qse-clean-activity-card\"\n    data-activity-url=\"https:\/\/qatarse.org\/en\/qse-activity\/%d9%85%d8%a4%d8%aa%d9%85%d8%b1-%d9%88%d9%85%d8%b9%d8%b1%d8%b6-%d9%82%d8%b7%d8%b1-%d8%a7%d9%84%d8%af%d9%88%d9%84%d9%8a-%d9%84%d8%a5%d8%af%d8%a7%d8%b1%d8%a9%d8%a7%d9%84%d9%85%d8%b1%d8%a7%d9%81%d9%82-202\/\"\n>\n\n    \n        <div class=\"ue_post_blocks_image\">\n\n            <a class=\"qse-clean-activity-media-link\">\n\n                <img decoding=\"async\"\n                    src=\"https:\/\/qatarse.org\/wp-content\/uploads\/2026\/09\/\u0645\u0624\u062a\u0645\u0631-\u0648\u0645\u0639\u0631\u0636-\u0642\u0637\u0631-\u0627\u0644\u062f\u0648\u0644\u064a-\u0644\u0625\u062f\u0627\u0631\u0629-\u0627\u0644\u0645\u0631\u0641\u0642-2-768x483.jpeg\"\n                     src=\"https:\/\/qatarse.org\/wp-content\/uploads\/2026\/09\/\u0645\u0624\u062a\u0645\u0631-\u0648\u0645\u0639\u0631\u0636-\u0642\u0637\u0631-\u0627\u0644\u062f\u0648\u0644\u064a-\u0644\u0625\u062f\u0627\u0631\u0629-\u0627\u0644\u0645\u0631\u0641\u0642-2-768x483.jpeg\" alt=\"\u0645\u0624\u062a\u0645\u0631 \u0648\u0645\u0639\u0631\u0636 \u0642\u0637\u0631 \u0627\u0644\u062f\u0648\u0644\u064a \u0644\u0625\u062f\u0627\u0631\u0629 \u0627\u0644\u0645\u0631\u0627\u0641\u0642\" width=\"768\" height=\"483\"\n                >\n\n            <\/a>\n\n        <\/div>\n\n    \n\n    <div class=\"ue_post_blocks_content\">\n\n        \n            <div class=\"ue_post_blocks_title\">\n\n                <a>\n                    \u0645\u0624\u062a\u0645\u0631 \u0648\u0645\u0639\u0631\u0636 \u0642\u0637\u0631 \u0627\u0644\u062f\u0648\u0644\u064a \u0644\u0625\u062f\u0627\u0631\u0629 \u0627\u0644\u0645\u0631\u0627\u0641\u0642 2025\n                <\/a>\n\n            <\/div>\n\n        \n    <\/div>\n\n<\/div>\n<div\n    class=\"ue_post_blocks_box qse-clean-activity-card\"\n    data-activity-url=\"https:\/\/qatarse.org\/en\/qse-activity\/%d9%85%d8%a4%d8%aa%d9%85%d8%b1-%d9%88%d9%85%d8%b9%d8%b1%d8%b6-%d8%a8%d9%86%d8%a7%d8%a1-%d9%88%d8%b5%d9%8a%d8%a7%d9%86%d8%a9-%d8%a8%d8%b1%d9%83-%d8%a7%d9%84%d8%b3%d8%a8%d8%a7%d8%ad%d8%a9\/\"\n>\n\n    \n        <div class=\"ue_post_blocks_image\">\n\n            <a class=\"qse-clean-activity-media-link\">\n\n                <img decoding=\"async\"\n                    src=\"https:\/\/qatarse.org\/wp-content\/uploads\/2026\/09\/\u0645\u0624\u062a\u0645\u0631-\u0648\u0645\u0639\u0631\u0636-\u0628\u0646\u0627\u0621-\u0648\u0635\u064a\u0627\u0646\u0629-\u0628\u0631\u0643-\u0627\u0644\u0633\u0628\u0627\u062d\u0629.jpeg\"\n                     src=\"https:\/\/qatarse.org\/wp-content\/uploads\/2026\/09\/\u0645\u0624\u062a\u0645\u0631-\u0648\u0645\u0639\u0631\u0636-\u0628\u0646\u0627\u0621-\u0648\u0635\u064a\u0627\u0646\u0629-\u0628\u0631\u0643-\u0627\u0644\u0633\u0628\u0627\u062d\u0629.jpeg\" alt=\"\u0645\u0624\u062a\u0645\u0631 \u0648\u0645\u0639\u0631\u0636 \u0628\u0646\u0627\u0621 \u0648\u0635\u064a\u0627\u0646\u0629 \u0628\u0631\u0643 \u0627\u0644\u0633\u0628\u0627\u062d\u0629\" width=\"399\" height=\"501\"\n                >\n\n            <\/a>\n\n        <\/div>\n\n    \n\n    <div class=\"ue_post_blocks_content\">\n\n        \n            <div class=\"ue_post_blocks_title\">\n\n                <a>\n                    \u0645\u0624\u062a\u0645\u0631 \u0648\u0645\u0639\u0631\u0636 \u0628\u0646\u0627\u0621 \u0648\u0635\u064a\u0627\u0646\u0629 \u0628\u0631\u0643 \u0627\u0644\u0633\u0628\u0627\u062d\u0629\n                <\/a>\n\n            <\/div>\n\n        \n    <\/div>\n\n<\/div>\n<div\n    class=\"ue_post_blocks_box qse-clean-activity-card\"\n    data-activity-url=\"https:\/\/qatarse.org\/en\/qse-activity\/%d9%85%d8%a4%d8%aa%d9%85%d8%b1-%d8%a7%d9%84%d8%aa%d8%ad%d9%83%d9%8a%d9%85\/\"\n>\n\n    \n        <div class=\"ue_post_blocks_image\">\n\n            <a class=\"qse-clean-activity-media-link\">\n\n                <img loading=\"lazy\" decoding=\"async\"\n                    src=\"https:\/\/qatarse.org\/wp-content\/uploads\/2026\/09\/\u0645\u0624\u062a\u0645\u0631-\u0627\u0644\u062a\u062d\u0643\u064a\u0645-2.jpeg\"\n                     src=\"https:\/\/qatarse.org\/wp-content\/uploads\/2026\/09\/\u0645\u0624\u062a\u0645\u0631-\u0627\u0644\u062a\u062d\u0643\u064a\u0645-2.jpeg\" alt=\"\u0645\u0624\u062a\u0645\u0631 \u0627\u0644\u062a\u062d\u0643\u064a\u0645\" width=\"768\" height=\"512\"\n                >\n\n            <\/a>\n\n        <\/div>\n\n    \n\n    <div class=\"ue_post_blocks_content\">\n\n        \n            <div class=\"ue_post_blocks_title\">\n\n                <a>\n                    \u0645\u0624\u062a\u0645\u0631 \u0627\u0644\u062a\u062d\u0643\u064a\u0645\n                <\/a>\n\n            <\/div>\n\n        \n    <\/div>\n\n<\/div>\n<div\n    class=\"ue_post_blocks_box qse-clean-activity-card\"\n    data-activity-url=\"https:\/\/qatarse.org\/en\/qse-activity\/%d8%a7%d9%84%d9%85%d9%84%d8%aa%d9%82%d9%89-%d8%a7%d9%84%d9%87%d9%86%d8%af%d8%b3%d9%8a-%d8%a7%d9%84%d8%ae%d9%84%d9%8a%d8%ac%d9%8a-2\/\"\n>\n\n    \n        <div class=\"ue_post_blocks_image\">\n\n            <a class=\"qse-clean-activity-media-link\">\n\n                <img loading=\"lazy\" decoding=\"async\"\n                    src=\"https:\/\/qatarse.org\/wp-content\/uploads\/2026\/09\/\u0627\u0644\u0645\u0644\u062a\u0642\u064a\u0627\u062a-\u0627\u0644\u0647\u0646\u062f\u0633\u064a\u0647-768x512.jpeg\"\n                     src=\"https:\/\/qatarse.org\/wp-content\/uploads\/2026\/09\/\u0627\u0644\u0645\u0644\u062a\u0642\u064a\u0627\u062a-\u0627\u0644\u0647\u0646\u062f\u0633\u064a\u0647-768x512.jpeg\" alt=\"\u0627\u0644\u0645\u0644\u062a\u0642\u064a\u0627\u062a \u0627\u0644\u0647\u0646\u062f\u0633\u064a\u0647\" width=\"768\" height=\"512\"\n                >\n\n            <\/a>\n\n        <\/div>\n\n    \n\n    <div class=\"ue_post_blocks_content\">\n\n        \n            <div class=\"ue_post_blocks_title\">\n\n                <a>\n                    \u0627\u0644\u0645\u0644\u062a\u0642\u064a\u0627\u062a \u0648\u0627\u0644\u0648\u0631\u0634 \u0648\u0627\u0644\u0645\u062d\u0627\u0636\u0631\u0627\u062a \u0627\u0644\u0647\u0646\u062f\u0633\u064a\u0629\n                <\/a>\n\n            <\/div>\n\n        \n    <\/div>\n\n<\/div>\n<div\n    class=\"ue_post_blocks_box qse-clean-activity-card\"\n    data-activity-url=\"https:\/\/qatarse.org\/en\/qse-activity\/%d9%85%d8%a4%d8%aa%d9%85%d8%b1-%d9%88%d9%85%d8%b9%d8%b1%d8%b6-%d8%a7%d9%84%d9%87%d9%86%d8%af%d8%b3%d8%a9-%d8%a7%d9%84%d8%b1%d9%8a%d8%a7%d8%b6%d9%8a%d8%a9\/\"\n>\n\n    \n        <div class=\"ue_post_blocks_image\">\n\n            <a class=\"qse-clean-activity-media-link\">\n\n                <img loading=\"lazy\" decoding=\"async\"\n                    src=\"https:\/\/qatarse.org\/wp-content\/uploads\/2026\/09\/\u0645\u0624\u062a\u0645\u0631-\u0648\u0645\u0639\u0631\u0636-\u0627\u0644\u0647\u0646\u062f\u0633\u0629-\u0627\u0644\u0631\u064a\u0627\u0636\u064a\u0629-2-768x432.jpeg\"\n                     src=\"https:\/\/qatarse.org\/wp-content\/uploads\/2026\/09\/\u0645\u0624\u062a\u0645\u0631-\u0648\u0645\u0639\u0631\u0636-\u0627\u0644\u0647\u0646\u062f\u0633\u0629-\u0627\u0644\u0631\u064a\u0627\u0636\u064a\u0629-2-768x432.jpeg\" alt=\"\u0645\u0624\u062a\u0645\u0631 \u0648\u0645\u0639\u0631\u0636 \u0627\u0644\u0647\u0646\u062f\u0633\u0629 \u0627\u0644\u0631\u064a\u0627\u0636\u064a\u0629 (2)\" width=\"768\" height=\"432\"\n                >\n\n            <\/a>\n\n        <\/div>\n\n    \n\n    <div class=\"ue_post_blocks_content\">\n\n        \n            <div class=\"ue_post_blocks_title\">\n\n                <a>\n                    \u0645\u0624\u062a\u0645\u0631 \u0648\u0645\u0639\u0631\u0636 \u0627\u0644\u0647\u0646\u062f\u0633\u0629 \u0627\u0644\u0631\u064a\u0627\u0636\u064a\u0629\n                <\/a>\n\n            <\/div>\n\n        \n    <\/div>\n\n<\/div>\n<div\n    class=\"ue_post_blocks_box qse-clean-activity-card\"\n    data-activity-url=\"https:\/\/qatarse.org\/en\/qse-activity\/%d8%a7%d9%84%d9%86%d8%b3%d8%ae%d8%a9-%d8%a7%d9%84%d8%ab%d8%a7%d9%86%d9%8a%d9%87-2026-%d9%81%d9%8a%d8%af%d9%8a%d9%88-%d8%a7%d9%84%d8%a8%d8%b1%d9%86%d8%a7%d9%85%d8%ac\/\"\n>\n\n    \n        <div class=\"ue_post_blocks_image\">\n\n            <a class=\"qse-clean-activity-media-link\">\n\n                <img decoding=\"async\"\n                    src=\"https:\/\/qatarse.org\/wp-content\/uploads\/ac_assets\/uc_article_grid_style_six\/\/no-image.png\"\n                    \n                >\n\n            <\/a>\n\n        <\/div>\n\n    \n\n    <div class=\"ue_post_blocks_content\">\n\n        \n            <div class=\"ue_post_blocks_title\">\n\n                <a>\n                    \u0627\u0644\u0646\u0633\u062e\u0629 \u0627\u0644\u062b\u0627\u0646\u064a\u0629 2026 \u0641\u064a\u062f\u064a\u0648 \u0627\u0644\u0628\u0631\u0646\u0627\u0645\u062c\n                <\/a>\n\n            <\/div>\n\n        \n    <\/div>\n\n<\/div>\n<div\n    class=\"ue_post_blocks_box qse-clean-activity-card\"\n    data-activity-url=\"https:\/\/qatarse.org\/en\/qse-activity\/%d8%a7%d9%84%d9%86%d8%b3%d8%ae%d8%a9-%d8%a7%d9%84%d8%a3%d9%88%d9%84%d9%89-2025-%d9%81%d9%8a%d8%af%d9%8a%d9%88-%d8%a7%d9%84%d8%a8%d8%b1%d9%86%d8%a7%d9%85%d8%ac\/\"\n>\n\n    \n        <div class=\"ue_post_blocks_image\">\n\n            <a class=\"qse-clean-activity-media-link\">\n\n                <img decoding=\"async\"\n                    src=\"https:\/\/qatarse.org\/wp-content\/uploads\/ac_assets\/uc_article_grid_style_six\/\/no-image.png\"\n                    \n                >\n\n            <\/a>\n\n        <\/div>\n\n    \n\n    <div class=\"ue_post_blocks_content\">\n\n        \n            <div class=\"ue_post_blocks_title\">\n\n                <a>\n                    \u0627\u0644\u0646\u0633\u062e\u0629 \u0627\u0644\u0623\u0648\u0644\u0649 2025 \u0641\u064a\u062f\u064a\u0648 \u0627\u0644\u0628\u0631\u0646\u0627\u0645\u062c\n                <\/a>\n\n            <\/div>\n\n        \n    <\/div>\n\n<\/div>\n<div\n    class=\"ue_post_blocks_box qse-clean-activity-card\"\n    data-activity-url=\"https:\/\/qatarse.org\/en\/qse-activity\/%d8%a7%d9%84%d9%85%d9%84%d8%aa%d9%82%d9%89-%d8%a7%d9%84%d9%87%d9%86%d8%af%d8%b3%d9%8a-%d8%a7%d9%84%d8%ae%d9%84%d9%8a%d8%ac%d9%8a\/\"\n>\n\n    \n        <div class=\"ue_post_blocks_image\">\n\n            <a class=\"qse-clean-activity-media-link\">\n\n                <img loading=\"lazy\" decoding=\"async\"\n                    src=\"https:\/\/qatarse.org\/wp-content\/uploads\/2026\/09\/\u0627\u0644\u0645\u0644\u062a\u0642\u0649-\u0627\u0644\u0647\u0646\u062f\u0633\u064a-\u0627\u0644\u062e\u0644\u064a\u062c\u064a-2-768x447.jpeg\"\n                     src=\"https:\/\/qatarse.org\/wp-content\/uploads\/2026\/09\/\u0627\u0644\u0645\u0644\u062a\u0642\u0649-\u0627\u0644\u0647\u0646\u062f\u0633\u064a-\u0627\u0644\u062e\u0644\u064a\u062c\u064a-2-768x447.jpeg\" alt=\"\u0627\u0644\u0645\u0644\u062a\u0642\u0649 \u0627\u0644\u0647\u0646\u062f\u0633\u064a \u0627\u0644\u062e\u0644\u064a\u062c\u064a (2)\" width=\"768\" height=\"447\"\n                >\n\n            <\/a>\n\n        <\/div>\n\n    \n\n    <div class=\"ue_post_blocks_content\">\n\n        \n            <div class=\"ue_post_blocks_title\">\n\n                <a>\n                    \u0627\u0644\u0645\u0644\u062a\u0642\u0649 \u0627\u0644\u0647\u0646\u062f\u0633\u064a \u0627\u0644\u062e\u0644\u064a\u062c\u064a\n                <\/a>\n\n            <\/div>\n\n        \n    <\/div>\n\n<\/div>\n<div\n    class=\"ue_post_blocks_box qse-clean-activity-card\"\n    data-activity-url=\"https:\/\/qatarse.org\/en\/qse-activity\/%d9%85%d8%b9%d8%b1%d8%b6-%d8%a5%d9%83%d8%b3%d8%a8%d9%88-2023\/\"\n>\n\n    \n        <div class=\"ue_post_blocks_image\">\n\n            <a class=\"qse-clean-activity-media-link\">\n\n                <img loading=\"lazy\" decoding=\"async\"\n                    src=\"https:\/\/qatarse.org\/wp-content\/uploads\/2026\/09\/650-\u0627\u0644\u0641-\u0632\u0627\u0626\u0631-\u0644\u0645\u0639\u0631\u0636-\u0625\u0643\u0633\u0628\u0648-2023-768x432.webp\"\n                     src=\"https:\/\/qatarse.org\/wp-content\/uploads\/2026\/09\/650-\u0627\u0644\u0641-\u0632\u0627\u0626\u0631-\u0644\u0645\u0639\u0631\u0636-\u0625\u0643\u0633\u0628\u0648-2023-768x432.webp\" alt=\"650-\u0627\u0644\u0641-\u0632\u0627\u064a\u0654\u0631-\u0644\u0645\u0639\u0631\u0636-\u0627\u0655\u0643\u0633\u0628\u0648-2023\" width=\"768\" height=\"432\"\n                >\n\n            <\/a>\n\n        <\/div>\n\n    \n\n    <div class=\"ue_post_blocks_content\">\n\n        \n            <div class=\"ue_post_blocks_title\">\n\n                <a>\n                    \u0645\u0639\u0631\u0636 \u0625\u0643\u0633\u0628\u0648 2023\n                <\/a>\n\n            <\/div>\n\n        \n    <\/div>\n\n<\/div>\n<div\n    class=\"ue_post_blocks_box qse-clean-activity-card\"\n    data-activity-url=\"https:\/\/qatarse.org\/en\/qse-activity\/%d9%85%d8%a4%d8%aa%d9%85%d8%b1-%d9%88%d9%85%d8%b9%d8%b1%d8%b6-%d9%87%d9%86%d8%af%d8%b3%d8%a9-%d8%a7%d9%84%d9%85%d9%88%d8%a7%d8%b5%d9%84%d8%a7%d8%aa\/\"\n>\n\n    \n        <div class=\"ue_post_blocks_image\">\n\n            <a class=\"qse-clean-activity-media-link\">\n\n                <img loading=\"lazy\" decoding=\"async\"\n                    src=\"https:\/\/qatarse.org\/wp-content\/uploads\/2026\/09\/\u0645\u0624\u062a\u0645\u0631-\u0648\u0645\u0639\u0631\u0636-\u0647\u0646\u062f\u0633\u0629-\u0627\u0644\u0645\u0648\u0627\u0635\u0644\u0627\u062a-2.png\"\n                     src=\"https:\/\/qatarse.org\/wp-content\/uploads\/2026\/09\/\u0645\u0624\u062a\u0645\u0631-\u0648\u0645\u0639\u0631\u0636-\u0647\u0646\u062f\u0633\u0629-\u0627\u0644\u0645\u0648\u0627\u0635\u0644\u0627\u062a-2.png\" alt=\"\u0645\u0624\u062a\u0645\u0631 \u0648\u0645\u0639\u0631\u0636 \u0647\u0646\u062f\u0633\u0629 \u0627\u0644\u0645\u0648\u0627\u0635\u0644\u0627\u062a (2)\" width=\"640\" height=\"480\"\n                >\n\n            <\/a>\n\n        <\/div>\n\n    \n\n    <div class=\"ue_post_blocks_content\">\n\n        \n            <div class=\"ue_post_blocks_title\">\n\n                <a>\n                    \u0645\u0624\u062a\u0645\u0631 \u0648\u0645\u0639\u0631\u0636 \u0647\u0646\u062f\u0633\u0629 \u0627\u0644\u0645\u0648\u0627\u0635\u0644\u0627\u062a\n                <\/a>\n\n            <\/div>\n\n        \n    <\/div>\n\n<\/div>\n\n<\/div>\n<!-- end Post Blocks - QSE -->\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c004fe8 elementor-widget elementor-widget-html\" data-id=\"c004fe8\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;wcf-animation&quot;:&quot;none&quot;}\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<script>\r\n(function ($) {\r\n\r\n    'use strict';\r\n\r\n\r\n    \/* ==========================================================\r\n       01. SETTINGS\r\n    ========================================================== *\/\r\n\r\n    if (window.__qseApprovedActivityLayoutStarted) return;\r\n    window.__qseApprovedActivityLayoutStarted = true;\r\n\r\n    \/\/ TranslatePress changes the <html lang> attribute when a visitor switches\r\n    \/\/ languages. Use its locale rather than translating taxonomy slugs\/IDs.\r\n    const QSE_HTML_LANG = (document.documentElement.getAttribute('lang') || 'ar').replace('-', '_');\r\n    const QSE_IS_EN = \/^en(?:_|$)\/i.test(QSE_HTML_LANG);\r\n    const QSE_API = window.location.origin +\r\n        '\/wp-json\/qse-clean\/activities?qse_lang=' + encodeURIComponent(QSE_HTML_LANG);\r\n\r\n    const QSE_WORDS = QSE_IS_EN ? {\r\n        retry: 'Try again', loadError: 'Unable to load activities. Please try again.',\r\n        loadErrorShort: 'Unable to load activities. Please refresh the page.',\r\n        binding: 'Some activity cards could not be matched to Pods. Check the activity URL, post ID or a unique title.',\r\n        lightbox: 'Activity photo gallery', photo: 'Activity photo',\r\n        prevPhoto: 'Previous photo', nextPhoto: 'Next photo', closeGallery: 'Close gallery',\r\n        galleryExpand: 'Expand gallery', videoPlay: 'Play activity video',\r\n        logoPrev: 'Previous logo', logoNext: 'Next logo', logoAlt: 'Participating organization logo',\r\n        childrenNav: 'Scroll activity subcategories',\r\n        childRight: 'Scroll subcategories right', childLeft: 'Scroll subcategories left',\r\n        mainNav: 'Scroll activity categories', mainRight: 'Scroll categories right', mainLeft: 'Scroll categories left',\r\n        other: 'Other'\r\n    } : {\r\n        retry: '\u0625\u0639\u0627\u062f\u0629 \u0627\u0644\u0645\u062d\u0627\u0648\u0644\u0629', loadError: '\u062a\u0639\u0630\u0631 \u062a\u062d\u0645\u064a\u0644 \u0628\u064a\u0627\u0646\u0627\u062a \u0627\u0644\u0623\u0646\u0634\u0637\u0629. \u064a\u0631\u062c\u0649 \u0625\u0639\u0627\u062f\u0629 \u0627\u0644\u0645\u062d\u0627\u0648\u0644\u0629.',\r\n        loadErrorShort: '\u062a\u0639\u0630\u0631 \u062a\u062d\u0645\u064a\u0644 \u0628\u064a\u0627\u0646\u0627\u062a \u0627\u0644\u0623\u0646\u0634\u0637\u0629. \u062d\u0627\u0648\u0644 \u062a\u062d\u062f\u064a\u062b \u0627\u0644\u0635\u0641\u062d\u0629.',\r\n        binding: '\u062a\u0639\u0630\u0631 \u0631\u0628\u0637 \u0628\u0639\u0636 \u0628\u0637\u0627\u0642\u0627\u062a \u0627\u0644\u0623\u0646\u0634\u0637\u0629 \u0628\u0628\u064a\u0627\u0646\u0627\u062a Pods. \u062a\u0623\u0643\u062f \u0645\u0646 \u0648\u062c\u0648\u062f \u0631\u0627\u0628\u0637 \u0627\u0644\u0646\u0634\u0627\u0637 \u0623\u0648 \u0639\u0646\u0648\u0627\u0646 \u0641\u0631\u064a\u062f \u0641\u064a \u0627\u0644\u0628\u0637\u0627\u0642\u0629.',\r\n        lightbox: '\u0645\u0639\u0631\u0636 \u0635\u0648\u0631 \u0627\u0644\u0646\u0634\u0627\u0637', photo: '\u0635\u0648\u0631\u0629 \u0627\u0644\u0646\u0634\u0627\u0637',\r\n        prevPhoto: '\u0627\u0644\u0635\u0648\u0631\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629', nextPhoto: '\u0627\u0644\u0635\u0648\u0631\u0629 \u0627\u0644\u062a\u0627\u0644\u064a\u0629', closeGallery: '\u0625\u063a\u0644\u0627\u0642 \u0627\u0644\u0645\u0639\u0631\u0636',\r\n        galleryExpand: '\u062a\u0643\u0628\u064a\u0631 \u0627\u0644\u0635\u0648\u0631\u0629', videoPlay: '\u062a\u0634\u063a\u064a\u0644 \u0641\u064a\u062f\u064a\u0648 \u0627\u0644\u0646\u0634\u0627\u0637',\r\n        logoPrev: '\u0627\u0644\u0634\u0639\u0627\u0631 \u0627\u0644\u0633\u0627\u0628\u0642', logoNext: '\u0627\u0644\u0634\u0639\u0627\u0631 \u0627\u0644\u062a\u0627\u0644\u064a', logoAlt: '\u0634\u0639\u0627\u0631 \u0645\u0634\u0627\u0631\u0643',\r\n        childrenNav: '\u062a\u0645\u0631\u064a\u0631 \u062a\u0635\u0646\u064a\u0641\u0627\u062a \u0627\u0644\u0623\u0646\u0634\u0637\u0629 \u0627\u0644\u0641\u0631\u0639\u064a\u0629',\r\n        childRight: '\u062a\u0645\u0631\u064a\u0631 \u0627\u0644\u062a\u0635\u0646\u064a\u0641\u0627\u062a \u0625\u0644\u0649 \u0627\u0644\u064a\u0645\u064a\u0646', childLeft: '\u062a\u0645\u0631\u064a\u0631 \u0627\u0644\u062a\u0635\u0646\u064a\u0641\u0627\u062a \u0625\u0644\u0649 \u0627\u0644\u064a\u0633\u0627\u0631',\r\n        mainNav: '\u062a\u0645\u0631\u064a\u0631 \u062a\u0635\u0646\u064a\u0641\u0627\u062a \u0627\u0644\u0623\u0646\u0634\u0637\u0629', mainRight: '\u062a\u0645\u0631\u064a\u0631 \u0627\u0644\u062a\u0635\u0646\u064a\u0641\u0627\u062a \u0625\u0644\u0649 \u0627\u0644\u064a\u0645\u064a\u0646', mainLeft: '\u062a\u0645\u0631\u064a\u0631 \u0627\u0644\u062a\u0635\u0646\u064a\u0641\u0627\u062a \u0625\u0644\u0649 \u0627\u0644\u064a\u0633\u0627\u0631',\r\n        other: '\u0623\u062e\u0631\u0649'\r\n    };\r\n\r\n    function qseIsAllLabel(label) {\r\n        const value = qseText(label).toLowerCase();\r\n        return value === '\u0627\u0644\u0643\u0644' || value === 'all' ||\r\n            \/^all\\s*\\(\\d+\\)$\/.test(value) || \/^\u0627\u0644\u0643\u0644\\s*\\(\\d+\\)$\/.test(value);\r\n    }\r\n\r\n    \/\/ TranslatePress may alter the label while rendering. UE's native\r\n    \/\/ All tab normally has term ID 0 or an all\/* marker: recognize it\r\n    \/\/ independently from its visible text.\r\n    function qseIsAllButton(el) {\r\n        if (!el) return false;\r\n        if (qseIsAllLabel(el.textContent)) return true;\r\n        if (el.getAttribute('data-term-id') === '0') return true;\r\n        const markers = ['data-filter', 'data-value', 'data-slug', 'data-term'];\r\n        return markers.some(attr => {\r\n            const value = qseNormalizeCompare(el.getAttribute(attr) || '');\r\n            return value === 'all' || value === '*' || value === '__all';\r\n        });\r\n    }\r\n\r\n    const QSE_CARD =\r\n        '.qse-clean-activity-card';\r\n\r\n    const QSE_PER_PAGE = 3;\r\n\r\n\r\n    \/* ==========================================================\r\n       02. STATE\r\n    ========================================================== *\/\r\n\r\n    let qseActivities = {};\r\n    let qseUrlIndex = new Map();\r\n    let qsePostIdIndex = new Map();\r\n    let qseLoadPromise = null;\r\n    let qseGridCounter = 0;\r\n\r\n    const qsePageState =\r\n        new Map();\r\n\r\n    const qseResizeObservers =\r\n        new WeakMap();\r\n\r\n    let qseRefreshFrame = null;\r\n    let qseFilterObserver = null;\r\n\r\n\r\n    \/* ==========================================================\r\n       03. HELPERS\r\n    ========================================================== *\/\r\n\r\n    function qseNormalizeUrl(url) {\r\n\r\n        if (!url) {\r\n            return '';\r\n        }\r\n\r\n        try {\r\n\r\n            const parsed =\r\n                new URL(\r\n                    url,\r\n                    window.location.origin\r\n                );\r\n\r\n            return (\r\n                parsed.origin +\r\n                parsed.pathname\r\n            ).replace(\/\\\/+$\/, '');\r\n\r\n        } catch (error) {\r\n\r\n            return String(url)\r\n                .replace(\/\\\/+$\/, '');\r\n        }\r\n    }\r\n\r\n\r\n    function qseText(value) {\r\n\r\n        return String(value || '')\r\n            .replace(\/\\s+\/g, ' ')\r\n            .trim();\r\n    }\r\n\r\n\r\n    function qseSlug(value) {\r\n\r\n        return qseText(value)\r\n            .toLowerCase()\r\n            .replace(\/\\s+\/g, '-');\r\n    }\r\n\r\n\r\n    function qseNormalizeCompare(value) {\r\n\r\n        return qseText(value)\r\n            .toLowerCase()\r\n            .replace(\/^#+\/, '')\r\n            .replace(\/^\\\/+|\\\/+$\/g, '');\r\n    }\r\n\r\n\r\n    \/\/ IDs\/slugs are language-independent. When Unlimited Elements supplies\r\n    \/\/ label-only filter buttons, resolve them from this API's taxonomy terms\r\n    \/\/ (both translated and original names) and pin a stable term ID to the\r\n    \/\/ DOM button. Filter order is still read from the real widget order.\r\n    function qseResolveFilterTerm(element, childMode) {\r\n        const name = qseNormalizeCompare(element.textContent);\r\n        if (!name || qseIsAllButton(element)) return null;\r\n        const taxonomy = childMode ? 'conference_sections' : 'activity_types';\r\n        const existingId = String(element.getAttribute('data-term-id') || element.getAttribute('data-id') || '');\r\n        const existingSlug = qseNormalizeCompare(\r\n            element.getAttribute('data-slug') || element.getAttribute('data-term') ||\r\n            element.getAttribute('data-filter') || element.getAttribute('data-value') || ''\r\n        );\r\n        const allTerms = new Map();\r\n        Object.values(qseActivities).forEach(record => {\r\n            (record && Array.isArray(record[taxonomy]) ? record[taxonomy] : []).forEach(term => {\r\n                allTerms.set(String(term.id || term.slug || ''), term);\r\n            });\r\n        });\r\n        const terms = [...allTerms.values()];\r\n        \/\/ Prefer stable IDs\/slugs, but fall back to the bilingual name when\r\n        \/\/ Unlimited Elements supplies a filter-specific data-value rather than\r\n        \/\/ the actual taxonomy slug. The previous code suppressed this fallback.\r\n        const matches = test => terms.filter(test);\r\n        let found = existingId ? matches(term => String(term.id || '') === existingId) : [];\r\n        if (found.length !== 1 && existingSlug) {\r\n            found = matches(term => qseNormalizeCompare(term.slug || '') === existingSlug);\r\n        }\r\n        if (found.length !== 1) {\r\n            found = matches(term => [term.name, term.canonical_name].some(label =>\r\n                label && qseNormalizeCompare(label) === name));\r\n        }\r\n        if (found.length !== 1) return null;\r\n        const term = found[0];\r\n        if (term.id && element.getAttribute('data-term-id') !== String(term.id))\r\n            element.setAttribute('data-term-id', String(term.id));\r\n        if (term.slug && element.getAttribute('data-slug') !== String(term.slug))\r\n            element.setAttribute('data-slug', String(term.slug));\r\n        return term;\r\n    }\r\n\r\n    \/\/ TranslatePress may produce \/new\/en\/<slug>\/ or a translated slug.\r\n    \/\/ Keep one canonical record per post; index aliases separately so we do\r\n    \/\/ not duplicate records when grouping activities by taxonomy.\r\n    function qseCanonicalizeLanguagePath(url) {\r\n        const value = qseNormalizeUrl(url);\r\n        if (!value) return '';\r\n        try {\r\n            const parsed = new URL(value);\r\n            const parts = parsed.pathname.split('\/').filter(Boolean);\r\n            const wpBase = (new URL(QSE_API)).pathname.split('\/').filter(Boolean)[0] || 'new';\r\n            const langPos = parts[0] === wpBase ? 1 : 0;\r\n            if (parts[langPos] && \/^(en|ar)(?:-[a-z]{2})?$\/i.test(parts[langPos])) {\r\n                parts.splice(langPos, 1);\r\n            }\r\n            return parsed.origin + '\/' + parts.join('\/');\r\n        } catch (error) { return value; }\r\n    }\r\n\r\n    function qseBuildRecordIndexes() {\r\n        qseUrlIndex = new Map();\r\n        qsePostIdIndex = new Map();\r\n        Object.entries(qseActivities).forEach(function ([key, record]) {\r\n            if (!record || typeof record !== 'object') return;\r\n            if (record.post_id) qsePostIdIndex.set(String(record.post_id), key);\r\n            const aliases = [key, record.permalink];\r\n            if (Array.isArray(record.permalink_aliases)) {\r\n                aliases.push.apply(aliases, record.permalink_aliases);\r\n            }\r\n            aliases.filter(Boolean).forEach(function (url) {\r\n                const normalized = qseNormalizeUrl(url);\r\n                if (normalized) {\r\n                    qseUrlIndex.set(normalized, key);\r\n                    qseUrlIndex.set(qseCanonicalizeLanguagePath(normalized), key);\r\n                }\r\n            });\r\n        });\r\n    }\r\n\r\n    function qseLookupUrl(url) {\r\n        const normalized = qseNormalizeUrl(url);\r\n        return qseUrlIndex.get(normalized) ||\r\n            qseUrlIndex.get(qseCanonicalizeLanguagePath(normalized)) || '';\r\n    }\r\n\r\n    function qseGetActivity(card) {\r\n\r\n        const url =\r\n            qseNormalizeUrl(\r\n                card.getAttribute(\r\n                    'data-activity-url'\r\n                )\r\n            );\r\n\r\n        return (\r\n            qseActivities[qseLookupUrl(url)] ||\r\n            null\r\n        );\r\n    }\r\n\r\n\r\n    \/* ==========================================================\r\n       04. LOAD API ONCE\r\n    ========================================================== *\/\r\n\r\n    function qseLoadActivities() {\r\n        if (qseLoadPromise) return qseLoadPromise;\r\n\r\n        qseLoadPromise = (async function () {\r\n            const controller = typeof AbortController !== 'undefined'\r\n                ? new AbortController() : null;\r\n            const timeoutId = controller\r\n                ? setTimeout(() => controller.abort(), 15000) : null;\r\n            try {\r\n                const response = await fetch(QSE_API, {\r\n                    credentials: 'same-origin',\r\n                    signal: controller ? controller.signal : undefined,\r\n                    headers: { 'Accept': 'application\/json' }\r\n                });\r\n                if (!response.ok) throw new Error('HTTP ' + response.status);\r\n                const data = await response.json();\r\n                if (!data || typeof data !== 'object' || Array.isArray(data)) {\r\n                    throw new Error('Invalid activities response');\r\n                }\r\n                \/\/ An empty response with rendered cards normally indicates a\r\n                \/\/ broken\/mismatched endpoint, not a legitimate empty page.\r\n                if (!Object.keys(data).length && document.querySelector(QSE_CARD)) {\r\n                    throw new Error('Activities endpoint returned no records');\r\n                }\r\n                qseActivities = {};\r\n                Object.keys(data).forEach(function (key) {\r\n                    qseActivities[qseNormalizeUrl(key)] = data[key];\r\n                });\r\n                qseBuildRecordIndexes();\r\n                return qseActivities;\r\n            } catch (error) {\r\n                qseLoadPromise = null; \/\/ A Retry can make a fresh request.\r\n                throw error;\r\n            } finally {\r\n                if (timeoutId) clearTimeout(timeoutId);\r\n            }\r\n        })();\r\n        return qseLoadPromise;\r\n    }\r\n\r\n    function qseSetStatus(grid, message, canRetry) {\r\n        let status = grid.parentElement && grid.parentElement.querySelector(\r\n            ':scope > .qse-clean-system-status'\r\n        );\r\n        if (!status) {\r\n            status = document.createElement('div');\r\n            status.className = 'qse-clean-system-status';\r\n            status.setAttribute('role', 'status');\r\n            status.setAttribute('aria-live', 'polite');\r\n            grid.parentElement.insertBefore(status, grid);\r\n        }\r\n        status.replaceChildren();\r\n        if (!message) { status.hidden = true; return; }\r\n        status.hidden = false;\r\n        status.appendChild(document.createTextNode(message));\r\n        if (canRetry) {\r\n            const retry = document.createElement('button');\r\n            retry.type = 'button';\r\n            retry.textContent = QSE_WORDS.retry;\r\n            retry.addEventListener('click', function () {\r\n                qseLoadPromise = null;\r\n                qseRefreshNow(false);\r\n            });\r\n            status.appendChild(retry);\r\n        }\r\n    }\r\n\r\n    \/* ==========================================================\r\n       04B. BIND REAL UNLIMITED ELEMENTS CARDS TO PODS\r\n       No manual per-card HTML edits \/ no widget ID required.\r\n    ========================================================== *\/\r\n\r\n    function qseRecordForCard(card) {\r\n        const urlCandidates = [];\r\n        const explicitUrl = card.getAttribute('data-activity-url') || card.getAttribute('data-url');\r\n        if (explicitUrl) urlCandidates.push(explicitUrl);\r\n        card.querySelectorAll('a[href]').forEach(function (a) {\r\n            const url = a.getAttribute('href');\r\n            if (url && !url.startsWith('#')) urlCandidates.push(url);\r\n        });\r\n        for (const url of urlCandidates) {\r\n            const key = qseLookupUrl(url);\r\n            if (key && qseActivities[key]) return { url: key, data: qseActivities[key] };\r\n        }\r\n\r\n        \/\/ Prefer a stable WordPress post ID when Unlimited Elements emits it.\r\n        \/\/ This survives English title and permalink translation completely.\r\n        const classPostId = (card.className || '').match(\/(?:^|\\s)post-(\\d+)(?:\\s|$)\/);\r\n        const linkPostId = urlCandidates.map(function (url) {\r\n            try { return new URL(url, window.location.origin).searchParams.get('p'); }\r\n            catch (error) { return null; }\r\n        }).find(Boolean);\r\n        const postId = card.getAttribute('data-qse-post-id') ||\r\n            card.getAttribute('data-post-id') || card.getAttribute('data-post_id') ||\r\n            card.getAttribute('data-id') || (classPostId && classPostId[1]) || linkPostId || '';\r\n        const idKey = qsePostIdIndex.get(String(postId));\r\n        if (idKey && qseActivities[idKey]) {\r\n            return { url: idKey, data: qseActivities[idKey] };\r\n        }\r\n\r\n        \/\/ Title fallback is safe only if EXACTLY one published activity has it.\r\n        \/\/ Duplicate titles cannot be reliably paired and are left untouched.\r\n        const titleElement = card.querySelector('.ue_post_blocks_title,.uc_post_title,h3,h4');\r\n        const title = qseText(titleElement && titleElement.textContent);\r\n        if (title) {\r\n            const matches = Object.entries(qseActivities).filter(([, record]) =>\r\n                [record && record.title, record && record.canonical_title].some(candidate =>\r\n                    qseText(candidate) === title));\r\n            if (matches.length === 1) return { url: matches[0][0], data: matches[0][1] };\r\n        }\r\n        return null;\r\n    }\r\n\r\n    function qseMakeButton(className, label, content) {\r\n        const button = document.createElement('button');\r\n        button.type = 'button';\r\n        button.className = className;\r\n        button.setAttribute('aria-label', label);\r\n        \/\/ SVGs have a known 24px box: unlike text arrows \/ the play glyph,\r\n        \/\/ they stay centered independently of the site's Arabic font.\r\n        const paths = {\r\n            '\u2039': 'M15 18 9 12 15 6',\r\n            '\u203a': 'M9 18 15 12 9 6',\r\n            '\u26f6': 'M8 4H4v4 M16 4h4v4 M20 16v4h-4 M4 16v4h4',\r\n            '\u00d7': 'M6 6 18 18 M18 6 6 18',\r\n            '\u25b6': 'M8 5.5 19 12 8 18.5Z'\r\n        };\r\n        if (Object.prototype.hasOwnProperty.call(paths, content)) {\r\n            const ns = 'http:\/\/www.w3.org\/2000\/svg';\r\n            const svg = document.createElementNS(ns, 'svg');\r\n            svg.setAttribute('viewBox', '0 0 24 24');\r\n            svg.setAttribute('aria-hidden', 'true');\r\n            svg.setAttribute('focusable', 'false');\r\n            svg.classList.add('qse-control-icon');\r\n            const path = document.createElementNS(ns, 'path');\r\n            path.setAttribute('d', paths[content]);\r\n            if (content === '\u25b6') {\r\n                path.setAttribute('fill', 'currentColor');\r\n                path.setAttribute('stroke', 'none');\r\n            } else {\r\n                path.setAttribute('fill', 'none');\r\n                path.setAttribute('stroke', 'currentColor');\r\n                path.setAttribute('stroke-width', '2');\r\n                path.setAttribute('stroke-linecap', 'round');\r\n                path.setAttribute('stroke-linejoin', 'round');\r\n            }\r\n            svg.appendChild(path);\r\n            button.appendChild(svg);\r\n        } else {\r\n            button.textContent = content;\r\n        }\r\n        return button;\r\n    }\r\n\r\n    let qseLightbox = null;\r\n    function qseOpenLightbox(urls, initialIndex) {\r\n        if (!urls.length) return;\r\n        if (qseLightbox && qseLightbox.root.isConnected) qseLightbox.root.remove();\r\n        const root = document.createElement('div');\r\n        root.className = 'qse-gallery-lightbox is-open';\r\n        root.setAttribute('role', 'dialog');\r\n        root.setAttribute('aria-modal', 'true');\r\n        root.setAttribute('aria-label', QSE_WORDS.lightbox);\r\n        root.dir = QSE_IS_EN ? 'ltr' : 'rtl';\r\n        const image = document.createElement('img');\r\n        image.className = 'qse-gallery-lightbox-image';\r\n        image.alt = QSE_WORDS.photo;\r\n        image.draggable = false;\r\n        const counter = document.createElement('span');\r\n        counter.className = 'qse-lightbox-counter';\r\n        const prev = qseMakeButton('qse-lightbox-arrow qse-lightbox-prev', QSE_WORDS.prevPhoto, '\u2039');\r\n        const next = qseMakeButton('qse-lightbox-arrow qse-lightbox-next', QSE_WORDS.nextPhoto, '\u203a');\r\n        const close = qseMakeButton('qse-gallery-lightbox-close', QSE_WORDS.closeGallery, '\u00d7');\r\n        let index = initialIndex;\r\n        function refresh() {\r\n            image.src = urls[index];\r\n            image.alt = QSE_WORDS.photo + ' ' + (index + 1);\r\n            counter.textContent = (index + 1) + ' \/ ' + urls.length;\r\n            prev.disabled = index === 0;\r\n            next.disabled = index === urls.length - 1;\r\n        }\r\n        function cleanup() {\r\n            document.removeEventListener('keydown', keys);\r\n            root.remove();\r\n            qseLightbox = null;\r\n        }\r\n        function keys(event) {\r\n            if (event.key === 'Escape') cleanup();\r\n            else if (event.key === 'ArrowLeft' && index > 0) { index--; refresh(); }\r\n            else if (event.key === 'ArrowRight' && index < urls.length - 1) { index++; refresh(); }\r\n        }\r\n        prev.addEventListener('click', () => { if (index > 0) { index--; refresh(); } });\r\n        next.addEventListener('click', () => { if (index < urls.length - 1) { index++; refresh(); } });\r\n        close.addEventListener('click', cleanup);\r\n        root.addEventListener('click', event => { if (event.target === root) cleanup(); });\r\n        root.append(image, prev, next, counter, close);\r\n        \/\/ Swipe inside fullscreen gallery as well as via its arrow buttons.\r\n        qseAttachImageSwipe(image, function (direction) {\r\n            const newIndex = Math.max(0, Math.min(urls.length - 1, index + direction));\r\n            if (newIndex !== index) { index = newIndex; refresh(); }\r\n        });\r\n        document.body.appendChild(root);\r\n        document.addEventListener('keydown', keys);\r\n        qseLightbox = { root, cleanup };\r\n        refresh();\r\n        close.focus();\r\n    }\r\n\r\n    \/* RTL gallery: swipe right to next photo, left to previous.\r\n       Touch uses touch events; mouse uses pointer events. Buttons stay active. *\/\r\n    function qseAttachImageSwipe(image, onSwipe) {\r\n        let touchStart = null;\r\n        let mouseStart = null;\r\n        let mouseActive = false;\r\n        image.draggable = false;\r\n        image.addEventListener('dragstart', function (event) { event.preventDefault(); });\r\n        image.addEventListener('touchstart', function (event) {\r\n            if (event.touches.length === 1) touchStart = event.touches[0].clientX;\r\n        }, { passive: true });\r\n        image.addEventListener('touchend', function (event) {\r\n            if (touchStart === null || !event.changedTouches.length) return;\r\n            const distance = event.changedTouches[0].clientX - touchStart;\r\n            touchStart = null;\r\n            if (Math.abs(distance) >= 42) onSwipe((distance > 0 ? 1 : -1) * (QSE_IS_EN ? -1 : 1));\r\n        }, { passive: true });\r\n        image.addEventListener('touchcancel', function () { touchStart = null; });\r\n        image.addEventListener('pointerdown', function (event) {\r\n            if (event.pointerType !== 'mouse' || event.button !== 0) return;\r\n            mouseStart = event.clientX;\r\n            mouseActive = true;\r\n            image.classList.add('qse-is-dragging-image');\r\n            if (image.setPointerCapture) image.setPointerCapture(event.pointerId);\r\n        });\r\n        image.addEventListener('pointerup', function (event) {\r\n            if (!mouseActive || event.pointerType !== 'mouse') return;\r\n            const distance = event.clientX - mouseStart;\r\n            mouseActive = false;\r\n            image.classList.remove('qse-is-dragging-image');\r\n            if (Math.abs(distance) >= 42) onSwipe((distance > 0 ? 1 : -1) * (QSE_IS_EN ? -1 : 1));\r\n        });\r\n        image.addEventListener('pointercancel', function () {\r\n            mouseActive = false;\r\n            image.classList.remove('qse-is-dragging-image');\r\n        });\r\n    }\r\n\r\n    function qseRenderGallery(media, urls) {\r\n        const photos = urls.filter(item => typeof item === 'string' && \/^https?:\\\/\\\/\/i.test(item));\r\n        if (!photos.length) return false;\r\n        media.replaceChildren();\r\n        const image = document.createElement('img');\r\n        image.className = 'qse-pods-photo';\r\n        image.draggable = false;\r\n        image.loading = 'lazy';\r\n        image.decoding = 'async';\r\n        image.alt = QSE_WORDS.photo;\r\n        const prev = qseMakeButton('qse-gallery-arrow qse-gallery-prev', QSE_WORDS.prevPhoto, '\u2039');\r\n        const next = qseMakeButton('qse-gallery-arrow qse-gallery-next', QSE_WORDS.nextPhoto, '\u203a');\r\n        const expand = qseMakeButton('qse-gallery-expand', QSE_WORDS.galleryExpand, '\u26f6');\r\n        const count = document.createElement('span');\r\n        count.className = 'qse-gallery-counter';\r\n        let index = 0;\r\n        function refresh() {\r\n            image.src = photos[index];\r\n            count.textContent = (index + 1) + ' \/ ' + photos.length;\r\n            prev.disabled = index === 0;\r\n            next.disabled = index === photos.length - 1;\r\n        }\r\n        prev.addEventListener('click', e => { e.stopPropagation(); if (index > 0) { index--; refresh(); } });\r\n        next.addEventListener('click', e => { e.stopPropagation(); if (index < photos.length - 1) { index++; refresh(); } });\r\n        expand.addEventListener('click', e => { e.stopPropagation(); qseOpenLightbox(photos, index); });\r\n        if (photos.length > 1) {\r\n            qseAttachImageSwipe(image, function (direction) {\r\n                const newIndex = Math.max(0, Math.min(photos.length - 1, index + direction));\r\n                if (newIndex !== index) { index = newIndex; refresh(); }\r\n            });\r\n        }\r\n        media.append(image, expand);\r\n        if (photos.length > 1) media.append(prev, next);\r\n        media.append(count);\r\n        refresh();\r\n        return true;\r\n    }\r\n\r\n    function qseRenderVideo(media, videoUrl, poster) {\r\n        if (!\/^https?:\\\/\\\/\/i.test(videoUrl || '')) return false;\r\n        media.replaceChildren();\r\n        const video = document.createElement('video');\r\n        video.className = 'qse-pods-video';\r\n        video.src = videoUrl;\r\n        video.controls = true;\r\n        video.preload = 'metadata';\r\n        video.playsInline = true;\r\n        if (poster) video.poster = poster;\r\n        const play = qseMakeButton('qse-pods-video-play', QSE_WORDS.videoPlay, '\u25b6');\r\n        const sync = () => { play.hidden = !video.paused && !video.ended; };\r\n        video.addEventListener('play', sync);\r\n        video.addEventListener('pause', sync);\r\n        video.addEventListener('ended', sync);\r\n        play.addEventListener('click', e => {\r\n            e.stopPropagation();\r\n            const p = video.play();\r\n            if (p && typeof p.catch === 'function') p.catch(() => {});\r\n        });\r\n        media.append(video, play);\r\n        sync();\r\n        return true;\r\n    }\r\n\r\n    function qseRenderForumExtras(card, record) {\r\n        \/\/ CHANGED: the forum layout is no longer limited to the exact\r\n        \/\/ engineering-conference flags. Any activity that has BOTH a\r\n        \/\/ description AND at least one logo gets the forum style.\r\n        \/\/ The old flags are kept as a fallback so the current forum\r\n        \/\/ keeps working exactly as before.\r\n        const hasForumLogos = Array.isArray(record.logos) &&\r\n            record.logos.filter(Boolean).length > 0;\r\n        const hasForumDescription = typeof record.description === 'string' &&\r\n            record.description.trim() !== '';\r\n        const isForum = (hasForumLogos && hasForumDescription) ||\r\n            record.is_engineering_conference ||\r\n            record.layout === 'engineering_forum';\r\n        if (!isForum) return;\r\n        card.classList.add('qse-engineering-forum');\r\n        const logos = Array.isArray(record.logos) ? record.logos.filter(Boolean) : [];\r\n        const content = card.querySelector('.ue_post_blocks_content') || card.lastElementChild;\r\n        const parent = content && content.parentElement === card ? content : card;\r\n        let logoSection = null;\r\n\r\n        if (logos.length) {\r\n            const section = document.createElement('div');\r\n            section.className = 'qse-forum-logos';\r\n            section.dir = QSE_IS_EN ? 'ltr' : 'rtl';\r\n            const prev = qseMakeButton('qse-engineering-logo-arrow qse-logo-prev', QSE_WORDS.logoPrev, '\u2039');\r\n            const next = qseMakeButton('qse-engineering-logo-arrow qse-logo-next', QSE_WORDS.logoNext, '\u203a');\r\n            const viewport = document.createElement('div');\r\n            viewport.className = 'qse-logos-viewport';\r\n            const track = document.createElement('div');\r\n            track.className = 'qse-logos-track';\r\n            logos.forEach(function(url) {\r\n                const tile = document.createElement('div');\r\n                tile.className = 'qse-logo-tile';\r\n                const img = document.createElement('img');\r\n                img.src = url;\r\n                img.loading = 'lazy';\r\n                img.alt = QSE_WORDS.logoAlt;\r\n                tile.appendChild(img);\r\n                track.appendChild(tile);\r\n            });\r\n            viewport.appendChild(track);\r\n            section.append(prev, viewport, next);\r\n            let index = 0;\r\n            function update() {\r\n                \/\/ Keep arrows useful on every screen when 2+ logos exist.\r\n                \/\/ Leave one logo off-screen to scroll to; one logo cannot scroll.\r\n                const capacity = window.innerWidth < 768 ? 1 :\r\n                    window.innerWidth < 1025 ? 2 : 3;\r\n                const show = logos.length <= 1 ? 1 :\r\n                    Math.min(capacity, logos.length - 1);\r\n                const max = Math.max(0, logos.length - show);\r\n                index = Math.max(0, Math.min(index, max));\r\n                track.style.setProperty('--qse-logo-visible', String(show));\r\n                track.style.transform = 'translateX(' + ((QSE_IS_EN ? -1 : 1) * index * (viewport.clientWidth \/ show)) + 'px)';\r\n                prev.disabled = index === 0;\r\n                next.disabled = index === max;\r\n            }\r\n            prev.addEventListener('click', () => { if (index > 0) { index--; update(); } });\r\n            next.addEventListener('click', () => { index++; update(); });\r\n            let start = null;\r\n            viewport.addEventListener('touchstart', e => { start = e.touches[0].clientX; }, { passive: true });\r\n            viewport.addEventListener('touchend', e => {\r\n                if (start === null) return;\r\n                const delta = e.changedTouches[0].clientX - start;\r\n                start = null;\r\n                if (Math.abs(delta) < 35) return;\r\n                index += (delta > 0 ? 1 : -1) * (QSE_IS_EN ? -1 : 1);\r\n                index = Math.max(0, index);\r\n                update();\r\n            }, { passive: true });\r\n            \/\/ Desktop mouse dragging, alongside existing touch swipe\/arrows.\r\n            \/\/ Never intercept clicks on the arrow controls.\r\n            let mouseStart = null;\r\n            viewport.querySelectorAll('img').forEach(img => { img.draggable = false; });\r\n            viewport.addEventListener('dragstart', event => event.preventDefault());\r\n            viewport.addEventListener('pointerdown', function(event) {\r\n                if (event.pointerType !== 'mouse' || event.button !== 0) return;\r\n                mouseStart = event.clientX;\r\n            });\r\n            window.addEventListener('pointerup', function(event) {\r\n                if (mouseStart === null) return;\r\n                const delta = event.clientX - mouseStart;\r\n                mouseStart = null;\r\n                if (Math.abs(delta) < 35) return;\r\n                index += (delta > 0 ? 1 : -1) * (QSE_IS_EN ? -1 : 1);\r\n                update();\r\n            });\r\n            window.addEventListener('pointercancel', function() { mouseStart = null; });\r\n            window.addEventListener('resize', update, { passive: true });\r\n            logoSection = section;\r\n            requestAnimationFrame(update);\r\n        }\r\n        if (record.description) {\r\n            const description = document.createElement('div');\r\n            description.className = 'qse-forum-description';\r\n            \/\/ The WordPress REST endpoint runs wp_kses_post before returning HTML.\r\n            description.innerHTML = record.description;\r\n            parent.appendChild(description);\r\n        }\r\n        \/\/ All breakpoints: media -> title -> description -> partner logos.\r\n        \/\/ No extra heading is introduced, and the native video stays intact.\r\n        if (logoSection) parent.appendChild(logoSection);\r\n    }\r\n\r\n    \/* A desktop forum's description and logos panel is exactly as tall\r\n       as the video. Long descriptions scroll INSIDE the panel instead of\r\n       stretching the entire row or cropping the actual video controls. *\/\r\n    const qseForumSizeObservers = new WeakMap();\r\n\r\n    function qseMatchForumPanelHeight(card) {\r\n        if (!card.classList.contains('qse-engineering-forum')) return;\r\n        const media = card.querySelector(':scope > .ue_post_blocks_image');\r\n        const details = card.querySelector(':scope > .ue_post_blocks_content');\r\n        if (!media || !details) return;\r\n        function update() {\r\n            if (window.innerWidth < 1025 ||\r\n                !card.classList.contains('qse-clean-card-one')) {\r\n                details.style.removeProperty('--qse-forum-video-height');\r\n                return;\r\n            }\r\n            const height = Math.round(media.getBoundingClientRect().height);\r\n            if (height > 0 && height < 900 &&\r\n                details.style.getPropertyValue('--qse-forum-video-height') !== height + 'px') {\r\n                details.style.setProperty('--qse-forum-video-height', height + 'px');\r\n            }\r\n        }\r\n        if (!qseForumSizeObservers.has(card)) {\r\n            if (typeof ResizeObserver !== 'undefined') {\r\n                const observer = new ResizeObserver(function() {\r\n                    requestAnimationFrame(update);\r\n                });\r\n                observer.observe(media);\r\n                qseForumSizeObservers.set(card, observer);\r\n            } else {\r\n                qseForumSizeObservers.set(card, true);\r\n            }\r\n            window.addEventListener('resize', update, {passive: true});\r\n        }\r\n        requestAnimationFrame(update);\r\n    }\r\n\r\n    function qseEnhanceCard(card, activity) {\r\n        if (card.dataset.qsePodsEnhanced === '1') return;\r\n        const media = card.querySelector('.ue_post_blocks_image');\r\n        if (media) {\r\n            const images = Array.isArray(activity.images) ? activity.images.slice() : [];\r\n            if (!images.length && activity.featured_image) images.push(activity.featured_image);\r\n            const video = activity.video || '';\r\n            const rendered = video ? qseRenderVideo(media, video, images[0] || '') : qseRenderGallery(media, images);\r\n            if (rendered) media.classList.add('qse-clean-media');\r\n        }\r\n        qseRenderForumExtras(card, activity);\r\n        qseMatchForumPanelHeight(card);\r\n        \/\/ The old activity grid intentionally had no clickable card links.\r\n        card.querySelectorAll('.ue_post_blocks_title a, .ue_post_blocks_image a').forEach(function(link) {\r\n            link.addEventListener('click', function(event) { event.preventDefault(); });\r\n            link.removeAttribute('href');\r\n        });\r\n        card.dataset.qsePodsEnhanced = '1';\r\n    }\r\n\r\n    function qsePrepareCards() {\r\n        const selector = '.qse-activity-posts .ue_post_blocks_box, .qse-activity-posts .qse-clean-activity-card';\r\n        let bound = 0;\r\n        let missing = 0;\r\n        const used = new Set();\r\n        document.querySelectorAll(selector).forEach(function(card) {\r\n            const entry = qseRecordForCard(card);\r\n            if (!entry) { missing++; return; }\r\n            const recordId = entry.data.post_id || entry.url;\r\n            if (used.has(recordId)) { missing++; return; }\r\n            used.add(recordId);\r\n            card.classList.add('qse-clean-activity-card');\r\n            card.setAttribute('data-activity-url', entry.url);\r\n            qseEnhanceCard(card, entry.data);\r\n            bound++;\r\n        });\r\n        document.querySelectorAll('.qse-activity-posts').forEach(function(widget) {\r\n            let hint = widget.querySelector('.qse-binding-hint');\r\n            if (missing && !hint) {\r\n                hint = document.createElement('div');\r\n                hint.className = 'qse-binding-hint';\r\n                hint.setAttribute('role', 'status');\r\n                widget.prepend(hint);\r\n            }\r\n            if (hint) {\r\n                hint.hidden = !missing;\r\n                hint.textContent = missing ? QSE_WORDS.binding : '';\r\n            }\r\n        });\r\n        return bound;\r\n    }\r\n\r\n    \/* ==========================================================\r\n       05. GRIDS\r\n    ========================================================== *\/\r\n\r\n    function qseGetGrids() {\r\n\r\n        const grids = [];\r\n\r\n\r\n        document\r\n            .querySelectorAll(\r\n                QSE_CARD\r\n            )\r\n            .forEach(function (card) {\r\n\r\n                const parent =\r\n                    card.parentElement;\r\n\r\n\r\n                if (\r\n                    parent &&\r\n                    !grids.includes(parent)\r\n                ) {\r\n\r\n                    grids.push(parent);\r\n                }\r\n            });\r\n\r\n\r\n        return grids;\r\n    }\r\n\r\n\r\n    function qseGetGridId(grid) {\r\n\r\n        if (\r\n            grid.dataset.qseCleanGridId\r\n        ) {\r\n\r\n            return grid.dataset\r\n                .qseCleanGridId;\r\n        }\r\n\r\n\r\n        qseGridCounter++;\r\n\r\n\r\n        const id =\r\n            'qse-clean-grid-' +\r\n            qseGridCounter;\r\n\r\n\r\n        grid.dataset\r\n            .qseCleanGridId =\r\n            id;\r\n\r\n\r\n        return id;\r\n    }\r\n\r\n\r\n    \/* ==========================================================\r\n       06. PERMANENT LAYOUT ANCHOR\r\n    ========================================================== *\/function qseEnsureAnchor(grid) {\r\n\r\n        let anchor =\r\n            Array.from(\r\n                grid.children\r\n            )\r\n            .find(function (element) {\r\n\r\n                return element.classList\r\n                    .contains(\r\n                        'qse-clean-layout-anchor'\r\n                    );\r\n            });\r\n\r\n\r\n        if (anchor) {\r\n            return anchor;\r\n        }\r\n\r\n\r\n        anchor =\r\n            document.createElement(\r\n                'span'\r\n            );\r\n\r\n\r\n        anchor.className =\r\n            'qse-clean-layout-anchor';\r\n\r\n\r\n        anchor.hidden = true;\r\n\r\n        anchor.setAttribute(\r\n            'aria-hidden',\r\n            'true'\r\n        );\r\n\r\n\r\n        const firstCard =\r\n            Array.from(\r\n                grid.children\r\n            )\r\n            .find(function (element) {\r\n\r\n                return element.matches(\r\n                    QSE_CARD\r\n                );\r\n            });\r\n\r\n\r\n        if (firstCard) {\r\n\r\n            grid.insertBefore(\r\n                anchor,\r\n                firstCard\r\n            );\r\n\r\n        } else {\r\n\r\n            grid.appendChild(\r\n                anchor\r\n            );\r\n        }\r\n\r\n\r\n        return anchor;\r\n    }\r\n\r\n\r\n    \/* ==========================================================\r\n       07. ORIGINAL CARD ORDER\r\n    ========================================================== *\/\r\n\r\n    function qseEnsureCardIndexes(grid) {\r\n\r\n        const cards =\r\n            Array.from(\r\n                grid.children\r\n            )\r\n            .filter(function (element) {\r\n\r\n                return element.matches(\r\n                    QSE_CARD\r\n                );\r\n            });\r\n\r\n\r\n        let nextIndex = 0;\r\n\r\n\r\n        cards.forEach(function (card) {\r\n\r\n            const existing =\r\n                parseInt(\r\n                    card.dataset\r\n                        .qseCleanOriginalIndex,\r\n                    10\r\n                );\r\n\r\n\r\n            if (\r\n                Number.isFinite(existing)\r\n            ) {\r\n\r\n                nextIndex =\r\n                    Math.max(\r\n                        nextIndex,\r\n                        existing + 1\r\n                    );\r\n\r\n                return;\r\n            }\r\n\r\n\r\n            card.dataset\r\n                .qseCleanOriginalIndex =\r\n                String(nextIndex);\r\n\r\n\r\n            nextIndex++;\r\n        });\r\n    }\r\n\r\n\r\n    function qseGetCardsInOriginalOrder(\r\n        grid\r\n    ) {\r\n\r\n        qseEnsureCardIndexes(\r\n            grid\r\n        );\r\n\r\n\r\n        return Array.from(\r\n            grid.children\r\n        )\r\n        .filter(function (element) {\r\n\r\n            return element.matches(\r\n                QSE_CARD\r\n            );\r\n        })\r\n        .sort(function (a, b) {\r\n\r\n            return (\r\n                parseInt(\r\n                    a.dataset\r\n                        .qseCleanOriginalIndex ||\r\n                    '0',\r\n                    10\r\n                )\r\n                -\r\n                parseInt(\r\n                    b.dataset\r\n                        .qseCleanOriginalIndex ||\r\n                    '0',\r\n                    10\r\n                )\r\n            );\r\n        });\r\n    }\r\n\r\n\r\n    \/* ==========================================================\r\n       08. REAL UE FILTER VISIBILITY\r\n    ========================================================== *\/\r\n\r\n    function qseRestoreUECardVisibility(card) {\r\n        \/\/ Our main\/child category filtering is fully client-side. On the\r\n        \/\/ initial load, Unlimited Elements may leave temporary hidden flags\r\n        \/\/ on cards before our All view initializes. Remove only those flags;\r\n        \/\/ our own qse-clean-page-hidden class still controls pagination.\r\n        if (card.hidden) card.hidden = false;\r\n        if (card.getAttribute('aria-hidden') === 'true') {\r\n            card.removeAttribute('aria-hidden');\r\n        }\r\n        if (card.style.display === 'none') card.style.removeProperty('display');\r\n        if (card.style.visibility === 'hidden') card.style.removeProperty('visibility');\r\n    }\r\n\r\n\r\n    \/* ==========================================================\r\n       09. REAL FILTER ROW\r\n    ========================================================== *\/\r\n\r\n    function qseGetRealFilterRow(\r\n        wrapperSelector\r\n    ) {\r\n\r\n        const wrapper =\r\n            document.querySelector(\r\n                wrapperSelector\r\n            );\r\n\r\n\r\n        if (!wrapper) {\r\n            return null;\r\n        }\r\n\r\n\r\n        if (\r\n            wrapper.classList\r\n                .contains(\r\n                    'qse-real-filter-row'\r\n                )\r\n        ) {\r\n\r\n            return wrapper;\r\n        }\r\n\r\n\r\n        \/\/ Select the actual row of tab buttons, not an outer Elementor\r\n        \/\/ section, so horizontal overflow works on iPad and mobile.\r\n        return (\r\n            wrapper.querySelector(\r\n                '.qse-real-filter-row, .e-filter-item-wrapper, .e-filter, ' +\r\n                '.uc-filter-items, .ue-filter-items, [role=\"tablist\"], .filter-buttons'\r\n            ) ||\r\n            wrapper\r\n        );\r\n    }\r\n\r\n\r\n    \/* Mouse drag for tabs; touch naturally swipes the horizontal row.\r\n       A completed drag never activates an underlying filter. *\/\r\n    function qseEnableTabDragging() {\r\n        ['.qse-main-filter-row', '.qse-child-filter-row'].forEach(function(selector) {\r\n            const wrapper = document.querySelector(selector);\r\n            const row = qseGetRealFilterRow(selector);\r\n            if (!wrapper || !row) return;\r\n            row.classList.add('qse-tabs-scroll');\r\n            if (row.dataset.qseScrollBound === '1') return;\r\n            row.dataset.qseScrollBound = '1';\r\n            let startX = 0;\r\n            let scrollStart = 0;\r\n            let dragging = false;\r\n            let moved = false;\r\n            row.addEventListener('pointerdown', function(event) {\r\n                if (event.pointerType !== 'mouse' || event.button !== 0) return;\r\n                dragging = true;\r\n                moved = false;\r\n                startX = event.clientX;\r\n                scrollStart = row.scrollLeft;\r\n            });\r\n            window.addEventListener('pointermove', function(event) {\r\n                if (!dragging) return;\r\n                const delta = event.clientX - startX;\r\n                if (Math.abs(delta) > 8) moved = true;\r\n                if (!moved) return;\r\n                row.scrollLeft = scrollStart - delta;\r\n            });\r\n            const stop = function() {\r\n                if (dragging && moved) wrapper.dataset.qseDraggedUntil = String(Date.now() + 350);\r\n                dragging = false;\r\n                moved = false;\r\n            };\r\n            window.addEventListener('pointerup', stop);\r\n            window.addEventListener('pointercancel', stop);\r\n            let touchX = null;\r\n            row.addEventListener('touchstart', function(event) {\r\n                if (event.touches.length === 1) touchX = event.touches[0].clientX;\r\n            }, { passive: true });\r\n            row.addEventListener('touchend', function(event) {\r\n                if (touchX === null || !event.changedTouches.length) return;\r\n                if (Math.abs(event.changedTouches[0].clientX - touchX) > 12)\r\n                    wrapper.dataset.qseDraggedUntil = String(Date.now() + 350);\r\n                touchX = null;\r\n            }, { passive: true });\r\n            \/\/ Install on wrapper CAPTURE before the regular filter handler.\r\n            wrapper.addEventListener('click', function(event) {\r\n                if (Date.now() < Number(wrapper.dataset.qseDraggedUntil || 0)) {\r\n                    event.preventDefault();\r\n                    event.stopPropagation();\r\n                    event.stopImmediatePropagation();\r\n                }\r\n            }, true);\r\n        });\r\n    }\r\n\r\n    \/* ==========================================================\r\n       09B. CHILD-TABS OVERFLOW NAVIGATION (RTL)\r\n\r\n       Main tab selection is deliberately untouched. The child row is\r\n       controlled by qseSyncChildFilter(), so changing a child can never\r\n       replace or reset the active main tab.\r\n    ========================================================== *\/\r\n\r\n    let qseChildScrollControls = null;\r\n\r\n    function qseChildNavPosition() {\r\n        const controls = qseChildScrollControls;\r\n        if (!controls || !controls.row.isConnected) return;\r\n        const { wrapper, row, left, right } = controls;\r\n        const max = Math.max(0, row.scrollWidth - row.clientWidth);\r\n        const position = Math.min(max, Math.max(0, QSE_IS_EN ? row.scrollLeft : -row.scrollLeft));\r\n        const available = wrapper.classList.contains('qse-child-has-overflow');\r\n        right.disabled = !available || (QSE_IS_EN ? position >= max - 2 : position <= 2);\r\n        left.disabled = !available || (QSE_IS_EN ? position <= 2 : position >= max - 2);\r\n    }\r\n\r\n    function qseUpdateChildScrollControls(resetPosition) {\r\n        const controls = qseChildScrollControls;\r\n        if (!controls || !controls.wrapper.isConnected) return;\r\n        const { wrapper, row } = controls;\r\n        if (wrapper.hidden || !wrapper.classList.contains('qse-has-children')) {\r\n            wrapper.classList.remove('qse-child-has-overflow');\r\n            return;\r\n        }\r\n        \/\/ Measure at FULL width. This avoids an overflow\/no-overflow\r\n        \/\/ oscillation caused by the space reserved for navigation buttons.\r\n        wrapper.classList.remove('qse-child-has-overflow');\r\n        const overflows = row.scrollWidth - row.clientWidth > 3;\r\n        wrapper.classList.toggle('qse-child-has-overflow', overflows);\r\n        if (resetPosition) row.scrollLeft = 0; \/\/ Rightmost in RTL.\r\n        qseChildNavPosition();\r\n    }\r\n\r\n    function qseEnsureChildScrollControls() {\r\n        const wrapper = document.querySelector('.qse-child-filter-row');\r\n        if (!wrapper) return;\r\n        if (qseChildScrollControls &&\r\n            qseChildScrollControls.wrapper === wrapper &&\r\n            qseChildScrollControls.nav.isConnected) return;\r\n\r\n        let row = qseGetRealFilterRow('.qse-child-filter-row');\r\n        if (!row) return;\r\n        if (row === wrapper) {\r\n            \/\/ Rare widget variant with filter items directly in its wrapper.\r\n            \/\/ Give those items a dedicated scrollable row (not the arrows).\r\n            const track = document.createElement('div');\r\n            track.className = 'qse-real-filter-row qse-tabs-scroll qse-child-scroll-track';\r\n            wrapper.classList.remove('qse-real-filter-row', 'qse-tabs-scroll');\r\n            while (wrapper.firstChild) track.appendChild(wrapper.firstChild);\r\n            wrapper.appendChild(track);\r\n            row = track;\r\n            qseEnableTabDragging();\r\n        }\r\n        row.classList.add('qse-tabs-scroll');\r\n        const nav = document.createElement('div');\r\n        \/\/ Existing filter item discovery excludes .qse-filter-nav.\r\n        nav.className = 'qse-child-nav qse-filter-nav';\r\n        nav.setAttribute('aria-label', QSE_WORDS.childrenNav);\r\n        const right = qseMakeButton(\r\n            'qse-child-scroll-arrow qse-child-scroll-right',\r\n            QSE_WORDS.childRight, '\u203a'\r\n        );\r\n        const left = qseMakeButton(\r\n            'qse-child-scroll-arrow qse-child-scroll-left',\r\n            QSE_WORDS.childLeft, '\u2039'\r\n        );\r\n        right.addEventListener('click', function(event) {\r\n            event.preventDefault(); event.stopPropagation();\r\n            row.scrollBy({left: 260, behavior: 'smooth'});\r\n        });\r\n        left.addEventListener('click', function(event) {\r\n            event.preventDefault(); event.stopPropagation();\r\n            row.scrollBy({left: -260, behavior: 'smooth'});\r\n        });\r\n        nav.append(right, left);\r\n        wrapper.appendChild(nav);\r\n        qseChildScrollControls = { wrapper, row, nav, left, right };\r\n        row.addEventListener('scroll', qseChildNavPosition, {passive: true});\r\n        \/\/ When the selected main tab changes, hidden terms are excluded.\r\n        \/\/ Recalculate from those actual visible tab widths.\r\n        if (typeof ResizeObserver !== 'undefined') {\r\n            const observer = new ResizeObserver(function() {\r\n                requestAnimationFrame(function() {\r\n                    qseUpdateChildScrollControls(false);\r\n                });\r\n            });\r\n            observer.observe(wrapper);\r\n            qseChildScrollControls.observer = observer;\r\n        }\r\n        window.addEventListener('resize', function() {\r\n            requestAnimationFrame(function() {\r\n                qseUpdateChildScrollControls(false);\r\n            });\r\n        }, {passive: true});\r\n        qseUpdateChildScrollControls(false);\r\n    }\r\n\r\n\r\n    \/* ==========================================================\r\n       09C. MAIN FILTER \u2014 MOBILE-ONLY OVERFLOW ARROWS\r\n\r\n       The desktop main filter remains exactly as before. On mobile,\r\n       arrows appear only when the tabs do not fit. Swiping and mouse\r\n       dragging continue to work alongside the arrows.\r\n    ========================================================== *\/\r\n\r\n    let qseMainScrollControls = null;\r\n\r\n    function qseUpdateMainScrollControls(resetPosition, remeasure) {\r\n        const controls = qseMainScrollControls;\r\n        if (!controls || !controls.wrapper.isConnected) return;\r\n        const { wrapper, row, right, left } = controls;\r\n        const mobile = window.matchMedia('(max-width: 767px)').matches;\r\n        let hasOverflow = wrapper.classList.contains('qse-main-has-overflow');\r\n\r\n        \/\/ IMPORTANT: do not remove\/reapply the overflow class on scroll.\r\n        \/\/ Changing track width mid-swipe changes scrollLeft and prevents the\r\n        \/\/ final arrow from reliably becoming disabled.\r\n        if (!mobile) {\r\n            wrapper.classList.remove('qse-main-has-overflow');\r\n            hasOverflow = false;\r\n        } else if (remeasure || !hasOverflow) {\r\n            const previous = row.scrollLeft;\r\n            wrapper.classList.remove('qse-main-has-overflow');\r\n            hasOverflow = row.scrollWidth - row.clientWidth > 3;\r\n            wrapper.classList.toggle('qse-main-has-overflow', hasOverflow);\r\n            if (hasOverflow && !resetPosition) {\r\n                const max = Math.max(0, row.scrollWidth - row.clientWidth);\r\n                row.scrollLeft = QSE_IS_EN\r\n                    ? Math.max(0, Math.min(max, previous))\r\n                    : Math.min(0, Math.max(-max, previous));\r\n            }\r\n        }\r\n\r\n        if (resetPosition || !hasOverflow) row.scrollLeft = 0;\r\n        const max = Math.max(0, row.scrollWidth - row.clientWidth);\r\n        \/\/ Chrome\/modern Safari use negative scrollLeft for RTL, zero at the\r\n        \/\/ rightmost end; browser scrolling itself clamps to its valid range.\r\n        const position = Math.min(max, Math.max(0, QSE_IS_EN ? row.scrollLeft : -row.scrollLeft));\r\n        right.disabled = !hasOverflow || (QSE_IS_EN ? position >= max - 2 : position <= 2);\r\n        left.disabled = !hasOverflow || (QSE_IS_EN ? position <= 2 : position >= max - 2);\r\n        right.setAttribute('aria-disabled', String(right.disabled));\r\n        left.setAttribute('aria-disabled', String(left.disabled));\r\n    }\r\n\r\n    function qseEnsureMainScrollControls() {\r\n        const wrapper = document.querySelector('.qse-main-filter-row');\r\n        if (!wrapper) return;\r\n        if (qseMainScrollControls &&\r\n            qseMainScrollControls.wrapper === wrapper &&\r\n            qseMainScrollControls.nav.isConnected) {\r\n            qseUpdateMainScrollControls(false);\r\n            return;\r\n        }\r\n        let row = qseGetRealFilterRow('.qse-main-filter-row');\r\n        if (!row) return;\r\n        if (row === wrapper) {\r\n            const track = document.createElement('div');\r\n            track.className = 'qse-real-filter-row qse-tabs-scroll qse-main-scroll-track';\r\n            wrapper.classList.remove('qse-real-filter-row', 'qse-tabs-scroll');\r\n            while (wrapper.firstChild) track.appendChild(wrapper.firstChild);\r\n            wrapper.appendChild(track);\r\n            row = track;\r\n            qseEnableTabDragging();\r\n        }\r\n        row.classList.add('qse-tabs-scroll');\r\n        const nav = document.createElement('div');\r\n        nav.className = 'qse-main-nav qse-filter-nav';\r\n        nav.setAttribute('aria-label', QSE_WORDS.mainNav);\r\n        const right = qseMakeButton(\r\n            'qse-main-scroll-arrow qse-main-scroll-right',\r\n            QSE_WORDS.mainRight, '\u203a'\r\n        );\r\n        const left = qseMakeButton(\r\n            'qse-main-scroll-arrow qse-main-scroll-left',\r\n            QSE_WORDS.mainLeft, '\u2039'\r\n        );\r\n        right.addEventListener('click', function(event) {\r\n            event.preventDefault(); event.stopPropagation();\r\n            row.scrollBy({left: 260, behavior: 'smooth'});\r\n        });\r\n        left.addEventListener('click', function(event) {\r\n            event.preventDefault(); event.stopPropagation();\r\n            row.scrollBy({left: -260, behavior: 'smooth'});\r\n        });\r\n        nav.append(right, left);\r\n        wrapper.appendChild(nav);\r\n        qseMainScrollControls = {wrapper, row, nav, right, left};\r\n        row.addEventListener('scroll', function() {\r\n            qseUpdateMainScrollControls(false);\r\n        }, {passive: true});\r\n        window.addEventListener('resize', function() {\r\n            requestAnimationFrame(function() {\r\n                qseUpdateMainScrollControls(false);\r\n            });\r\n        }, {passive: true});\r\n        qseUpdateMainScrollControls(false);\r\n    }\r\n\r\n\r\n    \/* ==========================================================\r\n       10. FILTER ORDER\r\n    ========================================================== *\/\r\n\r\n    function qseGetFilterOrder(\r\n        wrapperSelector\r\n    ) {\r\n\r\n        const row =\r\n            qseGetRealFilterRow(\r\n                wrapperSelector\r\n            );\r\n\r\n\r\n        if (!row) {\r\n            return [];\r\n        }\r\n\r\n\r\n        const selector = [\r\n            '.e-filter-item',\r\n            '.uc-filter-item',\r\n            '.ue-filter-item',\r\n            '.ue_taxonomy_item',\r\n            '.ue-taxonomy-item',\r\n            '[data-term-id]',\r\n            '[data-term]',\r\n            '[data-filter]',\r\n            '[data-slug]',\r\n            '[role=\"tab\"]',\r\n            'button',\r\n            'a'\r\n        ].join(',');\r\n\r\n\r\n        const allCandidates =\r\n            Array.from(\r\n                row.querySelectorAll(\r\n                    selector\r\n                )\r\n            )\r\n            .filter(function (element) {\r\n\r\n                if (\r\n                    element.classList\r\n                        .contains(\r\n                            'qse-filter-nav'\r\n                        )\r\n                ) {\r\n\r\n                    return false;\r\n                }\r\n\r\n\r\n                if (\r\n                    element.closest(\r\n                        '.qse-filter-nav'\r\n                    )\r\n                ) {\r\n\r\n                    return false;\r\n                }\r\n\r\n\r\n                return true;\r\n            });\r\n\r\n\r\n        const candidates =\r\n            allCandidates.filter(\r\n                function (element) {\r\n\r\n                    return !allCandidates\r\n                        .some(function (other) {\r\n\r\n                            return (\r\n                                other !== element &&\r\n                                element.contains(\r\n                                    other\r\n                                )\r\n                            );\r\n                        });\r\n                }\r\n            );\r\n\r\n\r\n        const order = [];\r\n\r\n\r\n        candidates.forEach(function (element) {\r\n\r\n            const label =\r\n                qseText(\r\n                    element.textContent\r\n                );\r\n\r\n\r\n            if (!label) {\r\n                return;\r\n            }\r\n\r\n\r\n            if (qseIsAllLabel(label)) {\r\n\r\n                return;\r\n            }\r\n\r\n\r\n            const id =\r\n                element.getAttribute(\r\n                    'data-term-id'\r\n                ) ||\r\n                element.getAttribute(\r\n                    'data-id'\r\n                ) ||\r\n                '';\r\n\r\n\r\n            let slug =\r\n                element.getAttribute(\r\n                    'data-slug'\r\n                ) ||\r\n                element.getAttribute(\r\n                    'data-term'\r\n                ) ||\r\n                element.getAttribute(\r\n                    'data-filter'\r\n                ) ||\r\n                element.getAttribute(\r\n                    'data-value'\r\n                ) ||\r\n                '';\r\n\r\n\r\n            if (\r\n                slug === '*' ||\r\n                slug.toLowerCase() === 'all'\r\n            ) {\r\n\r\n                slug = '';\r\n            }\r\n\r\n\r\n            const matchedTerm = qseResolveFilterTerm(\r\n                element, wrapperSelector.indexOf('child') !== -1\r\n            );\r\n            const item = {\r\n                label: label,\r\n                id: String((matchedTerm && matchedTerm.id) || id || ''),\r\n                slug: qseNormalizeCompare((matchedTerm && matchedTerm.slug) || slug)\r\n            };\r\n\r\n\r\n            const duplicate =\r\n                order.some(\r\n                    function (existing) {\r\n\r\n                        return (\r\n                            existing.label ===\r\n                                item.label &&\r\n                            existing.id ===\r\n                                item.id &&\r\n                            existing.slug ===\r\n                                item.slug\r\n                        );\r\n                    }\r\n                );\r\n\r\n\r\n            if (!duplicate) {\r\n\r\n                order.push(\r\n                    item\r\n                );\r\n            }\r\n        });\r\n\r\n\r\n        return order;\r\n    }\r\n\r\n\r\n    \/* ==========================================================\r\n       11. MATCH GROUP TO FILTER POSITION\r\n    ========================================================== *\/\r\n\r\n    function qseFindGroupOrder(\r\n        group,\r\n        filterOrder\r\n    ) {\r\n\r\n        const name =\r\n            qseNormalizeCompare(\r\n                group.name\r\n            );\r\n\r\n\r\n        const slug =\r\n            qseNormalizeCompare(\r\n                group.slug\r\n            );\r\n\r\n\r\n        const id =\r\n            String(\r\n                group.id || ''\r\n            );\r\n\r\n\r\n        for (\r\n            let index = 0;\r\n            index < filterOrder.length;\r\n            index++\r\n        ) {\r\n\r\n            const item =\r\n                filterOrder[index];\r\n\r\n\r\n            if (\r\n                id &&\r\n                item.id &&\r\n                id === item.id\r\n            ) {\r\n\r\n                return index;\r\n            }\r\n\r\n\r\n            if (\r\n                slug &&\r\n                item.slug &&\r\n                slug === item.slug\r\n            ) {\r\n\r\n                return index;\r\n            }\r\n\r\n\r\n            if (\r\n                name &&\r\n                qseNormalizeCompare(\r\n                    item.label\r\n                ) === name\r\n            ) {\r\nreturn index;\r\n            }\r\n        }\r\n\r\n\r\n        return Number.MAX_SAFE_INTEGER;\r\n    }\r\n\r\n\r\n    function qseSortGroups(\r\n        groups,\r\n        childMode\r\n    ) {\r\n\r\n        const filterOrder =\r\n            qseGetFilterOrder(\r\n                childMode\r\n                    ? '.qse-child-filter-row'\r\n                    : '.qse-main-filter-row'\r\n            );\r\n\r\n\r\n        if (!filterOrder.length) {\r\n            return groups;\r\n        }\r\n\r\n\r\n        return groups\r\n            .map(function (\r\n                group,\r\n                originalIndex\r\n            ) {\r\n\r\n                return {\r\n\r\n                    group:\r\n                        group,\r\n\r\n                    originalIndex:\r\n                        originalIndex,\r\n\r\n                    filterIndex:\r\n                        qseFindGroupOrder(\r\n                            group,\r\n                            filterOrder\r\n                        )\r\n                };\r\n            })\r\n\r\n            .sort(function (a, b) {\r\n\r\n                if (\r\n                    a.filterIndex ===\r\n                    b.filterIndex\r\n                ) {\r\n\r\n                    return (\r\n                        a.originalIndex -\r\n                        b.originalIndex\r\n                    );\r\n                }\r\n\r\n\r\n                return (\r\n                    a.filterIndex -\r\n                    b.filterIndex\r\n                );\r\n            })\r\n\r\n            .map(function (item) {return item.group;\r\n            });\r\n    }\r\n\r\n\r\n    \/* ==========================================================\r\n       12. BUILD GROUPS\r\n    ========================================================== *\/\r\n\r\n    function qseActiveFilter(wrapperSelector) {\r\n        const row = qseGetRealFilterRow(wrapperSelector);\r\n        if (!row) return null;\r\n        const selectors = [\r\n            '.e-filter-item', '.uc-filter-item', '.ue-filter-item',\r\n            '.ue_taxonomy_item', '.ue-taxonomy-item', '[data-term-id]',\r\n            '[data-term]', '[data-filter]', '[data-slug]',\r\n            '[role=\"tab\"]', 'button'\r\n        ].join(',');\r\n        const nodes = Array.from(row.querySelectorAll(selectors));\r\n        const active = nodes.find(function (el) {\r\n            return !el.closest('.qse-filter-nav') &&\r\n                (el.matches('[aria-selected=\"true\"], [aria-pressed=\"true\"], [data-state=\"active\"]') ||\r\n                el.classList.contains('is-active') ||\r\n                el.classList.contains('active') ||\r\n                el.classList.contains('e-active') ||\r\n                el.classList.contains('ue-active') ||\r\n                el.classList.contains('uc-active') ||\r\n                el.classList.contains('uc-selected') ||\r\n                el.classList.contains('elementor-active'));\r\n        });\r\n        if (!active) return null;\r\n        const name = qseText(active.textContent);\r\n        if (qseIsAllLabel(name)) return null;\r\n        const matched = qseResolveFilterTerm(active, wrapperSelector.includes('child'));\r\n        return {\r\n            id: String((matched && matched.id) || active.getAttribute('data-term-id') || active.getAttribute('data-id') || ''),\r\n            slug: qseNormalizeCompare((matched && matched.slug) || active.getAttribute('data-slug') ||\r\n                active.getAttribute('data-term') || active.getAttribute('data-filter') || ''),\r\n            label: name\r\n        };\r\n    }\r\n\r\n    function qseTermMatchesFilter(term, filter) {\r\n        if (!term || !filter) return false;\r\n        return Boolean(\r\n            (term.id && filter.id && String(term.id) === String(filter.id)) ||\r\n            (term.slug && filter.slug && qseNormalizeCompare(term.slug) === filter.slug) ||\r\n            (filter.label && [term.name, term.canonical_name].some(name =>\r\n                name && qseNormalizeCompare(name) === qseNormalizeCompare(filter.label)))\r\n        );\r\n    }\r\n\r\n    function qsePickTerm(terms, filterOrder, activeFilter) {\r\n        if (!terms.length) return null;\r\n        if (activeFilter) {\r\n            const matched = terms.find(t => qseTermMatchesFilter(t, activeFilter));\r\n            if (matched) return matched;\r\n        }\r\n        \/\/ Assign to the earliest matching filter in the visible navigation.\r\n        \/\/ This makes multi-term activities deterministic in the All view.\r\n        return terms.slice().sort(function (a, b) {\r\n            return qseFindGroupOrder(a, filterOrder) - qseFindGroupOrder(b, filterOrder);\r\n        })[0];\r\n    }\r\n\r\n    function qseBuildGroups(cards, taxonomyKey, fallbackName, childMode, activeFilter) {\r\n        const map = new Map();\r\n        const order = qseGetFilterOrder(childMode\r\n            ? '.qse-child-filter-row' : '.qse-main-filter-row');\r\n\r\n        cards.forEach(function (card) {\r\n            const activity = qseGetActivity(card);\r\n            if (!activity) return;\r\n            const terms = Array.isArray(activity[taxonomyKey]) ? activity[taxonomyKey] : [];\r\n            const term = qsePickTerm(terms, order, activeFilter);\r\n            const name = term && term.name ? term.name : fallbackName;\r\n            const slug = term && term.slug ? term.slug : qseSlug(name);\r\n            const id = term && term.id ? String(term.id) : '';\r\n            const key = id || slug;\r\n            if (!map.has(key)) map.set(key, { id, slug, name, cards: [] });\r\n            map.get(key).cards.push(card);\r\n        });\r\n        return Array.from(map.values());\r\n    }\r\n\r\n    function qseGetGroups(cards) {\r\n        const mainActive = qseMainSelection;\r\n        const childActive = qseChildSelection;\r\n        cards = mainActive ? cards.filter(card => {\r\n            const record = qseGetActivity(card);\r\n            return record && Array.isArray(record.activity_types) &&\r\n                record.activity_types.some(t => qseTermMatchesFilter(t, mainActive));\r\n        }) : cards;\r\n        const hasChildren = cards.some(function (card) {\r\n            const activity = qseGetActivity(card);\r\n            return activity && Array.isArray(activity.conference_sections) &&\r\n                activity.conference_sections.length > 0;\r\n        });\r\n        let mainGroups = qseSortGroups(\r\n            qseBuildGroups(cards, 'activity_types', QSE_WORDS.other, false, mainActive), false\r\n        );\r\n\r\n        \/\/ A chosen main filter is always represented by one main category.\r\n        \/\/ Some activities belong to multiple categories; UE handles which\r\n        \/\/ cards are visible, and these groups reflect the chosen category.\r\n        if (mainActive) {\r\n            const matched = mainGroups.filter(group => qseTermMatchesFilter(group, mainActive));\r\n            if (matched.length) {\r\n                mainGroups = matched;\r\n            } else {\r\n                \/\/ Never label unrelated activities as the selected category.\r\n                mainGroups = [];\r\n            }\r\n        }\r\n\r\n        if (hasChildren && (mainActive || mainGroups.length <= 1)) {\r\n            let childGroups = qseSortGroups(\r\n                qseBuildGroups(cards, 'conference_sections', QSE_WORDS.other, true, childActive), true\r\n            );\r\n            if (childActive) {\r\n                const matchingChild = childGroups.filter(g => qseTermMatchesFilter(g, childActive));\r\n                \/\/ Never place non-matching cards under a child heading.\r\n                childGroups = matchingChild;\r\n            }\r\n            \/\/ Only split into child sections if the selected main type has\r\n            \/\/ real child categories (not an unrelated hidden child filter).\r\n            if (childActive) return childGroups;\r\n            if (childGroups.length && childGroups.some(g => g.name !== QSE_WORDS.other)) {\r\n                return childGroups;\r\n            }\r\n        }\r\n        return mainGroups;\r\n    }\r\n\r\n    \/* ==========================================================\r\n       13B. CHILD FILTER IS A SEPARATE TAXONOMY\r\n       Control it client-side. Child Tabs Filter should be role Single,\r\n       since native UE parent\/child expects hierarchical terms.\r\n    ========================================================== *\/\r\n    let qseChildSelection = null;\r\n    let qseLastMainSelection = null;\r\n    let qseMainSelection = null;\r\n    let qseMainInitialized = false;\r\n    \/\/ Never treat a plugin-selected category as a visitor selection on load.\r\n    let qseMainUserInteracted = false;\r\n\r\n    function qseTermKey(term) {\r\n        if (!term) return '';\r\n        return String(term.id || '') + '|' +\r\n            qseNormalizeCompare(term.slug || '') + '|' +\r\n            qseNormalizeCompare(term.label || term.name || '');\r\n    }\r\n\r\n    function qseTermFromButton(el) {\r\n        const matched = qseResolveFilterTerm(el, Boolean(el.closest('.qse-child-filter-row')));\r\n        return {\r\n            id: String((matched && matched.id) || el.getAttribute('data-term-id') || el.getAttribute('data-id') || ''),\r\n            slug: qseNormalizeCompare((matched && matched.slug) || el.getAttribute('data-slug') ||\r\n                el.getAttribute('data-term') || el.getAttribute('data-filter') || ''),\r\n            label: qseText(el.textContent)\r\n        };\r\n    }\r\n\r\n    function qseChildButtons() {\r\n        const row = qseGetRealFilterRow('.qse-child-filter-row');\r\n        if (!row) return [];\r\n        const selector = '.e-filter-item,.uc-filter-item,.ue-filter-item,' +\r\n            '.ue_taxonomy_item,.ue-taxonomy-item,[data-term-id],[data-term],' +\r\n            '[data-filter],[data-slug],[role=\"tab\"],button';\r\n        const candidates = Array.from(row.querySelectorAll(selector))\r\n            .filter(el => !el.closest('.qse-filter-nav'));\r\n        \/\/ Use the innermost matching elements, not their wrapper elements.\r\n        return candidates.filter(el => !candidates.some(other => other !== el && el.contains(other)));\r\n    }\r\n\r\n    \/\/ Some Unlimited Elements configurations only render child terms used by\r\n    \/\/ their initial filter context. Add missing terms ONLY when the Pods API\r\n    \/\/ confirms that a published activity belongs to the selected main type.\r\n    function qseEnsureMatchingChildButtons(matchingChildren) {\r\n        const row = qseGetRealFilterRow('.qse-child-filter-row');\r\n        if (!row) return;\r\n        matchingChildren.forEach(function(term) {\r\n            if (qseChildButtons().some(el =>\r\n                qseTermMatchesFilter(term, qseTermFromButton(el)))) return;\r\n            const button = document.createElement('button');\r\n            button.type = 'button';\r\n            button.className = 'e-filter-item qse-child-generated';\r\n            button.textContent = term.name || '';\r\n            if (!button.textContent) return;\r\n            if (term.id) button.setAttribute('data-term-id', String(term.id));\r\n            if (term.slug) button.setAttribute('data-slug', term.slug);\r\n            row.appendChild(button);\r\n        });\r\n    }\r\n\r\n    function qseSyncChildFilter() {\r\n        const wrapper = document.querySelector('.qse-child-filter-row');\r\n        if (!wrapper) return;\r\n        const main = qseMainSelection;\r\n        const mainKey = qseTermKey(main);\r\n        const previousMainKey = qseLastMainSelection;\r\n        if (mainKey !== previousMainKey) {\r\n            qseChildSelection = null;\r\n            qseLastMainSelection = mainKey;\r\n        }\r\n\r\n        \/\/ The association is based on the TWO taxonomies stored on each\r\n        \/\/ published Pods activity, not on a presumed hierarchical taxonomy.\r\n        const matchingChildren = [];\r\n        if (main) {\r\n            Object.values(qseActivities).forEach(function(record) {\r\n                if (!record || !Array.isArray(record.activity_types) ||\r\n                    !record.activity_types.some(t => qseTermMatchesFilter(t, main))) return;\r\n                (Array.isArray(record.conference_sections)\r\n                    ? record.conference_sections : []).forEach(function(term) {\r\n                    if (!matchingChildren.some(t => qseTermMatchesFilter(t, {\r\n                        id: String(term.id || ''), slug: qseNormalizeCompare(term.slug || ''),\r\n                        label: term.name || ''\r\n                    }))) matchingChildren.push(term);\r\n                });\r\n            });\r\n        }\r\n\r\n        qseEnsureMatchingChildButtons(matchingChildren);\r\n        const buttons = qseChildButtons();\r\n        const row = qseGetRealFilterRow('.qse-child-filter-row');\r\n\r\n        \/\/ Unhide ONLY elements that this script hid during a previous parent.\r\n        \/\/ Never keep a shared UE wrapper hidden because one child is excluded.\r\n        if (row) row.querySelectorAll('.qse-child-excluded').forEach(function(el) {\r\n            el.hidden = false;\r\n            el.classList.remove('qse-child-excluded');\r\n        });\r\n\r\n        const eligible = [];\r\n        buttons.forEach(function(el) {\r\n            const term = qseTermFromButton(el);\r\n            const isAll = qseIsAllLabel(term.label);\r\n            const allowed = !isAll && matchingChildren.some(t =>\r\n                qseTermMatchesFilter(t, term));\r\n            el.hidden = !allowed;\r\n            el.classList.toggle('qse-child-excluded', !allowed);\r\n\r\n            \/\/ Hide an individual wrapper only if it contains exactly ONE\r\n            \/\/ filter button. A shared wrapper must NEVER be hidden: doing so\r\n            \/\/ makes all of another parent's child tabs disappear.\r\n            if (row && row.contains(el)) {\r\n                let item = el;\r\n                while (item.parentElement && item.parentElement !== row &&\r\n                       row.contains(item.parentElement)) {\r\n                    const parent = item.parentElement;\r\n                    if (buttons.filter(btn => parent.contains(btn)).length !== 1) break;\r\n                    item = parent;\r\n                }\r\n                if (item !== row && item !== el) {\r\n                    item.hidden = !allowed;\r\n                    item.classList.toggle('qse-child-excluded', !allowed);\r\n                }\r\n            }\r\n            if (allowed) eligible.push(el);\r\n        });\r\n\r\n        const showChildren = Boolean(main && eligible.length);\r\n        wrapper.classList.toggle('qse-has-children', showChildren);\r\n        wrapper.hidden = !showChildren;\r\n        wrapper.setAttribute('aria-hidden', String(!showChildren));\r\n        wrapper.style.setProperty('display', showChildren ? 'block' : 'none', 'important');\r\n        if (!showChildren) qseChildSelection = null;\r\n\r\n        \/\/ Parent selection initially shows ALL its matching child sections.\r\n        const active = qseChildSelection\r\n            ? (eligible.find(el => qseTermMatchesFilter(\r\n                qseTermFromButton(el), qseChildSelection)) || null)\r\n            : null;\r\n        qseChildSelection = active ? qseTermFromButton(active) : null;\r\n        buttons.forEach(function(el) {\r\n            const selected = el === active;\r\n            el.classList.remove('active','e-active','ue-active','uc-active',\r\n                'uc-selected','elementor-active');\r\n            el.classList.toggle('is-active', selected);\r\n            el.setAttribute('aria-selected', selected ? 'true' : 'false');\r\n        });\r\n        qseEnsureChildScrollControls();\r\n        requestAnimationFrame(function () {\r\n            qseUpdateChildScrollControls(mainKey !== previousMainKey);\r\n        });\r\n    }\r\n\r\n    function qseMainButtons() {\r\n        const row = qseGetRealFilterRow('.qse-main-filter-row');\r\n        if (!row) return [];\r\n        const selector = '.e-filter-item,.uc-filter-item,.ue-filter-item,' +\r\n            '.ue_taxonomy_item,.ue-taxonomy-item,[data-term-id],[data-term],' +\r\n            '[data-filter],[data-slug],[role=\"tab\"],button';\r\n        const candidates = Array.from(row.querySelectorAll(selector))\r\n            .filter(el => !el.closest('.qse-filter-nav'));\r\n        return candidates.filter(el => !candidates.some(other => other !== el && el.contains(other)));\r\n    }\r\n\r\n    \/\/ TranslatePress can replace the English label for the first \"All\" tab.\r\n    \/\/ Prefer the native All marker; otherwise accept the FIRST tab only when\r\n    \/\/ it does NOT resolve to a real Pods activity_type. Never guess that a\r\n    \/\/ genuine category is All. The first item is the approved All position.\r\n    function qseGetAllMainButton() {\r\n        const buttons = qseMainButtons();\r\n        const identified = buttons.find(qseIsAllButton);\r\n        if (identified) return identified;\r\n        \/\/ Keep the approved Arabic initialization exactly as it was.\r\n        if (!QSE_IS_EN) return null;\r\n        const first = buttons[0] || null;\r\n        return first && !qseResolveFilterTerm(first, false) ? first : null;\r\n    }\r\n\r\n    \/\/ Keep the English All underline selected if TranslatePress redraws its\r\n    \/\/ text\/button after the initial render. This only restores visual state;\r\n    \/\/ it never dispatches a click, fetches data or changes pagination.\r\n    let qseEnglishAllObserver = null;\r\n    let qseEnglishAllFrame = null;\r\n    function qseWatchEnglishInitialAll() {\r\n        if (!QSE_IS_EN || qseEnglishAllObserver) return;\r\n        const wrapper = document.querySelector('.qse-main-filter-row');\r\n        if (!wrapper) return;\r\n        qseEnglishAllObserver = new MutationObserver(function() {\r\n            if (qseMainUserInteracted) {\r\n                qseEnglishAllObserver.disconnect();\r\n                qseEnglishAllObserver = null;\r\n                return;\r\n            }\r\n            if (qseEnglishAllFrame !== null) return;\r\n            qseEnglishAllFrame = requestAnimationFrame(function() {\r\n                qseEnglishAllFrame = null;\r\n                if (qseMainUserInteracted || qseMainSelection) return;\r\n                const all = qseGetAllMainButton();\r\n                if (!all) return;\r\n                const wrongSelection = qseMainButtons().some(el =>\r\n                    el !== all && (el.classList.contains('is-active') ||\r\n                        el.getAttribute('aria-selected') === 'true'));\r\n                if (!all.classList.contains('is-active') ||\r\n                    all.getAttribute('aria-selected') !== 'true' || wrongSelection) {\r\n                    qseSetMainActive(all);\r\n                }\r\n            });\r\n        });\r\n        qseEnglishAllObserver.observe(wrapper, {\r\n            childList: true, subtree: true, characterData: true,\r\n            attributes: true, attributeFilter: ['class', 'aria-selected', 'data-term-id', 'data-filter']\r\n        });\r\n    }\r\n\r\n    \/\/ Only the initial translated tab order is relevant to grouping. If\r\n    \/\/ TranslatePress updates tab labels\/term markers AFTER our first render,\r\n    \/\/ re-sort the EXISTING cards once the new filter order is available.\r\n    \/\/ Do not click tabs, reset pagination or refetch activities.\r\n    let qseMainOrderObserver = null;\r\n    let qseMainOrderFrame = null;\r\n    let qseLastMainOrderSnapshot = '';\r\n\r\n    function qseMainOrderSnapshot() {\r\n        return qseMainButtons().map(function(button) {\r\n            return [button.getAttribute('data-term-id') || '',\r\n                button.getAttribute('data-slug') || '',\r\n                button.getAttribute('data-filter') || '',\r\n                qseText(button.textContent)].join('~');\r\n        }).join('||');\r\n    }\r\n\r\n    function qseWatchMainFilterOrder() {\r\n        if (!QSE_IS_EN || qseMainOrderObserver) return;\r\n        const wrapper = document.querySelector('.qse-main-filter-row');\r\n        if (!wrapper) return;\r\n        qseLastMainOrderSnapshot = qseMainOrderSnapshot();\r\n        qseMainOrderObserver = new MutationObserver(function() {\r\n            if (qseMainOrderFrame !== null) return;\r\n            qseMainOrderFrame = requestAnimationFrame(function() {\r\n                qseMainOrderFrame = null;\r\n                const current = qseMainOrderSnapshot();\r\n                if (!current || current === qseLastMainOrderSnapshot) return;\r\n                qseLastMainOrderSnapshot = current;\r\n                \/\/ Keep the selected tab, data and cards; only refresh order.\r\n                qseScheduleRefresh(false);\r\n            });\r\n        });\r\n        qseMainOrderObserver.observe(wrapper, {\r\n            subtree: true, childList: true, characterData: true\r\n        });\r\n    }\r\n\r\n    function qseSetMainActive(button) {\r\n        const buttons = qseMainButtons();\r\n        buttons.forEach(function(el) {\r\n            const selected = el === button;\r\n            el.classList.remove('active','e-active','ue-active','uc-active','uc-selected','elementor-active');\r\n            el.classList.toggle('is-active', selected);\r\n            el.setAttribute('aria-selected', selected ? 'true' : 'false');\r\n        });\r\n        if (!button) { qseMainSelection = null; return; }\r\n        const term = qseTermFromButton(button);\r\n        qseMainSelection = button === qseGetAllMainButton() ? null : term;\r\n    }\r\n\r\n    function qseStartMainClickHandler() {\r\n        const wrapper = document.querySelector('.qse-main-filter-row');\r\n        if (!wrapper) return;\r\n        const buttons = qseMainButtons();\r\n        \/\/ Do not mark the main navigation initialized until UE has actually\r\n        \/\/ inserted its tabs. TranslatePress can delay this on the first visit.\r\n        if (!buttons.length) return;\r\n        if (!qseMainInitialized) {\r\n            \/\/ Existing first item (All) remains the default, as approved.\r\n            const all = qseGetAllMainButton();\r\n            \/\/ The initial state is ALWAYS All, even if TranslatePress has not\r\n            \/\/ yet inserted \/ translated the All button. Selecting buttons[0]\r\n            \/\/ silently chooses a real category and may yield zero sections.\r\n            qseSetMainActive(all || null);\r\n            qseMainInitialized = true;\r\n        } else {\r\n            const previous = buttons.find(el =>\r\n                qseMainSelection && qseTermMatchesFilter(qseTermFromButton(el), qseMainSelection));\r\n            const all = qseGetAllMainButton();\r\n            \/\/ On refresh, preserve a visitor-selected category if present.\r\n            \/\/ Otherwise stay on All; never fall back to the first category.\r\n            qseSetMainActive(previous || all || null);\r\n        }\r\n        qseWatchEnglishInitialAll();\r\n        qseWatchMainFilterOrder();\r\n        if (wrapper.dataset.qseMainHandler === '1') return;\r\n        wrapper.dataset.qseMainHandler = '1';\r\n        wrapper.addEventListener('click', function(event) {\r\n            const button = qseMainButtons().find(el => el === event.target || el.contains(event.target));\r\n            if (!button) return;\r\n            event.preventDefault();\r\n            event.stopPropagation();\r\n            event.stopImmediatePropagation();\r\n            qseMainUserInteracted = true;\r\n            qseSetMainActive(button);\r\n            qseChildSelection = null;\r\n            qseSyncChildFilter();\r\n            qseScheduleRefresh(true);\r\n        }, true);\r\n    }\r\n\r\n    function qseStartChildClickHandler() {\r\n        const wrapper = document.querySelector('.qse-child-filter-row');\r\n        if (!wrapper || wrapper.dataset.qseChildHandler === '1') return;\r\n        wrapper.dataset.qseChildHandler = '1';\r\n        wrapper.addEventListener('click', function(event) {\r\n            const button = qseChildButtons().find(el => el === event.target || el.contains(event.target));\r\n            if (!button || button.hidden || button.classList.contains('qse-child-excluded')) return;\r\n            \/\/ Do not dispatch UE Ajax for the unrelated child taxonomy.\r\n            event.preventDefault();\r\n            event.stopPropagation();\r\n            event.stopImmediatePropagation();\r\n            qseMainUserInteracted = true;\r\n            qseChildSelection = qseTermFromButton(button);\r\n            qseChildButtons().forEach(function(el) {\r\n                el.classList.remove('active','e-active','ue-active','uc-active','uc-selected','elementor-active');\r\n                el.classList.toggle('is-active', el === button);\r\n                el.setAttribute('aria-selected', el === button ? 'true' : 'false');\r\n            });\r\n            qseScheduleRefresh(true);\r\n        }, true);\r\n    }\r\n\r\n    \/* ==========================================================\r\n       14. RESET GENERATED UI\r\n    ========================================================== *\/\r\n\r\n    function qseResetGrid(grid) {\r\n\r\n        grid\r\n            .querySelectorAll(\r\n                ':scope > .qse-clean-section-title,' +\r\n                ':scope > .qse-clean-pagination,' +\r\n                ':scope > .qse-clean-section-band'\r\n            )\r\n            .forEach(function (element) {\r\n\r\n                element.remove();\r\n            });\r\n\r\n\r\n        qseGetCardsInOriginalOrder(\r\n            grid\r\n        )\r\n        .forEach(function (card) {\r\n\r\n            card.classList.remove(\r\n                'qse-clean-page-hidden',\r\n                'qse-clean-card-one',\r\n                'qse-clean-card-half',\r\n                'qse-clean-card-third',\r\n                'qse-clean-tablet-full'\r\n            );\r\n\r\n\r\n            card.removeAttribute(\r\n                'data-qse-clean-group'\r\n            );\r\n\r\n\r\n            card.removeAttribute(\r\n                'data-qse-clean-section-index'\r\n            );\r\n        });\r\n    }\r\n\r\n\r\n    \/* ==========================================================\r\n       15. CARD BALANCE\r\n    ========================================================== *\/\r\n\r\n    function qseBalanceCards(cards, isMultiPage) {\r\n\r\n        const count =\r\n            cards.length;\r\n\r\n\r\n        cards.forEach(function (card) {\r\n\r\n            card.classList.remove(\r\n                'qse-clean-card-one',\r\n                'qse-clean-card-half',\r\n                'qse-clean-card-third',\r\n                'qse-clean-tablet-full'\r\n            );\r\n        });\r\n\r\n\r\n        \/\/ Multi-page groups always retain normal third-width cards, even\r\n        \/\/ when the last page contains only 1 or 2. One-post sections can\r\n        \/\/ still display their original larger featured card.\r\n        if (isMultiPage) {\r\n            cards.forEach(card => card.classList.add('qse-clean-card-third'));\r\n            return;\r\n        }\r\n\r\n        if (count === 1) {\r\n\r\n            cards[0]\r\n                .classList\r\n                .add(\r\n                    'qse-clean-card-one'\r\n                );\r\n\r\n            return;\r\n        }\r\n\r\n\r\n        if (count === 2) {\r\n\r\n            cards.forEach(function (card) {\r\n\r\n                card.classList.add(\r\n                    'qse-clean-card-half'\r\n                );\r\n            });\r\n\r\n            return;\r\n        }\r\n\r\n\r\n        if (count === 3) {\r\n            cards.forEach(function (card) {\r\n                card.classList.add('qse-clean-card-third');\r\n            });\r\n            cards[2].classList.add('qse-clean-tablet-full');\r\n            return;\r\n        }\r\n\r\n\r\n        if (count === 4) {\r\n\r\n            cards.forEach(function (card) {\r\n\r\n                card.classList.add(\r\n                    'qse-clean-card-half'\r\n                );\r\n            });\r\n\r\n            return;\r\n        }\r\n\r\n\r\n        if (count === 5) {\r\n\r\n            cards\r\n                .slice(0, 3)\r\n                .forEach(function (card) {\r\n\r\n                    card.classList.add(\r\n                        'qse-clean-card-third'\r\n                    );\r\n                });\r\n\r\n\r\n            cards\r\n                .slice(3)\r\n                .forEach(function (card) {\r\n\r\n                    card.classList.add(\r\n                        'qse-clean-card-half'\r\n                    );\r\n                });\r\n\r\n\r\n            cards[4]\r\n                .classList\r\n                .add(\r\n                    'qse-clean-tablet-full'\r\n                );\r\n\r\n            return;\r\n        }\r\n\r\n\r\n        cards.forEach(function (card) {\r\n\r\n            card.classList.add(\r\n                'qse-clean-card-third'\r\n            );\r\n        });\r\n    }\r\n\r\n\r\n    \/* ==========================================================\r\n       16. SCROLL BACK TO SECTION TITLE\r\n\r\n       Fixes mobile page 2 jumping down.\r\n    ========================================================== *\/\r\n\r\n    function qseGoToSection(\r\n        grid,\r\n        groupSlug\r\n    ) {\r\n\r\n        requestAnimationFrame(\r\n            function () {\r\n\r\n                const title =\r\n                    Array.from(\r\n                        grid.querySelectorAll(\r\n                            ':scope > .qse-clean-section-title'\r\n                        )\r\n                    )\r\n                    .find(function (item) {\r\n\r\n                        return (\r\n                            item.dataset\r\n                                .qseCleanGroup ===\r\n                            groupSlug\r\n                        );\r\n                    });\r\n\r\n\r\n                if (!title) {\r\n                    return;\r\n                }\r\n\r\n\r\n                \/*\r\n                 * Immediate, not animated.\r\n                 *\r\n                 * .qse-clean-section-title\r\n                 * gets scroll-margin-top below.\r\n                 *\/\r\n                title.scrollIntoView({\r\n                    behavior: 'auto',\r\n                    block: 'start'\r\n                });\r\n            }\r\n        );\r\n    }\r\n\r\n\r\n    \/* ==========================================================\r\n       17. PAGINATION\r\n    ========================================================== *\/\r\n\r\n    function qseCreatePagination(\r\n        grid,\r\n        group,\r\n        currentPage,\r\n        totalPages,\r\n        stateKey,\r\n        sectionIndex\r\n    ) {\r\n\r\n        if (\r\n            totalPages <= 1\r\n        ) {\r\n\r\n            return null;\r\n        }\r\n\r\n\r\n        const pagination =\r\n            document.createElement(\r\n                'div'\r\n            );\r\n\r\n\r\n        pagination.className =\r\n            'qse-clean-pagination';\r\n\r\n\r\n        pagination.dataset\r\n            .qseCleanGroup =\r\n            group.slug;\r\n\r\n\r\n        pagination.dataset\r\n            .qseCleanSectionIndex =\r\n            String(sectionIndex);\r\n\r\n\r\n        \/*\r\n         * LEFT <\r\n         *\/\r\n        const next =\r\n            document.createElement(\r\n                'button'\r\n            );\r\n\r\n\r\n        next.type =\r\n            'button';\r\n\r\n        next.className =\r\n            'qse-clean-arrow ' +\r\n            'qse-clean-page-next';\r\n\r\n        next.textContent =\r\n            QSE_IS_EN ? '\u203a' : '<';\r\n\r\n        next.disabled =\r\n            currentPage >=\r\n            totalPages;\r\n\r\n\r\n        next.addEventListener(\r\n            'click',\r\n            function (event) {\r\n\r\n                event.preventDefault();\r\n                event.stopPropagation();\r\n\r\n\r\n                if (\r\n                    currentPage >=\r\n                    totalPages\r\n                ) {\r\n\r\n                    return;\r\n                }\r\n\r\n\r\n                qsePageState.set(\r\n                    stateKey,\r\n                    currentPage + 1\r\n                );\r\n\r\n\r\n                qseRenderGrid(\r\n                    grid\r\n                );\r\n\r\n\r\n                \/*\r\n                 * Mobile\/desktop:\r\n                 * return to SAME section title.\r\n                 *\/\r\n                qseGoToSection(\r\n                    grid,\r\n                    group.slug\r\n                );\r\n            }\r\n        );\r\n\r\n\r\n        pagination.appendChild(\r\n            next\r\n        );\r\n\r\n\r\n        \/* ------------------------------------------------------\r\n           NUMBERS\r\n        ------------------------------------------------------ *\/\r\n\r\n        const numbers =\r\n            document.createElement(\r\n                'div'\r\n            );\r\n\r\n\r\n        numbers.className =\r\n            'qse-clean-page-numbers';\r\n\r\n\r\n        for (\r\n            let page = 1;\r\n            page <= totalPages;\r\n            page++\r\n        ) {\r\n\r\n            const button =\r\n                document.createElement(\r\n                    'button'\r\n                );\r\n\r\n\r\n            button.type =\r\n                'button';\r\n\r\n            button.className =\r\n                'qse-clean-page-number';\r\n\r\n            button.textContent =\r\n                String(page);\r\n\r\n\r\n            if (\r\n                page === currentPage\r\n            ) {\r\n\r\n                button.classList.add(\r\n                    'is-active'\r\n                );\r\n\r\n                button.setAttribute(\r\n                    'aria-current',\r\n                    'page'\r\n                );\r\n            }\r\n\r\n\r\n            button.addEventListener(\r\n                'click',\r\n                function (event) {\r\n\r\n                    event.preventDefault();\r\n                    event.stopPropagation();\r\n\r\n\r\n                    if (\r\n                        page === currentPage\r\n                    ) {\r\n\r\n                        return;\r\n                    }\r\n\r\n\r\n                    qsePageState.set(\r\n                        stateKey,\r\n                        page\r\n                    );\r\n\r\n\r\n                    qseRenderGrid(\r\n                        grid\r\n                    );\r\n\r\n\r\n                    \/*\r\n                     * Fix mobile downward jump.\r\n                     *\/\r\n                    qseGoToSection(\r\n                        grid,\r\n                        group.slug\r\n                    );\r\n                }\r\n            );\r\n\r\n\r\n            numbers.appendChild(\r\n                button\r\n            );\r\n        }\r\n\r\n\r\n        pagination.appendChild(\r\n            numbers\r\n        );\r\n\r\n\r\n        \/*\r\n         * RIGHT >\r\n         *\/\r\n        const previous =\r\n            document.createElement('button'\r\n            );\r\n\r\n\r\n        previous.type =\r\n            'button';\r\n\r\n        previous.className =\r\n            'qse-clean-arrow ' +\r\n            'qse-clean-page-prev';\r\n\r\n        previous.textContent =\r\n            QSE_IS_EN ? '\u2039' : '>';\r\n\r\n        previous.disabled =\r\n            currentPage <= 1;\r\n\r\n\r\n        previous.addEventListener(\r\n            'click',\r\n            function (event) {\r\n\r\n                event.preventDefault();\r\n                event.stopPropagation();\r\n\r\n\r\n                if (\r\n                    currentPage <= 1\r\n                ) {\r\nreturn;\r\n                }\r\n\r\n\r\n                qsePageState.set(\r\n                    stateKey,\r\n                    currentPage - 1\r\n                );\r\n\r\n\r\n                qseRenderGrid(\r\n                    grid\r\n                );\r\n\r\n\r\n                qseGoToSection(\r\n                    grid,\r\n                    group.slug\r\n                );\r\n            }\r\n        );\r\n\r\n\r\n        pagination.appendChild(\r\n            previous\r\n        );\r\n\r\n\r\n        return pagination;\r\n    }\r\n\r\n\r\n    \/* ==========================================================\r\n       18. SECTION BAND\r\n    ========================================================== *\/\r\n\r\n    function qseCreateBand(\r\n        grid,\r\n        sectionIndex,\r\n        visualIndex\r\n    ) {\r\n\r\n        const band =\r\n            document.createElement(\r\n                'div'\r\n            );\r\n\r\n\r\n        band.className =\r\n            'qse-clean-section-band';\r\n\r\n\r\n        band.classList.add(\r\n            visualIndex % 2 === 0\r\n                ? 'is-odd'\r\n                : 'is-even'\r\n        );\r\n\r\n\r\n        band.dataset\r\n            .qseCleanSectionIndex =\r\n            String(sectionIndex);\r\n\r\n\r\n        grid.appendChild(\r\n            band\r\n        );\r\n    }\r\n\r\n\r\n    \/* ==========================================================\r\n       19. UPDATE BANDS\r\n    ========================================================== *\/\r\n\r\n    function qseUpdateBands(grid) {\r\n\r\n        const titles =\r\n            Array.from(\r\n                grid.querySelectorAll(\r\n                    ':scope > .qse-clean-section-title'\r\n                )\r\n            );\r\n\r\n\r\n        if (!titles.length) {\r\n            return;\r\n        }\r\n\r\n\r\n        const gridRect =\r\n            grid.getBoundingClientRect();\r\n\r\n\r\n        titles.forEach(\r\n            function (\r\n                title,\r\n                visualIndex\r\n            ) {\r\n\r\n                const sectionIndex =\r\n                    title.dataset\r\n                        .qseCleanSectionIndex;\r\n\r\n\r\n                const band =\r\n                    grid.querySelector(\r\n                        ':scope > ' +\r\n                        '.qse-clean-section-band' +\r\n                        '[data-qse-clean-section-index=\"' +\r\n                        sectionIndex +\r\n                        '\"]'\r\n                    );\r\n\r\n\r\n                if (!band) {\r\n                    return;\r\n                }\r\n\r\n\r\n                band.classList.remove(\r\n                    'is-odd',\r\n                    'is-even'\r\n                );\r\n\r\n\r\n                band.classList.add(\r\n                    visualIndex % 2 === 0\r\n                        ? 'is-odd'\r\n                        : 'is-even'\r\n                );\r\n\r\n\r\n                const titleRect =\r\n                    title.getBoundingClientRect();\r\n\r\n\r\n                const top =\r\n                    titleRect.top -\r\n                    gridRect.top;\r\n\r\n\r\n                let bottom;\r\n\r\n\r\n                if (\r\n                    titles[\r\n                        visualIndex + 1\r\n                    ]\r\n                ) {\r\n\r\n                    const nextRect =\r\n                        titles[\r\n                            visualIndex + 1\r\n                        ]\r\n                            .getBoundingClientRect();\r\n\r\n\r\n                    bottom =\r\n                        nextRect.top -\r\n                        gridRect.top;\r\n\r\n                } else {\r\n\r\n                    const pager =\r\n                        Array.from(\r\n                            grid.children\r\n                        )\r\n                        .find(function (element) {\r\n\r\n                            return (\r\n                                element.classList\r\n                                    .contains(\r\n                                        'qse-clean-pagination'\r\n                                    ) &&\r\n                                element.dataset\r\n                                    .qseCleanSectionIndex ===\r\n                                sectionIndex\r\n                            );\r\n                        });\r\n\r\n\r\n                    if (pager) {\r\n\r\n                        const pagerRect =\r\n                            pager\r\n                                .getBoundingClientRect();\r\n\r\n\r\n                        bottom =\r\n                            pagerRect.bottom -\r\n                            gridRect.top;\r\n\r\n                    } else {\r\n\r\n                        const visibleCards =\r\n                            Array.from(\r\n                                grid.children\r\n                            )\r\n                            .filter(\r\n                                function (element) {\r\n\r\n                                    return (\r\n                                        element.matches(\r\n                                            QSE_CARD\r\n                                        ) &&\r\n                                        element.dataset\r\n                                            .qseCleanSectionIndex ===\r\n                                            sectionIndex &&\r\n                                        !element.classList\r\n                                            .contains(\r\n                                                'qse-clean-page-hidden'\r\n                                            )\r\n                                    );\r\n                                }\r\n                            );\r\n\r\n\r\n                        const last =\r\n                            visibleCards[\r\n                                visibleCards.length - 1\r\n                            ];\r\n\r\n\r\n                        if (!last) {\r\n                            return;\r\n                        }\r\n\r\n\r\n                        const lastRect =\r\n                            last\r\n                                .getBoundingClientRect();\r\n\r\n\r\n                        bottom =\r\n                            lastRect.bottom -\r\n                            gridRect.top;\r\n                    }\r\n                }\r\n\r\n\r\n                band.style.top =\r\n                    top + 'px';\r\n\r\n\r\n                band.style.height =\r\n                    Math.max(\r\n                        0,\r\n                        bottom - top\r\n                    ) + 'px';\r\n            }\r\n        );\r\n    }\r\n\r\n\r\n    \/* ==========================================================\r\n       20. RENDER\r\n    ========================================================== *\/\r\n\r\n    function qseRenderGrid(grid) {\r\n\r\n        const anchor =\r\n            qseEnsureAnchor(\r\n                grid\r\n            );\r\n\r\n\r\n        qseEnsureCardIndexes(\r\n            grid\r\n        );\r\n\r\n\r\n        qseResetGrid(\r\n            grid\r\n        );\r\n\r\n\r\n        const allCards =\r\n            qseGetCardsInOriginalOrder(\r\n                grid\r\n            );\r\n\r\n\r\n        \/\/ Start with all published, Pods-bound cards. Both the parent and\r\n        \/\/ child filters are implemented below by qseGetGroups(); do not\r\n        \/\/ accidentally inherit UE's pre-initialization hidden-card state.\r\n        allCards.forEach(qseRestoreUECardVisibility);\r\n        const visibleCards = allCards;\r\n\r\n\r\n        if (!visibleCards.length) {\r\n            return;\r\n        }\r\n\r\n\r\n        grid.classList.add(\r\n            'qse-clean-responsive-grid'\r\n        );\r\n\r\n\r\n        let groups = qseGetGroups(visibleCards);\r\n\r\n        \/\/ TranslatePress can update All \/ filter labels AFTER Elementor has\r\n        \/\/ rendered its first tabs. On the initial visit only, recover from an\r\n        \/\/ incorrect plugin-selected category instead of hiding all 20 cards.\r\n        \/\/ NEVER override a real visitor click (main OR child).\r\n        if (!groups.length && !qseMainUserInteracted) {\r\n            qseMainSelection = null;\r\n            qseChildSelection = null;\r\n            const allButton = qseGetAllMainButton();\r\n            qseSetMainActive(allButton || null);\r\n            qseSyncChildFilter();\r\n            groups = qseGetGroups(visibleCards);\r\n        }\r\n\r\n        \/\/ This system filters client-side. UE Ajax is intentionally OFF.\r\n        \/\/ Hide every card that isn't in the selected main\/child groups;\r\n        \/\/ previous versions relied on UE Ajax to hide these externally.\r\n        const selectedCards = new Set(groups.flatMap(group => group.cards));\r\n        allCards.forEach(function (card) {\r\n            if (!selectedCards.has(card)) card.classList.add('qse-clean-page-hidden');\r\n        });\r\n\r\n        const gridId =\r\n            qseGetGridId(\r\n                grid\r\n            );\r\n\r\n\r\n        let cursor =\r\n            anchor;\r\n\r\n\r\n        groups.forEach(\r\n            function (\r\n                group,\r\n                visualIndex\r\n            ) {\r\n\r\n                const sectionIndex =\r\n                    visualIndex;\r\n\r\n\r\n                const total =\r\n                    group.cards.length;\r\n\r\n\r\n                const totalPages =\r\n                    Math.max(\r\n                        1,\r\n                        Math.ceil(\r\n                            total \/\r\n                            QSE_PER_PAGE\r\n                        )\r\n                    );\r\n\r\n\r\n                const stateKey =\r\n                    gridId +\r\n                    '::' +\r\n                    group.slug;\r\n\r\n\r\n                let currentPage =\r\n                    qsePageState.get(\r\n                        stateKey\r\n                    ) || 1;\r\n\r\n\r\n                if (\r\n                    currentPage >\r\n                    totalPages\r\n                ) {\r\n\r\n                    currentPage = 1;\r\n\r\n                    qsePageState.set(\r\n                        stateKey,\r\n                        1\r\n                    );\r\n                }\r\n\r\n\r\n                const start =\r\n                    (\r\n                        currentPage - 1\r\n                    ) *\r\n                    QSE_PER_PAGE;\r\n\r\n\r\n                \/*\r\n                 * STRICT max = 6\r\n                 *\/\r\n                const pageCards =\r\n                    group.cards.slice(\r\n                        start,\r\n                        start +\r\n                        QSE_PER_PAGE\r\n                    );\r\n\r\n\r\n                if (!pageCards.length) {\r\n                    return;\r\n                }\r\n\r\n\r\n                \/* ==============================================\r\n                   TITLE\r\n                ============================================== *\/\r\n\r\n                const title =\r\n                    document.createElement(\r\n                        'div'\r\n                    );\r\n\r\n\r\n                title.className =\r\n                    'qse-clean-section-title';\r\n\r\n\r\n                title.dataset\r\n                    .qseCleanGroup =\r\n                    group.slug;\r\n\r\n\r\n                title.dataset\r\n                    .qseCleanSectionIndex =\r\n                    String(\r\n                        sectionIndex\r\n                    );\r\n\r\n\r\n                title.textContent =\r\n                    group.name;\r\n\r\n\r\n                cursor\r\n                    .insertAdjacentElement(\r\n                        'afterend',\r\n                        title\r\n                    );\r\n\r\n\r\n                cursor =\r\n                    title;\r\n\r\n\r\n                \/* ==============================================\r\n                   CURRENT PAGE CARDS\r\n                ============================================== *\/\r\n\r\n                pageCards.forEach(\r\n                    function (card) {\r\n\r\n                        card.dataset\r\n                            .qseCleanGroup =\r\n                            group.slug;\r\n\r\n\r\n                        card.dataset\r\n                            .qseCleanSectionIndex =\r\n                            String(\r\n                                sectionIndex\r\n                            );\r\n\r\n\r\n                        card.classList.remove(\r\n                            'qse-clean-page-hidden'\r\n                        );\r\n\r\n\r\n                        cursor\r\n                            .insertAdjacentElement(\r\n                                'afterend',\r\n                                card\r\n                            );\r\n\r\n\r\n                        cursor =\r\n                            card;\r\n                    }\r\n                );\r\n\r\n\r\n                qseBalanceCards(\r\n                    pageCards,\r\n                    totalPages > 1\r\n                );\r\n\r\n\r\n                \/* ==============================================\r\n                   HIDDEN PAGE CARDS\r\n                ============================================== *\/\r\n\r\n                group.cards\r\n                    .filter(function (card) {\r\n\r\n                        return !pageCards\r\n                            .includes(card);\r\n                    })\r\n                    .forEach(function (card) {\r\n\r\n                        card.dataset\r\n                            .qseCleanGroup =\r\n                            group.slug;\r\n\r\n\r\n                        card.dataset\r\n                            .qseCleanSectionIndex =\r\n                            String(\r\n                                sectionIndex\r\n                            );\r\n\r\n\r\n                        card.classList.add(\r\n                            'qse-clean-page-hidden'\r\n                        );\r\n\r\n\r\n                        cursor\r\n                            .insertAdjacentElement(\r\n                                'afterend',\r\n                                card\r\n                            );\r\n\r\n\r\n                        cursor =\r\n                            card;\r\n                    });\r\n\r\n\r\n                \/* ==============================================\r\n                   PAGINATION\r\n                ============================================== *\/\r\n\r\n                const pager =\r\n                    qseCreatePagination(\r\n                        grid,\r\n                        group,\r\n                        currentPage,\r\n                        totalPages,\r\n                        stateKey,\r\n                        sectionIndex\r\n                    );\r\n\r\n\r\n                if (pager) {\r\n\r\n                    cursor\r\n                        .insertAdjacentElement(\r\n                            'afterend',\r\n                            pager\r\n                        );\r\n\r\n\r\n                    cursor =\r\n                        pager;\r\n                }\r\n\r\n\r\n                qseCreateBand(\r\n                    grid,\r\n                    sectionIndex,\r\n                    visualIndex\r\n                );\r\n            }\r\n        );\r\n\r\n\r\n        requestAnimationFrame(\r\n            function () {\r\n                qseUpdateBands(grid);\r\n                grid.querySelectorAll('.qse-engineering-forum').forEach(qseMatchForumPanelHeight);\r\n            }\r\n        );\r\n    }\r\n\r\n\r\n    \/* ==========================================================\r\n       21. RESIZE OBSERVER\r\n    ========================================================== *\/\r\n\r\n    function qseObserveGrid(grid) {\r\n\r\n        if (\r\n            qseResizeObservers.has(\r\n                grid\r\n            )\r\n        ) {\r\n\r\n            return;\r\n        }\r\n\r\n\r\n        if (\r\n            typeof ResizeObserver ===\r\n            'undefined'\r\n        ) {\r\n\r\n            return;\r\n        }\r\n\r\n\r\n        const observer =\r\n            new ResizeObserver(\r\n                function () {\r\n\r\n                    requestAnimationFrame(\r\n                        function () {\r\n\r\n                            qseUpdateBands(\r\n                                grid\r\n                            );\r\n                        }\r\n                    );\r\n                }\r\n            );\r\n\r\n\r\n        observer.observe(\r\n            grid\r\n        );\r\n\r\n\r\n        qseResizeObservers.set(\r\n            grid,\r\n            observer\r\n        );\r\n    }\r\n\r\n\r\n    \/* ==========================================================\r\n       22. REFRESH IMMEDIATELY\r\n    ========================================================== *\/\r\n\r\n    let qseRefreshVersion = 0;\r\n\r\n    function qseRefreshNow(resetPages) {\r\n        const version = ++qseRefreshVersion;\r\n        if (resetPages) qsePageState.clear();\r\n\r\n        qseLoadActivities().then(function () {\r\n            if (version !== qseRefreshVersion) return;\r\n            qsePrepareCards();\r\n            qseEnableTabDragging();\r\n            qseStartMainClickHandler();\r\n            qseStartChildClickHandler();\r\n            qseEnsureMainScrollControls();\r\n            qseSyncChildFilter();\r\n            qseGetGrids().forEach(function (grid) {\r\n                qseSetStatus(grid, '', false);\r\n                qseRenderGrid(grid);\r\n                qseObserveGrid(grid);\r\n            });\r\n        }).catch(function (error) {\r\n            if (version !== qseRefreshVersion) return;\r\n            console.warn('QSE Activities: Unable to load taxonomy data', error);\r\n            if (!qseGetGrids().length) {\r\n                document.querySelectorAll('.qse-activity-posts').forEach(function(widget) {\r\n                    let notice = widget.querySelector('.qse-clean-system-status');\r\n                    if (!notice) {\r\n                        notice = document.createElement('div');\r\n                        notice.className = 'qse-clean-system-status';\r\n                        notice.setAttribute('role','status');\r\n                        widget.prepend(notice);\r\n                    }\r\n                    notice.textContent = QSE_WORDS.loadErrorShort;\r\n                });\r\n            }\r\n            qseGetGrids().forEach(function (grid) {\r\n                \/\/ Keep the original Unlimited Elements cards usable on failure.\r\n                qseResetGrid(grid);\r\n                grid.classList.remove('qse-clean-responsive-grid');\r\n                qseSetStatus(grid,\r\n                    QSE_WORDS.loadError, true);\r\n            });\r\n        });\r\n    }\r\n\r\n    function qseScheduleRefresh(\r\n        resetPages\r\n    ) {\r\n\r\n        if (qseRefreshFrame) {\r\n\r\n            cancelAnimationFrame(\r\n                qseRefreshFrame\r\n            );\r\n        }\r\n\r\n\r\n        \/*\r\n         * ONE frame only.\r\n         * No setTimeout.\r\n         * No double RAF.\r\n         *\/\r\n        qseRefreshFrame =\r\n            requestAnimationFrame(\r\n                function () {\r\n\r\n                    qseRefreshNow(\r\n                        resetPages\r\n                    );\r\n                }\r\n            );\r\n    }\r\n\r\n\r\n    \/* ==========================================================\r\n       23. WATCH REAL CARD VISIBILITY CHANGES\r\n\r\n       Instead of guessing on filter click,\r\n       wait for UE to actually change cards.\r\n\r\n       This prevents:\r\n       click -> wrong render -> AJAX ->\r\n       second render -> visible loading\/flicker.\r\n    ========================================================== *\/\r\n\r\n    function qseStartFilterObserver() {\r\n\r\n        if (\r\n            qseFilterObserver ||\r\n            !document.body\r\n        ) {\r\n\r\n            return;\r\n        }\r\n\r\n\r\n        qseFilterObserver =\r\n            new MutationObserver(\r\n                function (mutations) {\r\n\r\n                    let filterChanged =\r\n                        false;\r\n\r\n\r\n                    for (\r\n                        const mutation\r\n                        of mutations\r\n                    ) {\r\n\r\n                        if (\r\n                            mutation.type !==\r\n                            'attributes'\r\n                        ) {\r\n\r\n                            continue;\r\n                        }\r\nconst target =\r\n                            mutation.target;\r\n\r\n\r\n                        if (\r\n                            !target ||\r\n                            !target.matches ||\r\n                            !target.matches(\r\n                                QSE_CARD\r\n                            )\r\n                        ) {\r\n\r\n                            continue;\r\n                        }\r\n\r\n\r\n                        filterChanged =\r\n                            true;\r\n\r\n                        break;\r\n                    }if (filterChanged) {\r\n\r\n                        qseScheduleRefresh(\r\n                            true\r\n                        );\r\n                    }\r\n                }\r\n            );\r\n\r\n\r\n        qseFilterObserver.observe(\r\n            document.body,\r\n            {\r\n                subtree: true,\r\n\r\n                attributes: true,\r\n\r\n                \/*\r\n                 * UE normally controls filtering\r\n                 * using visibility\/display attributes.\r\n                 *\r\n                 * We intentionally do NOT watch class,\r\n                 * because our own pagination changes\r\n                 * card classes.\r\n                 *\/\r\n                attributeFilter: [\r\n                    'style',\r\n                    'hidden',\r\n                    'aria-hidden'\r\n                ]\r\n            }\r\n        );\r\n    }\r\n\r\n\r\n    \/* ==========================================================\r\n       24. INITIAL LOAD \u2014 WAIT FOR TRANSLATEPRESS \/ UE CARDS\r\n       No polling, duplicate AJAX, or synthetic clicks.\r\n    ========================================================== *\/\r\n\r\n    let qseLateContentObserver = null;\r\n\r\n    function qseStartLateContentObserver() {\r\n        if (qseLateContentObserver || !document.body) return;\r\n        qseLateContentObserver = new MutationObserver(function(mutations) {\r\n            let needsRefresh = false;\r\n            for (const mutation of mutations) {\r\n                if (mutation.type !== 'childList') continue;\r\n                for (const node of mutation.addedNodes) {\r\n                    if (node.nodeType !== 1) continue;\r\n                    const element = node;\r\n                    \/\/ Only respond to NEW unprepared cards, or to main tabs\r\n                    \/\/ first appearing. Ignore our own titles, arrows, photos,\r\n                    \/\/ pagination and moving of already enhanced cards.\r\n                    const pendingCard =\r\n                        element.matches('.qse-activity-posts .ue_post_blocks_box:not([data-qse-pods-enhanced=\"1\"]), .qse-activity-posts .qse-clean-activity-card:not([data-qse-pods-enhanced=\"1\"])') ||\r\n                        element.querySelector('.qse-activity-posts .ue_post_blocks_box:not([data-qse-pods-enhanced=\"1\"]), .qse-activity-posts .qse-clean-activity-card:not([data-qse-pods-enhanced=\"1\"])');\r\n                    const pendingMainTabs = (!qseMainInitialized ||\r\n                        !document.querySelector('.qse-main-filter-row[data-qse-main-handler=\"1\"]')) &&\r\n                        (element.matches('.qse-main-filter-row, .qse-main-filter-row .e-filter-item, .qse-main-filter-row [role=\"tab\"]') ||\r\n                         element.querySelector('.qse-main-filter-row .e-filter-item, .qse-main-filter-row [role=\"tab\"]'));\r\n                    if (pendingCard || pendingMainTabs) {\r\n                        needsRefresh = true;\r\n                        break;\r\n                    }\r\n                }\r\n                if (needsRefresh) break;\r\n            }\r\n            if (needsRefresh) qseScheduleRefresh(false);\r\n        });\r\n        qseLateContentObserver.observe(document.body, {\r\n            childList: true,\r\n            subtree: true\r\n        });\r\n    }\r\n\r\n    $(document).ready(function () {\r\n        qseStartLateContentObserver();\r\n        qseStartFilterObserver();\r\n        qseScheduleRefresh(false);\r\n        \/\/ One extra readiness check after images\/plugins complete their load.\r\n        \/\/ If everything was ready already, this is an inexpensive refresh.\r\n        if (document.readyState !== 'complete') {\r\n            window.addEventListener('load', function () {\r\n                qseScheduleRefresh(false);\r\n            }, { once: true });\r\n        }\r\n    });\r\n\r\n\r\n    \/* ==========================================================\r\n       25. UE AJAX FINISHED\r\n\r\n       This is now the main AJAX filter refresh.\r\n\r\n       NO separate filter-click render.\r\n    ========================================================== *\/\r\n\r\n    $(document).on(\r\n        'uc_ajax_refreshed_body.qseCleanLayout',\r\n        function () {\r\n\r\n            qseScheduleRefresh(\r\n                true\r\n            );\r\n        }\r\n    );\r\n\r\n\r\n    \/*\r\n     * IMPORTANT:\r\n     *\r\n     * There is intentionally NO:\r\n     *\r\n     * $('.qse-main-filter-row').on('click'...)\r\n     *\r\n     * and NO:\r\n     *\r\n     * setTimeout(...250)\r\n     *\r\n     * We do not render twice while\r\n     * Unlimited Elements is filtering.\r\n     *\/\r\n\r\n\r\n    \/* ==========================================================\r\n       26. RESIZE\r\n    ========================================================== *\/\r\n\r\n    let qseResizeFrame =\r\n        null;\r\n\r\n\r\n    $(window).on(\r\n        'resize.qseCleanLayout',\r\n        function () {\r\n\r\n            if (qseResizeFrame) {\r\n\r\n                cancelAnimationFrame(\r\n                    qseResizeFrame\r\n                );\r\n            }\r\n\r\n\r\n            qseResizeFrame =\r\n                requestAnimationFrame(\r\n                    function () {\r\n\r\n                        qseGetGrids()\r\n                            .forEach(\r\n                                function (grid) {\r\n\r\n                                    qseUpdateBands(\r\n                                        grid\r\n                                    );\r\n                                }\r\n                            );\r\n                    }\r\n                );\r\n        }\r\n    );\r\n\r\n\r\n})(jQuery);\r\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-3b46e7b e-con-full wcf-starter-animations-slide e-flex wcf-slide-bottom e-con e-child\" data-id=\"3b46e7b\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;wcf_enable_cursor_hover_effect_text&quot;:&quot;View&quot;,&quot;background_background&quot;:&quot;classic&quot;,&quot;wcf-animation&quot;:&quot;none&quot;,&quot;wcf_enable_pin_area&quot;:&quot;no&quot;,&quot;aae_enable_header_sticky_area&quot;:&quot;no&quot;,&quot;wcf_enable_horizontal_scroll&quot;:&quot;no&quot;}\">\n\t\t<div class=\"elementor-element elementor-element-a27a3bc e-con-full e-flex wcf-starter-animations-none e-con e-child\" data-id=\"a27a3bc\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;wcf_enable_cursor_hover_effect_text&quot;:&quot;View&quot;,&quot;wcf-animation&quot;:&quot;none&quot;,&quot;wcf_enable_pin_area&quot;:&quot;no&quot;,&quot;aae_enable_header_sticky_area&quot;:&quot;no&quot;,&quot;wcf_enable_horizontal_scroll&quot;:&quot;no&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-4f7ea73 elementor-widget__width-inherit wcf-starter-animations-none wcf-t-animation-none elementor-widget elementor-widget-wcf--title\" data-id=\"4f7ea73\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;wcf_starter_animations&quot;:&quot;none&quot;,&quot;wcf_anim_duration&quot;:1000,&quot;wcf_anim_delay&quot;:0,&quot;wcf_anim_ease&quot;:&quot;ease&quot;,&quot;wcf_text_animation&quot;:&quot;none&quot;,&quot;wcf-animation&quot;:&quot;none&quot;}\" data-widget_type=\"wcf--title.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"wcf--title\">\u0643\u0646 \u062c\u0632\u0621\u064b\u0627 \u0645\u0646 \u0645\u062c\u062a\u0645\u0639 \u0647\u0646\u062f\u0633\u064a \u064a\u0635\u0646\u0639 \u0627\u0644\u0645\u0633\u062a\u0642\u0628\u0644\n<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-33284d4 elementor-widget__width-inherit wcf-starter-animations-none wcf-t-animation-none elementor-widget elementor-widget-heading\" data-id=\"33284d4\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;wcf_starter_animations&quot;:&quot;none&quot;,&quot;wcf_anim_duration&quot;:1000,&quot;wcf_anim_delay&quot;:0,&quot;wcf_anim_ease&quot;:&quot;ease&quot;,&quot;wcf_text_animation&quot;:&quot;none&quot;,&quot;wcf-animation&quot;:&quot;none&quot;}\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-heading-title elementor-size-default\">\u0634\u0627\u0631\u0643 \u0641\u064a \u0645\u0624\u062a\u0645\u0631\u0627\u062a\u0646\u0627 \u0648\u0645\u0639\u0627\u0631\u0636\u0646\u0627 \u0648\u0645\u0644\u062a\u0642\u064a\u0627\u062a\u0646\u0627\u060c \u0648\u0627\u0643\u062a\u0634\u0641 \u0641\u0631\u0635\u064b\u0627 \u062c\u062f\u064a\u062f\u0629 \u0644\u0644\u062a\u0639\u0644\u0651\u0645 \u0648\u0627\u0644\u062a\u0648\u0627\u0635\u0644 \u0648\u062a\u0628\u0627\u062f\u0644 \u0627\u0644\u062e\u0628\u0631\u0627\u062a \u0645\u0639 \u0646\u062e\u0628\u0629 \u0645\u0646 \u0627\u0644\u0645\u0647\u0646\u062f\u0633\u064a\u0646 \u0648\u0627\u0644\u0645\u062a\u062e\u0635\u0635\u064a\u0646.<\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-2b159e8 e-flex e-con-boxed wcf-starter-animations-none e-con e-parent\" data-id=\"2b159e8\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;wcf_enable_cursor_hover_effect_text&quot;:&quot;View&quot;,&quot;wcf-animation&quot;:&quot;none&quot;,&quot;wcf_enable_pin_area&quot;:&quot;no&quot;,&quot;aae_enable_header_sticky_area&quot;:&quot;no&quot;,&quot;wcf_enable_horizontal_scroll&quot;:&quot;no&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-23e1d4b elementor-widget elementor-widget-html\" data-id=\"23e1d4b\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;wcf-animation&quot;:&quot;none&quot;}\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<script>\r\n(function () {\r\n  \"use strict\";\r\n\r\n  \/\/ Space (px) between the nav and the section after clicking: mobile, desktop\r\n  const GAP_MOBILE = 50;\r\n  const GAP_DESKTOP = 100;\r\n\r\n  \/\/ Where a section becomes \"active\" (lower = switches earlier, higher = later)\r\n  const ACTIVE_LINE = 0.75;\r\n\r\n  \/\/ Mobile tab text: starts at FONT_MAX, shrinks only if a word doesn't fit\r\n  const FONT_MAX = 14; \/\/ px  <- change this to the size you want\r\n  const FONT_MIN = 10; \/\/ px  <- never smaller than this\r\n\r\n  \/\/ Desktop \/ iPad only: how many times Elementor may be asked to re-measure\r\n  const REMEASURE_MAX = 5;\r\n\r\n  function initQseContactNav() {\r\n    const nav = document.querySelector(\".qse-section-nav\");\r\n    if (!nav || nav.dataset.qseReady) return;\r\n\r\n    const mapping = [\r\n      [\"activities\", \"qse-activities\"]\r\n    ];\r\n\r\n    const items = mapping.map(([id, cls]) => ({\r\n      section: document.getElementById(id),\r\n      widget: nav.querySelector(\".\" + cls)\r\n    })).filter(item => item.section && item.widget);\r\n\r\n    if (!items.length) return;\r\n    nav.dataset.qseReady = \"true\";\r\n\r\n    \/\/ Sentinel marks the nav's real place; spacer holds its height when fixed (mobile)\r\n    \/\/ Both are hidden by CSS above 767px, so they never affect desktop \/ iPad.\r\n    const sentinel = document.createElement(\"div\");\r\n    sentinel.className = \"qse-nav-sentinel\";\r\n    nav.parentNode.insertBefore(sentinel, nav);\r\n\r\n    const spacer = document.createElement(\"div\");\r\n    spacer.className = \"qse-nav-spacer\";\r\n    nav.parentNode.insertBefore(spacer, nav.nextSibling);\r\n\r\n    const titles = Array.from(nav.querySelectorAll(\".elementor-icon-box-title\"));\r\n    const mobile = window.matchMedia(\"(max-width: 767px)\");\r\n    const desktop = window.matchMedia(\"(min-width: 768px)\");\r\n    const root = document.documentElement;\r\n    let stuck = false;\r\n    let ticking = false;\r\n    let resizing = false;\r\n    let lastFitWidth = -1;\r\n\r\n    \/\/ Desktop \/ iPad: asking Elementor to re-measure its sticky nav\r\n    let remeasureRuns = 0;\r\n    let remeasureTimer = null;\r\n\r\n    const gap = () => (mobile.matches ? GAP_MOBILE : GAP_DESKTOP);\r\n    const navHeight = () => nav.getBoundingClientRect().height;\r\n\r\n    function adminBarHeight() {\r\n      const bar = document.getElementById(\"wpadminbar\");\r\n      return bar && getComputedStyle(bar).position === \"fixed\"\r\n        ? bar.getBoundingClientRect().height\r\n        : 0;\r\n    }\r\n\r\n    const navBottom = () => navHeight() + adminBarHeight();\r\n\r\n    \/\/ Line where a section's top sits after clicking its icon\r\n    const landingLine = () => navBottom() + gap();\r\n\r\n    function updateLayout() {\r\n      root.style.setProperty(\"--qse-top\", adminBarHeight() + \"px\");\r\n      if (stuck) spacer.style.height = navHeight() + \"px\";\r\n    }\r\n\r\n    \/\/ Mobile only: fix the nav once its original place scrolls past the top\r\n    function updateStuck() {\r\n      const shouldStick = mobile.matches &&\r\n        sentinel.getBoundingClientRect().top <= adminBarHeight();\r\n\r\n      if (shouldStick === stuck) return;\r\n\r\n      if (shouldStick) {\r\n        const bg = getComputedStyle(nav).backgroundColor;\r\n        if (bg && bg !== \"transparent\" && bg !== \"rgba(0, 0, 0, 0)\") {\r\n          nav.style.setProperty(\"--qse-nav-bg\", bg);\r\n        } else {\r\n          nav.style.removeProperty(\"--qse-nav-bg\");\r\n        }\r\n        spacer.style.height = navHeight() + \"px\";\r\n        nav.classList.add(\"is-stuck\");\r\n      } else {\r\n        nav.classList.remove(\"is-stuck\");\r\n        spacer.style.height = \"0px\";\r\n      }\r\n\r\n      stuck = shouldStick;\r\n    }\r\n\r\n    \/\/ Mobile only: is any word too wide for its tab?\r\n    function overflowing() {\r\n      if (nav.scrollWidth > nav.clientWidth + 1) return true;\r\n      return titles.some(t => t.scrollWidth > t.clientWidth + 1);\r\n    }\r\n\r\n    \/\/ Mobile only: keep FONT_MAX; shrink all tabs together only if needed.\r\n    \/\/ Skips the work if the nav width has not changed since the last check.\r\n    function fitFont() {\r\n      if (!mobile.matches) {\r\n        nav.style.removeProperty(\"--qse-fs\");\r\n        lastFitWidth = -1;\r\n        return;\r\n      }\r\n\r\n      const width = nav.clientWidth;\r\n      if (width === lastFitWidth) return;\r\n      lastFitWidth = width;\r\n\r\n      let size = FONT_MAX;\r\n      nav.style.setProperty(\"--qse-fs\", size + \"px\");\r\n\r\n      while (size > FONT_MIN && overflowing()) {\r\n        size -= 0.5;\r\n        nav.style.setProperty(\"--qse-fs\", size + \"px\");\r\n      }\r\n    }\r\n\r\n    \/\/ Desktop \/ iPad only: Elementor re-measures sticky elements on a window\r\n    \/\/ resize event, so after fonts\/icons settle we trigger one (limited runs).\r\n    function remeasure() {\r\n      if (!desktop.matches || remeasureRuns >= REMEASURE_MAX) return;\r\n      remeasureRuns++;\r\n      window.dispatchEvent(new Event(\"resize\"));\r\n    }\r\n\r\n    function scheduleRemeasure() {\r\n      if (!desktop.matches) return;\r\n      clearTimeout(remeasureTimer);\r\n      remeasureTimer = setTimeout(remeasure, 150);\r\n    }\r\n\r\n    \/\/ Highlight the section at the active line (independent of the click gap)\r\n    function updateActive() {\r\n      const top = navBottom();\r\n      const line = top + (window.innerHeight - top) * ACTIVE_LINE;\r\n\r\n      let active = items.find(({ section }) => {\r\n        const rect = section.getBoundingClientRect();\r\n        return rect.top <= line && rect.bottom > line;\r\n      });\r\n\r\n      \/\/ At the very bottom of the page, the last section is active\r\n      const atBottom = window.innerHeight + window.pageYOffset >=\r\n                       document.documentElement.scrollHeight - 2;\r\n      if (atBottom) active = items[items.length - 1];\r\n\r\n      items.forEach(item => {\r\n        item.widget.classList.toggle(\"is-active\", item === active);\r\n      });\r\n    }\r\n\r\n    function scheduleUpdate() {\r\n      if (ticking) return;\r\n      ticking = true;\r\n      requestAnimationFrame(() => {\r\n        ticking = false;\r\n        updateStuck();\r\n        updateActive();\r\n      });\r\n    }\r\n\r\n    function refresh() {\r\n      fitFont();\r\n      updateLayout();\r\n      updateStuck();\r\n      updateActive();\r\n    }\r\n\r\n    function scheduleRefresh() {\r\n      if (resizing) return;\r\n      resizing = true;\r\n      requestAnimationFrame(() => {\r\n        resizing = false;\r\n        refresh();\r\n      });\r\n    }\r\n\r\n    \/\/ Click: chosen by WHICH ICON was clicked. Capture phase runs before\r\n    \/\/ Elementor's own handler; preventDefault keeps the URL unchanged.\r\n    nav.addEventListener(\"click\", function (e) {\r\n      const item = items.find(({ widget }) => widget.contains(e.target));\r\n      if (!item) return;\r\n\r\n      e.preventDefault();\r\n      e.stopImmediatePropagation();\r\n\r\n      const top = item.section.getBoundingClientRect().top +\r\n                  window.pageYOffset - landingLine();\r\n\r\n      window.scrollTo({ top: Math.max(top, 0), behavior: \"smooth\" });\r\n\r\n      if (document.activeElement) document.activeElement.blur();\r\n    }, true);\r\n\r\n    refresh();\r\n\r\n    window.addEventListener(\"scroll\", scheduleUpdate, { passive: true });\r\n    window.addEventListener(\"resize\", scheduleRefresh);\r\n\r\n    window.addEventListener(\"load\", function () {\r\n      refresh();\r\n      scheduleRemeasure();\r\n    }, { once: true });\r\n\r\n    \/\/ Once the web fonts are loaded the text width changes: re-check everything\r\n    if (document.fonts && document.fonts.ready) {\r\n      document.fonts.ready.then(() => {\r\n        lastFitWidth = -1;\r\n        refresh();\r\n        scheduleRemeasure();\r\n      });\r\n    }\r\n\r\n    \/\/ If the nav height changes later (icons, fonts, language), refresh.\r\n    if (\"ResizeObserver\" in window) {\r\n      new ResizeObserver(() => refresh()).observe(nav);\r\n    }\r\n  }\r\n\r\n  if (document.readyState === \"loading\") {\r\n    document.addEventListener(\"DOMContentLoaded\", initQseContactNav, { once: true });\r\n  } else {\r\n    initQseContactNav();\r\n  }\r\n})();\r\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u062c\u0645\u0639\u064a\u0629 \u0627\u0644\u0645\u0647\u0646\u062f\u0633\u064a\u0646 \u0627\u0644\u0642\u0637\u0631\u064a\u0629 \u0627\u0644\u0628\u0631\u0627\u0645\u062c \u0648\u0627\u0644\u0623\u0646\u0634\u0637\u0629 \u0645\u0633\u0627\u062d\u0629 \u062a\u062c\u0645\u0639 \u0627\u0644\u062e\u0628\u0631\u0627\u062a\u060c \u0648\u062a\u0641\u062a\u062d \u0622\u0641\u0627\u0642\u064b\u0627 \u062c\u062f\u064a\u062f\u0629 \u0644\u0644\u062a\u0648\u0627\u0635\u0644 \u0648\u0627\u0644\u062a\u0639\u0644\u0645. \u0627\u0644\u0641\u0639\u0627\u0644\u064a\u0627\u062a \u0648 \u0627\u0644\u0623\u0646\u0634\u0637\u0629 \u0646\u0644\u062a\u0642\u064a \u0648 \u0646\u062a\u0628\u0627\u062f\u0644 \u0627\u0644\u0645\u0639\u0631\u0641\u0629 skip render: ucaddon_ue_buttons_post_filter skip render: ucaddon_ue_buttons_post_filter skip render: ucaddon_post_blocks_qse \u0643\u0646 \u062c\u0632\u0621\u064b\u0627 \u0645\u0646 \u0645\u062c\u062a\u0645\u0639 \u0647\u0646\u062f\u0633\u064a \u064a\u0635\u0646\u0639 \u0627\u0644\u0645\u0633\u062a\u0642\u0628\u0644 \u0634\u0627\u0631\u0643 \u0641\u064a \u0645\u0624\u062a\u0645\u0631\u0627\u062a\u0646\u0627 \u0648\u0645\u0639\u0627\u0631\u0636\u0646\u0627 \u0648\u0645\u0644\u062a\u0642\u064a\u0627\u062a\u0646\u0627\u060c \u0648\u0627\u0643\u062a\u0634\u0641 \u0641\u0631\u0635\u064b\u0627 \u062c\u062f\u064a\u062f\u0629 \u0644\u0644\u062a\u0639\u0644\u0651\u0645 \u0648\u0627\u0644\u062a\u0648\u0627\u0635\u0644 \u0648\u062a\u0628\u0627\u062f\u0644 \u0627\u0644\u062e\u0628\u0631\u0627\u062a \u0645\u0639 \u0646\u062e\u0628\u0629 \u0645\u0646 \u0627\u0644\u0645\u0647\u0646\u062f\u0633\u064a\u0646 \u0648\u0627\u0644\u0645\u062a\u062e\u0635\u0635\u064a\u0646.<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"footnotes":""},"class_list":["post-13758","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/qatarse.org\/en\/wp-json\/wp\/v2\/pages\/13758","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qatarse.org\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/qatarse.org\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/qatarse.org\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/qatarse.org\/en\/wp-json\/wp\/v2\/comments?post=13758"}],"version-history":[{"count":5,"href":"https:\/\/qatarse.org\/en\/wp-json\/wp\/v2\/pages\/13758\/revisions"}],"predecessor-version":[{"id":16787,"href":"https:\/\/qatarse.org\/en\/wp-json\/wp\/v2\/pages\/13758\/revisions\/16787"}],"wp:attachment":[{"href":"https:\/\/qatarse.org\/en\/wp-json\/wp\/v2\/media?parent=13758"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}