<?php if (isset($component)) { $__componentOriginal0e4a5652a74a6d8a86f69fa9a638424b = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal0e4a5652a74a6d8a86f69fa9a638424b = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.application-tools-wrapper','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('application-tools-wrapper'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
    <?php if (isset($component)) { $__componentOriginal970725fcc3fb24751031cfb6fb5148ba = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal970725fcc3fb24751031cfb6fb5148ba = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.tool-wrapper','data' => ['tool' => $tool]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('tool-wrapper'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['tool' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($tool)]); ?>
        <?php if (isset($component)) { $__componentOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.ad-slot','data' => ['advertisement' => get_advert_model('above-form')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('ad-slot'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['advertisement' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(get_advert_model('above-form'))]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805)): ?>
<?php $attributes = $__attributesOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805; ?>
<?php unset($__attributesOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805)): ?>
<?php $component = $__componentOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805; ?>
<?php unset($__componentOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805); ?>
<?php endif; ?>
        <?php if (isset($component)) { $__componentOriginalf9a5f060e1fbbcbc7beb643b113b10ab = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalf9a5f060e1fbbcbc7beb643b113b10ab = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.form','data' => ['method' => 'post','route' => route('tool.handle', $tool->slug),'enctype' => 'multipart/form-data']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('form'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['method' => 'post','route' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('tool.handle', $tool->slug)),'enctype' => 'multipart/form-data']); ?>
            <div class="row">
                <div class="col-md-12 mb-3">
                    <div id="imageUploader" class="form-group">
                        <?php if (isset($component)) { $__componentOriginald91a39727e9c32a64dfd883979c895a2 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginald91a39727e9c32a64dfd883979c895a2 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.pdf-upload-wrapper','data' => ['maxFiles' => $tool->no_file_tool,'maxSize' => $tool->fs_tool,'accept' => '.docx,.doc','inputName' => 'files[]','fileTitle' => __('tools.dropWordDocumentHereTitle'),'pages' => 'false','rotate' => 'false','preview' => 'false','sortable' => 'false']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('pdf-upload-wrapper'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['max-files' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($tool->no_file_tool),'max-size' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($tool->fs_tool),'accept' => '.docx,.doc','input-name' => 'files[]','file-title' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('tools.dropWordDocumentHereTitle')),'pages' => 'false','rotate' => 'false','preview' => 'false','sortable' => 'false']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginald91a39727e9c32a64dfd883979c895a2)): ?>
<?php $attributes = $__attributesOriginald91a39727e9c32a64dfd883979c895a2; ?>
<?php unset($__attributesOriginald91a39727e9c32a64dfd883979c895a2); ?>
<?php endif; ?>
<?php if (isset($__componentOriginald91a39727e9c32a64dfd883979c895a2)): ?>
<?php $component = $__componentOriginald91a39727e9c32a64dfd883979c895a2; ?>
<?php unset($__componentOriginald91a39727e9c32a64dfd883979c895a2); ?>
<?php endif; ?>
                    </div>
                </div>
            </div>
            <?php if (isset($component)) { $__componentOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.ad-slot','data' => ['advertisement' => get_advert_model('below-form')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('ad-slot'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['advertisement' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(get_advert_model('below-form'))]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805)): ?>
<?php $attributes = $__attributesOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805; ?>
<?php unset($__attributesOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805)): ?>
<?php $component = $__componentOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805; ?>
<?php unset($__componentOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805); ?>
<?php endif; ?>
            <div class="row">
                <div class="col-md-12 text-end">
                    <?php if (isset($component)) { $__componentOriginald0f1fd2689e4bb7060122a5b91fe8561 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginald0f1fd2689e4bb7060122a5b91fe8561 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.button','data' => ['type' => 'submit','class' => 'btn btn-outline-primary rounded-pill']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('button'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['type' => 'submit','class' => 'btn btn-outline-primary rounded-pill']); ?>
                        <?php echo app('translator')->get('tools.convertToPdf'); ?>
                     <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginald0f1fd2689e4bb7060122a5b91fe8561)): ?>
<?php $attributes = $__attributesOriginald0f1fd2689e4bb7060122a5b91fe8561; ?>
<?php unset($__attributesOriginald0f1fd2689e4bb7060122a5b91fe8561); ?>
<?php endif; ?>
<?php if (isset($__componentOriginald0f1fd2689e4bb7060122a5b91fe8561)): ?>
<?php $component = $__componentOriginald0f1fd2689e4bb7060122a5b91fe8561; ?>
<?php unset($__componentOriginald0f1fd2689e4bb7060122a5b91fe8561); ?>
<?php endif; ?>
                </div>
            </div>
         <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalf9a5f060e1fbbcbc7beb643b113b10ab)): ?>
<?php $attributes = $__attributesOriginalf9a5f060e1fbbcbc7beb643b113b10ab; ?>
<?php unset($__attributesOriginalf9a5f060e1fbbcbc7beb643b113b10ab); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalf9a5f060e1fbbcbc7beb643b113b10ab)): ?>
<?php $component = $__componentOriginalf9a5f060e1fbbcbc7beb643b113b10ab; ?>
<?php unset($__componentOriginalf9a5f060e1fbbcbc7beb643b113b10ab); ?>
<?php endif; ?>
     <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal970725fcc3fb24751031cfb6fb5148ba)): ?>
