<?php

register_block_pattern_category(
  'advanced-accordion-block-category',
  ['label' => __('Advance Accordion Block', 'advanced-accordion-block')]
);

register_block_pattern(
  'advanced-accordion-block/pattern-accordion-auto-play',
  [
    'title' => __('Accordion Auto Play', 'advanced-accordion-block'),
    'description' => __('A description of Pattern Five.', 'advanced-accordion-block'),
    'content' => '<!-- wp:aab/group-accordion {"autoPlay":true,"QaStyle":false,"uniqueId":"c78e2d9a_0","activetorClass":"autoplay","defaultStyles":{"activeAccordionBorder":{"width":"1px","color":"#ebebeb","style":"solid"},"border":{"width":"1px","color":"#bcb6b638","style":"solid"},"headingBorder":{"color":null,"style":"solid","width":"0px"},"bodyBorder":{"top":{"color":"#bcb6b638","style":"solid","width":"1px"}},"paddings":{"top":"","right":"","left":"","bottom":""},"margins":{"top":"0px","right":"","left":"","bottom":"15px"},"borderRadius":null,"subheadingColor":null,"headingTag":"h5","headingColor":null,"headerBg":"#bcb6b638","showHeadingIcon":false,"showIcon":true,"iconColor":null,"iconBackground":null,"bodyBg":null,"anchorLinkShow":false,"QaStyle":false,"aIconText":"A","qIconText":"Q","qIconColor":"#fff","qIconBg":"#505050","aIconColor":"#fff","aIconBg":"#f5a623","faqSchema":false,"iconBorder":{"width":"0px","style":"solid","color":"transparent"},"iconBorderRadius":"","iconFontSize":23},"progressBarOn":true,"metadata":{"categories":["advanced-accordion-block-category","premium-advanced-accordion-block"],"patternName":"advanced-accordion-block/pattern-accordion-auto-play","name":"Accordion Auto Play"}} -->
<div class="custom-css-block"><style>.aagb_accordion_c78e2d9a_0 {   }</style></div><style>
        .aagb_accordion_c78e2d9a_0 .aagb__accordion_active .aagb__accordion_body {
            border-top: 1px solid #ebebeb;
        }
        .aagb_accordion_c78e2d9a_0 .aagb__accordion_container.wp-block-aab-accordion-item .aagb__accordion_head {
          background-color: #bcb6b638;
          
          border-top: none; border-right: none; border-bottom: none; border-left: none;
          
        }
        .aagb_accordion_c78e2d9a_0 .aagb__accordion_container.wp-block-aab-accordion-item .aagb__accordion_body {
          
          
          
          border-top: 1px solid #bcb6b638; border-right: none; border-bottom: none; border-left: none;
          
        }
        
        .aagb_accordion_c78e2d9a_0 .wp-block-aab-accordion-item .aagb__accordion_subheading {
          margin: 5px 0 0 0;
          
        }
        .aagb_accordion_c78e2d9a_0 .wp-block-aab-accordion-item .aagb__accordion_icon {
          
          
        }
        .aagb_accordion_c78e2d9a_0 .wp-block-aab-accordion-item .aagb__icon {
          font-size: 23px;
        }
        .aagb_accordion_c78e2d9a_0 .aagb__accordion_title {
          margin: 0;
          
        }
        .aagb_accordion_c78e2d9a_0 .aagb__accordion_container {
          border: 1px solid #bcb6b638;
          margin-top: 0px;
          margin-bottom: 15px;
          
        }
          .aagb_accordion_c78e2d9a_0 .aagb__accordion_number{
            
        }
        .aagb_accordion_c78e2d9a_0 .wp-block-aab-accordion-item .aagb__accordion_subheading{
           false
        }

        .aagb_accordion_c78e2d9a_0 .aab-step-progress{
          background-color: #dfd2d2;
        }
            
        .aagb_accordion_c78e2d9a_0 .aab-step-progress-bar {
          background-color: #1570ec;
        }

        .aagb_accordion_c78e2d9a_0 .aagb__accordion_number{
          
        }
        .aagb_accordion_c78e2d9a_0 .aab-progress-bar-container{
          background-color: #f0f0f0;
        }
        .aagb_accordion_c78e2d9a_0 .aab-progress-bar {
            background-color: #0866ff;
        }
        
       .aagb__group_accordion_container.has_img {
            
            flex-direction: row;
        }
         .aagb_accordion_c78e2d9a_0.wp-block-aab-group-accordion.aab-next-previous-enabled{
          padding-left: 50px !important;
            
            
            
        }
        .aagb_accordion_c78e2d9a_0 .aagb-accordion-next-previous{
          left: 0; top: 50%; transform: translateY(-50%); position: absolute;
            
            
            
        }
        .aagb_accordion_c78e2d9a_0 .aagb-accordion-previous-icon,.aagb_accordion_c78e2d9a_0 .aagb-accordion-next-icon {
          background-color: #010101;
          svg{
            fill: #ffffff;
          }
        }
         
          .aagb__group_accordion_container.has_img{
          
          
          
          .aab-next-previous-enabled{
            
            
          }

        }
      
          .aagb_accordion_c78e2d9a_0 .aagb__accordion_container {
            transition-duration: 0ms !important;
            outline: 2px solid #00000000;
          }
          .aagb_accordion_c78e2d9a_0 .aagb__accordion_container:focus-visible {
            outline: 2px solid #C2DBFE;
          }
        </style><div class="wp-block-aab-group-accordion searchable aagb_accordion_c78e2d9a_0 autoplay false" id="group-accordion-c78e2d9a_0"><!-- wp:aab/accordion-item {"progressBarBgColor":"#f0f0f0","autoPlay":true,"heading":"What is AI?","subheading":"Learn the meaning of Artificial Intelligence","readMoreText":"Read More","step":false,"stepText":"Continue","checkList":false,"button_show":false,"defaultStyles":{"activeAccordionBorder":{"width":"1px","color":"#ebebeb","style":"solid"},"border":{"width":"1px","color":"#bcb6b638","style":"solid"},"headingBorder":{"color":null,"style":"solid","width":"0px"},"bodyBorder":{"top":{"color":"#bcb6b638","style":"solid","width":"1px"}},"paddings":{"top":"","right":"","left":"","bottom":""},"margins":{"top":"0px","right":"","left":"","bottom":"15px"},"borderRadius":null,"subheadingColor":null,"headingTag":"h5","headingColor":null,"headerBg":"#bcb6b638","showHeadingIcon":false,"showIcon":true,"iconColor":null,"iconBackground":null,"bodyBg":null,"anchorLinkShow":false,"QaStyle":false,"aIconText":"A","qIconText":"Q","qIconColor":"#fff","qIconBg":"#505050","aIconColor":"#fff","aIconBg":"#f5a623","faqSchema":false,"iconBorder":{"width":"0px","style":"solid","color":"transparent"},"iconBorderRadius":"","iconFontSize":23},"progressBarOn":true} -->
<div class="wp-block-aab-accordion-item aagb__accordion_container panel" data-autoplay="true" data-duration="3000" data-progress-bar-direction="horizontal" data-feature-image-url="" data-auto-numbering="false" data-progress-bar-on="true" tabindex="0"><div class="aagb__accordion_head aab_right_icon hasSubHeading " data-active="false"><div class="aagb__accordion_heading aab_right_icon aagb_right_link"><div class="head_content_wrapper"><div class="title_wrapper"><h5 class="aagb__accordion_title">What is AI?</h5></div><p class="aagb__accordion_subheading" placeholder="">Learn the meaning of Artificial Intelligence</p></div></div><div class="aagb__accordion_icon"><div class="aagb__icon_dashicons_box"><span class="aagb__icon dashicons dashicons-plus-alt2"></span></div></div></div><div class="aagb__accordion_body   " role="region"><div class="aagb__accordion_component "><!-- wp:paragraph -->
<p>AI means machines or computers can think and learn like humans. AI can help in many jobs like talking, writing, or even driving cars.</p>
<!-- /wp:paragraph --></div></div><div class="aab-progress-bar-container aab-progress-bar-horizontal"><div class="aab-progress-bar"></div></div></div>
<!-- /wp:aab/accordion-item -->

<!-- wp:aab/accordion-item {"progressBarBgColor":"#f0f0f0","autoPlay":true,"heading":"How AI Helps Business","subheading":"Use AI to grow your business","readMoreText":"Read More","step":false,"stepText":"Continue","checkList":false,"button_show":false,"defaultStyles":{"activeAccordionBorder":{"width":"1px","color":"#ebebeb","style":"solid"},"border":{"width":"1px","color":"#bcb6b638","style":"solid"},"headingBorder":{"color":null,"style":"solid","width":"0px"},"bodyBorder":{"top":{"color":"#bcb6b638","style":"solid","width":"1px"}},"paddings":{"top":"","right":"","left":"","bottom":""},"margins":{"top":"0px","right":"","left":"","bottom":"15px"},"borderRadius":null,"subheadingColor":null,"headingTag":"h5","headingColor":null,"headerBg":"#bcb6b638","showHeadingIcon":false,"showIcon":true,"iconColor":null,"iconBackground":null,"bodyBg":null,"anchorLinkShow":false,"QaStyle":false,"aIconText":"A","qIconText":"Q","qIconColor":"#fff","qIconBg":"#505050","aIconColor":"#fff","aIconBg":"#f5a623","faqSchema":false,"iconBorder":{"width":"0px","style":"solid","color":"transparent"},"iconBorderRadius":"","iconFontSize":23},"progressBarOn":true} -->
<div class="wp-block-aab-accordion-item aagb__accordion_container panel" data-autoplay="true" data-duration="3000" data-progress-bar-direction="horizontal" data-feature-image-url="" data-auto-numbering="false" data-progress-bar-on="true" tabindex="0"><div class="aagb__accordion_head aab_right_icon hasSubHeading " data-active="false"><div class="aagb__accordion_heading aab_right_icon aagb_right_link"><div class="head_content_wrapper"><div class="title_wrapper"><h5 class="aagb__accordion_title">How AI Helps Business</h5></div><p class="aagb__accordion_subheading" placeholder="">Use AI to grow your business</p></div></div><div class="aagb__accordion_icon"><div class="aagb__icon_dashicons_box"><span class="aagb__icon dashicons dashicons-plus-alt2"></span></div></div></div><div class="aagb__accordion_body   " role="region"><div class="aagb__accordion_component "><!-- wp:paragraph -->
<p>AI can do work faster and better. It can answer customers, find data, and give reports. This saves time and helps business grow quickly.</p>
<!-- /wp:paragraph --></div></div><div class="aab-progress-bar-container aab-progress-bar-horizontal"><div class="aab-progress-bar"></div></div></div>
<!-- /wp:aab/accordion-item -->

<!-- wp:aab/accordion-item {"progressBarBgColor":"#f0f0f0","autoPlay":true,"heading":"AI in Daily Life","subheading":"See AI in your everyday work","readMoreText":"Read More","step":false,"stepText":"Continue","checkList":false,"button_show":false,"defaultStyles":{"activeAccordionBorder":{"width":"1px","color":"#ebebeb","style":"solid"},"border":{"width":"1px","color":"#bcb6b638","style":"solid"},"headingBorder":{"color":null,"style":"solid","width":"0px"},"bodyBorder":{"top":{"color":"#bcb6b638","style":"solid","width":"1px"}},"paddings":{"top":"","right":"","left":"","bottom":""},"margins":{"top":"0px","right":"","left":"","bottom":"15px"},"borderRadius":null,"subheadingColor":null,"headingTag":"h5","headingColor":null,"headerBg":"#bcb6b638","showHeadingIcon":false,"showIcon":true,"iconColor":null,"iconBackground":null,"bodyBg":null,"anchorLinkShow":false,"QaStyle":false,"aIconText":"A","qIconText":"Q","qIconColor":"#fff","qIconBg":"#505050","aIconColor":"#fff","aIconBg":"#f5a623","faqSchema":false,"iconBorder":{"width":"0px","style":"solid","color":"transparent"},"iconBorderRadius":"","iconFontSize":23},"progressBarOn":true} -->
<div class="wp-block-aab-accordion-item aagb__accordion_container panel" data-autoplay="true" data-duration="3000" data-progress-bar-direction="horizontal" data-feature-image-url="" data-auto-numbering="false" data-progress-bar-on="true" tabindex="0"><div class="aagb__accordion_head aab_right_icon hasSubHeading " data-active="false"><div class="aagb__accordion_heading aab_right_icon aagb_right_link"><div class="head_content_wrapper"><div class="title_wrapper"><h5 class="aagb__accordion_title">AI in Daily Life</h5></div><p class="aagb__accordion_subheading" placeholder="">See AI in your everyday work</p></div></div><div class="aagb__accordion_icon"><div class="aagb__icon_dashicons_box"><span class="aagb__icon dashicons dashicons-plus-alt2"></span></div></div></div><div class="aagb__accordion_body   " role="region"><div class="aagb__accordion_component "><!-- wp:paragraph -->
<p>We use AI every day — in Google Search, YouTube, Facebook, and ChatGPT. AI gives suggestions, answers, and makes things easier for us.</p>
<!-- /wp:paragraph --></div></div><div class="aab-progress-bar-container aab-progress-bar-horizontal"><div class="aab-progress-bar"></div></div></div>
<!-- /wp:aab/accordion-item -->

<!-- wp:aab/accordion-item {"progressBarBgColor":"#f0f0f0","autoPlay":true,"heading":"AI Tools for Work","subheading":"Use simple AI tools to help your job","readMoreText":"Read More","step":false,"stepText":"Continue","checkList":false,"button_show":false,"defaultStyles":{"activeAccordionBorder":{"width":"1px","color":"#ebebeb","style":"solid"},"border":{"width":"1px","color":"#bcb6b638","style":"solid"},"headingBorder":{"color":null,"style":"solid","width":"0px"},"bodyBorder":{"top":{"color":"#bcb6b638","style":"solid","width":"1px"}},"paddings":{"top":"","right":"","left":"","bottom":""},"margins":{"top":"0px","right":"","left":"","bottom":"15px"},"borderRadius":null,"subheadingColor":null,"headingTag":"h5","headingColor":null,"headerBg":"#bcb6b638","showHeadingIcon":false,"showIcon":true,"iconColor":null,"iconBackground":null,"bodyBg":null,"anchorLinkShow":false,"QaStyle":false,"aIconText":"A","qIconText":"Q","qIconColor":"#fff","qIconBg":"#505050","aIconColor":"#fff","aIconBg":"#f5a623","faqSchema":false,"iconBorder":{"width":"0px","style":"solid","color":"transparent"},"iconBorderRadius":"","iconFontSize":23},"progressBarOn":true} -->
<div class="wp-block-aab-accordion-item aagb__accordion_container panel" data-autoplay="true" data-duration="3000" data-progress-bar-direction="horizontal" data-feature-image-url="" data-auto-numbering="false" data-progress-bar-on="true" tabindex="0"><div class="aagb__accordion_head aab_right_icon hasSubHeading " data-active="false"><div class="aagb__accordion_heading aab_right_icon aagb_right_link"><div class="head_content_wrapper"><div class="title_wrapper"><h5 class="aagb__accordion_title">AI Tools for Work</h5></div><p class="aagb__accordion_subheading" placeholder="">Use simple AI tools to help your job</p></div></div><div class="aagb__accordion_icon"><div class="aagb__icon_dashicons_box"><span class="aagb__icon dashicons dashicons-plus-alt2"></span></div></div></div><div class="aagb__accordion_body   " role="region"><div class="aagb__accordion_component "><!-- wp:paragraph -->
<p>There are many free and paid AI tools. You can use AI for writing (like ChatGPT), image making, email writing, or even making videos. These tools help save time.</p>
<!-- /wp:paragraph --></div></div><div class="aab-progress-bar-container aab-progress-bar-horizontal"><div class="aab-progress-bar"></div></div></div>
<!-- /wp:aab/accordion-item -->

<!-- wp:aab/accordion-item {"progressBarBgColor":"#f0f0f0","autoPlay":true,"heading":"AI is the Future","subheading":"Why learning AI is important","readMoreText":"Read More","step":false,"stepText":"Continue","checkList":false,"button_show":false,"defaultStyles":{"activeAccordionBorder":{"width":"1px","color":"#ebebeb","style":"solid"},"border":{"width":"1px","color":"#bcb6b638","style":"solid"},"headingBorder":{"color":null,"style":"solid","width":"0px"},"bodyBorder":{"top":{"color":"#bcb6b638","style":"solid","width":"1px"}},"paddings":{"top":"","right":"","left":"","bottom":""},"margins":{"top":"0px","right":"","left":"","bottom":"15px"},"borderRadius":null,"subheadingColor":null,"headingTag":"h5","headingColor":null,"headerBg":"#bcb6b638","showHeadingIcon":false,"showIcon":true,"iconColor":null,"iconBackground":null,"bodyBg":null,"anchorLinkShow":false,"QaStyle":false,"aIconText":"A","qIconText":"Q","qIconColor":"#fff","qIconBg":"#505050","aIconColor":"#fff","aIconBg":"#f5a623","faqSchema":false,"iconBorder":{"width":"0px","style":"solid","color":"transparent"},"iconBorderRadius":"","iconFontSize":23},"progressBarOn":true} -->
<div class="wp-block-aab-accordion-item aagb__accordion_container panel" data-autoplay="true" data-duration="3000" data-progress-bar-direction="horizontal" data-feature-image-url="" data-auto-numbering="false" data-progress-bar-on="true" tabindex="0"><div class="aagb__accordion_head aab_right_icon hasSubHeading " data-active="false"><div class="aagb__accordion_heading aab_right_icon aagb_right_link"><div class="head_content_wrapper"><div class="title_wrapper"><h5 class="aagb__accordion_title">AI is the Future</h5></div><p class="aagb__accordion_subheading" placeholder="">Why learning AI is important</p></div></div><div class="aagb__accordion_icon"><div class="aagb__icon_dashicons_box"><span class="aagb__icon dashicons dashicons-plus-alt2"></span></div></div></div><div class="aagb__accordion_body   " role="region"><div class="aagb__accordion_component "><!-- wp:paragraph -->
<p>AI is growing fast. Many companies are using it. If you learn AI now, you will have better chances in jobs and business in the future.</p>
<!-- /wp:paragraph --></div></div><div class="aab-progress-bar-container aab-progress-bar-horizontal"><div class="aab-progress-bar"></div></div></div>
<!-- /wp:aab/accordion-item --></div>
<!-- /wp:aab/group-accordion -->',
    'categories' => ['advanced-accordion-block-category', 'premium-advanced-accordion-block'],
  ]
);
