"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([["chapter_new"],{

/***/ "./assets/js/pages/chapter/chapter_new.js":
/*!************************************************!*\
  !*** ./assets/js/pages/chapter/chapter_new.js ***!
  \************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _css_pages_chapter_new_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../css/pages/chapter_new.css */ "./assets/css/pages/chapter_new.css");
/* harmony import */ var _myownjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../myownjs */ "./assets/js/myownjs.js");


/*
 * Welcome to your app's main JavaScript file!
 *
 * We recommend including the built version of this JavaScript file
 * (and its CSS file) in your base layout (base.html.twig).
 */
//$ = require('jquery');
__webpack_require__(/*! ../../../plugins/html5-editor/wysihtml5-0.3.0 */ "./assets/plugins/html5-editor/wysihtml5-0.3.0.js");
var $ = __webpack_require__(/*! jquery */ "./node_modules/jquery/dist/jquery.js");
// create global $ and jQuery variables
__webpack_require__.g.$ = __webpack_require__.g.jQuery = $;
__webpack_require__(/*! jquery-ui */ "./node_modules/jquery-ui/ui/widget.js");
__webpack_require__(/*! ../../../plugins/bootstrap-datepicker/bootstrap-datepicker.min */ "./assets/plugins/bootstrap-datepicker/bootstrap-datepicker.min.js");
__webpack_require__(/*! ../../../plugins/popper/popper.min */ "./assets/plugins/popper/popper.min.js");
__webpack_require__(/*! ../../../plugins/bootstrap/js/bootstrap.min */ "./assets/plugins/bootstrap/js/bootstrap.min.js");
__webpack_require__(/*! ../../jquery.slimscroll */ "./assets/js/jquery.slimscroll.js");
__webpack_require__(/*! ../../waves */ "./assets/js/waves.js");
__webpack_require__(/*! ../../sidebarmenu */ "./assets/js/sidebarmenu.js");
__webpack_require__(/*! ../../../plugins/sticky-kit-master/dist/sticky-kit.min */ "./assets/plugins/sticky-kit-master/dist/sticky-kit.min.js");
__webpack_require__(/*! ../../../plugins/sparkline/jquery.sparkline.min */ "./assets/plugins/sparkline/jquery.sparkline.min.js");
__webpack_require__(/*! ../../custom.min */ "./assets/js/custom.min.js");
__webpack_require__(/*! ../../../plugins/styleswitcher/jQuery.style.switcher */ "./assets/plugins/styleswitcher/jQuery.style.switcher.js");
__webpack_require__(/*! ../../../plugins/dropify/dist/js/dropify.min */ "./assets/plugins/dropify/dist/js/dropify.min.js");
__webpack_require__(/*! ../../../plugins/inputmask/dist/min/jquery.inputmask.bundle.min */ "./assets/plugins/inputmask/dist/min/jquery.inputmask.bundle.min.js");
__webpack_require__(/*! ../../../js/mask.init */ "./assets/js/mask.init.js");

// <script src="../assets/plugins/inputmask/dist/min/jquery.inputmask.bundle.min.js"></script>
//     <script src="js/mask.init.js"></script>

//require('base');
//require('../../plugins/jquery/jquery.min');
__webpack_require__(/*! ../../../plugins/datatables/datatables.min */ "./assets/plugins/datatables/datatables.min.js");
//require( 'datatables.net-buttons' );
//require( 'pdfmake' );

//require( '../../../plugins/wizard/jquery.steps.min' );
__webpack_require__(/*! ../../../plugins/sweetalert/sweetalert.min */ "./assets/plugins/sweetalert/sweetalert.min.js");
//require( '../../../plugins/wizard/jquery.validate.min' );
//require( '../../../plugins/wizard/steps' );

// require( '../../../plugins/html5-editor/bootstrap-wysihtml5' );
//require('ckeditor4');

var ClassicEditor = __webpack_require__(/*! @ckeditor/ckeditor5-build-classic */ "./node_modules/@ckeditor/ckeditor5-build-classic/build/ckeditor.js");

// global.ClassicEditor = ClassicEditor;

// <script src="../assets/plugins/.js"></script>

$(document).ready(function () {
  //$('#myTable').DataTable();
  // console.log($('#chapter_content'));
  //   CKEDITOR.replace( $('textarea') );
  //   CKEDITOR.replace( 'chapter_content');

  // $( 'textarea' ).each(
  //     function (idx,item) {
  //         // console.log(item)
  //         ClassicEditor
  //             .create( item )
  //             .then( editor => {
  //                 console.log( editor );
  //             } )
  //             .catch( error => {
  //                 console.error( error );
  //             } );
  //     }
  // );
});

