Built motion from commit b598105.|2.0.6
[motion2.git] / server / config / seedDB / squareProjects.js
1 var _0x6698=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x66\x73","\x70\x61\x74\x68","\x64\x62","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x79\x73\x71\x6C\x64\x62","\x61\x70\x70","\x2E\x2E\x2F\x6C\x6F\x67\x67\x65\x72","\x78\x6D\x6C","\x2E\x78\x6D\x6C","\x6A\x6F\x69\x6E","\x75\x74\x66\x2D\x38","\x72\x65\x61\x64\x46\x69\x6C\x65\x53\x79\x6E\x63","\x41\x75\x74\x6F\x41\x74\x74\x65\x6E\x64\x61\x6E\x74","\x42\x61\x73\x69\x63\x20\x49\x56\x52\x20\x73\x61\x6D\x70\x6C\x65\x20\x61\x75\x74\x6F\x20\x67\x65\x6E\x65\x72\x61\x74\x65\x64","\x43\x53\x49","\x43\x75\x73\x74\x6F\x6D\x65\x72\x20\x53\x61\x74\x69\x73\x66\x61\x63\x74\x69\x6F\x6E\x20\x49\x56\x52\x20\x73\x61\x6D\x70\x6C\x65\x20\x61\x75\x74\x6F\x20\x67\x65\x6E\x65\x72\x61\x74\x65\x64","\x4F\x72\x64\x65\x72\x73","\x4F\x72\x64\x65\x72\x20\x44\x42\x20\x49\x56\x52\x20\x73\x61\x6D\x70\x6C\x65\x20\x61\x75\x74\x6F\x20\x67\x65\x6E\x65\x72\x61\x74\x65\x64","\x53\x75\x72\x76\x65\x79","\x53\x75\x72\x76\x65\x79\x20\x49\x56\x52\x20\x73\x61\x6D\x70\x6C\x65\x20\x61\x75\x74\x6F\x20\x67\x65\x6E\x65\x72\x61\x74\x65\x64","\x63\x72\x65\x61\x74\x65","\x43\x61\x6E\x27\x74\x20\x63\x72\x65\x61\x74\x65\x20\x50\x72\x6F\x6A\x65\x63\x74\x73","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x50\x72\x6F\x6A\x65\x63\x74\x73\x20\x68\x61\x76\x65\x20\x62\x65\x65\x6E\x20\x63\x72\x65\x61\x74\x65\x64","\x69\x6E\x66\x6F","\x74\x68\x65\x6E","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x53\x71\x75\x61\x72\x65\x50\x72\x6F\x6A\x65\x63\x74"];_0x6698[0];var fs=require(_0x6698[1]);var path=require(_0x6698[2]);var db=require(_0x6698[4])[_0x6698[3]];var logger=require(_0x6698[6])(_0x6698[5]);var getXml=function(_0xab09x6){return fs[_0x6698[11]](path[_0x6698[9]](__dirname,_0x6698[7],_0xab09x6+ _0x6698[8]),{encoding:_0x6698[10]})};var squareProjects=[{id:1,name:_0x6698[12],description:_0x6698[13],preproduction:getXml(_0x6698[12]),production:getXml(_0x6698[12])},{id:2,name:_0x6698[14],description:_0x6698[15],preproduction:getXml(_0x6698[14]),production:getXml(_0x6698[14])},{id:3,name:_0x6698[16],description:_0x6698[17],preproduction:getXml(_0x6698[16]),production:getXml(_0x6698[16])},{id:4,name:_0x6698[18],description:_0x6698[19],preproduction:getXml(_0x6698[18]),production:getXml(_0x6698[18])}];exports[_0x6698[20]]= function(){return db[_0x6698[28]][_0x6698[27]](squareProjects,{ignoreDuplicates:true,individualHooks:true})[_0x6698[26]](function(){logger[_0x6698[25]](_0x6698[24])})[_0x6698[23]](function(_0xab09x8){logger[_0x6698[22]](_0x6698[21])})}