<?php include("includes/header.php"); ?>
<?php include("includes/full-popup-header.php"); ?>
  <div class="w-100 modal-name code-section shadow p-2 m-0 vh-100 bg-white mb-2" id="canvas-action-btn-div">
      <div class="d-flex justify-content-between align-items-start bg-white mb-2">
        <div class="d-flex align-items-center gap-2">
            <a href="preview.php"><button type="button" class="button btn-outline-first color-first bg-transparent d-flex align-items-center gap-1">
                <svg width="15" height="15" version="1.1"  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"><g><g><path d="M437.02,74.98C388.668,26.629,324.38,0,256.001,0S123.333,26.629,74.982,74.98S0,187.62,0,256.001 S26.63,388.668,74.981,437.02C123.332,485.371,187.621,512,256,512s132.667-26.629,181.019-74.98
                C485.372,388.668,512,324.381,512,256S485.372,123.333,437.02,74.98z M415.843,96.159c13.67,13.669,25.362,28.787,34.957,44.999
                h-99.512c-4.388-22.123-10.069-42.641-16.95-60.876c-6.404-16.969-13.704-31.421-21.707-43.207
                C351.341,47.017,386.841,67.156,415.843,96.159z M331.998,256c0,29.053-1.967,57.247-5.725,83.511H185.729
                c-3.759-26.265-5.724-54.459-5.724-83.511c0-29.562,2.035-58.238,5.924-84.894h140.145
                C329.962,197.763,331.998,226.438,331.998,256z M256.001,29.949c17.111,0,35.921,22.77,50.316,60.908
                c5.719,15.152,10.549,32.069,14.425,50.3H191.259c3.875-18.231,8.705-35.148,14.425-50.3
                C220.079,52.719,238.889,29.949,256.001,29.949z M96.159,96.158c29.002-29.003,64.502-49.142,103.213-59.084
                c-8.003,11.786-15.303,26.239-21.707,43.207c-6.882,18.235-12.564,38.753-16.951,60.876H61.201
                C70.797,124.946,82.489,109.827,96.159,96.158z M29.95,256.001c0-29.576,5.655-58.281,16.43-84.894h109.321
                c-3.709,26.892-5.647,55.521-5.647,84.894c0,28.868,1.869,57.023,5.454,83.511H45.827C35.414,313.288,29.95,285.065,29.95,256.001
                z M96.159,415.841c-14.057-14.056-26.02-29.646-35.764-46.381h100.046c4.424,22.651,10.198,43.644,17.223,62.258
                c6.405,16.969,13.704,31.421,21.707,43.207C160.661,464.983,125.161,444.844,96.159,415.841z M256.001,482.051
                c-17.112,0-35.921-22.77-50.316-60.908c-5.863-15.533-10.788-32.925-14.711-51.683h130.054
                c-3.923,18.757-8.848,36.149-14.711,51.683C291.922,459.282,273.112,482.051,256.001,482.051z M415.843,415.842
                c-29.003,29.003-64.502,49.142-103.213,59.084c8.003-11.786,15.303-26.239,21.707-43.207
                c7.025-18.615,12.799-39.607,17.223-62.258h100.047C441.862,386.196,429.899,401.785,415.843,415.842z M356.492,339.511
                c3.586-26.488,5.455-54.644,5.455-83.511c-0.001-29.372-1.939-58.003-5.647-84.894h109.322
                c10.775,26.613,16.43,55.318,16.43,84.894c0,29.066-5.464,57.287-15.877,83.511H356.492z"></path></g></g></svg>
                <span class="color-first text-13">Preview</span>
            </button> </a>                            
            <a href="code.php"><button type="button" class="button btn-outline-first color-first bg-transparent d-flex align-items-center gap-1">
                <svg width="15" height="15" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 511.997 511.997" style="enable-background:new 0 0 511.997 511.997;" xml:space="preserve"><g><g><path d="M506.76,242.828l-118.4-125.44c-7.277-7.718-19.424-8.07-27.142-0.787c-7.706,7.277-8.064,19.43-0.781,27.142 l105.965,112.256L360.437,368.268c-7.283,7.712-6.925,19.859,0.781,27.142c3.712,3.501,8.454,5.235,13.178,5.235 c5.101,0,10.195-2.022,13.965-6.01l118.4-125.446C513.742,261.785,513.742,250.226,506.76,242.828z"></path></g></g><g><g><path d="M151.566,368.262L45.608,255.999l105.958-112.262c7.277-7.712,6.925-19.866-0.787-27.142 c-7.706-7.277-19.866-6.925-27.142,0.787l-118.4,125.44c-6.982,7.398-6.982,18.963,0,26.362L123.643,394.63 c3.776,4,8.864,6.016,13.965,6.016c4.723,0,9.466-1.741,13.171-5.242C158.498,388.127,158.843,375.974,151.566,368.262z"></path></g></g><g><g><path d="M287.061,52.697c-10.477-1.587-20.282,5.606-21.882,16.083l-56.32,368.64c-1.6,10.483,5.6,20.282,16.083,21.882  c0.986,0.147,1.958,0.218,2.925,0.218c9.325,0,17.504-6.803,18.957-16.301l56.32-368.64 C304.744,64.095,297.544,54.297,287.061,52.697z"></path></g></g></svg>
            </button></a>
        </div>
        <div class="d-flex align-items-center gap-1">
            <!-- <button type="button" class="edit-popup-icon disabled" id="compare_diff" onclick="compare_differnces()">
                <svg width="24" height="24" viewBox="0 0 24 24">
                    <path d="M13.5 8H12V13L16.28 15.54L17 14.33L13.5 12.25V8ZM13 3C10.6131 3 8.32387 3.94821 6.63604 5.63604C4.94821 7.32387 4 9.61305 4 12H1L4.96 16.03L9 12H6C6 10.1435 6.7375 8.36301 8.05025 7.05025C9.36301 5.7375 11.1435 5 13 5C14.8565 5 16.637 5.7375 17.9497 7.05025C19.2625 8.36301 20 10.1435 20 12C20 13.8565 19.2625 15.637 17.9497 16.9497C16.637 18.2625 14.8565 19 13 19C11.07 19 9.32 18.21 8.06 16.94L6.64 18.36C8.27 20 10.5 21 13 21C15.3869 21 17.6761 20.0518 19.364 18.364C21.0518 16.6761 22 14.3869 22 12C22 9.61305 21.0518 7.32387 19.364 5.63604C17.6761 3.94821 15.3869 3 13 3Z"></path>
                </svg>
            </button>
            <button type="button" class="edit-popup-icon disabled" id="previous_version" onclick="show_prev_version_content()">
                <svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
                    <path d="M20 4V10.5C20 14.09 17.09 17 13.5 17H7.83L10.92 20.09L9.5 21.5L4 16L9.5 10.5L10.91 11.91L7.83 15H13.5C16 15 18 13 18 10.5V4H20Z"></path>
                </svg>
            </button>
            <button type="button" class="edit-popup-icon disabled" id="next_version" onclick="show_next_version_content()">
                <svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
                    <path d="M4 4V10.5C4 14.09 6.91 17 10.5 17H16.17L13.08 20.09L14.5 21.5L20 16L14.5 10.5L13.09 11.91L16.17 15H10.5C8 15 6 13 6 10.5V4H4Z"></path>
                </svg>
            </button>
            <button type="button" class="edit-popup-icon" id="copy-editor-content">
                <svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
                    <path d="M4.5 19.7727H15.5V7.68182H4.5M4.5 5.95455H15.5C16.0304 5.95455 16.5391 6.13653 16.9142 6.46045C17.2893 6.78438 17.5 7.22372 17.5 7.68182V19.7727C17.5 20.2308 17.2893 20.6702 16.9142 20.9941C16.5391 21.318 16.0304 21.5 15.5 21.5H4.5C3.96957 21.5 3.46086 21.318 3.08579 20.9941C2.71071 20.6702 2.5 20.2308 2.5 19.7727V7.68182C2.5 7.22372 2.71071 6.78438 3.08579 6.46045C3.46086 6.13653 3.96957 5.95455 4.5 5.95455ZM7.5 2.5H19.5C20.0304 2.5 20.5391 2.68198 20.9142 3.00591C21.2893 3.32983 21.5 3.76917 21.5 4.22727V16.3182H19.5V4.22727H7.5V2.5Z"></path>
                </svg>
            </button> -->
            <button type="button" id="openCodesModal" class="btn-close p-0 edit-popup-icon"></button>
        </div>
      </div>
      <div class="editor-codes-area scroll-area pb-2" style="overflow-y:hidden">
        <div class="border border-1 rounded-2 p-2 code-details-section">
          <div class="row g-2">
            <div class="col-lg-12">
              <iframe class="w-100 template-iframe" src="https://improveimagegpt.com/"></iframe>
            </div>
          </div>
        </div>
      </div>
  </div>
<?php include("includes/full-popup-footer.php"); ?>
<?php include("includes/footer.php"); ?>