__webpack_require__.g.populateselectalone = _myownjs__WEBPACK_IMPORTED_MODULE_1__.populateselectalone;
__webpack_require__.g.populateselect = _myownjs__WEBPACK_IMPORTED_MODULE_1__.populateselect;
__webpack_require__.g.fpopulateselect = _myownjs__WEBPACK_IMPORTED_MODULE_1__.fpopulateselect;
__webpack_require__(/*! ../../../plugins/styleswitcher/jQuery.style.switcher */ "./assets/plugins/styleswitcher/jQuery.style.switcher.js");
__webpack_require__(/*! ../../../plugins/select2/dist/js/select2.full.min */ "./assets/plugins/select2/dist/js/select2.full.min.js");
var pdfMake = __webpack_require__(/*! pdfmake/build/pdfmake.js */ "./node_modules/pdfmake/build/pdfmake.js");
var pdfFonts = __webpack_require__(/*! pdfmake/build/vfs_fonts.js */ "./node_modules/pdfmake/build/vfs_fonts.js");
pdfMake.vfs = pdfFonts.pdfMake.vfs;
__webpack_require__(/*! datatables.net-dt */ "./node_modules/datatables.net-dt/js/dataTables.dataTables.mjs");
__webpack_require__(/*! datatables.net-buttons-dt */ "./node_modules/datatables.net-buttons-dt/js/buttons.dataTables.mjs");
var JSZip = __webpack_require__(/*! jszip/dist/jszip.min */ "./node_modules/jszip/dist/jszip.min.js");
window.JSZip = JSZip;
__webpack_require__(/*! datatables.net-buttons/js/buttons.colVis.js */ "./node_modules/datatables.net-buttons/js/buttons.colVis.js");
__webpack_require__(/*! datatables.net-buttons/js/buttons.flash.js */ "./node_modules/datatables.net-buttons/js/buttons.flash.js");
__webpack_require__(/*! datatables.net-buttons/js/buttons.html5.js */ "./node_modules/datatables.net-buttons/js/buttons.html5.js");
__webpack_require__(/*! datatables.net-buttons/js/buttons.print.js */ "./node_modules/datatables.net-buttons/js/buttons.print.js");
//
// require( 'datatables.net-responsive-dt' )();
// require( 'datatables.net-rowgroup-dt' )();
// require( 'datatables.net-searchpanes-dt' )();
__webpack_require__(/*! datatables.net-select-dt */ "./node_modules/datatables.net-select-dt/js/select.dataTables.mjs");
$(document).ready(function () {
  $('.myTable').DataTable({
    dom: 'Bfrtip',
    select: true,
    "buttons": [{
      extend: 'excel',
      exportOptions: {
        columns: ':visible'
      }
    }, {
      extend: 'pdf',
      exportOptions: {
        columns: ':visible'
      }
    }, 'colvis']
  });
  $('.simple_table').DataTable({
    // dom: 'Bfrtip',
    select: true
  });
  $('select').select2();
});

/***/ })

},
/******/ __webpack_require__ => { // webpackRuntimeModules
/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
/******/ __webpack_require__.O(0, ["vendors-node_modules_jquery_dist_jquery_js-node_modules_core-js_modules_es_array_concat_js-no-472de7","vendors-node_modules_core-js_modules_es_array_fill_js-node_modules_core-js_modules_es_array_f-785935","vendors-node_modules_core-js_internals_array-from_js-node_modules_core-js_modules_es_array_is-5f986e","vendors-node_modules_popper_js_dist_esm_popper_js-node_modules_core-js_modules_es_string_search_js","vendors-node_modules_core-js_modules_es_date_to-json_js-node_modules_core-js_modules_web_url--4174c3","vendors-node_modules_datatables_net_js_dataTables_mjs","vendors-node_modules_jquery-ui_ui_widget_js","vendors-node_modules_jszip_dist_jszip_min_js-node_modules_pdfmake_build_pdfmake_js-node_modul-f85ca3","vendors-node_modules_datatables_net-buttons-dt_js_buttons_dataTables_mjs","vendors-node_modules_datatables_net-buttons_js_buttons_colVis_js-node_modules_datatables_net--33bcf0","vendors-node_modules_core-js_modules_es_array_last-index-of_js-node_modules_core-js_modules_e-06e8cd","vendors-node_modules_datatables_net-buttons-dt_css_buttons_dataTables_min_css","vendors-node_modules_ckeditor_ckeditor5-build-classic_build_ckeditor_js-node_modules_core-js_-05cf77","assets_css_icons_flag-icon-css_flag-icon_min_css-assets_css_icons_font-awesome_css_fontawesom-12a539","assets_js_jquery_slimscroll_js-assets_plugins_bootstrap_js_bootstrap_min_js-assets_plugins_po-d50a57","assets_css_animate_css-assets_css_colors_default-dark_css-assets_css_colors_default-dark_css--341210","assets_js_custom_min_js-assets_js_sidebarmenu_js-assets_js_waves_js-assets_plugins_sparkline_-4c8f28","assets_plugins_select2_dist_js_select2_full_min_js","assets_plugins_dropify_dist_css_dropify_min_css-assets_plugins_sweetalert_sweetalert_css-asse-7f7338","assets_plugins_bootstrap-datepicker_bootstrap-datepicker_min_js","assets_js_mask_init_js-assets_plugins_datatables_datatables_min_js-assets_plugins_dropify_dis-498f4e","assets_js_myownjs_js-assets_plugins_html5-editor_wysihtml5-0_3_0_js-assets_css_pages_chapter_-1c0880"], () => (__webpack_exec__("./assets/js/pages/chapter/chapter_new.js")));
/******/ var __webpack_exports__ = __webpack_require__.O();
/******/ }
]);
//# sourceMappingURL=data:application/json;charset=utf-8;base64, 