1 var _0x351a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x49\x6E\x74\x65\x72\x76\x61\x6C\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E","\x6C\x6F\x67","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x49\x6E\x74\x65\x72\x76\x61\x6C\x49\x64","\x62\x65\x66\x6F\x72\x65\x44\x65\x73\x74\x72\x6F\x79","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x69\x64","\x63\x61\x74\x63\x68","\x50\x52\x49\x4D\x41\x52\x59","\x66\x69\x65\x6C\x64\x73","\x6D\x65\x73\x73\x61\x67\x65","\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x2F\x63\x6F\x6E\x74\x65\x78\x74\x20\x63\x6F\x6D\x62\x69\x6E\x61\x74\x69\x6F\x6E\x20\x61\x6C\x72\x65\x61\x64\x79\x20\x65\x78\x69\x73\x74","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x64\x4D\x65\x73\x73\x61\x67\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x52\x4F\x55\x54\x45","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x72\x6F\x75\x74\x65\x55\x70\x64\x61\x74\x65","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x74\x68\x65\x6E","\x61\x70\x70","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x63\x61\x6C\x6C\x65\x72\x49\x44","\x61\x70\x70\x64\x61\x74\x61","\x74\x79\x70\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x65\x78\x70\x6F\x72\x74\x73"];_0x351a[0];var _=require(_0x351a[1]);var util=require(_0x351a[2]);var IntervalModel=require(_0x351a[4])[_0x351a[3]];var VoiceExtension=require(_0x351a[4])[_0x351a[5]];var veUtil=require(_0x351a[6]);var sequelize=require(_0x351a[4])[_0x351a[7]];var Applications=veUtil[_0x351a[8]];function Interval(){console[_0x351a[10]](_0x351a[9]);IntervalModel[_0x351a[11]](function(_0xd4b6x9){updatevoiceExtension(_0xd4b6x9)});IntervalModel[_0x351a[13]](function(_0xd4b6x9){if(_0xd4b6x9[_0x351a[12]]!== null){updatevoiceExtension(_0xd4b6x9)}});IntervalModel[_0x351a[14]](function(_0xd4b6x9){if(_0xd4b6x9[_0x351a[12]]!== null){updatevoiceExtension(_0xd4b6x9)}})}function updatevoiceExtension(_0xd4b6x9){var _0xd4b6xb=_0xd4b6x9[_0x351a[12]]=== null?_0xd4b6x9[_0x351a[15]]:_0xd4b6x9[_0x351a[12]];return VoiceExtension[_0x351a[33]]({where:{VoiceExtensionId:null},include:[{model:VoiceExtension,as:_0x351a[8],where:{IntervalId:_0xd4b6xb},attributes:[_0x351a[28],_0x351a[29],_0x351a[12],_0x351a[30],_0x351a[31],_0x351a[32]]}]})[_0x351a[27]](function(_0xd4b6xd){_0xd4b6xd[_0x351a[26]](function(_0xd4b6xe){return sequelize[_0x351a[25]](function(_0xd4b6xf){return veUtil[_0x351a[24]]({body:_0xd4b6xe[_0x351a[23]],params:{id:_0xd4b6xe[_0x351a[15]]}},_0xd4b6xf)})[_0x351a[16]](sequelize.UniqueConstraintError,function(_0xd4b6xc){if(_0xd4b6xc[_0x351a[18]][_0x351a[17]]){_0xd4b6xc[_0x351a[19]]= _0x351a[20];_0xd4b6xc[_0x351a[21]]= _0x351a[22]};console[_0x351a[10]](_0xd4b6xc)})[_0x351a[16]](function(_0xd4b6xc){console[_0x351a[10]](_0xd4b6xc)})})})[_0x351a[16]](function(_0xd4b6xc){console[_0x351a[10]](_0xd4b6xc)})}module[_0x351a[34]]= Interval