This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| !function(n,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((n="undefined"!=typeof globalThis?globalThis:n||self).OPG={})}(this,function(n){"use strict";const e={isOpen:!1,url:null,callbacks:{}};let t={...e};function o(){return t.isOpen}const a=["settlement","capture"],r=["pending","challenge"],i=["deny","cancel","expire","failure"];var d,s;let l={...{sandbox:!0,sandboxPaymentUrl:null!==(d="https://pay-sandbox.ojire.online/pay")?d:"https://pay-sandbox.ojire.online/pay",productionPaymentUrl:null!==(s="https://pay.ojire.online/pay")?s:"https://pay.ojire.online/pay"}};function c(n){l={...l,...n}}const u="opg-payment-modal",p="opg-payment-backdrop",f="opg-payment-container",m="opg-payment-iframe",y="opg-payment-close",b="opg-payment-spinner";let g=null,v=null;function h(n){var e,o,d,s,l,c,u;const p=t.callbacks;if("COPY_TEXT"===n.data.type)return void navigator.clipboard.writeText(n.data.value);if("PAYMENT_SUCCESS"===(null===(e=n.data |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Car profile | |
| api_version = 4 | |
| Set = require('lib/set') | |
| Sequence = require('lib/sequence') | |
| Handlers = require("lib/way_handlers") | |
| Relations = require("lib/relations") | |
| Obstacles = require("lib/obstacles") | |
| find_access_tag = require("lib/access").find_access_tag |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "responseMessage": "Success", | |
| "responseCode": "2002700", | |
| "paymentLinkData": { | |
| "additionalInfo": { | |
| "customerDetail": { | |
| "billingAddress": { | |
| "address": "Jl. Kembangan Raya", | |
| "city": "Jakarta", | |
| "countryCode": "ID", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "responseCode": "2002700", | |
| "responseMessage": "Success", | |
| "paymentLinkPaymentMethod": { | |
| "partnerReferenceNo": "123456", | |
| "trxId": "Transaction-0001", | |
| "additionalInfo": { | |
| "paymentMethod": [ | |
| { | |
| "id": "va", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "time": "2025-09-14T13:23:48Z", | |
| "fleet": [ | |
| { | |
| "id": "fleet1", | |
| "lastLocation": { | |
| "lon": 106.8777549, | |
| "lat": -6.132737494 | |
| }, | |
| "capacity": 100, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "capacityUtilization": [ | |
| { | |
| "flaggedReason": "", | |
| "fleetId": "fleet8", | |
| "isUnderUtilized": false, | |
| "totalCapacity": 50, | |
| "usedCapacity": 47.61, | |
| "utilization": 0.9522 | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "response": "PROVINSI DKI JAKARTA\nJAKARTA BARAT\n\nNIK : 3171234567890123\nNama : MIRA SETIAWAN\nTempat/Tgl Lahir : JAKARTA 18-02-1986\nJenis Kelamin : PEREMPUAN Gol Darah : B fan\nAlamat : JL PASTI CEPAT A7/66\n\nRT/RW : 007/008 oe\n\nKeliDesa : PEGADUNGAN J\n\nKecamatan :KALIDERES :\nAgama ISLAM NS\nStatus Perkawinan : KAWIN\nPekerjaan : PEGAWAI SWASTA\nKewarganegaraan : WNI JAR TA BARAT\nBerlaku Hingga : 22-02- 2017", | |
| "status": "OK" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "bytes" | |
| "encoding/base64" | |
| "image" | |
| "image/jpeg" | |
| "log" | |
| "net/http" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "bytes" | |
| "encoding/base64" | |
| "image" | |
| "log" | |
| "net/http" | |
| "github.com/anthonynsimon/bild/effect" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "log" | |
| "net/http" | |
| "github.com/gofiber/fiber/v2" | |
| "github.com/tidwall/gjson" | |
| ) |
NewerOlder