<?php if (isset($component)) { $__componentOriginal9d41032d5dde91ab243771384dacb5df = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal9d41032d5dde91ab243771384dacb5df = $attributes; } ?>
<?php $component = App\View\Components\FrontLayout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('front-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\App\View\Components\FrontLayout::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
    <?php $__env->startSection('title', $page . ' | ' . get_setting('site_name')); ?>
        <!-- Start Section-->
        <section class="relative md:py-24 py-16 mt-6">
            <div class="container">
                <div class="grid md:grid-cols-12 grid-cols-1 gap-[30px]">
                    <div class="col-span-12">
                        <div class="p-6 rounded-md shadow dark:shadow-gray-800 post-content">
                            <h2><?php echo e($post->title); ?></h2>
                            <?php echo $post->content; ?>

                        </div>
                    </div>

                    
                </div>
            </div>
        </section>
        <!-- End -->
<?php $__env->startPush('scripts'); ?>
<script>$(document).ready(function(){0===$("#imageModal").length&&$("body").append(`<div id="imageModal" class="image-modal" style="display:none;"><span class="close-modal">&times;</span><img class="modal-content" id="modalImg"></div>`);let t=1,s=0,a=!1,o=0,e=0,n=0,c=0;function r(t){let s=t.touches[0].pageX-t.touches[1].pageX,a=t.touches[0].pageY-t.touches[1].pageY;return Math.sqrt(s*s+a*a)}$(".post-content img").on("click",function(){$("#modalImg").attr("src",$(this).attr("src")).css({transform:"scale(1)",cursor:"zoom-in"}),$("#imageModal").fadeIn()}),$(".close-modal").on("click",function(){$("#imageModal").fadeOut(),t=1,n=0,c=0,$("#modalImg").css({transform:"scale(1) translate(0px, 0px)",cursor:"grab"})}),$("#imageModal").on("click",function(t){$(t.target).is("#modalImg, .close-modal")||$("#modalImg").attr("src",$(this).attr("src")).css({transform:"scale(1)",cursor:"zoom-in"})}),$("#modalImg").on("wheel",function(s){s.preventDefault();t=Math.max(1,Math.min(t+(s.originalEvent.deltaY<0?.1:-.1),3)),$(this).css("transform",`scale(${t}) translate(${n}px, ${c}px)`),t>1?$("#modalImg").attr("src",$(this).attr("src")).css({cursor:"grab"}):$("#modalImg").attr("src",$(this).attr("src")).css({transform:"scale(1)",cursor:"zoom-in"})}),$("#modalImg").on("touchstart",function(l){2===l.touches.length?s=r(l):1===l.touches.length&&t>1&&(a=!0,o=l.touches[0].pageX-n,e=l.touches[0].pageY-c,$(this).css("cursor","grabbing"))}),$("#modalImg").on("touchmove",function(l){if(2===l.touches.length){l.preventDefault();let m=r(l);s>0&&(t*=m/s,t=Math.max(1,Math.min(t,3)),$(this).css("transform",`scale(${t}) translate(${n}px, ${c}px)`)),s=m}else 1===l.touches.length&&a&&(l.preventDefault(),n=l.touches[0].pageX-o,c=l.touches[0].pageY-e,$(this).css("transform",`scale(${t}) translate(${n}px, ${c}px)`))}),$("#modalImg").on("dragstart",function(t){t.preventDefault()}),$("#modalImg").on("mousedown",function(s){t>1&&(a=!0,o=s.pageX-n,e=s.pageY-c,$(this).css("cursor","grabbing"))}),$(document).on("mousemove",function(s){a&&(n=s.pageX-o,c=s.pageY-e,$("#modalImg").css("transform",`scale(${t}) translate(${n}px, ${c}px)`))}),$(document).on("mouseup",function(){a=!1})});</script>
<?php $__env->stopPush(); ?>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal9d41032d5dde91ab243771384dacb5df)): ?>
<?php $attributes = $__attributesOriginal9d41032d5dde91ab243771384dacb5df; ?>
<?php unset($__attributesOriginal9d41032d5dde91ab243771384dacb5df); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal9d41032d5dde91ab243771384dacb5df)): ?>
<?php $component = $__componentOriginal9d41032d5dde91ab243771384dacb5df; ?>
<?php unset($__componentOriginal9d41032d5dde91ab243771384dacb5df); ?>
<?php endif; ?><?php /**PATH /home/bitcoscript/public_html/resources/views/page.blade.php ENDPATH**/ ?>