<?php $attributes = $__attributesOriginal970725fcc3fb24751031cfb6fb5148ba; ?>
<?php unset($__attributesOriginal970725fcc3fb24751031cfb6fb5148ba); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal970725fcc3fb24751031cfb6fb5148ba)): ?>
<?php $component = $__componentOriginal970725fcc3fb24751031cfb6fb5148ba; ?>
<?php unset($__componentOriginal970725fcc3fb24751031cfb6fb5148ba); ?>
<?php endif; ?>
    <?php if(isset($results)): ?>
        <div class="tool-results-wrapper">
            <?php if (isset($component)) { $__componentOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.ad-slot','data' => ['advertisement' => get_advert_model('above-result')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('ad-slot'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['advertisement' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(get_advert_model('above-result'))]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805)): ?>
<?php $attributes = $__attributesOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805; ?>
<?php unset($__attributesOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805)): ?>
<?php $component = $__componentOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805; ?>
<?php unset($__componentOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805); ?>
<?php endif; ?>
            <?php if (isset($component)) { $__componentOriginal0e8b16662ac81a14be4700ec450d8cbc = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal0e8b16662ac81a14be4700ec450d8cbc = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.page-wrapper','data' => ['title' => __('common.result')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('page-wrapper'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['title' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('common.result'))]); ?>
                <div class="row">
                    <div class="col-md-12">
                        <table class="table table-style">
                            <thead>
                                <tr>
                                    <th width="75">#</th>
                                    <th><?php echo app('translator')->get('common.fileName'); ?></th>
                                    <th width="200"><?php echo app('translator')->get('common.size'); ?></th>
                                    <th width="150"></th>
                                </tr>
                            </thead>
                            <tbody id="processing-files">
                                <?php $__currentLoopData = $results['files']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $file): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <tr>
                                        <td><?php echo e($loop->iteration); ?></td>
                                        <td>
                                            <div class="mw-350 text-truncate fw-bold"><?php echo e($file['filename']); ?></div>
                                        </td>
                                        <td><?php echo e(formatSizeUnits($file['size'])); ?></td>
                                        <td id="file-cursor">
                                            <button class="btn btn-outline-primary rounded-circle download-file-btn"
                                                data-bs-toggle="tooltip" title="<?php echo app('translator')->get('common.download'); ?>" type="button"
                                                id="download-file" data-url="<?php echo e($file['url']); ?>"
                                                data-filename="<?php echo e($file['filename']); ?>">
                                                <i class="an an-long-arrow-down"></i>
                                            </button>
                                        </td>
                                    </tr>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </tbody>
                        </table>
                    </div>
                    <div class="col-md-12 text-end">
                        <?php if(count($results['files']) > 1): ?>
                            <?php if (isset($component)) { $__componentOriginalf9a5f060e1fbbcbc7beb643b113b10ab = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalf9a5f060e1fbbcbc7beb643b113b10ab = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.form','data' => ['class' => 'no-app-loader download-all-btn d-inline-block','method' => 'post','route' => route('tool.postAction', [
                                    'tool' => $tool->slug,
                                    'action' => 'download-all',
                                ])]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('form'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['class' => 'no-app-loader download-all-btn d-inline-block','method' => 'post','route' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('tool.postAction', [
                                    'tool' => $tool->slug,
                                    'action' => 'download-all',
                                ]))]); ?>
                                <input type="hidden" name="process_id" value="<?php echo e($results['process_id']); ?>">
                                <?php if (isset($component)) { $__componentOriginala8b20c2a929e5d4303765b144855d57c = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginala8b20c2a929e5d4303765b144855d57c = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.download-form-button','data' => ['text' => __('tools.downloadAll')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('download-form-button'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['text' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('tools.downloadAll'))]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginala8b20c2a929e5d4303765b144855d57c)): ?>
<?php $attributes = $__attributesOriginala8b20c2a929e5d4303765b144855d57c; ?>
<?php unset($__attributesOriginala8b20c2a929e5d4303765b144855d57c); ?>
<?php endif; ?>
<?php if (isset($__componentOriginala8b20c2a929e5d4303765b144855d57c)): ?>
<?php $component = $__componentOriginala8b20c2a929e5d4303765b144855d57c; ?>
<?php unset($__componentOriginala8b20c2a929e5d4303765b144855d57c); ?>
<?php endif; ?>
                             <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalf9a5f060e1fbbcbc7beb643b113b10ab)): ?>
