tajweed-colors.js 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. (() => {
  2. var exports = {};
  3. exports.id = 40913;
  4. exports.ids = [40913];
  5. exports.modules = {
  6. /***/ 34268:
  7. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  8. "use strict";
  9. __webpack_require__.r(__webpack_exports__);
  10. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  11. /* harmony export */ "default": () => (/* binding */ pageWrapperTemplate),
  12. /* harmony export */ "getServerSideProps": () => (/* binding */ getServerSideProps),
  13. /* harmony export */ "getStaticProps": () => (/* binding */ getStaticProps)
  14. /* harmony export */ });
  15. /* harmony import */ var _sentry_server_config_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(96270);
  16. /* harmony import */ var _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(58097);
  17. /* harmony import */ var _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__);
  18. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(20997);
  19. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__);
  20. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(16689);
  21. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
  22. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(59003);
  23. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);
  24. /* harmony import */ var next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(60866);
  25. /* harmony import */ var next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_5__);
  26. /* harmony import */ var _tajweedColors_module_scss__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(49819);
  27. /* harmony import */ var _tajweedColors_module_scss__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_tajweedColors_module_scss__WEBPACK_IMPORTED_MODULE_7__);
  28. /* harmony import */ var _components_NextSeoWrapper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(25869);
  29. const TAJWEED_COLORS = [
  30. "edgham",
  31. "mad-2",
  32. "mad-2-4-6",
  33. "mad-4-5",
  34. "mad-6",
  35. "ekhfa",
  36. "qalqala"
  37. ];
  38. const TajweedColors = ()=>{
  39. const { t } = next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_5___default()("tajweed");
  40. return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment, {
  41. children: [
  42. /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components_NextSeoWrapper__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z, {
  43. title: t("tajweed-header")
  44. }),
  45. /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div", {
  46. className: (_tajweedColors_module_scss__WEBPACK_IMPORTED_MODULE_7___default().container),
  47. children: [
  48. /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("p", {
  49. className: (_tajweedColors_module_scss__WEBPACK_IMPORTED_MODULE_7___default().header),
  50. children: t("tajweed-header")
  51. }),
  52. TAJWEED_COLORS.map((color)=>/*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div", {
  53. className: (_tajweedColors_module_scss__WEBPACK_IMPORTED_MODULE_7___default().colorContainer),
  54. children: [
  55. /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div", {
  56. className: classnames__WEBPACK_IMPORTED_MODULE_4___default()((_tajweedColors_module_scss__WEBPACK_IMPORTED_MODULE_7___default().circle), (_tajweedColors_module_scss__WEBPACK_IMPORTED_MODULE_7___default())[color])
  57. }),
  58. /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("p", {
  59. children: t(color)
  60. })
  61. ]
  62. }, color))
  63. ]
  64. })
  65. ]
  66. });
  67. };
  68. var serverComponentModule = /*#__PURE__*/Object.freeze({
  69. __proto__: null,
  70. 'default': TajweedColors
  71. });
  72. /*
  73. * This file is a template for the code which will be substituted when our webpack loader handles non-API files in the
  74. * `pages/` directory.
  75. *
  76. * We use `__SENTRY_WRAPPING_TARGET_FILE__.cjs` as a placeholder for the path to the file being wrapped. Because it's not a real package,
  77. * this causes both TS and ESLint to complain, hence the pragma comments below.
  78. */
  79. const userPageModule = serverComponentModule ;
  80. const pageComponent = userPageModule ? userPageModule.default : undefined;
  81. const origGetInitialProps = pageComponent ? pageComponent.getInitialProps : undefined;
  82. const origGetStaticProps = userPageModule ? userPageModule.getStaticProps : undefined;
  83. const origGetServerSideProps = userPageModule ? userPageModule.getServerSideProps : undefined;
  84. // eslint-disable-next-line @typescript-eslint/no-explicit-any
  85. const getInitialPropsWrappers = {
  86. '/_app': _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapAppGetInitialPropsWithSentry,
  87. '/_document': _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapDocumentGetInitialPropsWithSentry,
  88. '/_error': _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapErrorGetInitialPropsWithSentry,
  89. };
  90. const getInitialPropsWrapper = getInitialPropsWrappers['/tajweed-colors'] || _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapGetInitialPropsWithSentry;
  91. if (pageComponent && typeof origGetInitialProps === 'function') {
  92. pageComponent.getInitialProps = getInitialPropsWrapper(origGetInitialProps) ;
  93. }
  94. const getStaticProps =
  95. typeof origGetStaticProps === 'function'
  96. ? _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapGetStaticPropsWithSentry(origGetStaticProps, '/tajweed-colors')
  97. : undefined;
  98. const getServerSideProps =
  99. typeof origGetServerSideProps === 'function'
  100. ? _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapGetServerSidePropsWithSentry(origGetServerSideProps, '/tajweed-colors')
  101. : undefined;
  102. const pageWrapperTemplate = pageComponent ? _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapPageComponentWithSentry(pageComponent ) : pageComponent;
  103. /***/ }),
  104. /***/ 49819:
  105. /***/ ((module) => {
  106. // Exports
  107. module.exports = {
  108. "header": "tajweedColors_header__yAOjb",
  109. "container": "tajweedColors_container__8dzlA",
  110. "colorContainer": "tajweedColors_colorContainer__Rh8ob",
  111. "circle": "tajweedColors_circle__oMedD",
  112. "edgham": "tajweedColors_edgham__n8J53",
  113. "mad-2": "tajweedColors_mad-2__S_qAn",
  114. "mad-6": "tajweedColors_mad-6__8Xfbt",
  115. "mad-2-4-6": "tajweedColors_mad-2-4-6__Hl9sy",
  116. "mad-4-5": "tajweedColors_mad-4-5__0j8Xs",
  117. "ekhfa": "tajweedColors_ekhfa__lKkTQ",
  118. "qalqala": "tajweedColors_qalqala__2qWZI"
  119. };
  120. /***/ }),
  121. /***/ 58097:
  122. /***/ ((module) => {
  123. "use strict";
  124. module.exports = require("@sentry/nextjs");
  125. /***/ }),
  126. /***/ 59003:
  127. /***/ ((module) => {
  128. "use strict";
  129. module.exports = require("classnames");
  130. /***/ }),
  131. /***/ 16641:
  132. /***/ ((module) => {
  133. "use strict";
  134. module.exports = require("next-seo");
  135. /***/ }),
  136. /***/ 60866:
  137. /***/ ((module) => {
  138. "use strict";
  139. module.exports = require("next-translate/useTranslation");
  140. /***/ }),
  141. /***/ 16689:
  142. /***/ ((module) => {
  143. "use strict";
  144. module.exports = require("react");
  145. /***/ }),
  146. /***/ 20997:
  147. /***/ ((module) => {
  148. "use strict";
  149. module.exports = require("react/jsx-runtime");
  150. /***/ })
  151. };
  152. ;
  153. // load runtime
  154. var __webpack_require__ = require("../webpack-runtime.js");
  155. __webpack_require__.C(exports);
  156. var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
  157. var __webpack_exports__ = __webpack_require__.X(0, [96270,25869], () => (__webpack_exec__(34268)));
  158. module.exports = __webpack_exports__;
  159. })();
  160. //# sourceMappingURL=tajweed-colors.js.map