1(window.webpackJsonp=window.webpackJsonp||[]).push([[22,3,8],{153:function(t,e,r){"use strict";r.r(e);var n=r(146),component=Object(n.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticClass:"iconify iconify--mdi",attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true",role:"img",width:"32",height:"32",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M16.59 5.59L18 7l-6 6l-6-6l1.41-1.41L12 10.17l4.59-4.58m0 6L18 13l-6 6l-6-6l1.41-1.41L12 16.17l4.59-4.58z",fill:"currentColor"}})])}),[],!1,null,null,null);e.default=component.exports},193:function(t,e,r){(function(e){var n=r(233),o=r(234);r(93),r(55),r(162),r(149),r(159),r(163),r(152),r(169),r(54),r(147),r(175),r(192),r(92),r(148),r(151),r(57),r(173),r(200);var c=r(235),l="ceef6f1a895a46b2a0e4a87b41405547";function f(t){var e=String(t||"").replace(/-/g,"");return 32!==e.length?String(t||""):"".concat(e.slice(0,8),"-").concat(e.slice(8,12),"-").concat(e.slice(12,16),"-").concat(e.slice(16,20),"-").concat(e.slice(20))}function d(t){if(!t||"object"!==o(t))return t;var e=t.value;return e&&"object"===o(e)&&e.value&&"object"===o(e.value)&&e.value.id?e.value:e&&"object"===o(e)&&e.id?e:t}function m(t){return Array.isArray(t)?t.map((function(t){return Array.isArray(t)?t[0]:""})).join(""):""}function v(t,e,r){return"date"===e?function(t){var e=t&&t[0]&&t[0][1];if(!Array.isArray(e))return"";var r=e.find((function(t){return"d"===t[0]}));return r&&r[1]&&r[1].start_date||""}(t):"checkbox"===e?"Yes"===m(t):"multi_select"===e?m(t).split(",").map((function(t){return t.trim()})).filter(Boolean):"file"===e?function(t,e){return Array.isArray(t)?t.map((function(t){var r=t[0],link=(t[1]||[]).find((function(t){return"a"===t[0]})),n=link?link[1]:"";return{name:r,url:n?"https://www.notion.so/image/".concat(encodeURIComponent(n),"?table=block&id=").concat(e,"&cache=v2"):"",rawUrl:n}})).filter((function(t){return t.rawUrl})):[]}(t,r):m(t)}function x(t,e){var r=d(t),n={id:r.id},o=r.properties||{};return Object.keys(e||{}).forEach((function(t){var c=e[t];o[t]&&c&&c.name&&(n[c.name]=v(o[t],c.type,r.id))})),n}function y(path,t){var body=JSON.stringify(t);return new Promise((function(t,r){var n=c.request({hostname:"www.notion.so",path:path,method:"POST",headers:{"content-type":"application/json","content-length":e.byteLength(body),"user-agent":"Mozilla/5.0"}},(function(n){var o=[];n.on("data",(function(t){return o.push(t)})),n.on("end",(function(){var text=e.concat(o).toString("utf8");n.statusCode<200||n.statusCode>=300||text.startsWith("<")?r(new Error("Notion request failed (".concat(n.statusCode,")"))):t(JSON.parse(text))}))}));n.on("error",r),n.write(body),n.end()}))}function h(t){return w.apply(this,arguments)}function w(){return(w=n(regeneratorRuntime.mark((function t(e){var r,n,cursor,o,data;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r={},n={},cursor={stack:[]},o=0;case 4:if(!(o<20)){t.next=16;break}return t.next=7,y("/api/v3/loadPageChunk",{page:{id:e},limit:100,cursor:cursor,chunkNumber:o,verticalColumns:!1});case 7:if(data=t.sent,Object.assign(r,data.recordMap&&data.recordMap.block||{}),Object.assign(n,data.recordMap&&data.recordMap.collection||{}),(cursor=data.cursor||{stack:[]}).stack&&0!==cursor.stack.length){t.next=13;break}return t.abrupt("break",16);case 13:o+=1,t.next=4;break;case 16:return t.abrupt("return",{blocks:r,collections:n});case 17:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function _(t,e){var r={},n=Object.keys(t);return t[e]&&n.splice(n.indexOf(e),1),(t[e]?[e].concat(n.filter((function(t){return t!==e}))):n).forEach((function(e){var n=d(t[e]);n&&n.id&&(r[e]={value:n})})),r}function k(){return(k=n(regeneratorRuntime.mark((function t(e){var r,n,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=f(e),t.next=3,h(r);case 3:return n=t.sent,o=n.blocks,t.abrupt("return",_(o,r));case 6:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function C(){return C=n(regeneratorRuntime.mark((function t(){var e,r,n,o,c,m,v,w,_,k,C,j,O=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=O.length>0&&void 0!==O[0]?O[0]:l,r=f(e),t.next=4,h(r);
1case 4:if(n=t.sent,o=n.blocks,c=n.collections,(m=d(o[r]))&&m.collection_id){t.next=10;break}return t.abrupt("return",[]);case 10:return v=d(c[m.collection_id]),w=v&&v.schema||{},_=m.space_id,k=m.view_ids&&m.view_ids[0],t.next=16,y("/api/v3/queryCollection?src=initial_load",{source:{type:"collection",id:m.collection_id,spaceId:_},collectionView:{id:k,spaceId:_},loader:{reducers:{collection_group_results:{type:"results",limit:100}},sort:[],searchQuery:"",userTimeZone:"Europe/Paris"}});case 16:return C=t.sent,j=C.result.reducerResults.collection_group_results.blockIds||[],t.abrupt("return",j.map((function(t){return x(C.recordMap.block[t],w)})).filter((function(t){return t.slug})));case 19:case"end":return t.stop()}}),t)}))),C.apply(this,arguments)}t.exports={BLOG_TABLE_ID:l,toUuid:f,mapRow:x,getPageBlocks:function(t){return k.apply(this,arguments)},getPageTable:function(){return C.apply(this,arguments)}}}).call(this,r(165).Buffer)},219:function(t,e,r){"use strict";r.r(e);var n={props:{title:{type:String,default:"Blogs"},posts:{type:Array,default:function(){return[]}}},methods:{formatDate:function(t){return new Date(t).toLocaleDateString("en",{year:"numeric",month:"long",day:"numeric"})}}},o=r(146),component=Object(o.a)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"mt-20"},[r("div",{staticClass:"flex justify-center items-center text-base font-semibold text-gray-600 dark:text-gray-300"},[r("h2",{staticClass:"text-center"},[t._v(t._s(t.title))]),t._v(" "),r("IconDoubleDown",{staticClass:"h-4 w-4"})],1),t._v(" "),r("div",{staticClass:"wrapper-small my-5"},t._l(t.posts,(function(e){return r("div",{key:e.slug,staticClass:"project-card md:flex mt-10"},[r("div",{staticClass:"img max-w-lg md:max-w-sm mx-auto m-2"},[r("nuxt-link",{attrs:{to:"/posts/"+e.slug}},[r("img",{staticClass:"rounded-xl",attrs:{alt:e.title,src:""+e.thumbnail[0].url,width:"350",height:"150"}})])],1),t._v(" "),r("div",{staticClass:"flex flex-col justify-between max-w-lg mx-auto"},[r("div",{staticClass:"txt md:px-5 lg:px-0"},[r("nuxt-link",{attrs:{to:"/posts/"+e.slug}},[r("h2",{staticClass:"text-xl font-semibold text-gray-800 dark:text-gray-100"},[t._v(t._s(e.title))])]),t._v(" "),r("p",{staticClass:"font-semibold text-gray-600 dark:text-gray-300 text-sm"},[t._v(t._s(t.formatDate(e.created_at)))]),t._v(" "),r("div",{staticClass:"flex flex-col justify-between max-w-lg mx-auto"}),t._v(" "),t._l(e.tags,(function(e){return r("span",{key:e,staticClass:"font-semibold text-gray-600 bg-opacity-25 dark:bg-opacity-40 dark:text-gray-300 text-sm rounded bg-gray-200 dark:bg-primary mr-1 px-1"},[t._v("\n #"+t._s(e)+"\n ")])})),t._v(" "),r("p",{staticClass:"text-base text-gray-700 dark:text-gray-200 my-1"},[t._v(t._s(e.description))]),t._v(" "),r("nuxt-link",{staticClass:"text-base font-semibold text-gray-700 dark:text-gray-200 my-3 hover:underline",attrs:{to:"/posts/"+e.slug}},[t._v("\n Read more >\n ")])],2)])])})),0)])}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{IconDoubleDown:r(153).default})},236:function(t,e){},237:function(t,e){},420:function(t,e,r){"use strict";r.r(e);var n=r(56),o=(r(93),r(265),r(147),r(54),{asyncData:function(){return Object(n.a)(regeneratorRuntime.mark((function t(){var e,n,o,c;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=r(193),n=e.getPageTable,t.next=3,n("ceef6f1a895a46b2a0e4a87b41405547");case 3:return o=t.sent,c=o.filter((function(t){return t.public})).sort((function(a,b){return new Date(b.created_at)-new Date(a.created_at)})),t.abrupt("return",{posts:c});case 6:case"end":return t.stop()}}),t)})))()},head:{title:"AymaneMx's Blog",meta:[{hid:"description",name:"description",content:"aymaneMx's blog about python, django, vuejs."}]}}),c=o,l=r(146),component=Object(l.a)(c,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("Blogs",{attrs:{posts:t.posts,title:"Blogs"}})}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{Blogs:r(219).default})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.