<?php $attributes = $__attributesOriginalf9a5f060e1fbbcbc7beb643b113b10ab; ?>
<?php unset($__attributesOriginalf9a5f060e1fbbcbc7beb643b113b10ab); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalf9a5f060e1fbbcbc7beb643b113b10ab)): ?>
<?php $component = $__componentOriginalf9a5f060e1fbbcbc7beb643b113b10ab; ?>
<?php unset($__componentOriginalf9a5f060e1fbbcbc7beb643b113b10ab); ?>
<?php endif; ?>
                        <?php endif; ?>
                        <?php if (isset($component)) { $__componentOriginalf16071108ab9e9eddc8ccc5ffe6c02e3 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalf16071108ab9e9eddc8ccc5ffe6c02e3 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.reload-button','data' => ['link' => route('tool.show', ['tool' => $tool->slug])]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('reload-button'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['link' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('tool.show', ['tool' => $tool->slug]))]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalf16071108ab9e9eddc8ccc5ffe6c02e3)): ?>
<?php $attributes = $__attributesOriginalf16071108ab9e9eddc8ccc5ffe6c02e3; ?>
<?php unset($__attributesOriginalf16071108ab9e9eddc8ccc5ffe6c02e3); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalf16071108ab9e9eddc8ccc5ffe6c02e3)): ?>
<?php $component = $__componentOriginalf16071108ab9e9eddc8ccc5ffe6c02e3; ?>
<?php unset($__componentOriginalf16071108ab9e9eddc8ccc5ffe6c02e3); ?>
<?php endif; ?>
                    </div>
                </div>
             <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal0e8b16662ac81a14be4700ec450d8cbc)): ?>
