{"version":3,"sources":["webpack:///webpack/bootstrap f9b70721e26ea4385b06","webpack:///external \"jQuery\"","webpack:///./scripts/swicscripts.js"],"names":["const"],"mappings":";QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,KAAK;QACL;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;QAEA;QACA;;;;;;;;AC7DA,wB;;;;;;;;;;;;;;;ACAA;AACA,CAAC,CAAC,mCAAmC,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;;;AAGhE,CAAC,CAAC,kBAAkB,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;;;AAG/C,CAAC,CAAC,6BAA6B,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,uBAAuB,CAAC,CAAC;;;AAGxE,CAAC,CAAC,mBAAmB,CAAC,CAAC,MAAM,EAAE,CAAC;AAChC,CAAC,CAAC,iBAAiB,CAAC,CAAC,MAAM,EAAE,CAAC;;AAE9B,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,WAAW;IAC1B,IAAI,QAAQ,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC;IACvB,IAAI,QAAQ,GAAG,QAAQ,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;;;IAGlD,IAAI,MAAM,GAAG,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;;;IAGnC,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IACjC,QAAQ,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;;;IAG/B,IAAI,CAAC,MAAM,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AK,CAAC,OAAO,GAAG,MAAM,GAAG,CAAC,CAAC;MAC3BA,GAAK,CAAC,OAAO,GAAG,MAAM,GAAG,CAAC,CAAC,CAAC;;MAE5B,SAAS,CAAC,KAAK,CAAC,SAAS,GAAG,UAAS,GAAE,OAAO,kBAAc,GAAE,OAAO,SAAM,CAAC;GAC/E,CAAC,CAAC;;EAEH,IAAI,CAAC,gBAAgB,CAAC,YAAY,EAAE,YAAM;MACtC,SAAS,CAAC,KAAK,CAAC,SAAS,GAAG,uBAAuB,CAAC;GACvD,CAAC,CAAC;CACJ,CAAC,CAAC;;AAEH,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,UAAU;EACzB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,GAAG,IAAI;EAC7B;IACE,CAAC,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAE,CAAC;GACtB;;EAED;IACE,CAAC,CAAC,QAAQ,CAAC,CAAC,OAAO,EAAE,CAAC;GACvB;CACF,CAAC,CAAC;;EAED,CAAC,CAAC,OAAO,CAAC,CAAC,KAAK,CAAC,UAAU;IACzB,CAAC,CAAC,YAAY,CAAC,CAAC,OAAO,CAAC,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;GAC7C,CAAC,CAAC","file":"scripts/swicscripts.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/wp-content/themes/swicedu/dist/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 15);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap f9b70721e26ea4385b06","module.exports = jQuery;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"jQuery\"\n// module id = 0\n// module chunks = 0 1 2","// Button target\r\n$('.external a.wp-block-button__link').attr('target' ,'_blank');\r\n\r\n// File Target\r\n$('.wp-block-file a').attr('target' ,'_blank');\r\n\r\n// Style for file list\r\n$('.file-list .wp-block-file a').attr('class' ,'wp-block-file__button');\r\n\r\n// Remove WP-Optimize tabs\r\n$('.wpo-header-links').remove();\r\n$('.wpo-pages-menu').remove();\r\n\r\n$('details').click(function() {\r\n var $details = $(this);\r\n var $content = $details.children(':not(summary)');\r\n\r\n // Check if the details element is currently open\r\n var isOpen = $details.prop('open');\r\n\r\n // Remove previous animation classes\r\n $content.removeClass('animated');\r\n $content.removeClass('fadeIn');\r\n\r\n // Apply animate.css classes based on open/close state\r\n if (!isOpen) {\r\n $content.addClass('animated');\r\n $content.addClass('fadeIn');\r\n }\r\n\r\n // Close all details elements except the clicked one\r\n $('details').not($details).removeAttr('open');\r\n });\r\n\r\n // Detect when the CSS animation ends and remove the animation classes\r\n $('details').children(':not(summary)').on('animationend', function() {\r\n $(this).removeClass('animated');\r\n $(this).removeClass('fadeIn');\r\n});\r\n\r\n// Tilt effect on elements with the class .location-position\r\ndocument.querySelectorAll('.location-position').forEach(item => {\r\n const tiltLayer = item.querySelector('.tilt-layer');\r\n\r\n item.addEventListener('mousemove', e => {\r\n const rect = item.getBoundingClientRect();\r\n const x = e.clientX - rect.left;\r\n const y = e.clientY - rect.top;\r\n const centerX = rect.width / 1;\r\n const centerY = rect.height / 1;\r\n\r\n const deltaX = (x - centerX) / centerX;\r\n const deltaY = (y - centerY) / centerY;\r\n const rotateX = deltaY * 5; // Tilt strength\r\n const rotateY = deltaX * -5;\r\n\r\n tiltLayer.style.transform = `rotateX(${rotateX}deg) rotateY(${rotateY}deg)`;\r\n });\r\n\r\n item.addEventListener('mouseleave', () => {\r\n tiltLayer.style.transform = 'rotateX(0) rotateY(0)';\r\n });\r\n});\r\n\r\n$(window).scroll(function(){\r\n if($(this).scrollTop() > 3000)\r\n {\r\n $('#totop').fadeIn();\r\n }\r\n else\r\n {\r\n $('#totop').fadeOut();\r\n }\r\n});\r\n\r\n $('totop').click(function(){\r\n $('html, body').animate({scrollTop: 0},800);\r\n }); \r\n \r\n\n\n\n// WEBPACK FOOTER //\n// ./scripts/swicscripts.js"],"sourceRoot":""}