<?php $attributes = $__attributesOriginal0e8b16662ac81a14be4700ec450d8cbc; ?>
<?php unset($__attributesOriginal0e8b16662ac81a14be4700ec450d8cbc); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal0e8b16662ac81a14be4700ec450d8cbc)): ?>
<?php $component = $__componentOriginal0e8b16662ac81a14be4700ec450d8cbc; ?>
<?php unset($__componentOriginal0e8b16662ac81a14be4700ec450d8cbc); ?>
<?php endif; ?>
        </div>
        <?php if (isset($component)) { $__componentOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.ad-slot','data' => ['advertisement' => get_advert_model('below-result')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('ad-slot'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['advertisement' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(get_advert_model('below-result'))]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805)): ?>
<?php $attributes = $__attributesOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805; ?>
<?php unset($__attributesOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805)): ?>
<?php $component = $__componentOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805; ?>
<?php unset($__componentOriginal43e1d90ca5f26d2b3f1aa3bef8ea2805); ?>
<?php endif; ?>
    <?php endif; ?>
    <?php if (isset($component)) { $__componentOriginal6d6c7c82b1aa6d3dea85c61a68ca611a = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal6d6c7c82b1aa6d3dea85c61a68ca611a = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.tool-content','data' => ['tool' => $tool]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('tool-content'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['tool' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($tool)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal6d6c7c82b1aa6d3dea85c61a68ca611a)): ?>
<?php $attributes = $__attributesOriginal6d6c7c82b1aa6d3dea85c61a68ca611a; ?>
<?php unset($__attributesOriginal6d6c7c82b1aa6d3dea85c61a68ca611a); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal6d6c7c82b1aa6d3dea85c61a68ca611a)): ?>
<?php $component = $__componentOriginal6d6c7c82b1aa6d3dea85c61a68ca611a; ?>
<?php unset($__componentOriginal6d6c7c82b1aa6d3dea85c61a68ca611a); ?>
<?php endif; ?>
    <?php $__env->startPush('page_scripts'); ?>
        <script src="<?php echo e(url('themes/default/js/pdf/pdf.min.js')); ?>"></script>
        <?php echo app('Illuminate\Foundation\Vite')(['resources/themes/canvas/assets/js/app-pdf.js']); ?>
        <script>
            pdfjsLib.GlobalWorkerOptions.workerSrc = '<?php echo e(url('themes/default/js/pdf/pdf.worker.min.js')); ?>';
            const APP = function() {
                let isSelected = false;
                <?php if(isset($results)): ?>
                    const process_id = '<?php echo e($results['process_id']); ?>',
                        attachEvents = function() {
                            document.querySelectorAll('.download-file-btn').forEach(button => {
                                button.addEventListener('click', e => {
                                    const element = e.target.classList.contains('.download-file-btn') ? e
                                        .target : e.target.closest('.download-file-btn')
                                    ArtisanApp.downloadFromUrl(element.dataset.url, element.dataset
                                        .filename)
                                })
                            });
                        };
                <?php endif; ?>
                return {
                    init: function() {
                        <?php if(isset($results)): ?>
                            attachEvents();
                        <?php endif; ?>
                    },
                }
            }();
            document.addEventListener("DOMContentLoaded", function(event) {
                APP.init();
            });
        </script>
    <?php $__env->stopPush(); ?>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal0e4a5652a74a6d8a86f69fa9a638424b)): ?>
<?php $attributes = $__attributesOriginal0e4a5652a74a6d8a86f69fa9a638424b; ?>
<?php unset($__attributesOriginal0e4a5652a74a6d8a86f69fa9a638424b); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal0e4a5652a74a6d8a86f69fa9a638424b)): ?>
<?php $component = $__componentOriginal0e4a5652a74a6d8a86f69fa9a638424b; ?>
<?php unset($__componentOriginal0e4a5652a74a6d8a86f69fa9a638424b); ?>
<?php endif; ?>
<?php /**PATH /www/wwwroot/webtoolzone.com/resources/themes/canvas/tools/word-pdf-converter.blade.php ENDPATH**/ ?>